/* IRAAVERSE — corporate site styles */
:root {
  /* Palette drawn from the IRAAVERSE logo */
  --night: #060a1c;     /* logo background */
  --navy: #0a1433;      /* headings */
  --navy-2: #13245a;
  --blue: #1f5fff;      /* logo blue */
  --blue-mid: #2a8cff;
  --blue-dark: #1648d8;
  --cyan: #2ad1ff;      /* logo cyan */
  --gradient: linear-gradient(90deg, #1f5fff 0%, #2a8cff 55%, #2ad1ff 100%);
  --ink: #1a2440;
  --muted: #5a6785;
  --line: #e2e8f3;
  --bg: #ffffff;
  --bg-alt: #f3f6fc;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(10, 20, 51, 0.08);
  --max: 1180px;
  --font-head: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15; margin: 0 0 0.6em; color: var(--navy);
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9em 1.7em; border-radius: 8px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: var(--font-head); letter-spacing: -0.005em;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(90deg, var(--blue), var(--blue-mid)); color: #fff; box-shadow: 0 6px 18px rgba(31,95,255,.28); }
.btn-primary:hover { background: linear-gradient(90deg, var(--blue-dark), var(--blue)); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.92rem; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 600; color: var(--blue); margin-bottom: .8em;
}

/* Arrow text links (Explore …) */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--blue);
}
.link-arrow::after { content: "\2192"; transition: transform .2s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-light { color: #fff; }
.tag {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .1em; font-size: .72rem; font-weight: 600; color: var(--blue); margin-bottom: .5em;
}
.small { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,11,30,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.logo { height: 25px; width: auto; }
.brand-light .logo { height: 28px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: #c9d4e5; font-weight: 500; font-size: .98rem; font-family: var(--font-head); letter-spacing: .02em; }
.site-nav a:not(.btn):hover { color: #fff; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  min-height: calc(100vh - 68px); min-height: calc(100svh - 68px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--night);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-photo {
  position: absolute; inset: -4%;
  background:
    linear-gradient(100deg, rgba(6,10,28,.92) 0%, rgba(6,10,28,.72) 38%, rgba(6,10,28,.12) 100%),
    url("/images/hero.jpg") center / cover no-repeat;
  animation: heroZoom 28s ease-in-out infinite alternate;
}
.hero-bg::after { /* fade into the page at the bottom */
  content: ""; position: absolute; inset: auto 0 0 0; height: 22%;
  background: linear-gradient(to top, rgba(6,10,28,.85), rgba(6,10,28,0));
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-1 { width: 460px; height: 460px; right: -160px; top: -180px; background: #1f5fff; opacity: .4; animation: drift 18s ease-in-out infinite alternate; }
.orb-2 { width: 320px; height: 320px; right: 22%; bottom: 4%; background: #2ad1ff; opacity: .14; animation: drift 22s ease-in-out infinite alternate-reverse; }
.orbits { position: absolute; width: min(900px, 80vw); right: -14%; top: 50%; transform: translateY(-55%); opacity: .9; }
.orbits g { transform-origin: 400px 400px; }
.spin-slow { animation: spin 60s linear infinite; }
.spin-slow2 { animation: spin 90s linear infinite; }
.spin-rev { animation: spin 75s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.08); } }
@keyframes heroZoom { to { transform: scale(1.06); } }

.hero-inner { position: relative; padding: clamp(64px, 11vh, 130px) 24px 40px; max-width: var(--max); }
.hero .eyebrow { color: var(--cyan); letter-spacing: .14em; }
.display {
  color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 600;
  letter-spacing: -0.035em; line-height: 1.02; margin: 0 0 24px;
}
.display span { display: block; }
.display .grad {
  background: linear-gradient(90deg, #3d7bff 0%, #2a9dff 45%, #2ad1ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero .lead { font-size: clamp(1.05rem, 1.3vw, 1.15rem); max-width: 560px; color: #d6e0ee; }
.hero-cta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin: 32px 0 0; }

/* Load-in animation */
.hero-rise { opacity: 0; transform: translateY(24px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Featured tiles at the foot of the hero */
.hero-tiles {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-bottom: 40px; border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12);
  padding: 0; width: calc(100% - 48px); max-width: calc(var(--max) - 48px);
}
.tile-link {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px;
  background: rgba(10,20,51,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; position: relative; transition: background .25s;
}
.tile-link::after {
  content: "\2192"; position: absolute; right: 22px; bottom: 20px; color: var(--cyan);
  transition: transform .25s;
}
.tile-link:hover { background: rgba(31,95,255,.28); text-decoration: none; }
.tile-link:hover::after { transform: translateX(4px); }
.tile-label { font-family: var(--font-head); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.tile-title { font-family: var(--font-head); font-size: .98rem; font-weight: 500; line-height: 1.35; padding-right: 22px; letter-spacing: -0.01em; }

/* Proof band */
.proof { background: var(--night); color: #c8d3ea; border-top: 1px solid rgba(255,255,255,.06); }
.proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.proof-item { padding: 40px 24px 44px; border-left: 1px solid rgba(255,255,255,.08); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item strong {
  display: block; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(2rem, 3.2vw, 2.75rem); margin-bottom: 10px;
  background: linear-gradient(90deg, #ffffff, #9cc4ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof-item > span { font-size: .95rem; line-height: 1.5; display: block; max-width: 240px; }

/* Clients strip */
.clients { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0; }
.clients-inner { display: flex; align-items: center; gap: 48px; }
.clients-label { flex: none; margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 130px; line-height: 1.4; }
.client-marquee { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.client-track { display: flex; width: max-content; animation: clientScroll 32s linear infinite; }
.client-marquee:hover .client-track { animation-play-state: paused; }
.client-list { list-style: none; margin: 0; padding: 0 72px 0 0; display: flex; align-items: center; gap: 72px; flex-wrap: nowrap; }
@keyframes clientScroll { to { transform: translateX(-50%); } }
.client-list li { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; color: #8a96b0; transition: color .2s; }
.client-list li:hover { color: var(--navy); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-head-left { margin: 0 0 48px; text-align: left; }
.sub-head { margin-top: 96px; }

/* Intro statement */
.statement-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.statement h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0; }
.statement h2 span { display: block; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement p { color: var(--muted); font-size: 1.08rem; }
.pill-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill-links a {
  border: 1.5px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 9px 20px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s;
}
.pill-links a:hover { background: var(--navy); color: #fff; text-decoration: none; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #cfd8e3; }
.service-card { padding: 32px 28px 32px 0; display: flex; flex-direction: column; }
.service-card + .service-card { padding-left: 28px; border-left: 1px solid #cfd8e3; }
.service-card .num { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1rem; margin-bottom: 14px; }
.service-card p { color: var(--muted); flex: 1; }

/* How we help — story rows */
.story-list { display: grid; gap: 40px; }
.story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.story:last-child { border-bottom: 0; padding-bottom: 0; }
.story:nth-child(even) .story-media { order: 2; }
.story-media img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }
.story-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.025em; }
.story-body p:not(.tag) { color: var(--muted); }

/* Technology stacks — dark section, expandable rows */
.stacks-section {
  position: relative; color: var(--ink);
  background:
    radial-gradient(60% 55% at 0% 0%, rgba(31,95,255,.09), transparent 65%),
    radial-gradient(50% 45% at 100% 100%, rgba(42,209,255,.10), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #eef3fd 100%);
  border-top: 1px solid var(--line);
}
.stacks-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 72px; align-items: start; }
.stacks-head { position: sticky; top: 110px; }
.stacks-head .eyebrow { color: var(--blue); }
.stacks-head h2 { color: var(--navy); }
.stacks-head p { color: var(--muted); font-size: 1.05rem; }
.stacks-hint { font-size: .92rem !important; color: #8a96b0 !important; margin-bottom: 28px; }

.stack-list { display: grid; gap: 12px; counter-reset: stack; }
.stack {
  position: relative; overflow: hidden; counter-increment: stack;
  background: #fff; border: 1px solid #dde5f2; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(10,20,51,.04);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.stack::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--cyan)); opacity: 0; transition: opacity .25s;
}
.stack:hover { border-color: rgba(31,95,255,.35); box-shadow: 0 8px 24px rgba(10,20,51,.07); }
.stack[open] {
  background: linear-gradient(160deg, #f1f5ff 0%, #ffffff 55%);
  border-color: rgba(31,95,255,.4); box-shadow: 0 20px 48px rgba(31,95,255,.12);
}
.stack[open]::before { opacity: 1; }

.stack summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 22px 24px;
}
.stack summary::-webkit-details-marker { display: none; }
.stack summary:focus-visible { outline-offset: -3px; border-radius: 14px; }
.stack summary .icon {
  margin: 0; flex: none; background: linear-gradient(135deg, #e8eeff, #e3f8ff); border: 1px solid rgba(31,95,255,.15);
  transition: background .25s, border-color .25s;
}
.stack summary .icon svg { stroke: var(--blue); transition: stroke .25s; }
.stack[open] summary .icon { background: linear-gradient(135deg, var(--blue), var(--cyan)); border-color: transparent; }
.stack[open] summary .icon svg { stroke: #fff; }

.stack-title { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.stack-title strong {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); line-height: 1.25;
}
.stack-title strong::before {
  content: counter(stack, decimal-leading-zero); font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  color: #8a9bc4; margin-right: 12px; vertical-align: 3px;
}
.stack-title span { color: var(--muted); font-size: .95rem; }

.stack-toggle {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #c9d4e8;
  position: relative; transition: background .25s, border-color .25s, transform .3s;
}
.stack:hover .stack-toggle { border-color: var(--blue); }
.stack-toggle::before, .stack-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px;
  background: var(--navy); transform: translate(-50%, -50%);
}
.stack-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.stack[open] .stack-toggle { background: linear-gradient(135deg, var(--blue), var(--cyan)); border-color: transparent; transform: rotate(180deg); }
.stack[open] .stack-toggle::before, .stack[open] .stack-toggle::after { background: #fff; }
.stack[open] .stack-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

.stack-panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px;
  margin: 0 24px; padding: 22px 0 26px 68px; border-top: 1px solid #e4eaf5;
  animation: stackIn .35s ease;
}
@keyframes stackIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.stack-group h4 {
  font-family: var(--font-head); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  color: var(--blue); margin-bottom: 12px;
}
.tech-list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.tech-list li { position: relative; padding: 14px 16px 14px 20px; background: #f7f9fe; border: 1px solid #e3e9f5; border-radius: 10px; transition: border-color .2s, background .2s; }
.tech-list li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--blue), var(--cyan)); }
.tech-list li:hover { border-color: #c9d7f3; background: #fff; }
.tech-list strong { display: block; font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 3px; }
.tech-list span { display: block; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  background: #f5f8fe; border: 1px solid #dde5f2; border-radius: 999px;
  padding: 6px 14px; font-size: .88rem; color: var(--ink); transition: border-color .2s, background .2s, color .2s;
}
.chips li:hover { border-color: var(--blue); background: #eef3ff; color: var(--blue); }

/* Why IRAAVERSE */
.why-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.why-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin: 0; }
.commitments {
  list-style: none; margin: 0; padding: 8px 28px; border-radius: var(--radius);
  background: radial-gradient(120% 140% at 100% 0%, #13245a 0%, var(--night) 70%); color: #c8d3ea;
}
.commitments li { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; }
.commitments li + li { border-top: 1px solid rgba(255,255,255,.1); }
.commitments strong {
  flex: none; width: 170px; font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em;
  background: linear-gradient(90deg, #6aa5ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.commitments span { font-size: .95rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 36px 32px 36px 0; border-bottom: 1px solid var(--line); position: relative; }
.pillar:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--gradient); transition: width .35s ease;
}
.pillar:hover::before { width: 100%; }
.pillar p { color: var(--muted); margin: 0; font-size: .97rem; }
.pillar .icon { margin-bottom: 20px; }

/* Our thinking — featured insights */
.thinking-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.thinking-head h2 { margin: 0; }
.thinking-head > p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.thinking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ins-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ins-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(10,20,51,.10); border-color: rgba(31,95,255,.3); }
.ins-thumb { overflow: hidden; aspect-ratio: 16 / 10; }
.ins-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ins-card:hover .ins-thumb img { transform: scale(1.05); }
.ins-body { flex: 1; display: flex; flex-direction: column; padding: 24px 26px 26px; }
.ins-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); margin: 0 0 14px; }
.ins-topic {
  font-family: var(--font-head); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: #e8eeff; color: var(--blue);
}
.ins-card h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: .55em; }
.ins-dek { color: var(--muted); font-size: .95rem; margin: 0 0 20px; flex: 1; }
.ins-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.ins-time { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.ins-open { background: none; border: 0; padding: 0; cursor: pointer; }
.ins-open::before { content: ""; position: absolute; inset: 0; z-index: 2; } /* whole card is clickable */

/* Article dialog */
.ins-dialog {
  width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 18px;
  overflow: auto; color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(6,10,28,.45);
}
.ins-dialog::backdrop { background: rgba(6,10,28,.72); backdrop-filter: blur(6px); }
.ins-dialog[open] { animation: dlgIn .35s cubic-bezier(.2,.7,.2,1); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.ins-dialog-media img { width: 100%; height: 240px; object-fit: cover; }
.ins-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(6,10,28,.6); color: #fff; font-size: 1.6rem; line-height: 1; backdrop-filter: blur(6px);
}
.ins-close:hover { background: var(--blue); }
.ins-dialog-body { padding: 32px 40px 36px; }
.ins-dialog-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5em; }
.ins-dialog-body .ins-meta { color: var(--muted); }
.ins-lead { font-size: 1.12rem; color: var(--navy); font-weight: 500; }
.ins-dialog-body p, .ins-dialog-body li { color: #3d4966; line-height: 1.7; }
.ins-dialog-body h3 { margin-top: 1.4em; }
.ins-dialog-body ul { padding-left: 1.2em; }
.ins-dialog-body li { margin-bottom: 10px; }
.ins-dialog-body li strong { color: var(--navy); }
.ins-dialog-cta {
  margin-top: 28px; padding: 22px 24px; border-radius: 12px; background: var(--bg-alt);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.ins-dialog-cta p { margin: 0; font-weight: 600; color: var(--navy); }

.section-dark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #d6e0ee; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--cyan); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
.split-reverse .split-media { order: 2; }
.split-body p { color: var(--muted); }

/* Expertise cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d6ea; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 18px;
  background: linear-gradient(135deg, #e8eeff, #e3f8ff); display: grid; place-items: center;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process li { padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.process p { margin: 0; font-size: .93rem; color: #b9c7db; }
.step { display: inline-block; font-weight: 800; font-size: 1.6rem; color: var(--cyan); margin-bottom: 10px; }

/* Industries */
.industry-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.industry-list li {
  padding: 18px 16px; text-align: center; border: 1px solid var(--line); border-radius: 10px;
  font-weight: 600; font-size: .93rem; color: var(--navy); background: var(--bg-alt);
}

/* Check lists */
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat, var(--gradient);
}
.checks strong { color: var(--navy); }
.checks-light li { color: #d6e0ee; }

/* Careers */
.careers { position: relative; color: #d6e0ee; overflow: hidden; }
.careers-bg {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,10,28,.95), rgba(19,36,90,.82)), url("/images/office.jpg") center / cover no-repeat;
}
.careers-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.careers h2 { color: #fff; }
.careers .eyebrow { color: var(--cyan); }
.careers-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 36px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.careers-card p { color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-grid > div > p { color: var(--muted); }
.contact-info { margin: 28px 0 0; }
.contact-info div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-info dd { margin: 2px 0 0; font-weight: 600; }
.contact-info address { font-style: normal; font-weight: 500; line-height: 1.55; }
.contact-info address a { color: var(--ink); }
.contact-info address a:hover { color: var(--blue); }
.footer-address { font-style: normal; font-size: .88rem; line-height: 1.6; opacity: .75; margin-top: 14px; }
.contact-form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 8px; font: inherit;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,95,255,.15); }
.field .invalid { border-color: #d93025; }
.form-note { margin: 14px 0 0; font-size: .92rem; min-height: 1.4em; }
.form-note.error { color: #d93025; }
.form-note.ok { color: #0f7a55; }
.form-note a { color: inherit; text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form button[disabled] { opacity: .65; cursor: progress; }

/* Simple pages (404, thank you) */
.simple-page { min-height: 100vh; display: flex; flex-direction: column; background:
  radial-gradient(60% 50% at 100% 0%, rgba(42,209,255,.14), rgba(42,209,255,0)),
  radial-gradient(60% 50% at 0% 100%, rgba(31,95,255,.10), rgba(31,95,255,0)),
  linear-gradient(165deg, #fff 0%, #f3f7ff 100%); }
.simple-top { padding: 28px 0; }
.simple-top img { height: 26px; width: auto; display: block; }
.simple-body { flex: 1; display: flex; align-items: center; padding: 48px 0 96px; }
.simple-body .simple-code { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 16px; }
.simple-body h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.04; color: var(--navy); margin: 0 0 18px; max-width: 720px; }
.simple-body p { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin: 0 0 32px; line-height: 1.6; }

/* Footer */
.site-footer { background: var(--night); color: #a9b8cf; padding: 64px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.brand-light { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.site-footer h4.mt { margin-top: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:not(.brand) { color: #a9b8cf; }
.site-footer a:not(.brand):hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 28px; font-size: .85rem; }
.footer-bottom p { margin: 0 0 6px; }
.eeo { color: #7d8ea8; max-width: 900px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(3, 1fr); }
  .industry-list { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
  .service-card:nth-child(3) { padding-left: 0; border-left: 0; }
  .service-card:nth-child(n+3) { border-top: 1px solid #cfd8e3; }
  .thinking-head { grid-template-columns: 1fr; gap: 16px; }
  .thinking-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #070b1e; border-bottom: 1px solid rgba(255,255,255,.08); padding: 8px 24px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .split, .careers-inner, .contact-grid, .statement-grid, .story, .why-head { grid-template-columns: 1fr; gap: 28px; }
  .story:nth-child(even) .story-media { order: 0; }
  .stacks-layout { grid-template-columns: 1fr; gap: 40px; }
  .stacks-head { position: static; }
  .stack-panel { padding-left: 0; margin: 0 18px; }
  .stack summary { gap: 14px; padding: 18px; }
  .stack-title strong { font-size: 1.12rem; }
  .stack-title strong::before { display: block; margin: 0 0 2px; }
  .sub-head { margin-top: 72px; }
  .split-reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .hero-inner { padding: 72px 24px 32px; }
  .hero-tiles { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-item:nth-child(5) { border-left: 0; padding-left: 0; grid-column: 1 / -1; }
  .tech-list { grid-template-columns: 1fr; }
  .clients-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .clients-label { max-width: none; }
  .client-marquee { width: 100%; }
  .client-list { gap: 48px; padding-right: 48px; }
  .proof-item { border-top: 1px solid rgba(255,255,255,.08); }
  .orbits { width: 120vw; right: -50%; opacity: .5; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero-inner { padding: 56px 16px 28px; }
  .hero-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 16px 28px; width: calc(100% - 32px); }
  .tile-link { flex: 0 0 78%; scroll-snap-align: start; }
  .proof-item { padding: 28px 16px 30px; }
  .proof-item:nth-child(odd) { padding-left: 0; }
  .process, .industry-list, .field-row, .service-grid, .pillar-grid { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(even) { padding: 28px 0; border-left: 0; }
  .commitments strong { width: auto; font-size: 1.2rem; }
  .commitments li { flex-direction: column; gap: 2px; }
  .service-card, .service-card + .service-card { padding: 28px 0; border-left: 0; }
  .service-card + .service-card { border-top: 1px solid #cfd8e3; }
  .industry-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form, .careers-card { padding: 24px; }
  .thinking-grid { grid-template-columns: 1fr; }
  .ins-dialog-body { padding: 24px 22px 28px; }
  .ins-dialog-media img { height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-rise { animation: none; opacity: 1; transform: none; }
  .hero-photo, .orb, .orbits g { animation: none !important; }
  .client-track { animation: none; width: auto; }
  .client-list { flex-wrap: wrap; gap: 16px 40px; padding: 0; }
  .client-list[aria-hidden="true"], .client-list li:nth-child(n+6) { display: none; }
  .client-marquee { -webkit-mask-image: none; mask-image: none; }
}
