/* ══════════════════════════════════════════
   RITESH KUMAAR PORTFOLIO
   Design system from design.md + Plus Jakarta Sans
   ══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --blue:        #0066cc;
  --blue-focus:  #0071e3;
  --blue-bright:   #2997ff;
  /* Orange = proof/results accent only: metrics, stat callouts, testimonial numbers.
     Never use near primary CTAs (--blue) or nav. */
  --brand:       #FF5722;
  --brand-hover: #E64A19;
  --white:       #ffffff;
  --parchment:   #f5f5f7;
  --tile-dark:   #272729;
  --tile-dark-2: #2a2a2c;
  --pure-black:  #000000;
  --ink:         #1d1d1f;
  --muted:       #636366;
  --muted-dark:  #cccccc;
  --hairline:    #e0e0e0;
  /* --pearl removed: use --parchment (#f5f5f7) instead */
  --divider-soft:rgba(0,0,0,0.04);

  --section-v:   96px;
  --container:   980px;
  --container-wide: 1280px;
  --pill:        9999px;
  --radius-lg:   18px;
  --radius-sm:   8px;
  --radius-md:   11px;

  --font:         'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;

  --nav-h: 56px;
  --dev-h: 44px;

  /* ── Emil: punchy expo-out curve used everywhere ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* ── Z-index scale ── */
  --z-base:    0;
  --z-raise:   10;
  --z-dropdown:20;
  --z-sticky:  40;
  --z-nav:     100;
  --z-modal:   200;
  --z-toast:   300;
  --z-tooltip: 400;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
section[id], [id].section-anchor {
  scroll-margin-top: var(--nav-h);
}
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; }
ul { list-style: none; }
input, textarea, button { font-family: var(--font); }
img, video { max-width: 100%; height: auto; display: block; }

/* iOS safe-area inset padding on nav drawer */
.nav-drawer {
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}

/* Prevent horizontal scroll on all pages */
.page { overflow-x: clip; }

/* ── DEV PAGE SWITCHER ── */
#dev-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--dev-h);
  background: #111;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  z-index: 9999;
  overflow-x: auto;
  scrollbar-width: none;
}
#dev-nav::-webkit-scrollbar { display: none; }
.dev-label {
  color: #555;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 6px;
}
.pg-btn {
  background: #222;
  border: 1px solid #333;
  color: #888;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease-out, color 0.15s ease-out;
}
.pg-btn:hover { background: #333; color: #fff; }
.pg-btn.active { background: var(--white); color: #111; font-weight: 700; }

/* ── PAGES ── */
.page {
  display: none;
  margin-top: var(--dev-h);
}
.page.visible { display: block; }

/* ── SITE NAV (frosted glass) ── */
/* ── PAGE SCROLL PROGRESS BAR ── */
#rk-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 101;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(to right, var(--blue), var(--blue-bright));
  will-change: transform;
}

.site-nav {
  position: sticky;
  top: var(--dev-h);
  z-index: var(--z-nav);
  background: rgba(13,13,15,0.55);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  height: var(--nav-h);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s ease-out, opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.site-nav.scrolled {
  background: rgba(13,13,15,0.72);
  border-bottom-color: rgba(255,255,255,0.1);
}
/* Homepage: hide nav until scroll — desktop only */
@media (min-width: 861px) {
  .site-nav.nav-atop {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
  }
}

/* Video overlay */
.rk-video-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  animation: rk-fade-in .2s ease-out;
}
@keyframes rk-fade-in { from { opacity: 0; } to { opacity: 1; } }
.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
}
.site-nav .btn-pill {
  font-size: 13px !important;
  padding: 8px 18px !important;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  padding: 6px 10px;
  letter-spacing: -0.12px;
  transition: color .15s;
  white-space: nowrap;
  position: relative;
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--blue-bright);
  border-radius: 1px;
}
.nav-sub-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 5px 12px;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-sub-link:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.45); }
.nav-sub-link.active { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

/* Drawer version */
.nav-drawer .nav-sub-link {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #3b5bdb;
  background: rgba(59,91,219,0.07);
  border: 1px solid rgba(59,91,219,0.15);
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 8px;
  text-align: left;
  letter-spacing: 0;
}

/* ── BUTTONS ── */
.btn-pill {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 1px;
  letter-spacing: -0.01em;
  transition: transform 0.1s ease-out, background 0.15s ease-out;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-pill:hover { background: var(--blue-focus); }
.btn-pill:active { transform: scale(0.95); }

.btn-pill-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
  padding: 11px 22px;
  border-radius: var(--pill);
  border: 1px solid var(--blue);
  letter-spacing: -0.374px;
  transition: transform 0.1s ease-out, background 0.15s ease-out, color 0.15s ease-out;
  white-space: nowrap;
  cursor: pointer;
}
.btn-pill-outline:hover { background: var(--blue); color: var(--white); }
.btn-pill-outline:active { transform: scale(0.95); }

.btn-pill-outline-light {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-size: 17px;
  font-weight: 400;
  padding: 11px 22px;
  border-radius: var(--pill);
  border: 1px solid rgba(255,255,255,0.4);
  letter-spacing: -0.374px;
  transition: transform 0.1s ease-out, border-color 0.15s ease-out;
  white-space: nowrap;
  cursor: pointer;
}
.btn-pill-outline-light:hover { border-color: rgba(255,255,255,0.8); }
.btn-pill-outline-light:active { transform: scale(0.95); }

.btn-pill-ghost {
  display: inline-block;
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
  padding: 0;
  letter-spacing: -0.374px;
  transition: opacity .15s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-pill-ghost:hover { opacity: 0.7; }

.btn-sm {
  font-size: 14px !important;
  padding: 8px 16px !important;
}
.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}

/* ── LAYOUT ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.container-narrow {
  max-width: 800px;
}
.text-center { text-align: center; }

/* ── TILE SECTIONS ── */
.tile-light {
  background: var(--white);
  padding: var(--section-v) 0;
}
.tile-parchment {
  background: var(--parchment);
  padding: var(--section-v) 0;
}
.tile-dark {
  background: var(--tile-dark);
  padding: var(--section-v) 0;
}
/* Visual bridge: dark → parchment transition.
   Add .section-bridge between a .tile-dark and .tile-parchment sibling. */
.section-bridge {
  height: 80px;
  background: linear-gradient(to bottom, var(--tile-dark) 0%, var(--parchment) 100%);
  pointer-events: none;
  margin: 0;
  padding: 0;
}

/* ── CINEMATIC HERO TILE ── */
.hero-tile {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,102,204,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(41,151,255,0.07) 0%, transparent 60%),
    #070709;
  position: relative;
  overflow: hidden;
}
.hero-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.015) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.015) 80px
    );
  pointer-events: none;
}
/* Page heroes (non-home) stay tile-dark but slightly richer */
.page-hero {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0,102,204,0.10) 0%, transparent 70%),
    #0d0d10;
}

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow-light { color: rgba(41,151,255,0.85); }

.hero-h1 {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 20px;
}
/* Glowing accent word inside hero */
.hero-h1 .accent-word {
  color: var(--blue-bright);
  position: relative;
}
.hero-h1 .accent-word::after {
  content: '';
  position: absolute;
  inset: -4px -8px;
  background: rgba(41,151,255,0.12);
  border-radius: 6px;
  z-index: -1;
}
.display-h1 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1px;
  color: var(--ink);
}
.display-h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 12px;
}
.on-dark { color: var(--white) !important; }
.on-dark.section-body { color: var(--muted-dark) !important; }

.hero-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 28px;
}
.section-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  color: var(--muted);
  max-width: 600px;
  letter-spacing: -0.374px;
}
/* --muted: #636366 passes 4.5:1 on both white and parchment — no tile override needed */
.section-head {
  margin-bottom: 52px;
}
.section-head .section-body { margin-top: 14px; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
/* stagger children inside a revealed grid/list */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1),
              transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.08s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.16s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.24s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.32s; }
.reveal-stagger.visible > *:nth-child(n+6) { opacity:1; transform:none; transition-delay:0.38s; }
/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ── HERO TILE ── */
.hero-tile { padding-top: 104px; padding-bottom: 104px; }

/* Dual-tag line under eyebrow */
.hero-dual-tag {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hero-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 14px;
  border-radius: var(--pill);
}
.hero-tag-sep {
  width: 4px;
  height: 4px;
  background: var(--blue-bright);
  border-radius: 50%;
  opacity: 0.6;
}
.hero-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 64px;
  align-items: center;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cta-row-center { justify-content: center; }
.sub-cta {
  font-size: 14px;
  color: var(--blue-bright);
  letter-spacing: -0.224px;
  display: inline-block;
  margin-top: 8px;
  transition: opacity .15s;
}
.sub-cta:hover { opacity: 0.7; }

/* ── VISUAL PLACEHOLDERS ── */
.visual-block {
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.visual-inner {
  text-align: center;
  padding: 16px;
}
.visual-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.visual-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

/* Placeholder color palettes */
.visual-motion  { background: linear-gradient(135deg, #1a1a3e 0%, #0d2b5e 50%, #003380 100%); }
.visual-web     { background: linear-gradient(135deg, #1a3a1a 0%, #0d4d2b 50%, #005c1f 100%); }
.visual-brand   { background: linear-gradient(135deg, #2d1a3a 0%, #4a1a6e 50%, #5e0080 100%); }
.visual-social  { background: linear-gradient(135deg, #2d1a00 0%, #5c3500 50%, #803300 100%); }
.visual-gif     { background: linear-gradient(135deg, #001a2d 0%, #003566 50%, #004d8c 100%); }

.visual-hero  { width: 100%; height: 380px; border: 1px solid rgba(255,255,255,0.08); }
.gallery-thumb { height: 180px; width: 100%; }
.gallery-thumb-lg { height: 220px; width: 100%; }
.cs-hero-img  { height: 280px; width: 100%; }
.cs-frame     { flex: 1; height: 90px; }
.pre-prod-img { height: 200px; width: 100%; margin-bottom: 16px; }
.ldr-visual   { height: 280px; width: 100%; margin-bottom: 16px; }
.ldr-visual-sm { height: 120px; width: 100%; }
.about-photo  { height: 380px; width: 100%; margin-bottom: 20px; }

/* ── METRICS ── */
.metrics-tile { padding: 72px 0; border-bottom: 1px solid var(--hairline); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.metric {
  text-align: center;
  padding: 36px 24px;
  border-right: 1px solid var(--hairline);
  transition: background .2s;
}
.metric:hover { background: var(--parchment); }
.metric:last-child { border-right: none; }
.metric-num {
  display: block;
  font-size: 52px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
}
.metric-suffix {
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.metric-suffix--pct {
  vertical-align: baseline !important;
  top: 0 !important;
  position: static !important;
}
.metric-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: -0.224px;
  line-height: 1.5;
}

/* ── GRIDS ── */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.gallery-grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.gallery-grid-4 {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}

/* ── CASE STUDY CARDS (home) ── */
.cs-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cs-card-img { height: 220px; }
.cs-card-body { padding: 24px; }
.cs-type {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.cs-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.374px;
}
.cs-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: -0.224px;
}

/* ── CAPABILITY CARDS ── */
.cap-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background .2s;
}
.cap-card:hover { background: rgba(255,255,255,0.1); }
.cap-icon {
  width: 48px; height: 48px;
  background: rgba(0,102,204,0.1);
  border: 1px solid rgba(0,102,204,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #2997ff;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.cap-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.374px;
}
.cap-desc {
  font-size: 15px;
  color: var(--muted-dark);
  line-height: 1.5;
  letter-spacing: -0.224px;
}

/* ── GALLERY ── */
.gallery-item {
  cursor: pointer;
  transition: transform 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover { transform: translateY(-4px); }
}
.gallery-item:active { transform: scale(0.97); transition-duration: 0.1s; }
.gallery-meta { padding: 10px 4px; }
.gallery-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}
.gallery-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.224px;
}
.gallery-section { margin-bottom: 56px; }
.gallery-section-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.374px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

/* ── FILTER TABS ── */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-tab {
  background: var(--parchment);
  border: 1px solid var(--hairline);
  padding: 8px 18px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
  letter-spacing: -0.224px;
  min-height: 44px;
  touch-action: manipulation;
}
.filter-tab:hover { border-color: var(--blue); color: var(--blue); }
.filter-tab.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  font-weight: 700;
}

/* ── IMPACT STRIP ── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 40px;
}
.impact-item {
  text-align: center;
  padding: 32px 16px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.impact-grid.visible .impact-item          { opacity: 1; transform: translateY(0); }
.impact-grid.visible .impact-item:nth-child(2) { transition-delay: 0.08s; }
.impact-grid.visible .impact-item:nth-child(3) { transition-delay: 0.16s; }
.impact-grid.visible .impact-item:nth-child(4) { transition-delay: 0.24s; }

.impact-num {
  font-size: 52px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}
.impact-desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
  letter-spacing: -0.224px;
}
.impact-src {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.6;
  margin-top: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── PROCESS STEPS ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 24px;
  margin-top: 48px;
}
.process-step { text-align: center; }
.step-num {
  font-size: 32px;
  font-weight: 600;
  color: var(--blue-bright);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.374px;
}
.step-desc {
  font-size: 14px;
  color: var(--muted-dark);
  line-height: 1.5;
  letter-spacing: -0.224px;
}

/* ── PATH CARDS ── */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.path-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--white);
  transition: box-shadow .2s;
}
.path-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.path-card-secondary {
  background: var(--parchment);
  opacity: 0.9;
}
.path-icon {
  width: 52px; height: 52px;
  background: rgba(0,102,204,0.1);
  border: 1px solid rgba(0,102,204,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #2997ff;
  margin-bottom: 20px;
}
.path-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.374px;
}
.path-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: -0.224px;
}
.path-card .btn-pill,
.path-card .btn-pill-outline,
.path-card .btn-pill-ghost {
  display: inline-block;
  margin-right: 10px;
  margin-top: 8px;
}

/* ── SECTION CTA ── */
.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ── CTA TILE ── */
.cta-tile { padding: 96px 0; }

/* ── PAGE HERO ── */
.page-hero {
  padding: calc(var(--nav-h) + 40px) 0 64px;
}
.page-hero .display-h1 { margin-top: 12px; }
.page-hero .section-body { margin-top: 16px; margin-bottom: 0; }
.wg-hero .section-body { margin-top: 16px; margin-bottom: 0; }

/* ── TAGS ── */
.tag {
  display: inline-block;
  background: var(--parchment);
  border: 1px solid var(--hairline);
  padding: 4px 12px;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin: 3px;
  letter-spacing: -0.12px;
}
.tag-row { margin-bottom: 16px; }

/* ── CASE STUDY FULL CARDS ── */
.cs-full-card {
  background: var(--parchment);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 32px;
  transition: box-shadow .2s;
}
.cs-full-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.cs-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.cs-frames {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.cs-h2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.374px;
}
.cs-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cs-meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.cs-meta-val {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.224px;
}
.cs-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  letter-spacing: -0.224px;
}

/* ── LEADERSHIP ── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.ldr-list { margin-top: 0; }
.ldr-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.ldr-icon {
  width: 44px; height: 44px;
  background: rgba(0,102,204,0.08);
  border: 1px solid rgba(41,151,255,0.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.ldr-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.374px;
}
.ldr-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  letter-spacing: -0.224px;
}

/* ── UTILITY CARDS ── */
.util-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: none;
  transition: transform 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .util-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
}
.util-card:active { transform: scale(0.98); transition-duration: 0.1s; }
.util-icon {
  width: 44px; height: 44px;
  background: rgba(0,102,204,0.1);
  border: 1px solid rgba(0,102,204,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #2997ff;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.util-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.374px;
}
.util-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  letter-spacing: -0.224px;
  margin-bottom: 16px;
}
.util-card .tag-row { margin-top: 0; }

/* ── PRE-PRODUCTION ── */
.pre-prod-item { text-align: center; }
.pre-prod-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.374px;
}
.pre-prod-desc {
  font-size: 14px;
  color: var(--muted-dark);
  line-height: 1.5;
  letter-spacing: -0.224px;
}

/* ── EXPERIENCE ── */
.exp-hero-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 64px;
  align-items: start;
}
.exp-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.exp-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.exp-metric-num {
  font-size: 36px;
  font-weight: 600;
  color: var(--blue-bright);
  line-height: 1;
  letter-spacing: -0.02em;
}
.exp-metric-label {
  font-size: 13px;
  color: var(--muted-dark);
  margin-top: 6px;
  letter-spacing: -0.224px;
}
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── TIMELINE ── */
.timeline { padding-top: 8px; }
.tl-item {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
}
.tl-dot {
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  position: relative;
}
.tl-dot::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 2px;
  height: calc(100% + 30px);
  background: var(--hairline);
}
.tl-last .tl-dot::after { display: none; }
.tl-body { flex: 1; }
.tl-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.tl-company {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.374px;
  margin-bottom: 2px;
}
.tl-role {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: -0.224px;
}
.tl-desc {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 12px;
  letter-spacing: -0.224px;
}

/* ── SKILLS ── */
.skills-section { margin-bottom: 32px; }
.skills-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.374px;
}
.skill-row { margin-bottom: 12px; }
.skill-name {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.224px;
}
.skill-track {
  height: 4px;
  background: var(--hairline);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  width: var(--fill);
  transition: width 1s ease;
}

/* ── ABOUT ── */
.about-section { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 96px; }
.hero-about-quote {
  font-size: 17px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: -0.374px;
  border-left: 3px solid var(--blue);
  padding-left: 18px;
  margin: 20px 0 24px;
  max-width: 560px;
}
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.about-left {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.contact-card {
  background: var(--parchment);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-card-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.contact-item {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.224px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.contact-item svg { flex-shrink: 0; color: var(--blue); }
.philosophy-block {
  background: var(--parchment);
  border-left: 3px solid var(--blue);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
}
.philosophy-text {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.6;
  font-style: italic;
  letter-spacing: -0.374px;
}
.roles-section { margin-top: 24px; }
.roles-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.374px;
}

/* ── CONTACT ── */
.contact-section { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 96px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-details { margin-bottom: 32px; }
.contact-detail-item {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.224px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-detail-item svg { flex-shrink: 0; color: var(--blue); }
.enquiry-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.enquiry-card {
  background: var(--tile-dark);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.enquiry-card-light {
  background: var(--parchment);
}
.enquiry-card-light .enquiry-title,
.enquiry-card-light .enquiry-desc { color: var(--ink) !important; }
.enquiry-card-light .enquiry-desc { color: var(--muted) !important; }
.enquiry-icon {
  width: 40px; height: 40px;
  background: rgba(0,102,204,0.1);
  border: 1px solid rgba(41,151,255,0.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #2997ff;
  margin-bottom: 10px;
}
.enquiry-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.374px;
}
.enquiry-desc {
  font-size: 12px;
  color: var(--muted-dark);
  letter-spacing: -0.12px;
}

/* ── CONTACT FORM ── */
.contact-form-wrap {
  background: var(--parchment);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.374px;
}
.enquiry-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.enquiry-btn {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
  letter-spacing: -0.12px;
}
.enquiry-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.form-field { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.224px;
  transition: border-color .15s;
}
.form-input:focus {
  outline: none;
  border-color: var(--blue);
}
.form-textarea {
  width: 100%;
  height: 120px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.224px;
  resize: vertical;
  transition: border-color .15s;
}
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
}

/* ── SUBSCRIPTION ── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin: 48px 0;
}
.plan-card {
  background: #fff;
  border: 1px solid rgba(18,13,64,0.09);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(18,13,64,0.06);
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(18,13,64,0.1);
}
.plan-featured {
  background: linear-gradient(160deg, #181830 0%, #1e1e30 60%, #151525 100%);
  border-color: rgba(41,151,255,0.18);
  box-shadow: 0 24px 64px rgba(0,0,0,0.32), 0 0 0 1px rgba(41,151,255,0.14);
}
.plan-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 14px;
}
.plan-kicker {
  font-size: 13px;
  font-weight: 600;
  color: rgba(18,13,64,0.5);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.plan-name {
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.plan-featured .plan-name { color: #ffffff; }
.plan-price {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.plan-featured .plan-price { color: #fff; }
.plan-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: normal !important;
}
.plan-featured .plan-period { color: rgba(255,255,255,0.45); }
.plan-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
  letter-spacing: -0.1px;
}
.plan-featured .plan-desc { color: rgba(255,255,255,0.55); }
.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.plan-features li {
  font-size: 14px;
  color: var(--ink);
  padding: 9px 0 9px 24px;
  border-bottom: 1px solid rgba(18,13,64,0.07);
  letter-spacing: -0.1px;
  position: relative;
  display: block;
}
.plan-features li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 9px;
}
.plan-features li:last-child { border-bottom: none; }
.plan-featured .plan-features li {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.08);
}
.plan-featured .plan-features li::before { color: var(--blue-bright); }

.consult-cta {
  background: var(--parchment);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: 40px;
}
.consult-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.374px;
}
.consult-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.224px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--parchment);
  padding: 56px 0;
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { }
.footer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.374px;
}
.footer-tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: -0.12px;
}
.footer-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 12px;
  letter-spacing: -0.224px;
  line-height: 2.41;
  transition: color .15s;
}
.footer-links a:hover { color: var(--ink); }
.footer-accent { color: var(--blue) !important; }
.footer-accent:hover { color: var(--blue-focus) !important; }
.footer-social {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: -0.12px;
}

/* ── AVAILABILITY BADGE ── */
.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9999px;
  padding: 6px 16px 6px 12px;
  margin-bottom: 20px;
}
.hero-availability-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.hero-availability-text {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--white);
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--hairline);
  flex-shrink: 0;
}
.trust-pills {
  overflow: hidden;
  padding: 4px 0;
}
.trust-pills-track {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trust-pill {
  background: var(--parchment);
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.12px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color .15s, color .15s;
}
.trust-pill:hover { border-color: var(--blue); color: var(--blue); }

/* ── TESTIMONIAL STRIP ── */
.testimonial-strip {
  background: #070709;
  padding: 96px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.testimonial-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-mark {
  font-size: 64px;
  color: var(--blue-bright);
  line-height: 0.7;
  margin-bottom: 24px;
  font-family: var(--font-display);
  display: block;
  opacity: 0.7;
}
.testimonial-text {
  font-size: 23px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.45;
  letter-spacing: -0.4px;
  margin-bottom: 28px;
}
.testimonial-attr {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: -0.12px;
}
.testimonial-attr strong {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 11px;
  margin-left: 4px;
  flex-shrink: 0;
}
.nav-hamburger:focus-visible {
  outline: 2px solid #2997ff;
  outline-offset: 3px;
  border-radius: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ── */
.nav-drawer {
  display: none;
  position: fixed;
  top: calc(var(--dev-h) + var(--nav-h));
  /* mobile override applied below */
  left: 0;
  right: 0;
  background: rgba(7,7,9,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 98;
  flex-direction: column;
}
.nav-drawer.open { display: flex; }
.nav-drawer-link {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  transition: color .15s;
  display: block;
}
.nav-drawer-link:hover { color: var(--white); }
.nav-drawer .btn-pill {
  margin-top: 20px !important;
  text-align: center;
  display: block !important;
  font-size: 15px !important;
  padding: 12px 24px !important;
}
.nav-drawer .nav-sub-link {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  display: block;
  padding: 8px 0;
}

/* ── SECTION BODY CENTERED ── */
.text-center .section-body {
  margin-left: auto;
  margin-right: auto;
}

/* ── CS CARD IMPROVEMENTS ── (hover handled by override block at end of file) */

/* ══════════════════════════════════════════
   RESPONSIVE — ALL BREAKPOINTS
   ══════════════════════════════════════════ */

/* ── 1200px: compact desktop ── */
@media (max-width: 1200px) {
  .hero-h1 { font-size: 56px; }
  .container-wide { padding: 0 32px; }
  .exp-hero-grid { gap: 40px; }
  .split-grid { gap: 40px; }
  .about-grid { gap: 40px; }
  .contact-grid { gap: 40px; }
}

/* ── 1024px: small laptop / tablet landscape ── */
@media (max-width: 1024px) {
  :root { --section-v: 80px; }
  .hero-h1 { font-size: 50px; letter-spacing: -1.5px; }
  .display-h1 { font-size: 38px; }
  .display-h2 { font-size: 30px; }
  .hero-tile { padding-top: 80px; padding-bottom: 80px; }
  .cta-tile { padding: 72px 0; }

  .card-grid-4 { grid-template-columns: repeat(2,1fr); }
  .gallery-grid-4 { grid-template-columns: repeat(3,1fr); }
  .gallery-grid-3 { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(3,1fr); }
  .plan-grid { grid-template-columns: repeat(2,1fr); }

  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .metric { border-right: none; border-bottom: 1px solid var(--hairline); }
  .metric:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .metric:nth-child(3),
  .metric:nth-child(4) { border-bottom: none; }

  .cs-full-card { padding: 36px; }
  .footer-inner { padding: 0 24px; }
}

/* ── 860px: tablet portrait / small laptop ── */
@media (max-width: 860px) {
  :root { --section-v: 64px; }
  .hero-h1 { font-size: 42px; letter-spacing: -1.2px; }
  .display-h1 { font-size: 32px; letter-spacing: -0.5px; }
  .display-h2 { font-size: 27px; letter-spacing: -0.3px; }

  .hero-grid,
  .cs-full-grid,
  .split-grid,
  .exp-hero-grid,
  .exp-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .exp-grid { gap: 40px; }
  .about-grid { gap: 32px; }
  .contact-grid { gap: 32px; }

  .gallery-grid-4 { grid-template-columns: repeat(2,1fr); }
  .gallery-grid-3 { grid-template-columns: repeat(2,1fr); }
  .card-grid-3 { grid-template-columns: repeat(2,1fr); }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
  .path-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .enquiry-types { grid-template-columns: 1fr; }

  .nav-links { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .site-nav .nav-cta { display: none !important; }
  .hero-v2 { padding-top: var(--nav-h); }

  .hero-tile { padding-top: 64px; padding-bottom: 64px; }
  .cta-tile { padding: 56px 0; }
  .page-hero { padding: calc(var(--nav-h) + 20px) 0 48px; }
  .about-section,
  .contact-section { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 64px; }

  .cs-full-card { padding: 28px; }
  .cs-full-grid { gap: 28px; }
  .path-card { padding: 28px; }
  .plan-card { padding: 28px; }
  .contact-form-wrap { padding: 28px; }
  .consult-cta { padding: 36px; }

  .trust-strip-inner { gap: 12px; }
  .trust-divider { display: none; }
  .testimonial-text { font-size: 18px; }
  .testimonial-strip { padding: 64px 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 0 20px; }
  .site-footer { padding: 40px 0 90px !important; } /* clearance for sticky hire/whatsapp/scroll-top buttons */
}

/* ── 600px: large phone landscape / small tablet ── */
@media (max-width: 600px) {
  :root { --section-v: 52px; }
  .hero-h1 { font-size: 34px; letter-spacing: -1px; }
  .display-h1 { font-size: 28px; letter-spacing: -0.4px; }
  .display-h2 { font-size: 22px; letter-spacing: -0.3px; line-height: 1.25; }
  .container { padding: 0 20px; }

  .section-head { margin-bottom: 36px; }
  .metrics-tile { padding: 48px 0; }

  .gallery-grid-3 { grid-template-columns: 1fr; }
  .gallery-grid-4 { grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; }

  .metric-num { font-size: 40px; }
  .impact-num { font-size: 40px; }
  .testimonial-text { font-size: 16px; }
  .trust-label { font-size: 10px; letter-spacing: 0.08em; }

  .hero-tile { padding-top: 48px; padding-bottom: 48px; }
  .cta-tile { padding: 64px 0; }
  .cta-row-center { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .cta-row-center .btn-pill,
  .cta-row-center .btn-pill-outline-light { flex: 0 0 auto; min-width: 140px; text-align: center; justify-content: center; }
  .page-hero { padding: calc(var(--nav-h) + 16px) 0 36px; }
  .metrics-tile { padding: 40px 0; }

  .section-body { font-size: 15px; }
  .hero-body { font-size: 15px; }

  .filter-tabs { gap: 6px; }
  .filter-tab { font-size: 13px; padding: 6px 14px; }

  .tl-item { gap: 14px; }
  .tl-company { font-size: 16px; }

  .exp-metrics { grid-template-columns: 1fr 1fr; }
  .exp-metric-num { font-size: 28px; }

  .about-photo { height: 260px; }
  .visual-hero { height: 260px; }
  .cs-hero-img { height: 200px; }

  .contact-form-wrap { padding: 20px; }
  .consult-cta { padding: 24px; }
}

/* ── 480px: phones ── */
@media (max-width: 480px) {
  .hero-h1 { font-size: 28px; letter-spacing: -0.8px; }
  .display-h1 { font-size: 24px; }
  .display-h2 { font-size: 19px; line-height: 1.28; }
  .container { padding: 0 16px; }
  .cta-tile { padding: 56px 0; }

  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid-4 { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .exp-metrics { grid-template-columns: 1fr 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }

  .metric-num { font-size: 36px; }
  .impact-num { font-size: 36px; }
  .testimonial-text { font-size: 15px; }

  .cs-full-card { padding: 20px; }
  .cs-full-grid { gap: 20px; }
  .path-card { padding: 20px; }
  .plan-card { padding: 20px; }

  .hero-about-quote { font-size: 15px; }
  .philosophy-text { font-size: 15px; }

  .footer-links { gap: 0; }
  .footer-links a { padding: 4px 8px; font-size: 13px; }

  .enquiry-btn { font-size: 12px; padding: 8px 10px; }
  .trust-pill { font-size: 11px; padding: 4px 10px; }
  .tag { font-size: 11px; }

  .section-body { font-size: 14px; }
  .hero-body { font-size: 14px; }
  .cta-tile { padding: 40px 0; }
  .site-footer { padding: 32px 0 90px !important; }
}

/* ══════════════════════════════════════════
   HERO — FIGMA-ALIGNED FIRST FOLD
   ══════════════════════════════════════════ */


/* ── Page loader ── */
/* ── Curtain loader — split reveal ── */
#rk-loader {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; flex-direction: column;
  pointer-events: none;
}
.rk-curtain-top, .rk-curtain-bottom {
  flex: 1; background: #0d0d0e;
  transition: transform 0.85s cubic-bezier(0.76,0,0.24,1);
}
.rk-curtain-top {
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding-bottom: 6px; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rk-curtain-bottom { transition-delay: 0.06s; }
#rk-loader.done .rk-curtain-top  { transform: translateY(-100%); }
#rk-loader.done .rk-curtain-bottom { transform: translateY(100%); }

.rk-loader-wordmark {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800; letter-spacing: -0.04em; color: #fff;
  opacity: 0; transform: translateY(16px);
  animation: loader-word-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}
.rk-loader-text {
  font-family: var(--font); font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  opacity: 0; animation: loader-word-in 0.5s ease 0.35s both;
  padding-bottom: 8px;
}
@keyframes loader-word-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero layout ── */
.hero-v2 {
  display: flex;
  min-height: clamp(560px, 86svh, 860px);
  background: #0d0d0f;
  font-family: var(--font-display);
  overflow: hidden;
}

/* ── Left: portrait column ── */
.hero-v2__left {
  width: clamp(220px, 30%, 460px);
  flex-shrink: 0;
  position: relative;
  background: #0a0a0c;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.9s ease 0.45s, transform 0.9s cubic-bezier(0.16,1,0.3,1) 0.45s;
}
.hero-v2__left.in { opacity: 1; transform: translateX(0); }

.hero-v2__portrait {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-v2__photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(41,151,255,0.06) 0%, rgba(0,0,0,0) 60%);
}
.hero-v2__portrait img,
.hero-v2__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1);
  display: block;
}

/* Mobile text overlay — hidden on desktop */
.hero-v2__mob-overlay { display: none; }

/* ── Social sidebar ── */
.hero-v2__social {
  position: absolute;
  bottom: 2.5rem;
  left: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0; padding: 0;
  z-index: 2;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-v2__social.in { opacity: 1; transform: translateY(0); }
.hero-v2__social::after {
  content: '';
  display: block;
  width: 1px; height: 72px;
  background: rgba(255,255,255,0.22);
  margin-top: 0.4rem;
}
.hero-v2__social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.hero-v2__social a:hover { color: #fff; background: rgba(255,255,255,0.14); }
.hero-v2__social svg { width: 20px; height: 20px; }

/* ── Right column ── */
.hero-v2__right {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(1.5rem,4vh,3.5rem) clamp(1.5rem,3.5vw,4.5rem) clamp(1.5rem,4vh,3.5rem) clamp(1.5rem,3vw,3.5rem);
}
.hero-v2__body {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem,3.5vw,4rem);
  width: 100%;
}

/* ── Main content column ── */
.hero-v2__main-col {
  flex: 0 0 54%;
  max-width: 54%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Headline ── */
.hero-v2__headline { display: flex; flex-direction: column; }
.hero-v2__word-wrap { overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.18em; }
.hero-v2__word {
  display: block;
  font-family: var(--font);
  font-size: clamp(1.9rem, 3.8vw, 4.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  transform: translateY(108%);
  transition: transform 0.95s cubic-bezier(0.16,1,0.3,1);
}
.hero-v2__word--role {
  font-family: var(--font);
  font-weight: 300;
  color: rgba(255,255,255,0.50);
  font-size: clamp(1.3rem, 2.6vw, 3.2rem);
}
.hero-v2__word.in { transform: translateY(0); }

/* ── Sub text ── */
.hero-v2__sub {
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  font-weight: 400;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  margin: 0;
  max-width: 500px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-v2__sub.in { opacity: 1; transform: translateY(0); }

/* ── Stats row ── */
.hero-v2__stats {
  display: flex;
  align-items: flex-end;
  gap: clamp(1.5rem,3vw,3rem);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.hero-v2__stats.in { opacity: 1; transform: translateY(0); }
.hero-v2__stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
.hero-v2__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem,4.5vw,4.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.06em;
  line-height: 1;
  flex-shrink: 0;
}
.hero-v2__stat-label {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  line-height: 1.35;
  text-align: left;
}

/* ── CTA row ── */
.hero-v2__cta-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.hero-v2__cta-row.in { opacity: 1; transform: translateY(0); }
.hero-v2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease-out, transform 0.12s ease-out, background 0.15s ease-out;
}
.hero-v2__btn:hover { opacity: 0.86; transform: translateY(-1px); }
.hero-v2__btn:active { transform: translateY(0) scale(0.97); opacity: 1; }
.hero-v2__btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.8);
  outline-offset: 3px;
}
.hero-v2__btn--primary  { background: var(--blue); color: #fff; }
.hero-v2__btn--secondary {
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.hero-v2__btn--secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  opacity: 1;
}
@keyframes play-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.hero-v2__play {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: #0d0d0f;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: play-pulse 2s ease-in-out infinite;
}
.hero-v2__play:hover { transform: scale(1.1); animation: none; box-shadow: 0 4px 20px rgba(255,255,255,0.25); }

/* ── Plans & Perks label ── */
.hero-v2__plans-label {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s ease 0.08s, transform 0.65s ease 0.08s;
}
.hero-v2__plans-label.in { opacity: 1; transform: translateY(0); }
.hero-v2__plans-label a {
  display: flex; align-items: center; gap: 0.9rem;
  text-decoration: none; transition: opacity 0.2s;
}
.hero-v2__plans-label a:hover { opacity: 0.72; }
.hero-v2__plans-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.03em;
}
.hero-v2__plans-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.48);
}
.hero-v2__plans-arrow {
  width: 34px; height: 11px;
  color: rgba(255,255,255,0.38);
  transition: transform 0.2s;
}
.hero-v2__plans-label a:hover .hero-v2__plans-arrow { transform: translateX(-4px); }

/* ── Nav column ── */
.hero-v2__nav-col {
  flex: 1;
  min-width: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-v2__nav-col.in { opacity: 1; transform: translateY(0); }

.hero-v2__nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 420px;
}

/* Nav card base */
.hero-v2__ncard {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  text-decoration: none;
  color: var(--white);
  cursor: pointer;
  padding: 1rem;
  transition: background 0.28s, transform 0.28s, border-radius 0.28s, border-color 0.28s;
}
.hero-v2__ncard:hover {
  background: rgba(0,102,204,0.18);
  border-color: rgba(41,151,255,0.3);
  border-radius: 9999px !important;
  transform: scale(0.93);
}
/* Shape variants — 3 of 4 corners rounded, one square */
.hero-v2__ncard--tl { border-radius: 9999px 9999px 0    9999px; } /* BR square */
.hero-v2__ncard--bl { border-radius: 9999px 0    9999px 9999px; } /* TR square */
.hero-v2__ncard--br { border-radius: 0    9999px 9999px 9999px; } /* TL square */

.hero-v2__ncard-icon {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2px;
}
.hero-v2__ncard-icon svg {
  width: 1.8rem; height: 1.8rem;
  color: rgba(255,255,255,0.58);
  transition: color 0.2s;
}
.hero-v2__ncard:hover .hero-v2__ncard-icon svg { color: var(--blue-bright); }
.hero-v2__ncard-title {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  color: var(--white); text-align: center;
  letter-spacing: -0.02em;
}
.hero-v2__ncard-sub {
  font-size: 0.64rem;
  color: rgba(255,255,255,0.48);
  text-align: center;
}

/* Portfolio info cell (top-right, no card shape) */
.hero-v2__nav-info {
  display: flex; flex-direction: column;
  justify-content: flex-end; gap: 0.3rem;
  padding: 0.8rem 0.4rem 0.8rem 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.hero-v2__nav-info:hover { opacity: 0.72; }
.hero-v2__nav-info-label {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.03em;
}
.hero-v2__nav-info-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.45;
}
.hero-v2__nav-info-arrow {
  width: 34px; height: 11px;
  color: rgba(255,255,255,0.38);
  margin-top: 0.35rem;
  transition: transform 0.2s;
}
.hero-v2__nav-info:hover .hero-v2__nav-info-arrow { transform: translateX(4px); }

/* ── Marquee strip ── */
.hero-v2__marquee {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 0;
  overflow: hidden;
}
.hero-v2__marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.8rem;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  animation: rk-marquee 32s linear infinite;
}
.hero-v2__marquee-track .msep {
  color: var(--blue-bright);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  opacity: 0.8;
}
@keyframes rk-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes trust-pill-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* On desktop: hide duplicates, allow pills to wrap normally */
@media (min-width: 861px) {
  .trust-pills-track [aria-hidden="true"] { display: none; }
  .trust-pills-track { animation: none; }
}

/* Marquee desktop-only: hide on mobile where hero stacks vertically */
@media (max-width: 680px) {
  .hero-v2__marquee--desktop-only { display: none; }
}

/* ── Hero V2 Responsive ── */

/* 1200px: tighten */
@media (max-width: 1200px) {
  .hero-v2__left { width: clamp(200px, 28%, 400px); }
  .hero-v2__word { font-size: clamp(1.8rem, 3.4vw, 4rem); }
}

/* 1024px: small laptop */
@media (max-width: 1024px) {
  .hero-v2__main-col { flex: 0 0 56%; max-width: 56%; }
  .hero-v2__word { font-size: clamp(1.7rem, 3vw, 3.4rem); }
  .hero-v2__word--role { font-size: clamp(1.2rem, 2.2vw, 2.6rem); }
  .hero-v2__stat-num { font-size: clamp(2.2rem, 3.8vw, 3.5rem); }
}

/* 860px: body stacks to column, nav below content */
@media (max-width: 860px) {
  .hero-v2 { min-height: auto; }
  .hero-v2__left { width: clamp(180px, 28%, 340px); }
  .hero-v2__right { align-items: flex-start; }
  .hero-v2__body {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }
  .hero-v2__main-col { flex: none; max-width: 100%; }
  .hero-v2__nav-col { width: 100%; }
  .hero-v2__nav-grid { max-width: 400px; gap: 8px; }
  .hero-v2__word { font-size: clamp(1.6rem, 4vw, 3.2rem); }
  .hero-v2__word--role { font-size: clamp(1.1rem, 2.8vw, 2.4rem); }
}

/* 680px: hero stacks vertically (portrait top, content below) */
@media (max-width: 680px) {
  .hero-v2 {
    flex-direction: column;
    min-height: 100svh;
  }

  /* Height auto = full image, zero crop */
  .hero-v2__left {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
  }
  .hero-v2__portrait {
    position: relative;
    height: auto;
  }
  .hero-v2__portrait picture { display: block; }
  .hero-v2__photo {
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
  }

  /* Text overlay — left grey half of the landscape image */
  .hero-v2__mob-overlay {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 6%;
    top: 36%;
    transform: translateY(-50%);
    width: 48%;
    gap: 0;
    z-index: 2;
  }
  .hero-v2__mob-hi {
    font-size: clamp(0.55rem, 2vw, 0.65rem);
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
  }
  .hero-v2__mob-name {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
    margin-bottom: 0.45rem;
  }
  .hero-v2__mob-role {
    font-size: clamp(0.62rem, 2.4vw, 0.75rem);
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    letter-spacing: 0.01em;
  }

  /* Hide headline from right col — overlay is the heading */
  .hero-v2__headline { display: none; }

  /* Discreet social icons bottom-left */
  .hero-v2__social {
    position: absolute;
    bottom: 1.2rem;
    left: 0.75rem;
    flex-direction: row;
    gap: 0.5rem;
  }
  .hero-v2__social a {
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,0.1);
  }
  .hero-v2__social svg { width: 13px; height: 13px; }
  .hero-v2__social::after { display: none; }

  .hero-v2__right {
    flex: 1;
    padding: 2rem 1.4rem 1.4rem;
  }
  .hero-v2__body { gap: 1.6rem; }
  .hero-v2__sub { font-size: 0.88rem; max-width: 100%; line-height: 1.55; }
  .hero-v2__stats { gap: 1.5rem; }
  .hero-v2__stat-num { font-size: clamp(2rem, 7vw, 3.2rem); }
  .hero-v2__nav-grid { max-width: 100%; gap: 7px; }
  .hero-v2__ncard-title { font-size: 0.78rem; }
  .hero-v2__ncard-sub { font-size: 0.6rem; }
  .hero-v2__ncard-icon svg { width: 1.5rem; height: 1.5rem; }
  .hero-v2__plans-label { font-size: 0.55rem; }
}

/* 480px: small phone — further compression */
@media (max-width: 480px) {
  .hero-v2__left { height: auto; }
  .hero-v2__right { padding: 1.4rem 1.2rem 1.4rem; }
  .hero-v2__body { gap: 1.4rem; flex-direction: column; }
  .hero-v2__main-col { flex: unset; max-width: 100%; width: 100%; }
  .hero-v2__nav-col { width: 100%; opacity: 1; transform: none; }
  .hero-v2__nav-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    gap: 8px;
  }
  .hero-v2__ncard { padding: 1rem 0.75rem; }
  .hero-v2__ncard-title { font-size: 0.82rem; }
  .hero-v2__ncard-sub { font-size: 0.62rem; }
  .hero-v2__ncard-icon svg { width: 1.4rem; height: 1.4rem; }
  .hero-v2__nav-info { padding: 0.9rem 1rem; }
  .hero-v2__nav-info-label { font-size: 0.9rem; }
  .hero-v2__nav-info-sub { font-size: 0.62rem; }
  .hero-v2__stats { gap: 1.2rem; }
  .hero-v2__stat-num { font-size: 2rem; }
  .hero-v2__stat-label { font-size: 0.7rem; }
  .hero-v2__btn { height: 42px; font-size: 0.88rem; padding: 0 1.1rem; }
  .hero-v2__play { width: 42px; height: 42px; }
  .hero-v2__cta-row { gap: 10px; }
  .hero-v2__sub { font-size: 0.78rem; line-height: 1.55; max-width: 100%; opacity: 1 !important; transform: none !important; }
  .hero-v2__marquee-track { font-size: 11px; gap: 1.8rem; }
}

/* Touch devices: cursor JS skipped via matchMedia in portfolio.js */

/* ══════════════════════════════════════════
   VISUAL POLISH — PREMIUM LAYER
   ══════════════════════════════════════════ */

/* ── Grain / noise overlay for hero ── */
.hero-v2::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  opacity: 0.028;
  mix-blend-mode: overlay;
}

/* Richer hero background — deep radial glow behind content */
.hero-v2 {
  background:
    radial-gradient(ellipse 55% 70% at 65% 40%, rgba(0,102,204,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(41,151,255,0.05) 0%, transparent 65%),
    #0d0d0f;
}

/* Photo placeholder — richer atmospheric gradient */
.hero-v2__photo-placeholder {
  background:
    linear-gradient(180deg,
      rgba(41,151,255,0.12) 0%,
      rgba(0,60,140,0.06) 40%,
      rgba(0,0,0,0) 72%,
      rgba(0,0,0,0.55) 100%),
    linear-gradient(135deg, #0a0c18 0%, #0d0f1a 50%, #07090e 100%);
}

/* Left portrait column — border-right glow line */
.hero-v2__left::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(41,151,255,0.22) 30%,
    rgba(0,102,204,0.28) 55%,
    rgba(41,151,255,0.12) 80%,
    transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* Marquee strip — more refined */
.hero-v2__marquee {
  background: rgba(255,255,255,0.025);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 13px 0;
  position: relative;
}
.hero-v2__marquee::before,
.hero-v2__marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
.hero-v2__marquee::before {
  left: 0;
  background: linear-gradient(90deg, #0d0d0f, transparent);
}
.hero-v2__marquee::after {
  right: 0;
  background: linear-gradient(-90deg, #0d0d0f, transparent);
}
.hero-v2__marquee-track {
  color: rgba(255,255,255,0.45);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em;
}
.hero-v2__marquee-track .msep {
  color: var(--blue-bright);
  font-size: 18px; font-weight: 800;
  opacity: 0.8;
}

/* ── Nav hero cards — more depth ── */
.hero-v2__ncard {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-v2__ncard:hover {
  background: rgba(0,102,204,0.15);
  border-color: rgba(41,151,255,0.28);
  box-shadow: 0 0 0 1px rgba(41,151,255,0.1), inset 0 0 20px rgba(0,102,204,0.06);
}

/* ── Stat numbers — subtle glow on dark ── */
.hero-v2__stat-num {
  text-shadow: 0 0 32px rgba(41,151,255,0.18);
}

/* ── Dark tile sections — pattern + depth ── */
.tile-dark {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,102,204,0.07) 0%, transparent 65%),
    var(--tile-dark);
  position: relative;
}
.tile-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}

/* ── Testimonial strip — richer dark ── */
.testimonial-strip {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,102,204,0.08) 0%, transparent 70%),
    #050507;
  position: relative;
}
.testimonial-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.testimonial-mark {
  font-size: 72px;
  opacity: 0.55;
  background: linear-gradient(135deg, var(--blue-bright), rgba(41,151,255,0.5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 0.8;
  margin-bottom: 28px;
}
.testimonial-text {
  font-size: 22px;
  color: rgba(255,255,255,0.88);
  line-height: 1.52;
}
.testimonial-quote {
  position: relative;
  z-index: 1;
}

/* ── Page hero (non-home) — richer dark ── */
.page-hero {
  background:
    radial-gradient(ellipse 65% 90% at 50% 0%, rgba(0,102,204,0.12) 0%, transparent 72%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(0,0,0,0.35) 0%, transparent 70%),
    #0d0d10;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.7;
}
.page-hero .container { position: relative; z-index: 1; }

/* ── Eyebrow labels — refined ── */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--blue);
  display: inline-block;
}
.eyebrow-light {
  color: rgba(41,151,255,0.85);
}

/* ── Display headings — refined ── */
.display-h1 {
  line-height: 1.06;
  letter-spacing: -0.8px;
}
.display-h2 {
  letter-spacing: -0.7px;
  line-height: 1.08;
}
.on-dark.display-h1,
.on-dark.display-h2 {
  text-shadow: 0 1px 0 rgba(0,0,0,0.5);
}

/* ── Card polish ── */
.cs-card {
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.cs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.11), 0 4px 12px rgba(0,0,0,0.06);
  border-color: rgba(0,102,204,0.12);
}
.cs-card-body { padding: 28px; }
.cs-title { font-size: 19px; line-height: 1.22; }

/* ── Capability cards — more depth ── */
.cap-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.cap-card:hover {
  background: rgba(0,102,204,0.1);
  border-color: rgba(41,151,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
}
.cap-icon { font-size: 26px; }

/* ── Utility cards — cleaner lift ── */
.util-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.util-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.09);
  border-color: rgba(0,102,204,0.15);
}

/* ── Metrics tile — cleaner border ── */
.metrics-tile {
  border-bottom: 1px solid var(--hairline);
}
.metric-num {
  background: linear-gradient(135deg, var(--ink) 0%, #3a3a3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.metric-suffix {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ── Impact numbers — more vivid ── */
.impact-num {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 60%, #5ab0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.impact-item {
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, background 0.2s ease-out;
}
.impact-item:hover {
  background: rgba(255,255,255,0.5);
}

/* ── Process steps — connector line ── */
.process-grid { position: relative; }
.process-step {
  position: relative;
  padding: 28px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.process-step:hover {
  background: rgba(0,102,204,0.1);
  border-color: rgba(41,151,255,0.2);
  transform: translateY(-3px);
}
.step-num {
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0,102,204,0.12);
  border: 1px solid rgba(41,151,255,0.2);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

/* ── Trust strip — minimal and refined ── */
.trust-strip {
  background: linear-gradient(180deg, var(--white) 0%, var(--parchment) 100%);
}
.trust-pill {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.trust-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 3px 10px rgba(0,102,204,0.12);
  transform: translateY(-1px);
}

/* ── Buttons — more premium feel ── */
.btn-pill {
  box-shadow: 0 1px 3px rgba(255,87,34,0.22), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn-pill:hover {
  background: var(--brand-hover) !important;
  box-shadow: 0 6px 20px rgba(255,87,34,0.32), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.btn-pill:active {
  transform: scale(0.97) translateY(0);
  box-shadow: 0 1px 4px rgba(255,87,34,0.2);
}

.btn-pill-outline {
  transition: transform 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn-pill-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,87,34,0.18);
}

/* ── Path cards — more elevated ── */
.path-card {
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09), 0 4px 12px rgba(0,0,0,0.04);
}
.path-card-secondary {
  background: linear-gradient(135deg, var(--parchment) 0%, #eaeaf0 100%);
}

/* ── Plan cards ── */
.plan-card {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.plan-card:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}
.plan-featured {
  background: linear-gradient(160deg, #1e1e28 0%, var(--tile-dark) 50%, #1a1a22 100%);
  box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 0 0 1px rgba(41,151,255,0.12);
}

/* ── Timeline dots ── */
.tl-dot {
  width: 12px; height: 12px;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.15);
  background: var(--blue);
}
.tl-dot::after {
  background: linear-gradient(180deg, rgba(0,102,204,0.3), transparent);
  width: 1px;
}

/* ── Skill bars — smoother ── */
.skill-fill {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0,102,204,0.25);
}

/* ── Quote in About/Philosophy ── */
.hero-about-quote {
  border-left: 3px solid var(--blue);
  background: linear-gradient(90deg, rgba(0,102,204,0.04), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.philosophy-block {
  background: linear-gradient(90deg, rgba(0,102,204,0.05), rgba(0,102,204,0.01));
  border-left: 3px solid var(--blue);
}

/* ── Contact form ── */
.contact-form-wrap {
  background: linear-gradient(160deg, var(--parchment) 0%, #ebebf0 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

/* ── Footer — richer dark band ── */
.site-footer {
  background: linear-gradient(180deg, var(--parchment) 0%, #ebebed 100%);
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* ── Consult CTA block ── */
.consult-cta {
  background: linear-gradient(135deg, var(--parchment) 0%, #eaeaf0 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ── CS full cards ── */
.cs-full-card {
  background: linear-gradient(160deg, var(--parchment) 0%, #efeff2 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.cs-full-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.09);
}

/* ── Section head — tighter bottom spacing ── */
.section-head { margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 12px; }

/* ── Filter tabs — refined ── */
.filter-tab {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.filter-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,102,204,0.12);
}
.filter-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(0,102,204,0.24);
}
/* Active tab on hover: keep white text, just pulse scale — no color flip */
.filter-tab.active:hover {
  color: var(--white);
  background: var(--blue-focus);
  border-color: var(--blue-focus);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(0,102,204,0.28);
}

/* ── Nav CTA — polish ── */
.site-nav .btn-pill {
  box-shadow: 0 1px 4px rgba(0,102,204,0.25);
}
.site-nav .btn-pill:hover {
  box-shadow: 0 4px 14px rgba(0,102,204,0.3);
}

/* ── Work Snapshot clickable items ── */
.ws-clickable {
  position: relative;
}
.ws-clickable::after {
  content: '↗';
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  line-height: 1;
}
.ws-clickable:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* ── Work Gallery Modal ── */
.wg-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999990;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wg-modal.open {
  display: flex;
}
.wg-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.wg-modal-panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: min(880px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
  animation: wg-modal-in 0.28s cubic-bezier(0.16,1,0.3,1);
}
@keyframes wg-modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.wg-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s, transform 0.15s;
}
.wg-modal-close:hover { background: var(--hairline); transform: scale(1.08); }
.wg-modal-close svg { width: 15px; height: 15px; color: var(--ink); }
.wg-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.wg-modal-visual {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg) !important;
  min-height: 300px;
  height: 100%;
}
.wg-modal-info {
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wg-modal-tag-pill {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--parchment);
  color: var(--muted);
  border: 1px solid var(--hairline);
  padding: 5px 12px;
  border-radius: var(--pill);
}
.wg-modal-title {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 0;
}
.wg-modal-desc p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.wg-modal-video-wrap { margin-top: auto; }
.wg-modal-video-placeholder {
  background: var(--parchment);
  border: 1.5px dashed var(--hairline);
  border-radius: var(--radius-md);
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
}
.wg-modal-video-placeholder svg {
  width: 28px; height: 28px;
  opacity: 0.35;
}
.wg-modal-gallery-link {
  margin-top: 4px;
  align-self: flex-start;
}

@media (max-width: 620px) {
  .wg-modal-body { grid-template-columns: 1fr; }
  .wg-modal-visual {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    min-height: 180px;
  }
  .wg-modal-info { padding: 24px 20px 28px; }
}

/* ── Availability pulsing dot — more vivid ── */
.hero-availability-dot {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
}

/* ── Exp metric tiles ── */
.exp-metric {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: background 0.22s;
}
.exp-metric:hover {
  background: rgba(0,102,204,0.1);
  border-color: rgba(41,151,255,0.2);
}
.exp-metric-num {
  background: linear-gradient(135deg, var(--blue-bright) 0%, #88c7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ── Enquiry cards ── */
.enquiry-card {
  background: linear-gradient(140deg, #1e2028 0%, var(--tile-dark) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

/* ── Gallery items ── */
.gallery-item:hover .visual-block {
  filter: brightness(1.12) saturate(1.1);
}

/* ── Visual block labels — cleaner ── */
.visual-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
}

/* ── Pre-production items ── */
.pre-prod-item {
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  transition: background 0.22s, border-color 0.22s;
}
.pre-prod-item:hover {
  background: rgba(0,102,204,0.09);
  border-color: rgba(41,151,255,0.18);
}
.pre-prod-img { margin-bottom: 18px; }

/* ── Leadership list items ── */
.ldr-item {
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.ldr-item:hover {
  background: rgba(0,102,204,0.04);
}
.ldr-icon {
  background: linear-gradient(135deg, var(--parchment) 0%, rgba(0,102,204,0.06) 100%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ── Scroll reveal — tablet override removed (handled globally above) ── */

/* ── CTA tile — richer contrast ── */
.cta-tile {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0,102,204,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0,0,0,0.3) 0%, transparent 65%),
    var(--tile-dark);
}

/* ── Section body text — slightly better contrast ── */
.section-body { color: #6b6b70; }
.on-dark.section-body { color: rgba(255,255,255,0.72) !important; }

/* ══════════════════════════════════════════
   WORK GALLERY — REDESIGN
   ══════════════════════════════════════════ */

/* ── Gallery hero badges ── */
.wg-hero .container { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 20px; }
.wg-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.wg-hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
}
.wg-hero-badge {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  min-width: 0;
  text-align: center;
}
.wg-badge-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-bright);
  letter-spacing: -0.04em;
  line-height: 1;
}
.wg-badge-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  line-height: 1.3;
}

/* ── Gallery section layout ── */
.wg-gallery-section { padding-top: 56px; }
.wg-filter-tabs { margin-bottom: 52px; }
.wg-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.wg-section-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* ── Gallery items — updated for real media ── */
.wg-item {
  cursor: pointer;
  transition: transform 0.22s ease;
}
.wg-item:hover { transform: translateY(-4px); }

/* Thumbnail container */
.wg-thumb {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--tile-dark);
  aspect-ratio: 16/10;
  display: flex;
  align-items: stretch;
}

/* Real video thumbnail */
.wg-thumb-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Real image thumbnail */
.wg-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.wg-item:hover .wg-thumb-img { transform: scale(1.04); }

/* Placeholder coloured block */
.wg-thumb--ph {
  align-items: center;
  justify-content: center;
}
.wg-ph-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  pointer-events: none;
}

/* Hover overlay */
.wg-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s ease;
}
.wg-item:hover .wg-thumb-overlay { background: rgba(0,0,0,0.42); }

/* Play / view button */
.wg-action-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.wg-play-btn svg { color: var(--ink); margin-left: 2px; }
.wg-view-btn svg { color: var(--ink); }
.wg-item:hover .wg-action-btn {
  opacity: 1;
  transform: scale(1);
}

/* Type badge (Video / Image) */
.wg-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.62);
  color: rgba(255,255,255,0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Override old ws-clickable arrow — hide on wg-item (has overlay) */
.wg-item.ws-clickable::after,
.wg-item::after { display: none !important; }

/* ══════════════════════════════════════════
   MODAL — REDESIGN (media-aware)
   ══════════════════════════════════════════ */

/* Reset old modal styles that no longer apply */
.wg-modal-visual,
.wg-modal-body,
.wg-modal-info > .wg-modal-video-wrap,
.wg-modal-gallery-link { all: unset; }

.wg-modal-panel {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

/* Media area — top */
.wg-modal-media {
  position: relative;
  background: #000;
  flex-shrink: 0;
  max-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.wg-modal-video-player {
  width: 100%;
  max-height: 56vh;
  background: #000;
  display: block;
  outline: none;
}

.wg-modal-img-view {
  width: 100%;
  max-height: 56vh;
  object-fit: contain;
  display: block;
  background: #111;
}

.wg-modal-ph {
  width: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.wg-modal-ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Info area — bottom, scrollable */
.wg-modal-info {
  padding: 28px 32px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.wg-modal-tag-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--parchment);
  color: var(--muted);
  border: 1px solid var(--hairline);
  padding: 4px 12px;
  border-radius: 99px;
  width: fit-content;
}

.wg-modal-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 0;
}

.wg-modal-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Tools / Platform row */
.wg-modal-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  background: var(--parchment);
  border-radius: var(--radius-sm);
  margin-top: 4px;
}
.wg-modal-meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.wg-modal-meta-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* Close pill button inside info */
.wg-modal-close-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--parchment);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 99px;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s;
  font-family: var(--font);
}
.wg-modal-close-pill:hover { background: var(--hairline); }

/* Modal panel sizing */
.wg-modal-panel {
  width: min(820px, 94vw);
}

@media (max-width: 600px) {
  .wg-hero-inner { gap: 20px; }
  .wg-hero-badges { gap: 8px; flex-wrap: nowrap; }
  .wg-hero-badge { padding: 14px 10px; }
  .wg-badge-num { font-size: 20px; }
  .wg-badge-label { font-size: 10px; }
  .wg-modal-info { padding: 20px 18px 24px; }
  .wg-modal-meta-row { grid-template-columns: 1fr; gap: 12px; }
  .wg-modal-video-player,
  .wg-modal-img-view { max-height: 45vw; }
}

/* ══════════════════════════════════════════
   PROCESS MODAL — Creative Process Walkthrough
   ══════════════════════════════════════════ */

/* Overlay */
.pm {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.16,1,0.3,1);
}
.pm.open {
  opacity: 1;
  pointer-events: all;
}

/* Backdrop — blur + dark tint, NOT solid black */
.pm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,6,10,0.72);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  cursor: pointer;
}

/* Main container */
.pm__container {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  max-height: min(90vh, 860px);
  background: rgba(11,11,14,0.97);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: translateY(20px) scale(0.985);
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1);
}
.pm.open .pm__container {
  transform: translateY(0) scale(1);
}

/* Close button — top right */
.pm__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  font-family: var(--font);
}
.pm__close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Two-column body */
.pm__body {
  flex: 1;
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 0;
  overflow: hidden;
}

/* ── LEFT: scrollable frame column ── */
.pm__left {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 44px 36px 80px;
  border-right: 1px solid rgba(255,255,255,0.055);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.09) transparent;
}
.pm__left::-webkit-scrollbar { width: 3px; }
.pm__left::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* Project header */
.pm__project-header { margin-bottom: 40px; }

.pm__project-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 10px;
}
.pm__dot { color: rgba(255,255,255,0.18); }

.pm__project-title {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.05em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.pm__final-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.48);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 99px;
  padding: 5px 13px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  font-family: var(--font);
}
.pm__final-shortcut:hover {
  color: var(--blue-bright);
  background: rgba(41,151,255,0.07);
  border-color: rgba(41,151,255,0.22);
}

/* Step cards list */
.pm__steps { display: flex; flex-direction: column; gap: 20px; }

.pm__step-card {
  border: 1px solid rgba(255,255,255,0.065);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pm__step-card.is-active {
  border-color: rgba(41,151,255,0.38);
  box-shadow: 0 0 0 1px rgba(41,151,255,0.12);
}

/* Frame visual */
.pm__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Frame type backgrounds */
.pm__frame--concept    { background: linear-gradient(135deg,#07101f 0%,#091830 55%,#0b2248 100%); }
.pm__frame--structure  { background: linear-gradient(135deg,#0e0e12 0%,#181828 100%); }
.pm__frame--illustrator{ background: linear-gradient(135deg,#071308 0%,#0c2410 55%,#173519 100%); }
.pm__frame--asset      { background: linear-gradient(135deg,#170f00 0%,#261800 55%,#382300 100%); }
.pm__frame--motion     { background: linear-gradient(135deg,#10001a 0%,#1c0030 55%,#280045 100%); }
.pm__frame--edit       { background: linear-gradient(135deg,#161616 0%,#202020 100%); }
.pm__frame--output     { background: #000; }

/* Ambient glows per frame type */
.pm__frame--concept::before {
  content:''; position:absolute; width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle, rgba(41,151,255,0.13) 0%, transparent 70%);
  top:50%; left:50%; transform:translate(-50%,-50%);
}
.pm__frame--structure::before {
  content:''; position:absolute; inset:0;
  background:
    repeating-linear-gradient(0deg,   transparent,transparent 30px,rgba(255,255,255,0.03) 30px,rgba(255,255,255,0.03) 31px),
    repeating-linear-gradient(90deg,  transparent,transparent 30px,rgba(255,255,255,0.03) 30px,rgba(255,255,255,0.03) 31px);
}
.pm__frame--illustrator::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(76,175,80,0.11) 0%, transparent 58%),
    radial-gradient(ellipse at 72% 50%, rgba(139,195,74,0.07) 0%, transparent 55%);
}
.pm__frame--asset::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 50% 40%, rgba(255,165,0,0.13) 0%, transparent 58%);
}
.pm__frame--motion::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 48% 50%, rgba(156,39,176,0.16) 0%, transparent 62%);
}
.pm__frame--edit::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
}

/* Step type icon in center of frame */
.pm__frame-icon {
  position: relative;
  z-index: 1;
  font-size: 28px;
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}

/* Frame label bottom-left */
.pm__frame-label {
  position: absolute;
  bottom: 10px;
  left: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  z-index: 2;
}

/* Step number badge top-left */
.pm__step-num-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: rgba(0,0,0,0.52);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.65);
  padding: 3px 9px;
  border-radius: 99px;
  backdrop-filter: blur(5px);
  z-index: 2;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pm__step-card.is-active .pm__step-num-badge {
  background: var(--blue);
  border-color: var(--blue-focus);
  color: #fff;
}

/* Zoom icon top-right — appears on hover */
.pm__frame-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.52);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(5px);
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  opacity: 0;
  cursor: zoom-in;
  transition: opacity 0.15s, background 0.15s;
  z-index: 2;
}
.pm__frame:hover .pm__frame-zoom { opacity: 1; }
.pm__frame-zoom:hover { background: rgba(0,0,0,0.75); color: #fff; }

/* Real media inside frame — thumbnail mode (covers frame) */
.pm__frame-video,
.pm__frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* Final output video — player mode (contain, full controls visible) */
.pm__frame-video--player {
  object-fit: contain;
  background: #000;
  /* override the absolute stretch so controls stay accessible */
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

/* Natural image frame — width 100%, height adapts to image, no 16:9 crop */
.pm__frame--natural,
.pm__step-card--final .pm__frame--natural {
  aspect-ratio: unset !important;
  overflow: visible !important;
  align-items: flex-start !important;
  background: #111;
}
.pm__frame--natural .pm__frame-img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  object-fit: initial;
  z-index: 1;
}

/* Final output card — taller, video player needs room */
.pm__step-card--final .pm__frame {
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: stretch;
}
.pm__step-card--final { border-color: rgba(41,151,255,0.22); }

/* Step card bottom info */
.pm__step-bottom {
  padding: 14px 16px;
  background: rgba(255,255,255,0.022);
  border-top: 1px solid rgba(255,255,255,0.055);
}
.pm__step-card-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  margin-bottom: 4px;
}
.pm__step-caption {
  font-size: 11px;
  color: rgba(255,255,255,0.48);
  line-height: 1.5;
  margin-bottom: 8px;
}
.pm__step-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.pm__step-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(41,151,255,0.75);
  background: rgba(41,151,255,0.07);
  border: 1px solid rgba(41,151,255,0.14);
  padding: 2px 7px;
  border-radius: 99px;
}

/* ── RIGHT: sticky description panel ── */
.pm__right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pm__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 28px;
  overflow: hidden;
  gap: 0;
}

/* Progress dots */
.pm__progress {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.pm__progress-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  transition: background 0.28s, width 0.28s, border-radius 0.28s;
  flex-shrink: 0;
  cursor: default;
}
.pm__progress-dot.is-active {
  width: 22px;
  border-radius: 3px;
  background: var(--blue-bright);
}
.pm__progress-dot.is-done {
  background: rgba(41,151,255,0.32);
}

/* Step description block — animated */
.pm__step-info {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pm__step-info::-webkit-scrollbar { display: none; }
.pm__step-info.transitioning {
  opacity: 0;
  transform: translateY(10px);
}

.pm__step-counter {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 8px;
}
.pm__step-title {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 22px;
}
.pm__step-section { margin-bottom: 14px; }
.pm__step-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.26);
  margin-bottom: 4px;
}
.pm__step-text {
  font-size: 13px;
  color: rgba(255,255,255,0.54);
  line-height: 1.68;
}
.pm__step-text--outcome {
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}

/* Step tool tags in right panel */
.pm__step-tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.055);
}
.pm__step-tool-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.42);
  padding: 3px 9px;
  border-radius: 99px;
}

/* Project-level metadata at panel bottom */
.pm__project-meta {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.pm__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pm__meta-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  flex-shrink: 0;
  width: 58px;
  padding-top: 2px;
}
.pm__meta-val {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.48);
  line-height: 1.45;
}

/* Prev / Next / Close row */
.pm__panel-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.pm__pnav-btn {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.48);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 99px;
  padding: 7px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: var(--font);
  text-align: center;
}
.pm__pnav-btn:hover {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.16);
}
.pm__pnav-btn--close {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.28);
}
.pm__pnav-btn--next { text-align: right; }
.pm__pnav-btn:disabled {
  opacity: 0.22;
  cursor: default;
  pointer-events: none;
}

/* ── LIGHTBOX ── */
.pm__lightbox {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.pm__lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.pm__lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
}
.pm__lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  cursor: zoom-out;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
}
.pm__lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
  font-family: var(--font);
}
.pm__lightbox-close:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pm { padding: 12px 8px; align-items: flex-end; }
  .pm__container {
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
  }
  .pm__body {
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: 88vh;
  }
  .pm__left {
    overflow: visible;
    padding: 28px 20px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.055);
  }
  .pm__right { overflow: visible; }
  .pm__panel {
    height: auto;
    padding: 24px 20px 28px;
    overflow: visible;
  }
  .pm__step-info { overflow: visible; }
  .pm.open .pm__container { transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
  .pm__left { padding: 22px 14px 16px; }
  .pm__panel { padding: 20px 14px 24px; }
  .pm__project-title { font-size: 20px; }
  .pm__step-title { font-size: 17px; }
  .pm__panel-nav { flex-wrap: wrap; }
}

/* ── Work Gallery: View All Modal ── */
.wg-va {
  position: fixed;
  inset: 0;
  z-index: 50000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wg-va.open { display: flex; }
.wg-va__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.wg-va__inner {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  width: min(94vw, 1180px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.wg-va__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px 18px;
  border-bottom: 1px solid #ebebeb;
  flex-shrink: 0;
}
.wg-va__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  flex: 1;
  color: #111;
}
.wg-va__count {
  font-size: 12px;
  color: #888;
  background: #f2f2f2;
  padding: 4px 11px;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
}
.wg-va__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #555;
  transition: background .15s;
}
.wg-va__close:hover { background: #e8e8e8; }
.wg-va__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  padding: 24px 28px;
  overflow-y: auto;
}
.wg-va__card {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  background: #f5f5f5;
}
.wg-va__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.wg-va__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e8e8e8;
}
.wg-va__thumb img, .wg-va__thumb video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.wg-va__meta { padding: 10px 12px 12px; }
.wg-va__name {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin-bottom: 2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wg-va__tag { font-size: 11px; color: #888; }
.wg-va__featured-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f5a623;
  margin-right: 5px;
  vertical-align: middle;
}

/* View All button in sections */
.wg-viewall-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 12px 20px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s, color .2s, background .2s;
}
.wg-viewall-btn:hover {
  border-color: #111;
  color: #111;
  background: #f9f9f9;
}

@media (max-width: 640px) {
  .wg-va__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px 16px; }
  .wg-va__head { padding: 18px 16px 14px; }
  .wg-va__title { font-size: 15px; }
}

/* ══ GLOBAL INQUIRY MODAL (RkModal) ══ */
:root {
  --rkm-canvas:   #f5f1ec;
  --rkm-surface:  #ffffff;
  --rkm-ink:      #111111;
  --rkm-muted:    #626260;
  --rkm-hairline: #d3cec6;
  --rkm-radius:   16px;
  --rkm-radius-sm: 8px;
  --rkm-ease:     cubic-bezier(0.16, 1, 0.3, 1);
}

.rkm {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.rkm[hidden] { display: none; }
.rkm.rkm--closing { display: flex; pointer-events: none; }

/* Backdrop */
.rkm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(245, 241, 236, 0.90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: rkm-bd-in 0.16s var(--rkm-ease) both;
}
.rkm.rkm--closing .rkm__backdrop { animation: rkm-bd-out 0.14s var(--rkm-ease) both; }

/* Card */
.rkm__card {
  position: relative;
  background: var(--rkm-surface);
  border: 1px solid var(--rkm-hairline);
  border-radius: var(--rkm-radius);
  width: 100%;
  max-width: 520px;
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  outline: none;
  animation: rkm-card-in 0.18s var(--rkm-ease) both;
  scrollbar-width: none;
}
.rkm__card::-webkit-scrollbar { display: none; }
.rkm.rkm--closing .rkm__card { animation: rkm-card-out 0.14s var(--rkm-ease) both; }

@media (prefers-reduced-motion: reduce) {
  .rkm__backdrop, .rkm__card,
  .rkm.rkm--closing .rkm__backdrop,
  .rkm.rkm--closing .rkm__card { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes rkm-bd-in   { from { opacity: 0 } to { opacity: 1 } }
@keyframes rkm-bd-out  { from { opacity: 1 } to { opacity: 0 } }
@keyframes rkm-card-in { from { opacity: 0; transform: translateY(10px) scale(.97) } to { opacity: 1; transform: none } }
@keyframes rkm-card-out { from { opacity: 1; transform: none } to { opacity: 0; transform: translateY(6px) scale(.98) } }

/* Head */
.rkm__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--rkm-hairline);
}
.rkm__titles { flex: 1; }
.rkm__title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--rkm-ink);
  margin: 0 0 8px;
}
.rkm__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--rkm-muted);
  margin: 0;
}

/* Close button */
.rkm__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--rkm-radius-sm);
  color: var(--rkm-muted);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  margin-top: -2px;
  margin-right: -6px;
}
.rkm__close:hover { background: var(--rkm-canvas); color: var(--rkm-ink); }
.rkm__close:focus-visible { outline: 2px solid var(--rkm-ink); outline-offset: 2px; }

/* Body */
.rkm__body {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer */
.rkm__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 32px 32px;
}

/* Buttons */
.rkm__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--rkm-radius-sm);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s, opacity 0.12s;
  white-space: nowrap;
}
.rkm__btn--primary {
  background: var(--rkm-ink);
  color: #ffffff;
  border: 1px solid var(--rkm-ink);
}
.rkm__btn--primary:hover { background: #2a2a2a; border-color: #2a2a2a; }
.rkm__btn--primary:focus-visible { outline: 2px solid var(--rkm-ink); outline-offset: 2px; }
.rkm__btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }

.rkm__btn--secondary {
  background: #ffffff;
  color: var(--rkm-ink);
  border: 1px solid var(--rkm-hairline);
}
.rkm__btn--secondary:hover { background: var(--rkm-canvas); border-color: #bbb9b4; }
.rkm__btn--secondary:focus-visible { outline: 2px solid var(--rkm-ink); outline-offset: 2px; }

/* Form fields */
.rkm-field { display: flex; flex-direction: column; gap: 5px; }
.rkm-label { font-size: 13px; font-weight: 500; color: var(--rkm-ink); }
.rkm-input,
.rkm-textarea {
  width: 100%;
  background: #ffffff;
  color: var(--rkm-ink);
  border: 1px solid var(--rkm-hairline);
  border-radius: var(--rkm-radius-sm);
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.12s;
}
.rkm-input:focus,
.rkm-textarea:focus { border-color: var(--rkm-ink); }
.rkm-input::placeholder,
.rkm-textarea::placeholder { color: #a8a5a0; }
.rkm-textarea { resize: vertical; min-height: 96px; }
.rkm-input.has-error,
.rkm-textarea.has-error { border-color: #c0392b; }

/* Enquiry type toggle */
.rkm-toggle {
  display: flex;
  gap: 3px;
  background: var(--rkm-canvas);
  border: 1px solid var(--rkm-hairline);
  border-radius: calc(var(--rkm-radius-sm) + 3px);
  padding: 3px;
}
.rkm-toggle__btn {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--rkm-muted);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s, color 0.12s, box-shadow 0.12s;
}
.rkm-toggle__btn.active {
  background: #ffffff;
  color: var(--rkm-ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Validation errors */
.rkm-error {
  font-size: 12px;
  color: #c0392b;
  display: none;
}
.rkm-error.visible { display: block; }

/* ══════════════════════════════════════════
   CASE STUDY MODAL (.csm__)
   ══════════════════════════════════════════ */

.csm {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.csm.open {
  opacity: 1;
  pointer-events: all;
}

.csm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,6,10,0.72);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  cursor: pointer;
}

.csm__container {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: min(88vh, 820px);
  background: rgba(11,11,14,0.97);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: translateY(22px) scale(0.984);
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1);
}
.csm.open .csm__container {
  transform: translateY(0) scale(1);
}

.csm__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  font-family: var(--font);
}
.csm__close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Two-column body — 60% left / 40% right (mirrors work gallery process modal) */
.csm__body {
  flex: 1;
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 0;
  overflow: hidden;
}

/* ── LEFT: scrollable image cards column ── */
.csm__left {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 44px 36px 80px;
  border-right: 1px solid rgba(255,255,255,0.055);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.09) transparent;
}
.csm__left::-webkit-scrollbar { width: 3px; }
.csm__left::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* Project header (eyebrow + title) */
.csm__project-header { margin-bottom: 32px; }

.csm__project-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.csm__project-title {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.05em;
  line-height: 1.18;
}

/* Stacked image cards */
.csm__img-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.csm__img-card {
  border: 1px solid rgba(255,255,255,0.065);
  border-radius: 14px;
  overflow: hidden;
}

/* 16:9 frame area (matches pm__frame) */
.csm__img-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.csm__img-frame img,
.csm__img-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Natural height — used when a real image/video is present */
.csm__img-frame--natural {
  aspect-ratio: unset !important;
  height: auto;
  min-height: 100px;
  overflow: visible !important;
}
.csm__img-frame--natural img {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  height: auto;
  object-fit: initial;
  cursor: zoom-in;
}
.csm__img-frame--natural video {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  height: auto;
  object-fit: initial;
}

/* Visual-block fallback fills frame */
.csm__img-frame .visual-block {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

/* Card label below image */
.csm__img-card-bottom {
  padding: 12px 16px 14px;
}

.csm__img-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.48);
}

/* ── RIGHT: sticky info panel ── */
.csm__right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.csm__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 28px;
  overflow: hidden;
  gap: 0;
}

.csm__panel-scroll {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}
.csm__panel-scroll::-webkit-scrollbar { display: none; }

.csm__type-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.csm__title {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 22px;
}

.csm__meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.csm__meta-item { display: flex; flex-direction: column; gap: 4px; }

.csm__meta-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.csm__meta-val {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.60);
  line-height: 1.5;
}

.csm__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
  letter-spacing: -0.1px;
  margin-bottom: 18px;
}

.csm__tags {
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}
.csm__tags .tag {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.45);
  border-color: rgba(255,255,255,0.10);
}

/* Nav row (pinned to bottom of panel) */
.csm__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.csm__nav-btn {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.48);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 99px;
  padding: 7px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: var(--font);
  text-align: center;
}
.csm__nav-btn:hover {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.16);
}
.csm__nav-btn--close {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.28);
}
.csm__nav-btn--next { text-align: right; }
.csm__nav-btn:disabled {
  opacity: 0.22;
  cursor: default;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 860px) {
  .csm { padding: 12px 8px; align-items: flex-end; }
  .csm__container {
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
  }
  .csm__body {
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: 88vh;
  }
  .csm__left {
    overflow: visible;
    padding: 24px 20px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.055);
  }
  .csm__right {
    overflow: visible;
  }
  .csm__panel {
    padding: 20px 20px 28px;
    overflow: visible;
  }
  .csm__panel-scroll { overflow: visible; }
  .csm.open .csm__container { transform: translateY(0) scale(1); }
}
@media (max-width: 580px) {
  .csm__meta-grid { grid-template-columns: 1fr; gap: 10px; }
  .csm__title { font-size: 18px; }
  .csm__nav { flex-wrap: wrap; }
}

/* Success state */
.rkm__success {
  padding: 48px 32px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.rkm__success-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rkm-canvas);
  border: 1px solid var(--rkm-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rkm-ink);
  margin-bottom: 4px;
}
.rkm__success-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--rkm-ink);
  margin: 0;
}
.rkm__success-body {
  font-size: 14px;
  color: var(--rkm-muted);
  line-height: 1.55;
  max-width: 340px;
  margin: 0;
}
.rkm__success-close {
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 560px) {
  .rkm__head  { padding: 24px 20px 20px; }
  .rkm__body  { padding: 20px 20px; gap: 14px; }
  .rkm__foot  { padding: 8px 20px 24px; flex-direction: column-reverse; }
  .rkm__btn   { width: 100%; height: 48px; }
  .rkm__title { font-size: 22px; }
  .rkm__success { padding: 36px 20px 32px; }
}

/* ── PDF RESUME MODAL ── */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 700000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pdf-modal[hidden] { display: none; }
.pdf-modal.pdf-modal--closing { display: flex; pointer-events: none; }
.pdf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: rkm-bd-in 0.18s ease both;
}
.pdf-modal.pdf-modal--closing .pdf-modal__backdrop { animation: rkm-bd-out 0.14s ease both; }
.pdf-modal__card {
  position: relative;
  z-index: 1;
  background: #1a1a1c;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 860px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: rkm-card-in 0.22s cubic-bezier(0.34,1.56,0.64,1) both;
}
.pdf-modal.pdf-modal--closing .pdf-modal__card { animation: rkm-card-out 0.14s ease both; }
.pdf-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.pdf-modal__title {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.pdf-modal__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pdf-modal__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.pdf-modal__close:hover { background: rgba(255,255,255,0.16); color: #fff; }
.pdf-modal__download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  background: #fff;
  color: #0d0d0f;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.pdf-modal__download:hover { background: #e8e8e8; }
.pdf-modal__viewer {
  flex: 1;
  min-height: 0;
  background: #111;
}
.pdf-modal__iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: none;
  display: block;
  background: #1a1a1c;
}
.pdf-fallback {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%; min-height: 400px;
  color: rgba(255,255,255,0.55); font-family: var(--font);
  font-size: 15px; text-align: center; padding: 32px;
}
@media (max-width: 600px) {
  .pdf-modal { padding: 8px; }
  .pdf-modal__card { border-radius: 12px; max-height: calc(100vh - 16px); }
  .pdf-modal__iframe { min-height: 420px; }
  .pdf-modal__title { font-size: 14px; }
  .pdf-modal__download { font-size: 12px; padding: 7px 14px; }
}

/* ── FLOATING ACTION BUTTONS ── */
.fab {
  position: fixed;
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 9000;
  border: none; outline: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0,0,0,0.28); }
.fab:active { transform: scale(0.95); }

/* WhatsApp — bottom left */
#fab-whatsapp {
  left: 24px;
  background: #25D366;
  color: #fff;
}

/* Scroll to top — bottom right */
#fab-scroll-top {
  right: 24px;
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
}
#fab-scroll-top.visible {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .fab { bottom: 20px; width: 44px; height: 44px; }
  #fab-whatsapp { left: 16px; }
  #fab-scroll-top {
    right: 16px;
    transform: scale(0.5) translateY(8px);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  }
  #fab-scroll-top.visible {
    transform: scale(1) translateY(0);
  }
}

/* ── HIRE ME MODAL ── */
.hm-modal {
  position: fixed; inset: 0; z-index: 800000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}
.hm-modal.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.hm-modal[hidden] { display: none; }
.hm-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: opacity;
}
.hm-modal__card {
  position: relative; z-index: 1;
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 560px;
  max-height: calc(100dvh - 32px);
  display: flex; flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18);
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease;
}
.hm-modal.open .hm-modal__card {
  transform: translateY(0) scale(1);
}
.hm-modal__head {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
  padding: 32px 32px 24px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.hm-modal__title {
  font-family: var(--font); font-size: clamp(22px,3vw,28px);
  font-weight: 800; letter-spacing: -0.03em;
  color: #0d0d0f; line-height: 1.2; margin: 0 0 8px;
}
.hm-modal__sub {
  font-size: 14px; color: #6b6b70;
  line-height: 1.5; margin: 0;
}
.hm-modal__close {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1.5px solid #e5e5e5; border-radius: 10px;
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #888; transition: border-color 0.15s, color 0.15s;
}
.hm-modal__close:hover { border-color: #999; color: #0d0d0f; }
.hm-modal__body {
  padding: 24px 32px; display: flex; flex-direction: column; gap: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.hm-toggle-group {
  display: flex; background: #f4f4f5; border-radius: 10px; padding: 4px; gap: 4px;
}
.hm-toggle {
  flex: 1; padding: 10px 16px; border: none; border-radius: 7px;
  background: transparent; font-family: var(--font);
  font-size: 14px; font-weight: 600; color: #888;
  cursor: pointer; transition: background 0.18s, color 0.18s;
}
.hm-toggle.is-active { background: #fff; color: #0d0d0f; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.hm-field { display: flex; flex-direction: column; gap: 6px; }
.hm-label { font-size: 13px; font-weight: 600; color: #0d0d0f; }
.hm-input, .hm-textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #e5e5e5; border-radius: 10px;
  font-family: var(--font); font-size: 14px; color: #0d0d0f;
  background: #fafafa; outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.hm-input:focus, .hm-textarea:focus { border-color: #0d0d0f; background: #fff; }
.hm-input::placeholder, .hm-textarea::placeholder { color: #bbb; }
.hm-textarea { resize: vertical; min-height: 100px; }
.hm-modal__foot {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px; padding: 16px 32px 28px;
}
.hm-btn {
  padding: 13px 24px; border-radius: 10px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.15s, opacity 0.15s;
  border: none;
}
.hm-btn--ghost {
  background: #f4f4f5; color: #555;
}
.hm-btn--ghost:hover { background: #eaeaea; }
.hm-btn--primary { background: #0d0d0f; color: #fff; }
.hm-btn--primary:hover { background: #2a2a2a; }
@media (max-width: 560px) {
  .hm-modal {
    align-items: flex-end;
    padding: 0;
  }
  .hm-modal__card {
    max-width: 100%;
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 92dvh;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hm-modal.open .hm-modal__card {
    transform: translateY(0);
  }
  .hm-modal__head { padding: 20px 20px 16px; flex-shrink: 0; }
  .hm-modal__body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
  }
  .hm-modal__foot { padding: 12px 20px 28px; flex-shrink: 0; }
  .hm-modal__title { font-size: 20px; }
  .hm-toggle { font-size: 13px; padding: 9px 10px; }
  .hm-textarea { min-height: 80px; }
}
@keyframes hm-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ── MOBILE FIXES ── */
/* Fix 1: nav-drawer gap — dev-nav is hidden in production so top should be nav-h only */
@media (max-width: 980px) {
  .nav-drawer {
    top: var(--nav-h) !important;
  }
}

/* Nav z-index managed by JS in initHireMeModal open/close */

/* ── MOBILE STICKY HIRE CTA ── */
.mobile-hire-cta { display: none; }
@media (max-width: 860px) {
  .mobile-hire-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    padding: 0 28px;
    height: 48px;
    border-radius: 99px;
    text-decoration: none;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 20px rgba(255,87,34,0.45);
    z-index: 9000;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .mobile-hire-cta:hover { background: var(--brand-hover); opacity: 1; }
  body.mobile-cta-hidden .mobile-hire-cta { opacity: 0; pointer-events: none; }
}

/* ════════════════════════════════════════
   THUMBNAIL GRAYSCALE HOVER EFFECT
   Applies only to real img/video inside
   thumbnail containers. Placeholders
   (gradient visual-blocks) are unaffected.
   Modal media never matched by these rules.
   ════════════════════════════════════════ */

/* Work Gallery — wg-thumb real media (both classed and unclassed img/video) */
.wg-thumb-img,
.wg-thumb-video,
.wg-thumb img,
.wg-thumb video {
  filter: grayscale(1);
  transition: filter 0.4s ease, transform 0.35s ease;
}
.wg-item:hover .wg-thumb-img,
.wg-item:hover .wg-thumb-video,
.wg-item:hover .wg-thumb img,
.wg-item:hover .wg-thumb video {
  filter: grayscale(0);
  transform: scale(1.04);
}

/* Home Snapshot + injected gallery cards */
.gallery-thumb img,
.gallery-thumb video,
.gallery-thumb-lg img,
.gallery-thumb-lg video {
  filter: grayscale(1);
  transition: filter 0.4s ease, transform 0.35s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item:hover .gallery-thumb img,
.gallery-item:hover .gallery-thumb video,
.gallery-item:hover .gallery-thumb-lg img,
.gallery-item:hover .gallery-thumb-lg video {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* Selected Work / Case Study cards */
.cs-card-img img,
.cs-card-img video {
  filter: grayscale(1);
  transition: filter 0.4s ease, transform 0.35s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cs-card:hover .cs-card-img img,
.cs-card:hover .cs-card-img video {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* ── HERO BACKGROUND VIDEO ── */
.hero-v2 { position: relative; overflow: hidden; }
.hero-v2__reel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  animation: reel-fadein 1.8s ease 1.4s forwards;
}
@keyframes reel-fadein {
  to { opacity: 0.18; }
}
@media (max-width: 680px) {
  /* Hide background video on mobile — portrait is clean, saves bandwidth */
  .hero-v2__reel-bg { display: none; }
  .hero-v2__right { z-index: 5 !important; }
}
.hero-v2__reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,12,9,0.72) 0%, rgba(15,12,9,0.45) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-v2__left,
.hero-v2__right { position: relative; z-index: 2; }

/* ── SHOWREEL MODAL ── */
.srm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.srm-video-wrap {
  position: relative;
  width: 90vw;
  max-width: 1100px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  line-height: 0;
}
.srm-video {
  width: 100%;
  max-height: 85vh;
  border-radius: 0;
  outline: none;
  background: #000;
  box-shadow: none;
  display: block;
}
.srm-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(240,236,228,0.1);
  border: 1px solid rgba(240,236,228,0.2);
  color: #f0ece4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.srm-close:hover { background: rgba(139,69,19,0.4); }

/* Touch devices — no hover state, show full color */
@media (hover: none) {
  .wg-thumb-img,
  .wg-thumb-video,
  .wg-thumb img,
  .wg-thumb video,
  .gallery-thumb img,
  .gallery-thumb video,
  .gallery-thumb-lg img,
  .gallery-thumb-lg video,
  .cs-card-img img,
  .cs-card-img video {
    filter: grayscale(0);
  }
}

/* ════════════════════════════════════════
   HOME INLINE EDIT — admin-only UI
   Visible only when body.rk-admin-mode
   ════════════════════════════════════════ */

/* Admin bar */
#rk-admin-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(10,10,12,0.92);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.rk-admin-bar__label { display: flex; align-items: center; }
.rk-admin-bar__link {
  color: var(--blue, #0066cc);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.rk-admin-bar__link:hover { opacity: 0.75; }

/* Edit buttons — hidden by default, shown in admin mode */
.rk-edit-btn { display: none; }
.rk-admin-mode .rk-edit-btn {
  display: flex;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: rgba(0,0,0,0.78);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  padding: 0;
}
.rk-admin-mode .rk-edit-btn:hover {
  background: var(--blue, #0066cc);
  border-color: var(--blue, #0066cc);
  transform: scale(1.1);
}

/* Ensure cards are positioned so button can be absolute */
.rk-admin-mode #home-snapshot-gallery .gallery-item,
.rk-admin-mode #home-selected-work .cs-card,
.rk-admin-mode .wg-item {
  position: relative;
}

/* Process modal admin edit button */
.pm-admin-edit-btn {
  display: none;
}
.rk-admin-mode .pm-admin-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  top: 20px;
  right: 64px;
  padding: 6px 14px;
  background: rgba(0,102,204,0.15);
  border: 1px solid rgba(0,102,204,0.35);
  border-radius: 100px;
  color: var(--blue, #0066cc);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
  white-space: nowrap;
}
.rk-admin-mode .pm-admin-edit-btn:hover {
  background: rgba(0,102,204,0.25);
  border-color: rgba(0,102,204,0.6);
}

/* ── INLINE EDIT MODAL ── */
.rk-iem-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 99995;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  padding: 20px;
}
.rk-iem-modal {
  background: #1a1a1e;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.rk-iem-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rk-iem-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  font-family: var(--font-display, 'Bricolage Grotesque', sans-serif);
}
.rk-iem-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.rk-iem-close:hover { background: rgba(255,255,255,0.16); }
.rk-iem-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 18px; }
.rk-iem-field { display: flex; flex-direction: column; gap: 8px; }
.rk-iem-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; }
.rk-iem-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #fff;
  font-family: var(--font, 'Plus Jakarta Sans', sans-serif);
  outline: none;
  transition: border-color 0.2s;
}
.rk-iem-input:focus { border-color: var(--blue, #0066cc); }
.rk-iem-preview-wrap {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rk-iem-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.rk-iem-preview-empty { color: rgba(255,255,255,0.3); font-size: 13px; }
.rk-iem-upload-label {
  display: inline-block;
  padding: 9px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  align-self: flex-start;
}
.rk-iem-upload-label:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.rk-iem-file-input { display: none; }
.rk-iem-progress { display: flex; flex-direction: column; gap: 6px; }
.rk-iem-progress-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.rk-iem-progress-fill {
  height: 100%;
  width: 0;
  background: var(--blue, #0066cc);
  border-radius: 2px;
  transition: width 0.2s;
}
.rk-iem-progress-label { font-size: 12px; color: rgba(255,255,255,0.5); }
.rk-iem-footer {
  display: flex;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  justify-content: flex-end;
}
.rk-iem-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, opacity 0.2s;
}
.rk-iem-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.rk-iem-btn-cancel {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.7);
}
.rk-iem-btn-cancel:hover { background: rgba(255,255,255,0.12); }
.rk-iem-btn-save {
  background: var(--blue, #0066cc);
  color: #fff;
}
.rk-iem-btn-save:hover:not(:disabled) { background: #0055aa; }

/* Toast notifications */
.rk-iem-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #1a1a1e;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.rk-iem-toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.rk-iem-toast--error { border-color: rgba(239,68,68,0.4); color: #fca5a5; }

/* Placeholder edit button variant */
.rk-admin-mode .rk-edit-btn--placeholder {
  background: rgba(120,80,0,0.75);
  border-color: rgba(255,180,0,0.3);
}
.rk-admin-mode .rk-edit-btn--placeholder:hover {
  background: rgba(200,140,0,0.85);
  border-color: rgba(255,200,0,0.5);
}

/* Tab switcher */
.rk-iem-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 10px;
}
.rk-iem-tab {
  flex: 1;
  padding: 7px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font, 'Plus Jakarta Sans', sans-serif);
}
.rk-iem-tab--active { background: rgba(255,255,255,0.1); color: #fff; }
.rk-iem-tab:hover:not(.rk-iem-tab--active) { color: rgba(255,255,255,0.7); }

/* Tab panels */
.rk-iem-panel { display: none; }
.rk-iem-panel--active { display: block; }

/* Media library grid */
.rk-iem-lib-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 2px;
}
.rk-iem-lib-grid::-webkit-scrollbar { width: 4px; }
.rk-iem-lib-grid::-webkit-scrollbar-track { background: transparent; }
.rk-iem-lib-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
.rk-iem-lib-item {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.15s, transform 0.15s;
  background: rgba(255,255,255,0.04);
}
.rk-iem-lib-item:hover { border-color: rgba(255,255,255,0.3); transform: scale(1.03); }
.rk-iem-lib-item--selected { border-color: var(--blue, #0066cc); }
.rk-iem-lib-video-badge {
  position: absolute;
  bottom: 4px; right: 4px;
  font-size: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 3px;
  padding: 1px 4px;
  line-height: 1.4;
}
.rk-iem-lib-empty {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
}

/* Placeholder slot modal */
.rk-iem-placeholder-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0;
  gap: 12px;
}
.rk-iem-placeholder-icon { font-size: 36px; }
.rk-iem-placeholder-text { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; margin: 0; }
.rk-iem-placeholder-list {
  text-align: left;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin: 0;
  padding-left: 20px;
}
.rk-iem-placeholder-list strong { color: rgba(255,255,255,0.8); }
.rk-iem-placeholder-note { font-size: 12px; color: rgba(255,255,255,0.3); margin: 0; }

/* Wider modal to fit 4-col grid */
.rk-iem-modal { max-width: 520px; }

@media (max-width: 480px) {
  #rk-admin-bar { font-size: 12px; padding: 7px 14px; gap: 10px; }
  .rk-iem-modal { border-radius: 12px; }
  .rk-iem-preview-wrap { height: 120px; }
  .rk-iem-lib-grid { grid-template-columns: repeat(3, 1fr); max-height: 150px; }
}

/* ══════════════════════════════════════════
   ENHANCEMENTS — brand color, hero scroll,
   card hover, blog, mobile
   ══════════════════════════════════════════ */

/* ── 1. BRAND COLOR — override all buttons ── */
.btn-pill {
  background: var(--brand) !important;
  box-shadow: 0 1px 3px rgba(255,87,34,0.25), inset 0 1px 0 rgba(255,255,255,0.12) !important;
}
@media (hover: hover) and (pointer: fine) {
  .btn-pill:hover {
    background: var(--brand-hover) !important;
    box-shadow: 0 6px 20px rgba(255,87,34,0.35), inset 0 1px 0 rgba(255,255,255,0.12) !important;
  }
  .btn-pill-outline:hover {
    background: var(--brand) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(255,87,34,0.2) !important;
  }
  .hero-v2__btn--primary:hover { opacity: 0.88; }
  .hm-btn--primary:hover { background: var(--brand-hover) !important; }
  .site-nav .btn-pill:hover {
    box-shadow: 0 4px 14px rgba(255,87,34,0.35) !important;
  }
}
.btn-pill:active {
  box-shadow: 0 1px 4px rgba(255,87,34,0.2) !important;
}
.btn-pill-outline {
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}
.btn-pill-ghost { color: var(--brand) !important; }
.hero-v2__btn--primary { background: var(--brand) !important; }
.hm-btn--primary { background: var(--brand) !important; }
.site-nav .btn-pill {
  box-shadow: 0 1px 4px rgba(255,87,34,0.28) !important;
}
/* eyebrow accent stays blue — only buttons change */

/* ── 2. HERO SCROLL PARALLAX ── */
.hero-v2__left,
.hero-v2__right {
  will-change: transform, opacity;
  transition: transform 0.05s linear, opacity 0.05s linear;
}
/* JS drives --hero-scroll-progress via inline style on .hero-v2 */
.hero-v2[data-scroll] .hero-v2__left {
  transform: translateY(calc(var(--sp, 0) * 48px));
  opacity: calc(1 - var(--sp, 0) * 0.55);
}
.hero-v2[data-scroll] .hero-v2__right {
  transform: translateY(calc(var(--sp, 0) * 32px));
  opacity: calc(1 - var(--sp, 0) * 0.45);
}

/* ── 3. PROJECT CARD HOVER IMPROVEMENTS ── */
.cs-card {
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease, border-color 0.22s ease !important;
  position: relative;
}
.cs-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 20px 52px rgba(0,0,0,0.12), 0 4px 12px rgba(255,87,34,0.08) !important;
  border-color: rgba(255,87,34,0.28) !important;
}
.cs-card-img {
  overflow: hidden;
  position: relative;
}
.cs-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(255,87,34,0.08) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.cs-card:hover .cs-card-img::after { opacity: 1; }
.cs-card-img .visual-block,
.cs-card-img > * {
  transition: transform 0.4s cubic-bezier(0.34,1.2,0.64,1);
}
.cs-card:hover .cs-card-img .visual-block,
.cs-card:hover .cs-card-img > * {
  transform: scale(1.04);
}
.btn-pill-outline.btn-sm {
  font-weight: 500;
  letter-spacing: 0;
  transition: background 0.18s, color 0.18s, transform 0.15s, border-color 0.18s !important;
}
.cs-card:hover .btn-pill-outline.btn-sm {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
}

/* card-grid: consistent gap and better layout */
.card-grid-3 {
  gap: 28px;
}
@media (max-width: 860px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 580px) {
  .card-grid-3 { grid-template-columns: 1fr; gap: 16px; }
}


/* ── 5. MOBILE RESPONSIVENESS IMPROVEMENTS ── */
@media (max-width: 860px) {
  /* Hero CTA buttons wrap — never force column */
  .hero-v2__cta-row {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  /* Trust pills marquee on mobile */
  .trust-pills { overflow: hidden; }
  .trust-pills-track {
    flex-wrap: nowrap;
    width: max-content;
    animation: trust-pill-marquee 22s linear infinite;
  }
  .trust-pills-track:hover { animation-play-state: paused; }
  /* Hide duplicate pills on desktop (only shown via marquee on mobile) */
  /* Path grid stack */
  .path-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 600px) {
  /* Impact grid 2-col */
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  /* Section head tighter */
  .section-head { margin-bottom: 28px; }
  /* CTA row — wrap, never stack to column */
  .cta-row { flex-wrap: wrap; gap: 10px; }
  .cta-row-center { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .cta-row-center .btn-pill,
  .cta-row-center .btn-pill-outline,
  .cta-row-center .btn-pill-outline-light {
    flex: 0 0 auto;
    min-width: 140px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Nav hamburger area spacing */
  .nav-inner { padding: 0 16px; }
  /* Testimonial strip padding */
  .testimonial-strip { padding: 40px 0; }
  /* Footer stack */
  .site-footer .footer-inner { gap: 20px; }
  /* Hero CTA — all 3 on one row */
  .hero-v2__cta-row { flex-wrap: nowrap; gap: 8px; }
  .hero-v2__btn { flex: 1 1 0; min-width: 0; padding: 0 0.75rem; font-size: 0.82rem; }
  .hero-v2__play { flex-shrink: 0; }
}

/* ══════════════════════════════════════════
   CONTACT FORM — validation states, success,
   error banner, spam honeypot, mobile
   Feature: 001-contact-form-validation
   ══════════════════════════════════════════ */

/* ── Inline field error state ── */
.form-field--error .form-input,
.form-field--error .form-textarea {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

/* ── Error message typography ── */
.form-error {
  display: block;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  min-height: 16px;
  line-height: 1.4;
}

/* ── Character counter ── */
.cf-char-count-wrap {
  text-align: right;
}
.cf-char-count {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.cf-char-count--warning {
  color: #ef4444;
  font-weight: 600;
}

/* ── Submit button loading / disabled ── */
#cf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Error banner ── */
.cf-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,87,34,0.07);
  border: 1px solid rgba(255,87,34,0.22);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 14px;
}

/* ── Success panel ── */
.cf-success {
  text-align: center;
  padding: 40px 24px;
}
.cf-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: rgba(34,197,94,0.1);
  border-radius: 50%;
  font-size: 22px;
  color: #22c55e;
  margin-bottom: 16px;
}
.cf-success__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.cf-success__body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Honeypot — invisible to humans ── */
.cf-hp {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
  overflow: hidden;
  tab-size: 0;
}

/* ── No-JS fallback mailto ── */
.cf-fallback {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}
.cf-fallback a { color: var(--brand); }

/* ── Mobile form improvements ── */
@media (max-width: 600px) {
  .contact-form-wrap { padding: 20px 16px; }

  /* Prevent iOS auto-zoom on input focus (requires font-size >= 16px) */
  .form-input,
  .form-textarea,
  #cf-submit {
    font-size: 16px !important;
  }

  #cf-submit {
    min-height: 44px;
    width: 100%;
  }

  .form-label { font-size: 13px; }
  .form-error  { font-size: 12px; }
}


/* ══════════════════════════════════════════
   ENHANCED FOOTER — v2
   Dark, on-brand, consistent across all pages
   ══════════════════════════════════════════ */
.site-footer {
  background: #0d0d0f !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  padding: 64px 0 36px !important;
}
.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 40px;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  align-items: stretch !important;
}

/* ── Top row: brand + social icons ── */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-name {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.4px !important;
  line-height: 1.1 !important;
  margin-bottom: 0 !important;
}
.footer-role {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: -0.1px;
  margin-bottom: 0;
}
.footer-tagline {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.48) !important;
  letter-spacing: 0 !important;
  margin-top: 0 !important;
}
.footer-avail-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: footer-avail-pulse 2.8s ease-in-out infinite;
}
@keyframes footer-avail-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  60%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* Social icon buttons */
.footer-social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  padding-top: 2px;
}
.footer-icon-link {
  width: 40px;
  height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important;
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out, transform 0.18s var(--ease-out);
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
  .footer-icon-link:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff !important;
    transform: translateY(-2px);
  }
}
.footer-icon-link:active { transform: scale(0.88); transition-duration: 0.1s; }

/* ── Divider ── */
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  border: none;
  flex-shrink: 0;
}

/* ── Mid row: nav + contact ── */
.footer-mid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  max-width: 560px;
}
.footer-nav-link {
  font-size: 14px !important;
  color: rgba(255,255,255,0.48) !important;
  padding: 7px 20px 7px 0 !important;
  transition: color 0.15s !important;
  display: flex !important;
  align-items: center !important;
  white-space: nowrap;
  text-decoration: none !important;
  line-height: 1.4 !important;
  min-height: 36px;
}
.footer-nav-link:hover { color: #fff !important; }
.footer-nav-link--accent { color: var(--brand) !important; }
.footer-nav-link--accent:hover { color: var(--brand-hover) !important; }

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
}
.footer-contact-link {
  font-size: 13px;
  color: rgba(255,255,255,0.48) !important;
  text-decoration: none !important;
  transition: color 0.15s;
  white-space: nowrap;
  line-height: 1.5;
}
.footer-contact-link:hover { color: rgba(255,255,255,0.75) !important; }

/* ── Bottom bar: copyright ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.22);
}
.footer-loc {
  font-size: 12px;
  color: rgba(255,255,255,0.22);
  text-align: right;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .footer-top { flex-direction: column; gap: 24px; padding-bottom: 32px; }
  .footer-brand { align-items: center; }
  .footer-social-icons { padding-top: 0; }
  .footer-mid { flex-direction: column; gap: 24px; padding: 28px 0; }
  .footer-contact-col { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .footer-loc { text-align: left; }
}
@media (max-width: 480px) {
  .site-footer { padding: 48px 0 100px !important; }
  .footer-inner { padding: 0 20px !important; }
  /* Brand: slightly smaller but still a row */
  .footer-brand { gap: 14px; }
  .footer-logo-img { width: 48px !important; height: 48px !important; padding: 9px !important; }
  .footer-name { font-size: 16px !important; }
  /* Nav: 2-column grid instead of awkward wrapping row */
  .footer-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 100%;
  }
  .footer-nav-link { font-size: 13px !important; min-height: 40px; }
  /* Contact: single row */
  .footer-contact-col { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
  .footer-contact-link { font-size: 12px !important; }
  /* Bottom bar */
  .footer-bottom { gap: 8px; padding: 20px 0 0; }
  .footer-copy { font-size: 11px; }
  .footer-loc { font-size: 11px; }
}


/* ══════════════════════════════════════════
   LOGO — nav + footer
   ══════════════════════════════════════════ */
.nav-logo-img {
  display: block;
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.18s;
}
.nav-logo a:hover .nav-logo-img { opacity: 1; }

.footer-logo-img {
  display: block;
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 0;
}


/* ── Logo — white circle treatment ── */
.nav-logo a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  background: #fff !important;
  border-radius: 50% !important;
  padding: 6px !important;
  opacity: 1 !important;
  transition: transform 0.18s, box-shadow 0.18s !important;
  text-decoration: none !important;
}
.nav-logo a:hover {
  transform: scale(1.07) !important;
  box-shadow: 0 2px 14px rgba(255,255,255,0.18) !important;
  opacity: 1 !important;
}
.nav-logo-img {
  height: 22px !important;
  width: auto !important;
  filter: none !important;
  opacity: 1 !important;
  display: block !important;
}

.footer-logo-img {
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  padding: 11px !important;
  background: #fff !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════
   P1 — ACCESSIBILITY FIXES
   ══════════════════════════════════════════ */

/* 1. Global focus-visible ring (replaces missing browser default) */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Override ring color on dark backgrounds */
.tile-dark :focus-visible,
.site-footer :focus-visible,
.site-nav :focus-visible,
.hero-v2 :focus-visible,
.nav-drawer :focus-visible,
.hm-modal :focus-visible,
.pdf-modal :focus-visible,
.rkm :focus-visible,
.srm-overlay :focus-visible {
  outline-color: rgba(255,255,255,0.88);
  outline-offset: 3px;
}

/* Inputs: keep border-based indicator so layout isn't disturbed */
.form-input:focus-visible,
.form-textarea:focus-visible,
.hm-input:focus-visible,
.hm-textarea:focus-visible,
.rk-iem-input:focus-visible,
.rk-iem-textarea:focus-visible {
  outline: 2px solid var(--brand) !important;
  outline-offset: 0 !important;
  box-shadow: 0 0 0 4px rgba(255,87,34,0.14) !important;
}

/* Nav links */
.nav-link:focus-visible,
.nav-drawer-link:focus-visible,
.footer-nav-link:focus-visible,
.footer-contact-link:focus-visible,
.footer-icon-link:focus-visible {
  outline-color: rgba(255,255,255,0.88);
  border-radius: 4px;
}

/* Buttons */
.btn-pill:focus-visible,
.btn-pill-outline:focus-visible,
.btn-pill-outline-light:focus-visible,
.hero-v2__btn:focus-visible,
.filter-tab:focus-visible,
.hm-btn:focus-visible,
.rkm__btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
/* Gallery items as buttons — reset button defaults, keep card appearance */
button.gallery-item {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
}
button.gallery-item:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 12px;
}

/* 2. prefers-reduced-motion — reveal animations + hero word-reveal */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3 {
    transform: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
  .hero-v2__word,
  .hero-v2__sub,
  .hero-v2__stats,
  .hero-v2__cta-row,
  .hero-v2__plans-label {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .trust-pills-track { animation: none !important; }
  .footer-avail-dot  { animation: none !important; }
}

/* 3. P2 — Hero sub tagline contrast: bump 0.50 → 0.75 */
.hero-v2__sub {
  color: rgba(255,255,255,0.75) !important;
}

/* 4. Video pause button */
.hero-v2__video-pause {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  flex-shrink: 0;
}
.hero-v2__video-pause:hover {
  background: rgba(0,0,0,0.75);
  color: #fff;
}
.hero-v2__video-pause:active { transform: scale(0.93); }
.hero-v2__video-pause:focus-visible {
  outline: 2px solid rgba(255,255,255,0.7);
  outline-offset: 3px;
}
.hero-v2__video-pause svg { pointer-events: none; }


/* ══════════════════════════════════════════
   P3 / P4 — UX + POLISH FIXES
   ══════════════════════════════════════════ */

/* ── P3.13: Nav drawer — animated open/close ── */
.nav-drawer {
  display: flex !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.nav-drawer.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

/* ── P3.17: Process flow — collapse at 880px ── */
@media (max-width: 880px) {
  .pflow-outer { padding: 0 20px; overflow: hidden; }
  .pflow { flex-direction: column !important; height: auto !important; gap: 0 !important; overflow: visible !important; }
  .pflow::before, .pflow-arrow { display: none !important; }
  .pflow-step,
  .pflow-step--above,
  .pflow-step--below {
    flex-direction: row !important;
    height: auto !important;
    width: 100% !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .pflow-step:last-child { border-bottom: none !important; }
  .pflow-spacer { display: none !important; }
  .pflow-stem  { display: none !important; }

  /* Always: icon left, text right */
  .pflow-dot {
    order: 0 !important;
    width: 48px !important; height: 48px !important;
    flex-shrink: 0 !important;
    margin-top: 0 !important;
  }
  .pflow-dot svg { width: 20px !important; height: 20px !important; }
  .pflow-step--above .pflow-dot { order: -1 !important; }

  .pflow-card {
    order: 1 !important;
    width: 0 !important; flex: 1 1 0 !important; height: auto !important; min-height: 0 !important;
    text-align: left !important; align-items: flex-start !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    gap: 6px !important;
    overflow: visible !important;
  }
  .pflow-card::before { display: none !important; }
  .pflow-badge { font-size: 11px !important; letter-spacing: 0.1em !important; }
  .pflow-title { font-size: 15px !important; }
  .pflow-desc  { font-size: 13px !important; line-height: 1.55 !important; color: rgba(255,255,255,0.5) !important; word-break: break-word !important; overflow-wrap: break-word !important; }
}
@media (max-width: 480px) {
  .pflow-outer { padding: 0 16px; }
  .pflow-dot { width: 42px !important; height: 42px !important; }
  .pflow-title { font-size: 14px !important; }
  .pflow-desc  { font-size: 12px !important; }
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── P3.18: Skip-to-content ── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--brand);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  z-index: 99999;
  text-decoration: none;
  transition: top 0.18s;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ── P4.23: Experience timeline — tighten at 360px ── */
@media (max-width: 375px) {
  .tl-item { gap: 10px; }
  .tl-dot { width: 8px; height: 8px; margin-top: 6px; }
  .tl-dot::after { left: 3px; }
  .tl-company { font-size: 15px; }
  .tl-role { font-size: 13px; }
}

/* ══════════════════════════════════════════
   ROUND 2 AUDIT FIXES
   ══════════════════════════════════════════ */

/* touch-action: manipulation — reduce 300ms tap delay */
.nav-link, .nav-drawer-link, .btn-pill, .nav-hamburger,
.hero-v2__btn, .hm-toggle, .pflow-dot, .footer-nav-link,
.footer-icon-link, .wg-item, .gallery-item, .enquiry-card {
  touch-action: manipulation;
}

/* ══════════════════════════════════════════
   ENHANCE PASS — animate · colorize · typeset · layout · delight · overdrive
   ══════════════════════════════════════════ */

/* ── BAN FIX: impact-num gradient text → solid ── */
.impact-num {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: var(--blue) !important;
  font-weight: 800 !important;
}

/* ── TYPESET: balanced headlines, tighter tracking ── */
.display-h1, .display-h2, h1, h2, h3 {
  text-wrap: balance;
}
.display-h2 {
  letter-spacing: -0.032em !important;
}
.section-body, .cap-desc, .path-desc, .impact-desc {
  text-wrap: pretty;
  line-height: 1.72 !important;
}

/* ── TYPESET: testimonial — scale does the work, not a stripe ── */
.testimonial-text {
  font-size: clamp(18px, 2.4vw, 26px) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.88) !important;
  letter-spacing: -0.01em;
}

/* ── TYPESET / OVERDRIVE: hero headline — bolder scale ── */
.hero-v2__word {
  font-size: clamp(2.2rem, 4.4vw, 5.6rem) !important;
  letter-spacing: -0.05em !important;
}
.hero-v2__word--role {
  font-size: clamp(1.2rem, 2.4vw, 3rem) !important;
  font-weight: 200 !important;
  color: rgba(255,255,255,0.48) !important;
  letter-spacing: -0.02em !important;
}

/* ── LAYOUT: section rhythm — vary padding, not uniform ── */
.trust-strip { padding: 16px 0 !important; }
.testimonial-strip { padding: 112px 0 !important; }
.cta-tile { padding: 120px 0 !important; }

/* ── COLORIZE: cap-cards — distinct accent per discipline ── */
.card-grid-4 .cap-card {
  border-top: 2px solid transparent;
  transition: background 0.25s, border-color 0.25s, transform 0.22s cubic-bezier(0.25,0,0,1), box-shadow 0.25s !important;
}
.card-grid-4 .cap-card:nth-child(1) {
  border-top-color: var(--blue);
}
.card-grid-4 .cap-card:nth-child(1) .cap-icon {
  background: rgba(0,102,204,0.14);
  color: var(--blue);
}
.card-grid-4 .cap-card:nth-child(2) {
  border-top-color: #a78bfa;
}
.card-grid-4 .cap-card:nth-child(2) .cap-icon {
  background: rgba(167,139,250,0.12);
  color: #a78bfa;
}
.card-grid-4 .cap-card:nth-child(3) {
  border-top-color: #34d399;
}
.card-grid-4 .cap-card:nth-child(3) .cap-icon {
  background: rgba(52,211,153,0.12);
  color: #34d399;
}
.card-grid-4 .cap-card:nth-child(4) {
  border-top-color: var(--brand);
}
.card-grid-4 .cap-card:nth-child(4) .cap-icon {
  background: rgba(255,87,34,0.12);
  color: var(--brand);
}
.card-grid-4 .cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22) !important;
}

/* ── ANIMATE: reveal transition tuning ── */
.reveal {
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1) !important;
}

/* ── ANIMATE: process flow dots — continuous breath ── */
@keyframes dot-breathe {
  0%, 100% { box-shadow: 0 0 0 4px rgba(var(--r),var(--g),var(--b),0.15), 0 0 16px rgba(var(--r),var(--g),var(--b),0.2); }
  50%       { box-shadow: 0 0 0 10px rgba(var(--r),var(--g),var(--b),0.06), 0 0 40px rgba(var(--r),var(--g),var(--b),0.45); }
}
.pflow-dot {
  animation: dot-breathe 3.2s ease-in-out infinite;
}
.pflow-step--below .pflow-dot { animation-delay: 1.6s; }

/* ── DELIGHT: hero nav cards — spatial lift ── */
.hero-v2__ncard {
  transition: transform 0.22s cubic-bezier(0.25,0,0,1), background 0.22s, box-shadow 0.22s !important;
}
.hero-v2__ncard:hover {
  transform: translateY(-5px) !important;
  background: rgba(255,255,255,0.1) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,0.32) !important;
}
.hero-v2__nav-info:hover {
  transform: translateY(-3px) !important;
  background: rgba(255,255,255,0.08) !important;
}

/* ── DELIGHT: impact items — number scale on hover ── */
.impact-num {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.25,0,0,1);
}
.impact-item:hover .impact-num {
  transform: scale(1.06);
}

/* ── DELIGHT: trust pills — subtle color shift ── */
.trust-pill {
  transition: background 0.18s, color 0.18s !important;
  cursor: default;
}
.trust-pill:hover {
  background: rgba(0,102,204,0.1) !important;
  color: var(--blue) !important;
}

/* ── OVERDRIVE: CTA tile — large typographic background element ── */
.cta-tile {
  position: relative !important;
  overflow: hidden !important;
}
.cta-tile::after {
  content: 'DESIGN';
  position: absolute;
  bottom: -0.18em;
  right: -0.04em;
  font-size: clamp(72px, 16vw, 200px);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255,255,255,0.13);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ── prefers-reduced-motion: kill blur + breath + bounce ── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-delay-1, .reveal-delay-2, .reveal-delay-3 {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
  .pflow-dot { animation: none !important; }
  .hero-v2__ncard:hover,
  .card-grid-4 .cap-card:hover {
    transform: none !important;
  }
}

/* ══════════════════════════════════════════
   DESIGN AUDIT FIXES — CTA / TESTIMONIAL / IMPACT
   ══════════════════════════════════════════ */

/* ── 1. CTA Tile — split layout ── */
.cta-split {
  display: flex;
  align-items: center;
  gap: 80px;
}
.cta-split__text {
  flex: 1;
  min-width: 0;
}
.cta-split__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
  display: block;
}
.cta-split__actions {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cta-split__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
  margin: 0;
}
.cta-split .display-h2 {
  margin-bottom: 0;
}
.cta-split .cta-row {
  margin-bottom: 0;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 860px) {
  .cta-split { flex-direction: column; gap: 36px; align-items: flex-start; }
  .cta-split__actions { flex: none; width: 100%; }
}

/* ── 2. Testimonial Strip — editorial left-aligned with orange accent ── */
.testimonial-quote {
  max-width: 780px !important;
  margin: 0 !important;
  text-align: left !important;
  border-left: 3px solid var(--brand) !important;
  padding-left: clamp(24px, 4vw, 48px) !important;
}
.testimonial-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 140px !important;
  line-height: 0.7 !important;
  color: rgba(255,255,255,0.08) !important;
  display: block !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.04em;
  user-select: none;
}
.testimonial-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 28px 0;
}
.testimonial-text {
  text-align: left !important;
}
.testimonial-attr {
  text-align: left !important;
}

@media (max-width: 680px) {
  .testimonial-mark { font-size: 80px !important; margin-bottom: 12px !important; }
}

/* ── 3. Leadership Impact — horizontal item layout ── */
.impact-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 !important;
  margin-top: 48px !important;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-left: 1px solid rgba(0,0,0,0.1);
}
.impact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 28px !important;
  padding: 40px 32px !important;
  border-bottom: 1px solid rgba(0,0,0,0.1) !important;
  border-right: 1px solid rgba(0,0,0,0.1) !important;
  border-radius: 0 !important;
  text-align: left !important;
  background: transparent !important;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, background 0.2s ease-out;
}
.impact-item:hover {
  background: rgba(0,0,0,0.025) !important;
}
.impact-num {
  font-size: 52px !important;
  flex-shrink: 0 !important;
  min-width: 120px !important;
  width: 120px !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  font-variant-numeric: tabular-nums !important;
}
@media (max-width: 860px) and (min-width: 681px) {
  .impact-num { width: 100px !important; min-width: 100px !important; }
}
@media (max-width: 680px) {
  .impact-num { width: 88px !important; min-width: 88px !important; }
}
.impact-desc {
  font-size: 14px !important;
  padding-top: 6px;
  line-height: 1.6 !important;
}
.impact-src {
  margin-top: 8px;
}

@media (max-width: 680px) {
  .impact-grid { grid-template-columns: 1fr !important; border-left: none !important; }
  .impact-item { padding: 28px 0 !important; border-right: none !important; gap: 20px !important; }
  .impact-num { font-size: 40px !important; min-width: 88px !important; }
}
@media (max-width: 860px) and (min-width: 681px) {
  .impact-item { padding: 32px 24px !important; }
  .impact-num { font-size: 44px !important; min-width: 96px !important; }
}

/* pflow dots active state for touch */
.pflow-dot:active {
  transform: scale(0.94);
  box-shadow: 0 0 0 6px rgba(var(--r),var(--g),var(--b),0.2), 0 0 20px rgba(var(--r),var(--g),var(--b),0.4);
}

/* nav drawer dialog role — hidden when not open */
.nav-drawer[aria-modal="true"]:not(.open) { visibility: hidden; }

/* showreel modal — fade transition */
.srm-overlay {
  opacity: 0;
  transition: opacity 0.2s ease-out;
  pointer-events: none;
}
.srm-overlay.srm-open {
  opacity: 1;
  pointer-events: auto;
}

/* Custom focus & active states to prevent default cyan focus rings */
.hm-toggle:focus,
.hm-modal__close:focus,
.hm-btn:focus,
.mobile-hire-cta:focus {
  outline: none !important;
}
.hm-toggle:focus-visible,
.hm-modal__close:focus-visible,
.hm-btn:focus-visible,
.mobile-hire-cta:focus-visible {
  outline: 2px solid var(--brand) !important;
  outline-offset: 2px !important;
}
.hm-toggle,
.hm-btn,
.hm-modal__close,
.mobile-hire-cta,
.nav-cta {
  -webkit-tap-highlight-color: transparent !important;
}

/* required field asterisk */
.form-label .required-star {
  color: var(--brand);
  margin-left: 2px;
  font-weight: 700;
}

/* plan-comparison font size floor */
.plan-comparison { font-size: max(12px, 10.5px) !important; }

/* about sidebar overflow fix at 320px */
@media (max-width: 375px) {
  .about-left { max-height: none !important; position: static !important; }
}

/* ══════════════════════════════════════════
   REFINE PASS — polish · bolder · quieter · distill · harden · onboard
   ══════════════════════════════════════════ */

/* ── POLISH: filter-tab touch target + tap delay ── */
.filter-tab {
  min-height: 44px;
  touch-action: manipulation;
}

/* ── POLISH: add filter-tab to touch-action block ── */
.filter-tab { touch-action: manipulation; }


/* ── QUIETER: stagger process dots wave left→right (5 individual delays) ── */
.pflow > .pflow-step:nth-child(5) .pflow-dot  { animation-delay: 0s; }
.pflow > .pflow-step:nth-child(6) .pflow-dot  { animation-delay: 0.64s; }
.pflow > .pflow-step:nth-child(7) .pflow-dot  { animation-delay: 1.28s; }
.pflow > .pflow-step:nth-child(8) .pflow-dot  { animation-delay: 1.92s; }
.pflow > .pflow-step:nth-child(9) .pflow-dot  { animation-delay: 2.56s; }

/* ── QUIETER: reduce glow intensity on dot breath (was 40px, now 24px) ── */
@keyframes dot-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(var(--r),var(--g),var(--b),0.12), 0 0 12px rgba(var(--r),var(--g),var(--b),0.15); }
  50%       { box-shadow: 0 0 0 8px rgba(var(--r),var(--g),var(--b),0.05), 0 0 24px rgba(var(--r),var(--g),var(--b),0.35); }
}

/* ── BOLDER: primary path card — clear visual hierarchy over secondary ── */
.path-grid .path-card:not(.path-card-secondary) {
  border-top: 3px solid var(--brand);
}
.path-grid .path-card:not(.path-card-secondary) .path-icon {
  background: rgba(255,87,34,0.1);
  color: var(--brand);
  border-color: rgba(255,87,34,0.2);
}
.path-grid .path-card-secondary {
  border-top: 2px solid var(--hairline);
}

/* ── BOLDER: impact numbers — bigger on desktop ── */
@media (min-width: 681px) {
  .impact-num { font-size: 60px !important; }
}

/* ── DISTILL: CTA sub-copy — slightly less faint ── */
.cta-split__sub {
  color: rgba(255,255,255,0.60) !important;
}

/* ── HARDEN: filter-tab focus state ── */
.filter-tab:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ── HARDEN: filter empty state ── */
.filter-empty-state {
  font-size: 15px;
  color: var(--muted);
  padding: 32px 0;
  text-align: center;
  width: 100%;
}

/* ── HARDEN: prefers-reduced-motion — kill dot stagger too ── */
@media (prefers-reduced-motion: reduce) {
  .pflow > .pflow-step .pflow-dot {
    animation-delay: 0s !important;
  }
}

/* ══════════════════════════════════════════
   EMIL DESIGN-ENG PASS
   ══════════════════════════════════════════ */

/* 1. Replace `transition: all` with explicit properties */
.pg-btn {
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out) !important;
}
.filter-tab {
  transition: border-color 0.18s var(--ease-out), color 0.18s var(--ease-out),
              transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out) !important;
}
/* plan-toggle uses transition: all .15s */
.plan-toggle-btn {
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out) !important;
}

/* 2. Hero entering elements: plain `ease` → punchy expo-out */
.hero-v2__social {
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out) !important;
}
.hero-v2__sub {
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out) !important;
}
.hero-v2__stats {
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out) !important;
}
.hero-v2__cta-row {
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out) !important;
}
.hero-v2__plans-label {
  transition: opacity 0.65s var(--ease-out) 0.08s, transform 0.65s var(--ease-out) 0.08s !important;
}
.hero-v2__nav-col {
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out) !important;
}

/* 3. Hero button hover: remove meaningless translateY(-1px) float */
.hero-v2__btn:hover {
  opacity: 0.86 !important;
  transform: none !important;
}
/* Keep the active press state */
.hero-v2__btn:active {
  transform: scale(0.97) !important;
  opacity: 1 !important;
}

/* 4. Hover lift effects: guard with pointer media query */
@media (hover: hover) and (pointer: fine) {
  .path-card:hover              { transform: translateY(-4px); }
  .cap-card:hover               { transform: translateY(-4px); }
  .plan-card:hover              { transform: translateY(-3px); }
  .wg-item:hover                { transform: translateY(-4px); }
  .wg-va__card:hover            { transform: translateY(-3px); }
  .filter-tab:hover             { transform: translateY(-2px); }
  .cs-card:hover                { transform: translateY(-3px); }
  .enquiry-card:hover           { transform: translateY(-3px); }
  .step-card:hover              { transform: translateY(-3px); }
}
/* Remove transforms on touch so no hover jumps on tap */
@media not all and (hover: hover) {
  .gallery-item:hover,
  .path-card:hover,
  .cap-card:hover,
  .util-card:hover,
  .plan-card:hover,
  .wg-item:hover,
  .wg-va__card:hover,
  .filter-tab:hover,
  .cs-card:hover,
  .enquiry-card:hover,
  .step-card:hover {
    transform: none !important;
    box-shadow: inherit;
  }
}

/* 4b. Press feedback on all clickable cards (Emil: every pressable needs :active scale) */
.wg-item:active,
.enquiry-card:active,
.plan-card:active,
.path-card:active,
.cap-card:active,
.cs-card:active,
.step-card:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}

/* 4c. Transition upgrade: wg-item uses bare `ease` — fix to expo-out */
.wg-item {
  transition: transform 0.22s var(--ease-out) !important;
}

/* 5. Skill bar: upgrade easing to expo-out (layout-prop stays, at least easing is right) */
.skill-fill {
  transition: width 1s var(--ease-out) !important;
}

/* 6. All bounce-curve modals/cards → clean expo-out */
.pdf-modal__card,
.pdf-modal:not(.pdf-modal--closing) .pdf-modal__card {
  animation-timing-function: var(--ease-out) !important;
}
/* hire-me / work-snapshot modal card */
.hm-modal__card,
.wsm__card {
  animation-timing-function: var(--ease-out) !important;
}
/* cs-card hover: bounce on hover transition looks wrong */
.cs-card {
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out),
              border-color 0.22s var(--ease-out) !important;
}

/* 7. Work gallery overlay icon: enters from natural size not scale(0.7) */
.wg-thumb-overlay .wg-thumb-view {
  transform: scale(0.92) !important;
  opacity: 0 !important;
}
.wg-item:hover .wg-thumb-overlay .wg-thumb-view {
  transform: scale(1) !important;
  opacity: 1 !important;
}

/* 8. prefers-reduced-motion: cover new hover guards */
@media (prefers-reduced-motion: reduce) {
  .gallery-item:hover,
  .path-card:hover,
  .cap-card:hover,
  .util-card:hover,
  .plan-card:hover,
  .wg-item:hover,
  .filter-tab:hover {
    transform: none !important;
  }
}

/* 9. Tactile press animations on active states */
.filter-tab,
.hm-btn,
.hm-modal__close,
.rkm__close,
.pm__close,
.srm-close,
.wg-va__close,
.csm__close,
.pdf-modal__close {
  transition: transform 0.12s var(--ease-out), background 0.15s, opacity 0.15s, border-color 0.15s, color 0.15s !important;
}

.filter-tab:active,
.hm-btn:active,
.hm-modal__close:active,
.rkm__close:active,
.pm__close:active,
.srm-close:active,
.wg-va__close:active,
.csm__close:active,
.pdf-modal__close:active {
  transform: scale(0.96) !important;
}

/* ── hero nav cards hover ── */
.hero-v2__ncard {
  transition: background 0.18s ease-out, transform 0.18s ease-out, border-radius 0.18s ease-out,
              border-color 0.18s ease-out !important;
}
.hero-v2__ncard:hover {
  background: rgba(0,102,204,0.18) !important;
  border-color: rgba(41,151,255,0.3) !important;
  border-radius: 9999px !important;
  transform: scale(0.93) !important;
  box-shadow: none !important;
}
/* Restore nav-info to original opacity-only hover */
.hero-v2__nav-info:hover {
  opacity: 0.72 !important;
  transform: none !important;
  background: transparent !important;
}

/* ══════════════════════════════════════════
   PROCESS FLOW COMPONENT
   ══════════════════════════════════════════ */
.pflow-outer { max-width: 980px; margin: 52px auto 0; padding: 0 40px; }
.pflow { position: relative; display: flex; height: 500px; }
.pflow::before {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 25%, #0066cc 50%, #0071e3 75%, #2997ff 100%);
  z-index: 0;
}
.pflow-arrow {
  position: absolute;
  top: calc(50% - 7px);
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid rgba(255,255,255,0.28);
  transform: translateX(-50%);
  z-index: 0;
}
.pflow-step {
  flex: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
}
.pflow-spacer { flex: 1; min-height: 0; }
.pflow-dot {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 2;
  box-shadow: 0 0 0 5px rgba(var(--r),var(--g),var(--b),0.18), 0 0 24px rgba(var(--r),var(--g),var(--b),0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pflow-dot:hover {
  transform: scale(1.12);
  box-shadow: 0 0 0 8px rgba(var(--r),var(--g),var(--b),0.22), 0 0 36px rgba(var(--r),var(--g),var(--b),0.5);
}
.pflow-dot svg { display: block; flex-shrink: 0; }
.pflow-stem {
  width: 2px; height: 40px; flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(var(--r),var(--g),var(--b),0.6), rgba(var(--r),var(--g),var(--b),0.1));
}
.pflow-step--below .pflow-stem {
  background: linear-gradient(to top, rgba(var(--r),var(--g),var(--b),0.6), rgba(var(--r),var(--g),var(--b),0.1));
}
.pflow-card {
  width: calc(100% - 12px); height: 180px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 18px 14px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 7px; flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.pflow-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px; padding: 1px;
  background: linear-gradient(160deg, rgba(var(--r),var(--g),var(--b),0.5) 0%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.pflow-card:hover { background: rgba(var(--r),var(--g),var(--b),0.09); border-color: rgba(var(--r),var(--g),var(--b),0.4); }
.pflow-badge {
  font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  color: var(--accent); flex-shrink: 0; font-family: var(--font, sans-serif);
}
.pflow-title { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; margin: 0; flex-shrink: 0; }
.pflow-desc  { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.5; margin: 0; }

/* duplicate 880px block removed — consolidated into P3.17 block above */

/* ══════════════════════════════════════════
   TOOLS ROW
   ══════════════════════════════════════════ */
.tools-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.tools-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  padding-right: 4px;
}
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 6px;
  padding: 5px 11px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}
.tool-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.15s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tool-badge:hover .tool-icon { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
  .tool-badge:hover {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.88);
    border-color: rgba(255,255,255,0.2);
  }
}
@media (max-width: 680px) {
  .tools-row { gap: 8px; margin-top: 28px; padding-top: 24px; }
  .tool-badge { font-size: 11px; padding: 4px 9px; }
}

/* ══════════════════════════════════════════
   DESIGN APPROACH STRIP (replaces testimonial mark)
   ══════════════════════════════════════════ */
.testimonial-context {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
  display: block;
}

/* ══════════════════════════════════════════
   MEDIA PROTECTION — WATERMARK + DETERRENTS
   ══════════════════════════════════════════ */
/* Work-content containers: must be position:relative + overflow:hidden */
.media-wm { position: relative; overflow: hidden; }

/* Centered brand watermark — injected by JS into .media-wm and .wg-thumb */
.wm-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.22);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  user-select: none;
  z-index: 25;
  white-space: nowrap;
  /* prevent text from ever overflowing its container */
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
  /* scale down to fit if container is too narrow */
  transform: scale(var(--wm-scale, 1));
  transform-origin: center;
}

/* Gallery thumbnails: proportionally smaller */
.wg-thumb .wm-label {
  font-size: clamp(0.9rem, 2.5vw, 1.5rem);
}

@media (max-width: 680px) {
  .wm-label { font-size: clamp(1.4rem, 6vw, 2.5rem); }
  .wg-thumb .wm-label { font-size: clamp(0.75rem, 3vw, 1.1rem); }
}

img.no-save {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ══════════════════════════════════════════
   ANTI-FLAT OVERHAUL
   ══════════════════════════════════════════ */

/* 1. GRAIN + DEPTH on dark tiles */
.tile-dark {
  --mx: 50%;
  --my: 150%;
  overflow: hidden;
  background:
    radial-gradient(circle 520px at var(--mx) var(--my), rgba(255,87,34,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 70% at 0% 60%, rgba(255,87,34,0.055) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 10%, rgba(255,255,255,0.018) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,102,204,0.06) 0%, transparent 65%),
    var(--tile-dark);
  transition: background 0.1s linear;
}
.tile-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.tile-dark > .container { position: relative; z-index: 1; }

/* light tiles: subtle brand-tinted depth */
.tile-parchment {
  background:
    radial-gradient(ellipse 55% 60% at 0% 0%, rgba(255,87,34,0.035) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 100%, rgba(0,102,204,0.02) 0%, transparent 55%),
    var(--parchment);
}
.tile-light {
  background:
    radial-gradient(ellipse 50% 55% at 100% 0%, rgba(0,102,204,0.025) 0%, transparent 55%),
    var(--white);
}

/* 2. SECTION HEAD BREAKOUT — left-aligned, large */
.section-head--left {
  text-align: left;
  max-width: none;
}
.section-head--left .display-h2 {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.section-head--left .section-body {
  max-width: 56ch;
  margin-top: 16px;
}

/* 3. CAPABILITIES — editorial numbered list */
.cap-list {
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cap-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding: 32px 0 32px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: 28px;
  align-items: start;
  border-radius: 4px;
  position: relative;
  transition: background 0.55s var(--ease-out);
}
/* left accent bar — GPU-only, no layout shift */
.cap-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out);
  opacity: 0;
  border-radius: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .cap-row:hover {
    background: rgba(255,87,34,0.04);
    transition: background 0.18s var(--ease-out);
  }
  .cap-row:hover::before {
    transform: scaleY(1);
    opacity: 1;
    transition: transform 0.22s var(--ease-out), opacity 0.18s var(--ease-out);
  }
}
.cap-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--brand) !important;
  line-height: 1;
  letter-spacing: -0.05em;
  padding-top: 3px;
  opacity: 1 !important;
}
.cap-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  opacity: 1 !important;
}
.cap-body .cap-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.68) !important;
  line-height: 1.65;
}
@media (max-width: 680px) {
  .cap-row {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 24px 0 24px 14px;
  }
  .cap-num { font-size: 1.7rem; }
  .section-head--left .display-h2 { max-width: none; }
}

/* horizontal slide-in for numbered rows */
.reveal.reveal-x {
  transform: translateX(-28px);
}
.reveal.reveal-x.visible {
  transform: translateX(0);
}

/* 4. PATH CARDS — differentiated */
.path-card:not(.path-card-secondary) {
  border-top: 3px solid var(--brand);
}
.path-card:not(.path-card-secondary) .path-icon {
  background: rgba(255,87,34,0.08);
  border-color: rgba(255,87,34,0.25);
  color: var(--brand);
}
/* EXIT transition (slow, settling) */
.path-card {
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
/* ENTER transition (fast, responsive) */
@media (hover: hover) and (pointer: fine) {
  .path-card:not(.path-card-secondary):hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,87,34,0.12);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  }
  .path-card-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.08);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  }
}

/* 5. MOTION: cs-cards and gallery items — enter fast / exit slow */
.cs-card {
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cs-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.11);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  }
}

/* gallery items — enter fast / exit slow */
.gallery-item {
  transition: transform 0.55s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover {
    transform: translateY(-7px) scale(1.015);
    transition: transform 0.2s var(--ease-out);
  }
}

/* 6. WORD REVEAL — breakout heading clip animation */
.wrd-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-right: 0.22em;
}
.wrd-wrap:last-child { margin-right: 0; }
.wrd {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.wrd.in {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .wrd { transform: none !important; transition: none !important; }
}

/* Magnetic button — keep transition smooth on leave */
.btn-magnetic {
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .btn-magnetic { transform: none !important; }
}

/* ══ EXPRESSIVE CARD REVEALS (opacity + translate) ══
   Safe on card-level elements — not section backgrounds */
.cs-card.reveal,
.path-card.reveal {
  opacity: 0;
  transform: translateY(32px);
  /* 0.65s entrance; hover-exit uses same (slower than 0.2s enter = physical settle) */
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.cs-card.reveal.visible,
.path-card.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* stagger delays already applied via .reveal-delay-X classes */

/* ══ GLOBAL MICRO-INTERACTION SMOOTHNESS ══ */
/* Upgrade nav/UI buttons — expo-out easing, slightly longer settle */
.btn-pill, .btn-outline, .btn-solid, .btn-text {
  transition-timing-function: var(--ease-out);
  transition-duration: 0.24s;
}
/* Smooth focus rings site-wide */
:focus-visible {
  transition: outline-offset 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}

/* ── PERFORMANCE: transform-only hover, pointer devices only ──
   No filter/shadow change = zero repaint. hover:hover guard stops
   touch-scroll from triggering hover state on mobile. ── */
@media (hover: hover) and (pointer: fine) {
  .cs-card,
  .cs-full-card,
  .gallery-item,
  .path-card,
  .wg-item {
    transition: transform 0.28s ease, box-shadow 0.28s ease !important;
    filter: none !important;
    will-change: auto;
  }
  .cs-card:hover,
  .cs-full-card:hover,
  .gallery-item:hover,
  .path-card:hover,
  .wg-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.13) !important;
    filter: none !important;
  }
  /* Suppress hover while user is actively scrolling on desktop */
  .is-scrolling .cs-card:hover,
  .is-scrolling .cs-full-card:hover,
  .is-scrolling .gallery-item:hover,
  .is-scrolling .path-card:hover,
  .is-scrolling .wg-item:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Touch/mobile: no hover transforms at all */
@media (hover: none) {
  .cs-card,
  .cs-full-card,
  .gallery-item,
  .path-card,
  .wg-item {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
}

/* Replace transition:all on filter/nav buttons */
.filter-tab,
.pg-btn,
.plan-toggle-btn,
.enquiry-btn {
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE OVERHAUL
   ══════════════════════════════════════════ */

/* ── Global: prevent any child from overflowing the viewport ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Filter tabs: scroll horizontally on small screens ── */
@media (max-width: 480px) {
  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { white-space: nowrap; flex-shrink: 0; }
}

/* ── Work gallery: full-width cards on very small screens ── */
@media (max-width: 400px) {
  .wg-grid { grid-template-columns: 1fr !important; }
}

/* ── Enquiry modal: full-screen on mobile ── */
@media (max-width: 480px) {
  .rkm__dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 20px 20px 0 0 !important;
    margin: 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
  }
}

/* ── Case study cards: reduce padding on tiny screens ── */
@media (max-width: 400px) {
  .cs-full-card { padding: 16px !important; }
  .path-card { padding: 16px !important; }
  .plan-card { padding: 16px !important; }
  .contact-form-wrap { padding: 16px !important; }
}

/* ── Section head: tighter on small screens ── */
@media (max-width: 400px) {
  .section-head { margin-bottom: 24px; }
  .display-h1 { font-size: 22px; }
  .display-h2 { font-size: 18px; }
  .hero-h1 { font-size: 26px; letter-spacing: -0.6px; }
  .container { padding: 0 14px; }
}

/* ── Sticky buttons: safe area bottom inset ── */
.mobile-hire-cta {
  bottom: max(20px, env(safe-area-inset-bottom, 20px));
}

/* ── Metrics: force single column on very small phones ── */
@media (max-width: 380px) {
  .metrics-grid { grid-template-columns: 1fr !important; }
  .metric { border-right: none !important; border-bottom: 1px solid var(--hairline) !important; }
  .metric:last-child { border-bottom: none !important; }
}

/* ── Nav: ensure logo + hamburger always fit ── */
@media (max-width: 360px) {
  .nav-logo img, .nav-logo svg { max-width: 120px; }
  .nav-inner { padding: 0 12px; }
}

/* ── Timeline: tighter on phones ── */
@media (max-width: 480px) {
  .tl-item { gap: 10px; }
  .tl-dot { width: 10px !important; height: 10px !important; margin-top: 5px; }
  .tl-dates { font-size: 11px; }
}

/* ── Testimonial: reduce quote mark on tiny screens ── */
@media (max-width: 400px) {
  .testimonial-mark { font-size: 60px !important; }
  .testimonial-text { font-size: 14px; }
}

/* ── Footer links: wrap tightly ── */
@media (max-width: 400px) {
  .footer-links { flex-wrap: wrap; gap: 0; }
  .footer-links a { font-size: 12px; padding: 3px 6px; }
}

/* ── Touch: remove hover card lift on touch devices ── */
@media (hover: none) {
  .plan-card:hover, .plan-card.plan-featured:hover {
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   FOOTER V2 (rk-footer-v2) — shared across all pages
   ═══════════════════════════════════════════════════ */
/* override old site-footer light background/padding */
.rk-footer-v2 { padding: 0 !important; background: #0d0d0f !important; border-top: 1px solid rgba(255,255,255,0.07) !important; }
.footer-collab { background: #0d0d0f; border-top: none; padding: 80px 0 0; overflow: hidden; }
.footer-collab-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px 64px; align-items: end;
}
.footer-collab-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: rgba(255,255,255,0.48); margin: 0 0 18px; }
.footer-collab-heading { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(36px, 4.8vw, 68px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; color: #fff; margin: 0 0 18px; }
.footer-collab-sub { font-size: 15px; color: rgba(255,255,255,0.48); line-height: 1.7; margin: 0; max-width: 460px; }
.footer-collab-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; padding-bottom: 6px; flex-shrink: 0; }
.footer-collab-socials { display: flex; gap: 8px; justify-content: flex-end; }
.footer-collab-contacts { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.footer-collab-contact-link { font-size: 13px; color: rgba(255,255,255,0.48); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.footer-collab-contact-link:hover { color: rgba(255,255,255,0.65); }
.footer-collab-cta { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #0d0d0f; font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; padding: 14px 28px; text-decoration: none; border-radius: 0; white-space: nowrap; transition: background 0.2s ease-out, transform 0.12s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .footer-collab-cta:hover { background: #e8e8e8; }
  .footer-collab-cta:hover .footer-collab-cta-arrow { transform: translateX(5px); }
}
.footer-collab-cta:active { transform: scale(0.97); transition-duration: 0.1s; }
.footer-collab-cta-arrow { display: inline-block; transition: transform 0.2s ease-out; }
.footer-wordmark { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(14px, 11.5vw, 220px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.82; text-transform: uppercase; color: rgba(255,255,255,0.08); user-select: none; pointer-events: none; white-space: nowrap; margin-top: 56px; padding: 0 0 24px; text-align: center; }
.footer-wordmark .wm-l-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; line-height: 1; opacity: 0; transform: translateY(44px); }
.footer-wordmark .wm-l { display: inline-block; }
.footer-wordmark .wm-sp { display: inline-block; width: 0.28em; }
.footer-wordmark.wm-animate .wm-l-wrap { opacity: 1; transform: translateY(0); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); transition-delay: calc(var(--i, 0) * 0.055s); }
.footer-wordmark.wm-animate .wm-l { transform: translateY(0); transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); transition-delay: calc(var(--i, 0) * 0.055s); }
@media (prefers-reduced-motion: reduce) { .footer-wordmark .wm-l-wrap { opacity: 1 !important; transform: none !important; transition: none !important; } .footer-wordmark .wm-l { transform: none !important; transition: none !important; } }

/* ── HORIZONTAL SCROLL CTA ── */
.rk-hscroll-section { overflow: hidden; position: relative; }
.rk-hscroll-inner { height: 100dvh; background: #0d0d0f; display: flex; align-items: center; position: relative; overflow: hidden; }
.rk-hscroll-text { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16vw; font-weight: 800; letter-spacing: -0.03em; line-height: 0.9; white-space: nowrap; width: max-content; color: #ffffff; padding-left: 60vw; padding-right: 10vw; will-change: transform; display: flex; align-items: baseline; margin: 0; }
.rk-hc { display: inline-block; }
.rk-hc--sp { width: 0.28em; }
.rk-hscroll-cta-btn { position: absolute; right: 3vw; bottom: 3vw; width: 112px; height: 112px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; line-height: 1.4; letter-spacing: 0.01em; transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease; }
.rk-hscroll-cta-btn:hover { border-color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.07); color: #fff; }
@media (max-width: 768px) {
  .rk-hscroll-text { font-size: 18vw; }
  .rk-hscroll-cta-btn { width: 88px; height: 88px; font-size: 11px; right: 5vw; bottom: 5vw; }
}
@media (prefers-reduced-motion: reduce) { .rk-hscroll-section { overflow: visible; } .rk-hscroll-inner { height: auto; padding: 80px 40px; } .rk-hscroll-text { font-size: clamp(2rem, 6vw, 5rem); padding-left: 0; white-space: normal; display: block; width: auto; } .rk-hscroll-cta-btn { position: static; margin-top: 40px; border-radius: 4px; width: auto; height: auto; padding: 12px 24px; } }
.footer-strip { border-top: 1px solid rgba(255,255,255,0.05); background: #0d0d0f; }
.footer-strip-inner { max-width: 1280px; margin: 0 auto; padding: 18px 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-strip .footer-copy, .footer-strip .footer-loc { font-size: 11px; color: rgba(255,255,255,0.18); }

/* quick links — hidden on desktop, shown on mobile */
.footer-quicklinks { display: none; }

/* tablet: stack grid, left-align right-col items */
@media (max-width: 860px) {
  .footer-collab-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .footer-collab-right { align-items: flex-start; }
  .footer-collab-socials { justify-content: flex-start; }
  .footer-collab-contacts { align-items: flex-start; }
}

/* mobile */
@media (max-width: 640px) {
  /* collab block */
  .footer-collab { padding: 48px 0 0; }
  .footer-collab-inner { padding: 0 20px; gap: 24px; }
  .footer-collab-heading { font-size: clamp(28px, 8vw, 40px); margin-bottom: 12px; }
  .footer-collab-sub { font-size: 14px; }
  .footer-collab-right { gap: 20px; }
  .footer-collab-socials { gap: 10px; }
  .footer-collab-contacts { gap: 8px; }
  .footer-collab-contact-link { font-size: 14px; }
  .footer-collab-contacts { display: none; } /* skip on mobile — can't copy; icon buttons sufficient */
  .footer-collab-cta {
    width: 100%;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 16px;
    margin-top: 4px;
  }
  .footer-wordmark { display: block; }

  /* quick links section */
  .footer-quicklinks {
    display: block;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 0;
    padding: 32px 20px 8px;
    background: #0d0d0f;
  }
  .footer-quicklinks-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .footer-ql-link {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.15s;
  }
  .footer-ql-link:hover, .footer-ql-link:active { color: #fff; }
  /* accent link (Creative Subscription) spans full width */
  .footer-ql-link--accent {
    grid-column: 1 / -1;
    color: #FF5722;
    font-weight: 600;
    border-bottom: none;
    padding-bottom: 4px;
  }
  .footer-ql-link--accent:hover { color: #ff7043; }

  .footer-strip-inner { padding: 16px 20px; flex-direction: column; gap: 4px; }
  .footer-strip .footer-loc { display: none; } /* too long for small screens */
  /* clearance for sticky CTA pill (48px) + WhatsApp/scroll-top fabs (44px) at bottom: 20px */
  .rk-footer-v2 .footer-strip { padding-bottom: 90px !important; }
}
