@font-face {
  font-family: 'Delight';
  src: url('../fonts/Delight-VF.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #132238;
  --ink-soft: #41546c;
  --muted: #6c7d93;
  --bg: #f4f8fe;
  --card: #ffffff;
  --sky: #e9f1ff;
  --sky-2: #dbe8fb;
  --blue: #2563eb;
  --blue-deep: #1642a8;
  --blue-ghost: #eaf1ff;
  --accent: #38bdf8;
  --line: #e4edf8;
  --footer: #0e1f38;
  --radius: 18px;
  --radius-lg: 30px;
  --pill: 100px;
  --shadow: 0 24px 60px -30px rgba(24, 62, 130, .45);
  --shadow-sm: 0 12px 34px -20px rgba(24, 62, 130, .4);
  --maxw: 87.5rem;
  --ease: cubic-bezier(.22, .68, .28, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Delight', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Delight', system-ui, sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue-deep); }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
  display: inline-block;
}


.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Delight', system-ui, sans-serif; font-weight: 700; font-size: 15.5px;
  padding: 15px 26px; border-radius: 14px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.4) 50%, transparent 75%);
  transform: translateX(-130%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateX(130%); }
.btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1b52d6); color: #fff;
  box-shadow: 0 12px 22px -10px rgba(37,99,235,.75), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 30px -12px rgba(37,99,235,.85), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 8px 18px -12px rgba(24,62,130,.4); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(37,99,235,.4); }
.btn-light { background: #fff; color: var(--blue-deep); box-shadow: 0 12px 24px -12px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -12px rgba(0,0,0,.4); }

.section { padding: 76px 0; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.site-header.solid {
  background: rgba(244, 248, 254, .88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 11px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
  font-size: 21px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.03em; display: flex; align-items: center; gap: 11px; white-space: nowrap;
}
.brand a { color: inherit; }
.brand-logo { height: 38px; width: auto; display: block; }
.site-header:not(.solid) .brand-logo { }
.home .site-header:not(.solid) .brand-logo { filter: brightness(0) invert(1); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 12px;
  background: linear-gradient(140deg, var(--blue), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 700; flex: none;
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .8);
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  padding: 9px 15px; border-radius: var(--pill); position: relative;
}
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--blue); }
.site-header:not(.solid) .nav > a { color: var(--ink-soft); }
.site-header:not(.solid) .nav > a:hover,
.site-header:not(.solid) .nav > a.active { color: var(--blue); }
.home .site-header:not(.solid) .nav > a { color: rgba(255,255,255,.85); }
.home .site-header:not(.solid) .nav > a:hover,
.home .site-header:not(.solid) .nav > a.active { color: #fff; }
.nav .btn { margin-left: 10px; padding: 11px 22px; }
.site-header .nav > a.btn,
.site-header:not(.solid) .nav > a.btn,
.site-header:not(.solid) .nav > a.btn:hover { color: #fff; }
.nav .btn-primary, .nav .btn-primary:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }

@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 120; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    background: linear-gradient(160deg, #143a8f, #0e1f38); padding: 100px 26px 40px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.3);
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: rgba(255,255,255,.82); font-size: 18px; padding: 13px 8px; }
  .nav a:hover, .nav a.active { color: #fff; }
  .nav a.active::after { display: none; }
  .nav .btn { margin: 16px 8px 0; justify-content: center; }
  body.nav-open { overflow: hidden; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 140px 0 70px;
  background: radial-gradient(1200px 600px at 80% -10%, #dcebff 0%, rgba(220,235,255,0) 60%), linear-gradient(180deg, #eaf2ff 0%, var(--bg) 70%);
}
.hero .blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; z-index: 0; }
.hero .blob.b1 { width: 340px; height: 340px; background: radial-gradient(circle at 30% 30%, #bcd6ff, transparent 70%); top: -60px; left: -80px; }
.hero .blob.b2 { width: 260px; height: 260px; background: radial-gradient(circle at 30% 30%, #b8ecff, transparent 70%); bottom: 40px; right: 8%; opacity: .45; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); max-width: 14ch; margin-bottom: 22px; }
.hero h1 .hl { color: var(--blue); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 52ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sticky video hero */
.hero-stage { position: relative; height: 210vh; }
.hero.hero-video {
  position: sticky; top: 0; height: 100vh; min-height: 600px;
  padding: 0; display: flex; align-items: center; overflow: hidden; color: #fff; background: #0a1428;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .hero-fallback, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { z-index: 1; }
.hero-veil { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(105deg, rgba(8,18,40,.9) 0%, rgba(8,18,40,.62) 46%, rgba(8,18,40,.28) 100%); }
.hero-veil::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,18,40,.55), transparent 34%); }
.hero-video .hero-content { position: relative; z-index: 3; width: 100%; padding-top: 96px; }
.hero-video .hero-copy { max-width: 720px; }
.hero-video .eyebrow { color: var(--accent); }
.hero-video h1 { color: #fff; font-size: clamp(2.7rem, 7vw, 5rem); max-width: 15ch; margin-bottom: 22px; }
.hero-video h1 .hl { color: var(--accent); }
.hero-video .lead { color: rgba(255,255,255,.86); max-width: 56ch; }
.hero-video .scroll-cue { color: rgba(255,255,255,.85); }
.hero-video .scroll-cue .track { border-color: rgba(255,255,255,.5); }
.hero-video .scroll-cue .track::after { background: #fff; }

.after-hero {
  position: relative; z-index: 5; background: var(--bg);
  border-radius: 40px 40px 0 0; margin-top: -52px;
  box-shadow: 0 -34px 70px -30px rgba(11,28,58,.4);
}
@media (max-width: 899px) {
  .hero-stage { height: auto; }
  .hero.hero-video { position: relative; height: auto; min-height: 88vh; padding: 40px 0; }
  .after-hero { margin-top: -40px; }
}
.hero-visual { position: relative; }
.hero-img-card {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 5 / 4; background: linear-gradient(140deg, var(--blue), var(--accent)); position: relative;
  transform: rotate(-1.4deg);
}
.hero-img-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute; z-index: 3; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: var(--pill);
  font-weight: 700; font-size: 13.5px; color: var(--ink); box-shadow: var(--shadow-sm);
}
.hero-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(56,189,248,.28); }
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700;
}
.scroll-cue .track { width: 22px; height: 34px; border: 2px solid var(--sky-2); border-radius: var(--pill); position: relative; }
.scroll-cue .track::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; border-radius: 3px; margin-left: -2px; background: var(--blue); animation: cueDrop 1.6s var(--ease) infinite; }
@keyframes cueDrop { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 70% { opacity: 1; transform: translateY(12px); } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 899px) { .scroll-cue { display: none; } }
.hero-dots { position: absolute; z-index: 1; width: 120px; height: 120px; right: -14px; bottom: -20px;
  background-image: radial-gradient(var(--blue) 2px, transparent 2px); background-size: 16px 16px; opacity: .3; }
.hero-img-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.4);
}
.hero-ring {
  position: absolute; z-index: 1; width: 90px; height: 90px; border-radius: 50%;
  border: 2px dashed rgba(37,99,235,.35); top: -26px; left: -22px;
}

/* Marquee */
.marquee { position: relative; z-index: 2; margin-top: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .m-item { display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); white-space: nowrap; }
.marquee .m-item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Page hero (light) */
.page-hero {
  position: relative; overflow: hidden; padding: 148px 0 70px;
  background: radial-gradient(900px 500px at 85% -20%, #d4e6ff, rgba(212,230,255,0) 60%), linear-gradient(180deg, #e9f1ff, var(--bg) 80%);
}
.page-hero .blob { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #c3daff, transparent 70%); top: -70px; left: -70px; opacity: .55; }
.page-hero .wrap { position: relative; z-index: 2; }
.careers-hero { padding-bottom: 84px; }
.careers-hero .lead { margin-top: 14px; }
.ch-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.ch-visual { position: relative; }
@media (min-width: 900px) {
  .careers-hero { padding: 168px 0 96px; }
  .ch-grid { grid-template-columns: 1.05fr .95fr; gap: 60px; }
}
.page-hero::after {
  content: ""; position: absolute; right: 4%; bottom: 30px; width: 140px; height: 140px; z-index: 1;
  background-image: radial-gradient(var(--blue) 2px, transparent 2px); background-size: 18px 18px; opacity: .2;
}
.page-hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.24rem); max-width: 60ch; margin-top: 10px; }

/* Section heads */
.section-head { max-width: 60ch; margin-bottom: 46px; }
.section-head.center { margin: 0 auto 46px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 8px; }
.lead-block { max-width: 68ch; }
.lead-block p { font-size: 1.12rem; }

/* Careers intro split */
.intro-split { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.intro-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.intro-media:hover img { transform: scale(1.05); }
.intro-copy { position: relative; }
.intro-lead { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--ink); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.intro-copy p:last-child { color: var(--muted); font-size: 1.05rem; }
@media (min-width: 900px) { .intro-split { grid-template-columns: .85fr 1.15fr; gap: 60px; } }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; overflow: hidden;
}
.feature > * { position: relative; z-index: 1; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; overflow: hidden;
}
.card-img {
  margin: -32px -30px 22px; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--sky-2);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 1.35rem; margin: 0 0 10px; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Horizontal card rail */
.card-rail-wrap { position: relative; }
.card-rail-wrap::after {
  content: ""; position: absolute; top: 0; right: -22px; width: 60px; bottom: 22px;
  background: linear-gradient(90deg, transparent, var(--sky)); pointer-events: none; z-index: 2;
}
.card-rail {
  overflow-x: auto; overflow-y: hidden; margin: 0 -22px; padding: 6px 22px 22px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; cursor: grab; scroll-behavior: smooth;
}
.card-rail::-webkit-scrollbar { display: none; }
.card-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.card-rail.dragging .card { pointer-events: none; }
.card-track { display: flex; gap: 20px; width: max-content; }
.card-rail .card {
  scroll-snap-align: start; flex: 0 0 300px; width: 300px;
}
.rail-foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.rail-progress { flex: 1; height: 4px; border-radius: var(--pill); background: var(--sky-2); overflow: hidden; }
.rail-progress span { display: block; height: 100%; width: 30%; border-radius: var(--pill); background: linear-gradient(90deg, var(--blue), var(--accent)); transform-origin: left; }
.rail-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.rail-hint svg { width: 30px; height: 16px; animation: railNudge 1.8s var(--ease) infinite; }
@keyframes railNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.card-rail.dragging ~ .rail-foot .rail-hint svg { animation: none; }
@media (min-width: 640px) { .card-rail .card { flex-basis: 340px; width: 340px; } }

/* Deliverables */
.deliverables-band { position: relative; overflow: hidden; background: var(--footer); }
.deliverables-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.5) 1.5px, transparent 1.5px); background-size: 30px 30px; opacity: .05; }
.deliverables-band .wrap { position: relative; z-index: 2; }
.deliverables-band .section-head h2, .deliverables-band .eyebrow { color: #fff; }
.deliverables-band .eyebrow { color: var(--accent); }
.deliverables { display: grid; grid-template-columns: 1fr; gap: 18px; }
.deliverable {
  background: rgba(255,255,255,.05); border-radius: var(--radius-lg); padding: 30px 30px; position: relative;
  display: grid; gap: 8px; transition: transform .35s var(--ease), background .35s var(--ease); border: 1px solid rgba(255,255,255,.1);
}
.deliverable:hover { transform: translateY(-5px); background: rgba(255,255,255,.09); }
.deliverable .dnum { font-weight: 700; color: var(--accent); font-size: 15px; }
.deliverable h3 { font-size: 1.4rem; margin: 0; color: #fff; }
.deliverable p { color: rgba(255,255,255,.7); margin: 0; }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; margin-bottom: 56px; scroll-margin-top: 100px; }
.split:last-child { margin-bottom: 0; }
.split .split-media {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--sky-2); box-shadow: var(--shadow); position: relative;
}
.split .split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.split:hover .split-media img { transform: scale(1.05); }
.split .split-media::after {
  content: ""; position: absolute; right: 18px; bottom: 18px; width: 68px; height: 68px;
  background-image: radial-gradient(rgba(255,255,255,.85) 2px, transparent 2px); background-size: 14px 14px; opacity: .5;
}
.split .split-index {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--blue-ghost); color: var(--blue); font-weight: 700; font-size: 19px; margin-bottom: 18px;
}
.split h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.split p { color: var(--ink-soft); }
.support-line { margin-top: 20px; padding: 20px 24px; background: var(--sky); border: 1px solid var(--sky-2); border-radius: var(--radius); font-size: 0.97rem; }
.support-line strong { color: var(--blue-deep); display: block; margin-bottom: 6px; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }

/* Industry tiles */
.industry-tiles { display: grid; grid-template-columns: 1fr; gap: 22px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: inherit; display: block;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile .tile-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky-2); position: relative; }
.tile .tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.08); }
.tile .tile-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,28,58,.55), transparent 55%); opacity: 0; transition: opacity .5s var(--ease); }
.tile:hover .tile-img::after { opacity: 1; }
.tile-body { padding: 26px 28px 30px; }
.tile-body h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--ink); }
.tile-body p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.tile .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }

/* Quote band */
.quote-band { position: relative; overflow: hidden; text-align: center; color: #fff; }
.quote-band .quote-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); animation: quoteZoom 18s var(--ease) infinite alternate; }
@keyframes quoteZoom { to { transform: scale(1); } }
.quote-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,28,58,.9), rgba(22,52,120,.78)); }
.quote-band .wrap { position: relative; z-index: 2; max-width: 1040px; padding-top: 30px; padding-bottom: 30px; }
.quote-band h2.quote-lead {
  color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; margin: 0; letter-spacing: -0.02em;
}
.quote-band h2.quote-lead .wm > span { transition-duration: 1s; }
.quote-band cite {
  display: block; margin-top: 30px; font-style: normal; font-size: 0.9rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7);
  opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s;
}
.quote-band .reveal.in cite { opacity: 1; transform: none; }
.quote-band cite::before { content: ""; display: block; width: 46px; height: 2px; background: var(--accent); margin: 0 auto 16px; transform: scaleX(0); transition: transform .7s var(--ease) .7s; }
.quote-band .reveal.in cite::before { transform: scaleX(1); }

/* Why intro (copy + image) */
.why-intro { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; margin-bottom: 46px; }
.why-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.why-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.why-media:hover img { transform: scale(1.05); }
.why-media .why-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-sm); max-width: 74%;
}
.why-media .why-badge strong { display: block; color: var(--ink); font-size: 1.02rem; }
.why-media .why-badge span { color: var(--muted); font-size: 0.86rem; }
@media (min-width: 900px) { .why-intro { grid-template-columns: .95fr 1.05fr; gap: 56px; } }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #1b52d6 55%, var(--blue-deep) 100%);
  border-radius: var(--radius-lg);
}
.cta-band-outer { padding: 0 22px; max-width: var(--maxw); margin: 0 auto; }

.cta-band::after { content: ""; position: absolute; left: -60px; bottom: -120px; width: 260px; height: 260px; background: rgba(255,255,255,.06); border-radius: 50%; }
.cta-inner { position: relative; z-index: 2; padding: 60px 44px; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 52ch; margin-top: 6px; }

/* Case studies */
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; display: grid; grid-template-columns: 1fr; box-shadow: var(--shadow-sm); }
.case-media { min-height: 240px; position: relative; background: var(--sky-2); }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 36px 32px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 7px 14px; background: var(--blue-ghost); color: var(--blue-deep); border-radius: var(--pill); }
.case-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.case-outcome { margin-top: 22px; padding: 20px 22px; background: var(--sky); border-radius: var(--radius); font-size: 1.02rem; color: var(--ink); }
.case-outcome strong { color: var(--blue); text-transform: uppercase; font-size: 12px; letter-spacing: .09em; display: block; margin-bottom: 6px; }

/* Contact + forms */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-detail { display: grid; gap: 22px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.contact-item .label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 4px; }
.contact-item .val { font-size: 1.3rem; color: var(--ink); font-weight: 600; }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow); }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.row { grid-template-columns: 1fr; }
label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
input, select, textarea {
  font-family: 'Delight', system-ui, sans-serif; font-size: 15px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
textarea { resize: vertical; min-height: 130px; }

/* Careers perks */
.perk-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.perk { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.perk:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.perk .picon { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-ghost); display: grid; place-items: center; color: var(--blue); margin-bottom: 18px; }
.perk h3 { font-size: 1.2rem; margin-bottom: 8px; }
.perk p { color: var(--muted); font-size: 0.96rem; margin: 0; }

.role { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.role-head { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: inherit; }
.role-head h3 { font-size: 1.3rem; margin: 0 0 6px; }
.role-head .role-meta { font-size: 13.5px; color: var(--muted); }
.role-toggle { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-ghost); display: grid; place-items: center; transition: background .3s var(--ease), transform .3s var(--ease), color .3s; color: var(--blue); }
.role.open .role-toggle { background: var(--blue); color: #fff; transform: rotate(45deg); }
.role-panel { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.role-panel-inner { padding: 4px 30px 32px; }
.role-panel-inner h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 20px 0 10px; }
.role-panel-inner ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.role-panel-inner li { margin-bottom: 7px; }

/* Footer CTA */
.footer-cta { padding: 76px 0; background: var(--footer); }
.footer-cta h2 { color: #fff; }
.footer-cta .eyebrow { color: var(--accent); }
.footer-cta > .wrap > .contact-layout > div p { color: rgba(255,255,255,.72); }
.footer-cta label { color: #fff; }
.footer-cta .form-card { background: #16294a; border-color: rgba(255,255,255,.12); }
.footer-cta input, .footer-cta textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.footer-cta input:focus, .footer-cta textarea:focus { background: rgba(255,255,255,.1); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(56,189,248,.15); }
.footer-cta .contact-layout { align-items: center; }

/* Footer */
.site-footer { background: var(--footer); color: rgba(255,255,255,.7); padding: 64px 0 34px; font-size: 14.5px; }
.footer-top { display: block; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { margin: 0; }
.footer-logo { height: 46px; width: auto; filter: brightness(0) invert(1); }
.footer-reach { margin-bottom: 60px; }
.footer-reach-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 24px; }
.footer-contacts {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer-main { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.fcontact {
  display: grid; gap: 6px; padding: 24px 4px;
  border-bottom: 1px solid rgba(255,255,255,.14); color: inherit;
  transition: color .25s var(--ease), padding-left .3s var(--ease);
}
a.fcontact:hover { padding-left: 14px; color: #fff; }
.fc-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.fc-val { font-size: 1.3rem; font-weight: 600; color: #fff; line-height: 1.35; }
a.fcontact .fc-val { position: relative; display: inline-block; }
a.fcontact .fc-val::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--accent); transition: right .3s var(--ease); }
a.fcontact:hover .fc-val::after { right: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: rgba(255,255,255,.72); }
.footer-nav a:hover { color: #fff; }
.footer-contact a { color: var(--accent); }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

.form-status { margin-top: 4px; font-weight: 700; color: var(--blue); }

/* layout / spacing utilities */
.section--sky { background: var(--sky); }
.section--flush-bottom { padding-bottom: 0; }
.section--roles { background: var(--sky); padding-top: 80px; }
.stack-cta { margin-top: 40px; }
.text-center { text-align: center; }
.balance { text-wrap: balance; }
.eyebrow--light { color: #bfe0ff; }
.case-client { color: var(--blue); font-weight: 700; margin-bottom: 16px; }
.apply-note { margin-top: 20px; }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  background: var(--footer); color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
  padding: 22px 24px; max-width: 420px; margin: 0;
  transform: translateY(140%); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-inner { display: grid; gap: 18px; }
.cookie-copy h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.cookie-copy p { font-size: 0.92rem; margin: 0; }
.cookie-copy a { color: var(--accent); }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions .btn { padding: 12px 24px; font-size: 14.5px; }
.cookie-decline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cookie-decline:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
@media (min-width: 620px) {
  .cookie-banner { left: auto; right: 24px; }
}

/* Legal / privacy */
.legal { max-width: 76ch; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); }
.legal ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 12px; }
.legal li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.legal li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 4px;
  background: linear-gradient(140deg, var(--blue), var(--accent));
}
.legal a { font-weight: 600; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { opacity: 0; clip-path: inset(0 0 12% 0); transform: scale(1.04); transition: opacity .9s cubic-bezier(.16,.8,.3,1), clip-path .9s cubic-bezier(.16,.8,.3,1), transform .9s cubic-bezier(.16,.8,.3,1); }
.reveal-img.in { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Masked word reveal (Halston/Webflow style) */
.rtext .wm { display: inline-block; overflow: hidden; vertical-align: top; }
.rtext .wm > span { display: inline-block; transform: translateY(112%); transition: transform .8s cubic-bezier(.16,.85,.3,1); }
.rtext.in .wm > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rtext .wm > span { transform: none !important; }
}

/* Floating motion */
@keyframes floatSlow { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-22px) scale(1.04); } }
@media (prefers-reduced-motion: no-preference) {
  .hero .blob.b1 { animation: floatSlow 9s var(--ease) infinite; }
  .hero .blob.b2 { animation: floatSlow 11s var(--ease) infinite .6s; }
  .page-hero .blob { animation: floatSlow 10s var(--ease) infinite; }
}

/* Hero on-load entrance */
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: rotate(-1.4deg) scale(.9); } to { opacity: 1; transform: rotate(-1.4deg) scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; animation: riseIn .85s var(--ease) both; }
  .hero-copy .eyebrow { animation-delay: .08s; }
  .hero-copy h1 { animation-delay: .2s; }
  .hero-copy .lead { animation-delay: .38s; }
  .hero-copy .hero-actions { animation-delay: .54s; }
  .hero-img-card { animation: popIn 1s var(--ease) .3s both; }
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .industry-tiles { grid-template-columns: 1fr 1fr; }
  .perk-grid { grid-template-columns: 1fr 1fr; }
  .deliverables { grid-template-columns: 1fr 1fr; }
  .field.row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .section { padding: 100px 0; }
  .hero { padding: 170px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 60px; }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 90px; }
  .split.flip .split-media { order: 2; }
  .case { grid-template-columns: 1fr 1.35fr; }
  .case-media { min-height: 100%; }
  .contact-layout { grid-template-columns: .9fr 1.1fr; gap: 60px; }
  .footer-top { align-items: start; }
  .footer-contacts { grid-auto-flow: column; grid-template-columns: none; justify-content: stretch; gap: 32px; border-top: 1px solid rgba(255,255,255,.14); }
  .footer-contacts .fcontact { border-bottom: none; border-right: 1px solid rgba(255,255,255,.14); padding: 26px 32px 26px 0; }
  .footer-contacts .fcontact:first-child { padding-left: 0; }
  .footer-contacts .fcontact:last-child { border-right: none; }
  a.fcontact:hover { padding-left: 14px; }
  .footer-contacts .fcontact:first-child:hover { padding-left: 14px; }
  .footer-main { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-inner { padding: 76px 64px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
}
@media (min-width: 1050px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .perk-grid { grid-template-columns: repeat(4, 1fr); }
}
