/* ===========================================================
   Veltra — design tokens (dark theme by default)
   =========================================================== */
:root {
  /* Brand palette */
  --plum-950: #0B0517;
  --plum-900: #15101F;
  --plum-800: #2D1B4E;
  --plum-700: #3B1A78;
  --purple-700: #6D28D9;
  --purple-600: #7C3AED;
  --violet-500: #8B5CF6;
  --violet-300: #C4B5FD;
  --magenta-600: #A21CAF;
  --magenta-500: #C026D3;
  --magenta-400: #D946EF;
  --pink-300:    #F0ABFC;

  /* Surfaces */
  --bg:         #0B0517;
  --bg-alt:     #14091F;
  --bg-elev:    #1B0F2E;
  --bg-card:    #18102B;
  --bg-deep:    #07030F;

  /* Text */
  --ink:        #F4EFFB;
  --ink-soft:   #C9C0DC;
  --muted:      #8B82A0;
  --muted-2:    #5F586F;

  /* Lines */
  --line:       rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.14);

  /* Radii */
  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 6px rgba(0,0,0,.18);
  --shadow:    0 12px 30px rgba(0,0,0,.40), 0 2px 6px rgba(0,0,0,.20);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.55), 0 8px 22px rgba(0,0,0,.30);

  /* Type */
  --font-sans:    'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Motion */
  --t-fast:  150ms cubic-bezier(.2,.6,.2,1);
  --t-base:  280ms cubic-bezier(.2,.6,.2,1);
  --t-slow:  600ms cubic-bezier(.2,.6,.2,1);
  --ease-out: cubic-bezier(.16,.84,.32,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ===========================================================
   Reset / base
   =========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: var(--violet-300); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--magenta-400); }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.08;
}
p { margin: 0 0 1em; }
::selection { background: var(--magenta-500); color: white; }

.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--magenta-600); color: #fff;
  padding: 8px 12px; border-radius: 6px;
  z-index: 1000;
}
.skip-link:focus { top: 8px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===========================================================
   Page-load wipe
   =========================================================== */
.page-wipe {
  position: fixed; inset: 0; z-index: 200;
  background: linear-gradient(135deg, var(--plum-900), var(--magenta-600));
  pointer-events: none;
  transform-origin: top;
  animation: wipe-out 1100ms cubic-bezier(.7,0,.2,1) .15s forwards;
}
@keyframes wipe-out {
  0%   { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.4em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .005em;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast),
              color var(--t-fast), border-color var(--t-fast),
              box-shadow var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-600), var(--magenta-500));
  color: #fff;
  box-shadow: 0 6px 22px rgba(192,38,211,.32);
  background-size: 180% 180%;
  background-position: 0% 50%;
  transition: background-position 600ms var(--ease-out),
              transform var(--t-fast),
              box-shadow var(--t-fast);
}
.btn-primary:hover {
  transform: translateY(-1px);
  color: #fff;
  background-position: 100% 50%;
  box-shadow: 0 12px 32px rgba(192,38,211,.46);
}
.btn-arrow { transition: transform var(--t-base); display: inline-block; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--magenta-500);
  color: #fff;
}
.btn-link {
  padding: .4em 0;
  background: transparent;
  color: var(--violet-300);
  border-radius: 0;
  border-bottom: 1.5px solid var(--violet-300);
}
.btn-link:hover { color: var(--magenta-400); border-color: var(--magenta-400); }
.btn-lg { padding: 1em 1.7em; font-size: 16px; }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,5,23,.65);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11,5,23,.92);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center;
  font-weight: 800;
  text-decoration: none;
  position: relative;
}
.brand-word {
  font-family: var(--font-display);
  letter-spacing: .22em;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #B79CF2 0%, var(--magenta-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position 600ms var(--ease-out);
}
.brand:hover .brand-word { background-position: 100% 50%; }

.primary-nav ul {
  display: flex; gap: 28px; align-items: center;
}
.primary-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.primary-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--violet-500), var(--magenta-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}
.primary-nav a:hover { color: #fff; }
.primary-nav a:hover::after { transform: scaleX(1); }

.header-cta { font-size: 13px; padding: .65em 1.1em; letter-spacing: .14em; }
.header-cta-label { font-weight: 700; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: rgba(15,8,32,.98);
  animation: drop-in 280ms var(--ease-out);
}
@keyframes drop-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.mobile-nav ul {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px var(--gutter) 24px;
}
.mobile-nav a {
  display: block; padding: 12px 0;
  color: var(--ink); font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.btn { border-bottom: none; margin-top: 12px; justify-content: center; }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(72px, 10vw, 140px) 0 clamp(72px, 10vw, 120px);
  overflow: hidden;
  min-height: 88vh;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(15,8,32,.6), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .50;
  will-change: transform;
}
.blob-1 {
  width: 460px; height: 460px;
  left: -120px; top: -80px;
  background: radial-gradient(circle, var(--purple-600), transparent 65%);
  animation: float-1 14s ease-in-out infinite;
}
.blob-2 {
  width: 520px; height: 520px;
  right: -160px; top: -40px;
  background: radial-gradient(circle, var(--magenta-500), transparent 65%);
  opacity: .42;
  animation: float-2 18s ease-in-out infinite;
}
.blob-3 {
  width: 380px; height: 380px;
  left: 30%; bottom: -180px;
  background: radial-gradient(circle, var(--purple-700), transparent 65%);
  opacity: .35;
  animation: float-3 22s ease-in-out infinite;
}
@keyframes float-1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(60px,40px) scale(1.08); }
}
@keyframes float-2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-50px,80px) scale(1.05); }
}
@keyframes float-3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-60px) scale(1.10); }
}

.hero-inner { position: relative; max-width: 980px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet-300);
  background: rgba(139,92,246,.10);
  border: 1px solid rgba(139,92,246,.20);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--magenta-400);
  box-shadow: 0 0 0 0 rgba(217,70,239,.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217,70,239,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(217,70,239,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,70,239,0); }
}

.hero-title {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: .35em;
  color: #fff;
}
.hero-title em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(90deg, var(--violet-500), var(--magenta-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* line-by-line reveal of the hero headline */
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 900ms var(--ease-out), opacity 900ms var(--ease-out);
}
.hero-title.is-visible .line:nth-child(1) > span { transition-delay: 100ms; transform: none; opacity: 1; }
.hero-title.is-visible .line:nth-child(2) > span { transition-delay: 220ms; transform: none; opacity: 1; }
.hero-title.is-visible .line:nth-child(3) > span { transition-delay: 340ms; transform: none; opacity: 1; }

.hero-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-soft);
  max-width: 64ch;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-bottom: 64px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(16px, 3vw, 48px);
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 6px; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  display: inline-block;
}
.hero-stats sup { font-size: .55em; vertical-align: super; color: var(--magenta-400); }
.hero-stats span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.stat-plus { color: var(--magenta-400); font-weight: 600; margin: 0 .12em; opacity: .9; }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .26em;
  color: var(--muted);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--ink-soft));
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--magenta-400));
  animation: scroll-cue 2.2s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}

/* ===========================================================
   Marquee
   =========================================================== */
.marquee {
  background: var(--bg-deep);
  color: var(--ink-soft);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg-deep), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left,  var(--bg-deep), transparent); }
.marquee-track {
  display: inline-flex; align-items: center; gap: 36px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  animation: marquee 36s linear infinite;
  padding-right: 36px;
}
.marquee-track span { display: inline-block; }
.marquee-track .dot {
  font-size: .5em;
  color: var(--magenta-500);
  transform: translateY(-2px);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================================================
   Sections
   =========================================================== */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-intro    { background: var(--bg); }
.section-services { background: var(--bg-alt); }
.section-projects { background: var(--bg); }
.section-approach {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-deep));
  color: var(--ink);
}
.section-contact  { background: var(--bg-alt); }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head-row {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: end;
  max-width: none;
  margin-bottom: 64px;
}
.section-head-row .section-sub { max-width: 36ch; }
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--violet-300);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.section-sub, .lede {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.2vw, 19px);
}
.lede { color: var(--ink-soft); margin-bottom: 16px; }

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* About card */
.col-card {
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  perspective: 1200px;
}
.card-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(217,70,239,.50), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(139,92,246,.55), transparent 55%),
    linear-gradient(160deg, var(--plum-700), var(--plum-900));
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform 600ms var(--ease-out);
}
.card-photo-overlay {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(120deg,
      rgba(255,255,255,.04) 0 2px, transparent 2px 28px);
  mix-blend-mode: overlay;
  animation: drift 28s linear infinite;
}
@keyframes drift {
  0%   { background-position: 0 0; }
  100% { background-position: 200px 0; }
}
.card-photo::after {
  content: '';
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  height: 60%;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.card-photo-tag {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: #fff;
  padding: 6px 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.card-photo-badge {
  position: absolute;
  right: 20px; bottom: 20px;
  background: rgba(255,255,255,.94);
  color: var(--plum-800);
  padding: 16px 20px;
  border-radius: 14px;
  display: flex; align-items: baseline; gap: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.40);
  transform: translateZ(40px);
}
.badge-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.badge-num sup { font-size: .55em; color: var(--magenta-500); margin-left: 2px; }
.badge-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
  line-height: 1.3;
}
.safe-hands {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 4px 0 24px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(124,58,237,.10), rgba(217,70,239,.10));
  border: 1px solid rgba(217,70,239,.20);
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
.safe-hands strong { color: #fff; font-weight: 700; }
.sh-mark {
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(135deg, var(--violet-500), var(--magenta-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-quote {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.card-quote p {
  font-family: var(--font-display);
  font-size: 19px; line-height: 1.4; font-weight: 500;
  margin-bottom: 10px; color: var(--ink);
}
.card-quote cite {
  font-style: normal;
  font-size: 13px; letter-spacing: .04em;
  color: var(--muted);
}

/* ===========================================================
   Services
   =========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  background: var(--bg-card);
  padding: 36px 30px 32px;
  display: flex; flex-direction: column;
  transition: background var(--t-base), transform var(--t-base);
  position: relative;
  isolation: isolate;
  cursor: default;
}
.service::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(217,70,239,.10), rgba(124,58,237,.14));
  opacity: 0;
  transition: opacity var(--t-base);
}
.service:hover { transform: translateY(-4px); background: var(--bg-elev); }
.service:hover::before { opacity: 1; }
.service-num {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  color: var(--magenta-400);
  letter-spacing: .12em;
  margin-bottom: 24px;
}
.service h3 {
  font-size: 22px; line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.service p {
  color: var(--ink-soft); font-size: 15px; line-height: 1.55;
  margin: 0 0 18px;
}
.service-arrow {
  display: inline-block;
  margin-top: auto;
  font-size: 20px;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--t-base), transform var(--t-base), color var(--t-base);
}
.service:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--magenta-400);
}

/* ===========================================================
   Projects (with photos)
   =========================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.project {
  display: flex; flex-direction: column;
  perspective: 1200px;
}
.project-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 500ms var(--ease-out), box-shadow var(--t-base);
  transform-style: preserve-3d;
  isolation: isolate;
}
.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.55) contrast(1.05) brightness(.92);
  transition: filter var(--t-base), transform 700ms var(--ease-out);
  display: block;
}
.project-photo::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,8,32,.10) 0%, rgba(15,8,32,.55) 100%),
    linear-gradient(135deg, rgba(124,58,237,.30), rgba(217,70,239,.25));
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}
.project-photo-1::after {
  background:
    linear-gradient(180deg, rgba(15,8,32,.10) 0%, rgba(15,8,32,.55) 100%),
    linear-gradient(135deg, rgba(76,29,149,.45), rgba(192,38,211,.35));
}
.project-photo-2::after {
  background:
    linear-gradient(180deg, rgba(15,8,32,.10) 0%, rgba(15,8,32,.55) 100%),
    linear-gradient(135deg, rgba(31,19,54,.45), rgba(109,40,217,.35));
}
.project-photo-3::after {
  background:
    linear-gradient(180deg, rgba(15,8,32,.10) 0%, rgba(15,8,32,.55) 100%),
    linear-gradient(135deg, rgba(45,27,78,.45), rgba(162,28,175,.35));
}
.project-shine {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.20) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 900ms var(--ease-out);
  pointer-events: none;
}
.project:hover .project-photo {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
}
.project:hover .project-photo img {
  filter: saturate(.85) contrast(1.05) brightness(1.0);
  transform: scale(1.04);
}
.project:hover .project-shine { transform: translateX(100%); }
.project-meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.project h3 {
  font-size: 26px; line-height: 1.15;
  margin-bottom: 8px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  transition: color var(--t-base);
}
.project:hover h3 { color: var(--violet-300); }
.project p {
  color: var(--ink-soft); font-size: 15px; margin: 0;
}

/* ===========================================================
   Approach (deep dark)
   =========================================================== */
.section-approach {
  position: relative; isolation: isolate;
  overflow: hidden;
}
.section-approach::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 40% at 12% 15%, rgba(139,92,246,.22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 92% 85%, rgba(217,70,239,.16), transparent 60%);
  animation: bg-drift 24s ease-in-out infinite;
}
@keyframes bg-drift {
  0%,100% { transform: scale(1) translate(0,0); }
  50%     { transform: scale(1.08) translate(-20px,10px); }
}
.approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  counter-reset: step;
  position: relative;
}
.approach-steps li {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  transition: border-color var(--t-base), transform var(--t-base), background var(--t-base);
  overflow: hidden;
  isolation: isolate;
}
.approach-steps li::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent, rgba(217,70,239,.50), transparent);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--t-base);
}
.approach-steps li:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.04);
  border-color: transparent;
}
.approach-steps li:hover::before { opacity: 1; }
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  color: var(--magenta-400);
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.approach-steps h3 {
  color: #fff; font-size: 22px; margin-bottom: 8px;
  font-weight: 700; letter-spacing: -0.02em;
}

/* ===========================================================
   CTA strip
   =========================================================== */
.cta-strip {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.18), transparent 50%),
    linear-gradient(135deg, var(--plum-800) 0%, var(--magenta-600) 100%);
  background-size: 100% 100%, 200% 200%;
  background-position: 80% 50%, 0% 50%;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  animation: cta-shift 12s ease-in-out infinite;
}
@keyframes cta-shift {
  0%,100% { background-position: 80% 50%, 0% 50%; }
  50%     { background-position: 20% 50%, 100% 50%; }
}
.cta-inner {
  text-align: center;
  max-width: 760px;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 12px;
  font-weight: 800; letter-spacing: -0.03em;
}
.cta-inner p { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.cta-inner .btn-primary {
  background: #fff;
  color: var(--plum-800);
  box-shadow: 0 8px 24px rgba(0,0,0,.30);
}
.cta-inner .btn-primary:hover {
  background: #F8F3FF;
  color: var(--plum-800);
}

/* ===========================================================
   Contact
   =========================================================== */
.contact-grid { align-items: start; }

.contact-hero {
  display: flex; flex-direction: column;
  gap: 4px;
  margin: 28px 0 8px;
  padding: 24px 24px;
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(217,70,239,.10));
  border: 1px solid rgba(217,70,239,.22);
  border-radius: var(--radius);
}
.contact-hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet-300);
}
.contact-hero-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, var(--magenta-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  margin-top: 4px;
  transition: opacity var(--t-fast);
}
.contact-hero-num:hover { opacity: .85; }
.contact-hero-num-fine {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .04em;
}

.contact-list {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.contact-list li {
  display: grid; grid-template-columns: 100px 1fr; gap: 16px;
  align-items: baseline;
}
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--magenta-400); }
.contact-label {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.contact-form {
  background: var(--bg-card);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.field .optional { color: var(--muted-2); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font: inherit; color: var(--ink);
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--magenta-500);
  background: var(--bg-elev);
  box-shadow: 0 0 0 4px rgba(217,70,239,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select option { background: var(--bg-elev); color: var(--ink); }
.form-note {
  font-size: 12px; color: var(--muted); margin: 4px 0 0;
}

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: var(--bg-deep);
  color: var(--ink-soft);
  padding: 72px 0 28px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(217,70,239,.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(139,92,246,.12), transparent 60%);
  pointer-events: none;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.brand-word-footer {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  font-size: 26px;
  letter-spacing: .22em;
}
.footer-tag { color: var(--muted); margin: 0; max-width: 28ch; font-size: 14px; line-height: 1.55; }
.footer-phone {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff, var(--magenta-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  transition: opacity var(--t-fast);
}
.footer-phone:hover { opacity: .82; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-nav h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--ink-soft);
  font-size: 15px;
  display: inline-block;
  padding: 4px 0;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-nav a:hover { color: #fff; transform: translateX(3px); }
.footer-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  position: relative;
  color: var(--muted);
}
.footer-fineprint { max-width: 60ch; }

/* ===========================================================
   Reveal-on-scroll
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.hero-title.reveal { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title .line > span { transform: none; opacity: 1; }
  .page-wipe { display: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 920px) {
  .two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-scroll-cue { display: none; }
}
@media (max-width: 760px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { min-height: auto; padding-top: 60px; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
  .hero-stats span { font-size: 13px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .marquee-track { font-size: 22px; gap: 24px; }
  .blob { filter: blur(50px); }
}
