/* ==========================================================================
   Tejstack Technologies: navy dark-glass with ember accent
   ========================================================================== */

:root {
  --bg: #040a18;
  --text: #eaf0ff;
  --muted: rgba(205, 218, 245, .66);
  --faint: rgba(205, 218, 245, .56);
  --line: rgba(150, 180, 255, .14);
  --line2: rgba(170, 195, 255, .3);
  --blue: #6f9bff;
  --sky: #7ab2d0;
  --ember: #ff5a1f;
  --ember2: #ff8a3d;
  --e: cubic-bezier(.16, 1, .3, 1);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --col: 1100px;
  --pad: clamp(18px, 4vw, 48px);
  --hh: 66px;
  --r: 10px;
  --rc: 20px;

  /* type scale */
  --fs-display: clamp(2.5rem, 5.4vw, 4.2rem);   /* h1 */
  --fs-h2: clamp(2rem, 4vw, 3.25rem);          /* section headings */
  --fs-h3: clamp(1.3rem, 2.1vw, 1.65rem);      /* card / item titles */
  --fs-lede: clamp(1rem, 1.4vw, 1.15rem);      /* intro paragraphs */
  --fs-body: 1rem;                              /* body, footer links */
  --fs-sm: .95rem;                              /* descriptions, links */
  --fs-xs: .8rem;                               /* labels, captions, buttons */
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ember2); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ember); color: #fff; padding: .6rem 1rem; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Living background ---------- */
.bg { position: fixed; inset: 0; z-index: -2; background: var(--bg); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.b1 { width: 62vw; height: 62vw; left: -18vw; top: -22vw; background: radial-gradient(circle, #1c3f9a 0%, transparent 66%); opacity: .85; animation: drift1 28s ease-in-out infinite alternate; }
.b2 { width: 56vw; height: 56vw; right: -20vw; top: 18vh; background: radial-gradient(circle, #123573 0%, transparent 66%); opacity: .9; animation: drift2 34s ease-in-out infinite alternate; }
.b3 { width: 44vw; height: 44vw; left: 8vw; bottom: -20vw; background: radial-gradient(circle, rgba(255, 90, 31, .5) 0%, transparent 64%); opacity: .75; animation: drift3 30s ease-in-out infinite alternate; }
/* Per-section scenes: JS sets .bg[data-scene]; the individual `translate` property composes with the drift animation */
.blob { translate: var(--x, 0) var(--y, 0); transition: translate 1s cubic-bezier(.4, 0, .2, 1), opacity 1s ease; }
.bg[data-scene="1"] .b1 { --x: 18vw; --y: 6vh; }        .bg[data-scene="1"] .b2 { --x: -18vw; --y: 32vh; }  .bg[data-scene="1"] .b3 { --x: 58vw; --y: -16vh; }
.bg[data-scene="2"] .b1 { --x: 36vw; --y: 32vh; }       .bg[data-scene="2"] .b2 { --x: -40vw; --y: -16vh; } .bg[data-scene="2"] .b3 { --x: 70vw; --y: -4vh; opacity: .4; }
.bg[data-scene="3"] .b1 { --x: -10vw; --y: 46vh; }      .bg[data-scene="3"] .b2 { --x: 4vw; --y: 46vh; }    .bg[data-scene="3"] .b3 { --x: -14vw; --y: -40vh; opacity: .95; }
.bg[data-scene="4"] .b1 { --x: 20vw; --y: -10vh; }      .bg[data-scene="4"] .b2 { --x: -26vw; --y: -14vh; } .bg[data-scene="4"] .b3 { --x: 74vw; --y: -54vh; opacity: .95; }
.bg[data-scene="5"] .b1 { --x: 48vw; --y: 16vh; }       .bg[data-scene="5"] .b2 { --x: -48vw; --y: 32vh; }  .bg[data-scene="5"] .b3 { --x: 30vw; --y: -26vh; opacity: 1; }
.bg[data-scene="6"] .b1 { --x: 4vw; --y: 12vh; }        .bg[data-scene="6"] .b2 { --x: 6vw; --y: 18vh; }    .bg[data-scene="6"] .b3 { --x: 28vw; --y: -46vh; opacity: 1; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 12vh) scale(1.2); } }
@keyframes drift3 { to { transform: translate(26vw, -10vh) scale(1.1); } }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 4px),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 66px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(rgba(4, 10, 24, .72), rgba(4, 10, 24, .3));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brand-logo { display: block; height: 24px; width: auto; filter: brightness(0) invert(1); opacity: .96; }
.foot .brand-logo { height: 28px; }
.menu-btn { height: 44px; padding: 0 4px 0 0; background: none; border: 0; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.mb-bars { width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; display: grid; place-content: center; gap: 7px; transition: border-color .35s, background .25s; }
.mb-bars span { display: block; width: 26px; height: 1px; background: var(--text); transition: transform .4s var(--e), width .4s var(--e); }
.mb-label { font: 500 var(--fs-xs) var(--mono); letter-spacing: .08em; text-transform: uppercase; min-width: 4.2ch; text-align: left; }
.mb-label::before { content: 'Menu'; }
.menu-open .mb-label::before { content: 'Close'; }
.menu-open .mb-bars { border-color: #fff; }
.menu-btn:hover .mb-bars { background: rgba(255, 255, 255, .08); }
.menu-open .mb-bars span { width: 16px; }
.menu-open .mb-bars span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .mb-bars span:last-child { transform: translateY(-4px) rotate(-45deg); }
.head-cta { justify-self: end; font-size: var(--fs-sm); border-bottom: 1px solid var(--text); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.head-cta { white-space: nowrap; }
@media (max-width: 480px) { .cta-more { display: none; } .site-header { grid-template-columns: auto 1fr auto; } .site-header .brand-logo { height: 20px; } .site-header .menu-btn { justify-self: start; margin-left: 12px; } .mb-label { min-width: 0; } }
.head-cta:hover { color: var(--ember2); border-color: var(--ember2); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: rgba(4, 10, 24, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--e), visibility .45s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu ol { display: grid; gap: clamp(18px, 3vw, 26px); justify-items: center; text-align: center; }
.menu a { display: block; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; font-weight: 300; letter-spacing: -.03em; color: var(--muted); transition: color .25s, transform .4s var(--e); }
.menu a:hover { color: var(--text); transform: scale(1.06); }
.menu-open { overflow: hidden; }

/* ---------- Layout frame ---------- */
main { max-width: var(--col); margin: 0 auto; position: relative; }
/* Section separation: no lines, bands or glows. Sections are divided by consistent whitespace only. */
.sec { position: relative; padding: clamp(48px, 7vw, 96px) var(--pad); }

/* ---------- Type ---------- */
.eyebrow { display: inline-block; font: 500 .7rem/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; padding: .42rem .6rem; border: 1px solid var(--line2); color: var(--text); }
h1, h2 { font-weight: 300; letter-spacing: -.04em; line-height: 1.03; }
h1 { font-size: var(--fs-display); margin: 28px 0 24px; }
h2 { font-size: var(--fs-h2); margin: 22px 0 18px; }
h1:first-child, h2:first-child { margin-top: 0; }
h3 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.02em; line-height: 1.25; }
.grad { background: linear-gradient(180deg, #fff 10%, #b4c9f2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad2 { background: linear-gradient(90deg, #9fbdf7 0%, #ffb594 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 640px; color: var(--muted); font-size: var(--fs-lede); }

/* ---------- Buttons & links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.5rem; border: 1px solid var(--line2); border-radius: var(--r); font: 500 var(--fs-xs) var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: transform .3s var(--e), background .25s, border-color .25s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-ember { background: linear-gradient(135deg, var(--ember), var(--ember2)); border-color: transparent; color: #fff; box-shadow: 0 8px 30px -8px rgba(255, 90, 31, .6); }
.btn-ember:hover { box-shadow: 0 12px 38px -6px rgba(255, 90, 31, .8); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--text); }
.link-arrow { display: inline-flex; gap: .45rem; align-items: baseline; font-size: var(--fs-sm); border-bottom: 1px solid var(--line2); padding-bottom: 1px; transition: color .2s, border-color .2s, gap .3s var(--e); }
.link-arrow:hover { color: var(--ember2); border-color: var(--ember2); gap: .8rem; }

/* ---------- Hero ---------- */
.hero { min-height: min(92svh, 860px); padding: clamp(120px, 15vw, 170px) var(--pad) clamp(64px, 9vw, 110px); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero .lede { margin-inline: auto; }

/* ---------- Corner brackets ---------- */
.brk { --c: rgba(234, 240, 255, .75); }
.brk::before {
  content: ''; position: absolute; inset: -1px; pointer-events: none; z-index: 3;
  background:
    linear-gradient(var(--c), var(--c)) top left / 10px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 10px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 10px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 10px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 10px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 10px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 10px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 10px no-repeat;
}

/* ---------- Process (sticky lifecycle) ---------- */
.process { position: relative; height: 420vh; }
.proc-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: calc(var(--hh) + 26px) 20px 0; }
.proc-title { text-align: center; font-size: var(--fs-sm); line-height: 1.25; font-weight: 500; color: var(--muted); margin-bottom: clamp(14px, 2.4vw, 26px); }
.proc-steps { display: grid; justify-items: center; }
.proc-step { grid-area: 1 / 1; display: grid; justify-items: center; align-content: start; gap: 14px; text-align: center; max-width: 560px; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--e), transform .9s var(--e); pointer-events: none; }
.proc-step.on { opacity: 1; transform: none; pointer-events: auto; }
.proc-h { font-size: var(--fs-h2); font-weight: 300; letter-spacing: -.04em; line-height: 1.04; background: linear-gradient(180deg, #fff 10%, #b4c9f2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proc-step:last-child .proc-h { background: linear-gradient(180deg, #fff 10%, #ffb594 110%); -webkit-background-clip: text; background-clip: text; }
.proc-step p { color: var(--muted); font-size: var(--fs-sm); max-width: 420px; }
.proc-bars { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 1px; pointer-events: none; }
.proc-bars i { display: block; width: 1px; height: var(--h, 4%); background: linear-gradient(to top, rgba(234, 240, 255, 0), rgba(234, 240, 255, .55)); transition: height 1.1s var(--e); }
.proc-bars i.hot { background: linear-gradient(to top, rgba(255, 90, 31, 0), rgba(255, 138, 61, .9)); }

/* ---------- Section head ---------- */
.sec-head { margin-bottom: clamp(36px, 6vw, 72px); }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-head .link-arrow { margin-top: 22px; }
.sec-head.row .link-arrow { margin: 0 0 14px; }

/* ---------- Service cards (scroll-focus) ---------- */
.cards { display: grid; gap: 18px; }
.card {
  --focus: 1;
  position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 440px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(120, 160, 255, .06), rgba(120, 160, 255, .012));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: calc(.3 + .7 * var(--focus));
  transition: border-color .4s;
}
.card:nth-child(even) .vis { order: -1; }
.card:nth-child(even) .card-text { padding-left: clamp(24px, 3.6vw, 48px); }
.card-text { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3.6vw, 40px); gap: 28px; }
.card-foot { border-top: 1px solid var(--line2); padding-top: 18px; display: grid; gap: 10px; justify-items: start; }
.card-foot p { color: var(--muted); font-size: var(--fs-sm); max-width: 320px; }
.card-foot .stat { font: 400 var(--fs-xs) var(--mono); color: var(--faint); }
.card-foot .stat strong { color: var(--ember2); font-weight: 500; font-size: var(--fs-body); }
.card-foot .link-arrow { margin-top: 4px; }

/* spotlight */
.spot { position: relative; }
.spot::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(122, 178, 208, .13), transparent 60%); }
.spot:hover::after { opacity: 1; }
.card:hover { border-color: var(--line2); }

/* ---------- Illustration (SVG) ---------- */
.vis { position: relative; display: grid; place-items: center; min-height: 300px; background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)); border-left: 1px solid var(--line); overflow: hidden; }
.card:nth-child(even) .vis { border-left: 0; border-right: 1px solid var(--line); }
.vis::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; right: -10%; bottom: -25%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .22), transparent 65%); filter: blur(30px); }
.card:nth-child(even) .vis::before { right: auto; left: -10%; }
.vis svg { position: relative; width: 100%; height: auto; max-height: 100%; overflow: visible; }
.hero-vis { border: 0; background: none; min-height: 0; overflow: visible; }
.hero-vis::before { display: none; }

.axis { stroke: var(--line2); stroke-width: 1; opacity: 0; transition: opacity .8s ease .1s; }
.ring { fill: none; stroke: rgba(234, 240, 255, .45); stroke-width: 1; stroke-dasharray: 4 5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.85); transition: opacity .8s ease .2s, transform 1s var(--e) .2s; }
.in .axis { opacity: 1; }
.in .ring { opacity: 1; transform: none; }

/* cubes: classes inside <use> clones pick up variables from the node group */
.node { --top: rgba(200, 220, 255, .2); --left: rgba(150, 180, 240, .11); --right: rgba(110, 140, 215, .06); --edge: rgba(228, 237, 255, .75); }
.node.ember { --top: rgba(255, 130, 70, .6); --left: rgba(255, 85, 30, .4); --right: rgba(190, 40, 10, .3); --edge: #ff9568; filter: drop-shadow(0 0 14px rgba(255, 90, 31, .55)); }
.node.ghost { --top: rgba(200, 220, 255, .07); --left: rgba(150, 180, 240, .04); --right: rgba(110, 140, 215, .02); --edge: rgba(228, 237, 255, .5); }
.node.ghost use { stroke-dasharray: 3 3; }
.ct { fill: var(--top); }
.cl { fill: var(--left); }
.cr { fill: var(--right); }
.ct, .cl, .cr { stroke: var(--edge); stroke-width: 1.3; stroke-linejoin: round; }
.lbl { fill: #fff; font: 500 10px var(--mono); letter-spacing: .08em; opacity: .92; }

.vis .node { opacity: 0; transform: translate(var(--dx, -24px), var(--dy, -34px)); transition: opacity .8s var(--e) var(--d, 0ms), transform 1.1s var(--e) var(--d, 0ms); }
.in .node { opacity: 1; transform: none; }
.bob { animation: bob 6s ease-in-out var(--b, 0s) infinite alternate; }
@keyframes bob { to { transform: translateY(-6px); } }

.link { fill: none; stroke: rgba(234, 240, 255, .55); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s ease var(--d, 600ms); }
.link.ember { stroke: var(--ember); stroke-width: 1.6; filter: drop-shadow(0 0 5px rgba(255, 90, 31, .8)); }
.link.dash { stroke-dasharray: 3 5; stroke-dashoffset: 0; opacity: 0; transition: opacity .7s ease var(--d, 600ms); }
.in .link { stroke-dashoffset: 0; }
.in .link.dash { opacity: 1; }

.dotg { opacity: 0; transition: opacity .6s ease var(--d, 900ms); }
.in .dotg { opacity: 1; }
.dot { fill: var(--ember); }
.pulse { fill: var(--ember); transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(4.2); opacity: 0; } }

.svg-tag { opacity: 0; transform: translateY(6px); transition: opacity .6s ease var(--d, 800ms), transform .8s var(--e) var(--d, 800ms); }
.in .svg-tag { opacity: 1; transform: none; }
.tag-box { fill: rgba(4, 10, 24, .55); stroke: var(--line2); stroke-width: 1; }
.tag-sq { fill: rgba(234, 240, 255, .85); }
.svg-tag text { fill: var(--text); font: 400 10px var(--mono); }
.svg-tag.is-ember .tag-sq { fill: var(--ember2); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--rc); overflow: hidden; background: rgba(120, 160, 255, .03); }
.stat-cell { padding: clamp(24px, 4vw, 44px) clamp(16px, 2.4vw, 28px); border-left: 1px solid var(--line); display: grid; gap: 10px; }
.stat-cell:first-child { border-left: 0; }
.num { font-size: var(--fs-h2); font-weight: 300; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, #ffb594); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cap { font: 400 var(--fs-xs) var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Image cards (case studies, industries) ---------- */
.go { font-size: var(--fs-sm); color: var(--muted); transition: color .2s, opacity .35s, transform .5s var(--e); }

/* case studies: full-image cards, 2 per row */
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cs { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--rc); background: #0a1530; }
.cs img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.88); transition: transform 1s var(--e), filter .6s; }
.cs-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 10, 24, .28) 0%, rgba(4, 10, 24, 0) 34%, rgba(4, 10, 24, .8) 70%, rgba(4, 10, 24, .97) 100%), linear-gradient(135deg, rgba(28, 63, 154, .22), rgba(255, 90, 31, .08)); }
.cs-body { display: grid; gap: 12px; padding: 30px 96px 30px 32px; }
.cs-cat { font: 500 var(--fs-xs) var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ember2); }
.cs-go { position: absolute; right: 28px; bottom: 28px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .38); background: rgba(4, 10, 24, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 1.15rem; color: #fff; transition: background .3s, border-color .3s, transform .5s var(--e); }
.cs:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.cs:hover .cs-go { background: var(--ember); border-color: var(--ember); transform: scale(1.08); }
/* industries: full-background image cards, 4 per row */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 6 / 7; overflow: hidden; border-radius: var(--rc); border: 0; background: #0a1530; }
.ind-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05) brightness(.85); transition: transform 1s var(--e), filter .6s; }
.ind-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 10, 24, .5) 0%, rgba(4, 10, 24, .05) 28%, rgba(4, 10, 24, .84) 72%, rgba(4, 10, 24, .97) 100%), linear-gradient(135deg, rgba(28, 63, 154, .26), rgba(255, 90, 31, .08)); }
.ind-body { display: grid; gap: 8px; padding: 22px; }
.ind-body p { color: rgba(225, 233, 250, .84); font-size: var(--fs-sm); line-height: 1.5; }
.ind-body .go { color: #fff; font-size: var(--fs-sm); opacity: 0; transform: translateY(8px); }
.ind-card:hover img { transform: scale(1.08); filter: saturate(1) contrast(1.05) brightness(.95); }
.ind-card:hover .go { opacity: 1; transform: none; color: var(--ember2); }
@media (hover: none) { .ind-body .go { opacity: 1; transform: none; } }
/* ---------- Contact ---------- */
.contact { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact .lede { margin-inline: auto; }
.contact-mail { margin-top: 28px; font-size: var(--fs-body); color: var(--muted); border-bottom: 1px solid var(--line2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.contact-mail:hover { color: var(--ember2); border-color: var(--ember2); }
/* ---------- Footer ---------- */
.foot { width: min(calc(100% - 2 * var(--pad)), calc(var(--col) - 2 * var(--pad))); margin: 0 auto clamp(16px, 3vw, 32px); border-radius: var(--rc); border: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, rgba(8, 16, 38, .6), rgba(255, 90, 31, .13) 100%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.foot-main { padding: clamp(32px, 4.5vw, 52px) clamp(24px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px clamp(32px, 6vw, 96px); }
.foot-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.foot-tagline { color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; max-width: 36ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); }
.foot h4 { font: 500 var(--fs-xs) var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; line-height: 1; }
.foot li { margin-bottom: 0; }
.foot li + li { margin-top: 6px; }
.foot li a { display: inline-block; padding: 5px 0; color: var(--text); opacity: .92; font-size: var(--fs-body); line-height: 1.35; transition: color .2s, opacity .2s, transform .25s var(--e); }
.foot li a:hover { transform: translateX(4px); }
.foot li a:hover { color: var(--ember2); opacity: 1; }
/* ---------- About page ---------- */
.lede-2 { margin-top: 16px; font-size: var(--fs-body); }
.actions.left { justify-content: flex-start; margin-top: 28px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split .lede { max-width: none; }
.split-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--rc); overflow: hidden; background: #0a1530; }
.split-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.88); }
.split-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(28, 63, 154, .3), rgba(255, 90, 31, .1)); pointer-events: none; }

.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pr-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); }
.pr-img { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: #0a1530; }
.pr-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.85); transition: transform 1s var(--e), filter .6s; }
.pr-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 10, 24, 0) 40%, rgba(4, 10, 24, .6) 100%); }
.pr-card:hover .pr-img img { transform: scale(1.06); filter: saturate(1) brightness(.95); }
.pr-body { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 3vw, 32px); }
.pr-body p, .rs-card p, .stat-cell .desc { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }

.rs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rs-card { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 34px); border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); }
.rs-card .link-arrow { justify-self: start; margin-top: 8px; }

.quote { position: relative; isolation: isolate; margin: 0; border-radius: var(--rc); overflow: hidden; background: #0a1530; }
.quote img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.7); }
.quote-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(4, 10, 24, .86), rgba(4, 10, 24, .55)), linear-gradient(135deg, rgba(28, 63, 154, .3), rgba(255, 90, 31, .12)); }
.quote-body { display: grid; gap: 22px; max-width: 820px; padding: clamp(36px, 7vw, 88px) clamp(24px, 6vw, 72px); }
.quote-mark { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(4rem, 8vw, 6.5rem); line-height: .8; font-weight: 400; color: var(--ember2); height: .5em; }
.quote blockquote, .tm-card blockquote { margin: 0; }
.quote blockquote { font-size: var(--fs-h3); font-weight: 300; line-height: 1.4; letter-spacing: -.02em; color: var(--text); }
.quote figcaption, .tm-card figcaption { display: grid; gap: 2px; }
.quote figcaption strong, .tm-card figcaption strong { font-weight: 500; font-size: var(--fs-body); }
.quote figcaption span, .tm-card figcaption span { color: var(--muted); font-size: var(--fs-sm); }

.stat-cell .desc { margin-top: 2px; }

.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pt { display: grid; place-items: center; text-align: center; min-height: 110px; padding: 20px; border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); font-size: var(--fs-h3); font-weight: 300; letter-spacing: -.02em; color: var(--text); transition: border-color .3s, background .3s, color .3s; }
.pt:hover { border-color: var(--line2); background: rgba(120, 160, 255, .08); color: var(--ember2); }

.tm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tm-card { margin: 0; display: grid; gap: 24px; align-content: space-between; padding: clamp(24px, 3vw, 34px); border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); }
.tm-card blockquote { color: var(--text); font-size: var(--fs-body); line-height: 1.65; }

@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .rs-grid, .tm-grid { grid-template-columns: minmax(0, 1fr); }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .partners { grid-template-columns: minmax(0, 1fr); }
  .pt { min-height: 84px; }
}

/* ---------- Careers page ---------- */
.split-top { align-items: start; margin-bottom: clamp(32px, 5vw, 56px); }
.split-top .sec-head { margin-bottom: 0; }
.split-top .split-img { aspect-ratio: 16 / 11; }
.rs-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rs-grid > .rs-card:only-child { grid-column: 1 / -1; }

.track-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.track { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); }
.track > p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.stages { display: grid; gap: 10px; margin-top: 10px; }
.stages li { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; background: rgba(120, 160, 255, .06); }
.stages strong { font-weight: 500; font-size: var(--fs-body); }
.stages li > span:last-child { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.stage-n { font: 500 var(--fs-xs) var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ember2); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); }
.step p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }

.apply { max-width: 760px; margin: 0 auto; }
.apply-form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 500; }
.field small { color: var(--faint); font-size: var(--fs-xs); }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border-radius: var(--r); border: 1px solid var(--line2); background: rgba(4, 10, 24, .5); color: var(--text); font: 400 var(--fs-body) var(--sans); transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ember2); box-shadow: 0 0 0 3px rgba(255, 138, 61, .18); }
.field input[type="file"] { padding: .6rem; cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: .5rem .9rem; border: 1px solid var(--line2); border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--text); font: 500 var(--fs-xs) var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.field.invalid input, .field.invalid textarea { border-color: #ff6b5e; }
.apply-actions { display: flex; }
.apply-status { min-height: 1.4em; color: var(--muted); font-size: var(--fs-sm); }
.apply-status.err { color: #ff8a7a; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .rs-grid.cols-2, .steps, .field-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 780px); justify-content: center; }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); transition: background .3s, border-color .3s; }
.faq-item[open] { background: rgba(120, 160, 255, .07); border-color: var(--line2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-size: var(--fs-body); font-weight: 500; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line2); font-size: 1.2rem; font-weight: 300; line-height: 1; transition: background .25s, border-color .25s; }
.faq-item[open] summary::after { content: '−'; background: var(--ember); border-color: var(--ember); }
.faq-item summary:hover::after { border-color: var(--text); }
.faq-item p { padding: 0 24px 22px; max-width: 720px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; }


/* ---------- Insights page ---------- */
.meta { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--faint); font: 400 var(--fs-xs) var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.meta > span + span::before { content: '•'; margin: 0 .7em; color: var(--ember2); }

.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); }
.feat-img { position: relative; display: block; min-height: 320px; overflow: hidden; background: #0a1530; }
.feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.9); transition: transform 1s var(--e), filter .6s; }
.feat-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(28, 63, 154, .25), rgba(255, 90, 31, .1)); pointer-events: none; }
.feat:hover .feat-img img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.feat-body { display: grid; gap: 16px; align-content: center; padding: clamp(24px, 4vw, 52px); }
.feat-body p:not(.meta) { color: var(--muted); font-size: var(--fs-body); line-height: 1.65; }
.feat-body .actions { margin-top: 8px; }

.ar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ar-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); transition: border-color .3s, background .3s; }
.ar-card:hover { border-color: var(--line2); background: rgba(120, 160, 255, .07); }
.ar-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1530; }
.ar-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.85); transition: transform 1s var(--e), filter .6s; }
.ar-card:hover .ar-img img { transform: scale(1.07); filter: saturate(1) brightness(.95); }
.ar-body { flex: 1; display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto 1fr auto; padding: clamp(20px, 2.4vw, 26px); }
.ar-body h3 { font-size: var(--fs-lede); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.ar-body p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.ar-foot { display: grid; gap: 10px; margin-top: 6px; }
.ar-foot .go { font-size: var(--fs-sm); color: var(--text); transition: color .2s; }
.ar-card:hover .ar-foot .go { color: var(--ember2); }

@media (max-width: 960px) {
  .ar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat-img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) {
  .ar-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Services page ---------- */
.partners a.pt { cursor: pointer; }
.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.svc-body.rev .svc-panel { order: -1; }
.svc-text { display: grid; gap: 22px; align-content: start; }
.feats { display: grid; gap: 12px; }
.feats li { display: grid; gap: 6px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(120, 160, 255, .04); transition: border-color .3s, background .3s; }
.feats li:hover { border-color: var(--line2); background: rgba(120, 160, 255, .07); }
.feats strong { font-weight: 500; font-size: var(--fs-body); }
.feats li > span { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.svc-text .link-arrow { justify-self: start; }

.svc-panel { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; overflow: hidden; border-radius: var(--rc); border: 1px solid var(--line); background: #0a1530; }
.svc-panel > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.4); }
.svc-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 10, 24, .25) 0%, rgba(4, 10, 24, .4) 45%, rgba(4, 10, 24, .92) 100%), linear-gradient(135deg, rgba(28, 63, 154, .3), rgba(255, 90, 31, .1)); }
.svc-panel .vis { flex: 1; border: 0; background: none; min-height: 240px; padding: 18px 18px 0; }
.svc-cap { display: grid; gap: 4px; padding: 0 clamp(22px, 3vw, 32px) clamp(22px, 3vw, 30px); }
.svc-stat { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.svc-stat .num { font-size: var(--fs-h2); }
.svc-stat em { font: 400 var(--fs-xs) var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.svc-title { font-size: var(--fs-lede); font-weight: 500; line-height: 1.3; }
.svc-sub { color: var(--muted); font-size: var(--fs-sm); }

@media (max-width: 960px) {
  .svc-body { grid-template-columns: minmax(0, 1fr); }
  .svc-body.rev .svc-panel { order: 0; }
}

/* ---------- Industries page ---------- */
.ix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ix-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); scroll-margin-top: 90px; transition: border-color .3s, background .3s; }
.ix-card:hover { border-color: var(--line2); background: rgba(120, 160, 255, .07); }
.ix-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0a1530; }
.ix-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.85); transition: transform 1s var(--e), filter .6s; }
.ix-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 10, 24, 0) 45%, rgba(4, 10, 24, .55) 100%); }
.ix-card:hover .ix-img img { transform: scale(1.07); filter: saturate(1) brightness(.95); }
.ix-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 26px); }
.ix-body p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.bul { display: grid; gap: 8px; margin-top: 2px; }
.bul li { position: relative; padding-left: 18px; color: var(--text); opacity: .86; font-size: var(--fs-sm); line-height: 1.5; }
.bul li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--ember2); }
.ix-foot { margin-top: auto; padding-top: 14px; display: grid; gap: 12px; justify-items: start; }
.ix-stat { display: inline-flex; align-items: baseline; gap: 10px; }
.ix-stat strong { font-size: var(--fs-h3); font-weight: 300; letter-spacing: -.03em; line-height: 1; background: linear-gradient(180deg, #fff, #ffb594); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ix-stat em { font: 400 var(--fs-xs) var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 960px) { .ix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ix-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Legal pages (privacy, cookies, disclaimers) ---------- */
.hero-sm { min-height: 0; padding-top: clamp(130px, 16vw, 190px); padding-bottom: clamp(36px, 6vw, 64px); }
.hero-sm h1 { margin-bottom: 20px; }
.meta strong { color: var(--muted); font-weight: 500; }
.meta-center { justify-content: center; margin-top: 28px; }
.legal-sec { padding-top: clamp(24px, 4vw, 48px); }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--hh) + 28px); }
.toc ol { display: grid; gap: 4px; }
.toc a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.4; transition: color .2s, background .2s; }
.toc a:hover { color: var(--text); background: rgba(120, 160, 255, .06); }
.toc a.on { color: var(--text); background: rgba(120, 160, 255, .1); }
.legal { max-width: 760px; display: grid; gap: clamp(36px, 5vw, 56px); }
.legal section { display: grid; gap: 16px; scroll-margin-top: calc(var(--hh) + 28px); }
.legal h2 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.02em; line-height: 1.25; margin: 0; }
.legal p, .legal li { color: var(--muted); font-size: var(--fs-body); line-height: 1.75; }
.legal strong { color: var(--text); font-weight: 500; }
.legal a { color: var(--text); border-bottom: 1px solid var(--line2); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.legal a:hover { color: var(--ember2); border-color: var(--ember2); }
.legal .bul { gap: 12px; }
.legal .bul li::before { top: .75em; }
.callout { padding: 20px 24px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 90, 31, .12), rgba(120, 160, 255, .06)); color: var(--text) !important; }

@media (max-width: 960px) {
  .legal-wrap { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
}

/* ---------- Service detail pages ---------- */
.svc-hero .back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font: 500 var(--fs-xs) var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.svc-hero .back-link:hover { color: var(--ember2); }
.svc-hero .lede { margin-bottom: 28px; }
.svc-show { padding-top: 0; }
.svc-panel.wide { min-height: clamp(340px, 42vw, 480px); }
.svc-panel.wide > img { filter: saturate(.8) brightness(.55); }
.svc-panel.wide .vis { min-height: 260px; }
.svc-panel.wide .svc-cap { padding-top: 8px; }
.rs-card h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.steps .step h3 { font-size: var(--fs-lede); font-weight: 400; line-height: 1.3; letter-spacing: -.01em; }
.case-card { align-content: stretch; grid-template-rows: auto auto 1fr auto; }
.case-res { display: grid; gap: 4px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-res strong { font-size: var(--fs-h3); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; background: linear-gradient(180deg, #fff, #ffb594); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-res span { color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.pt[aria-current="page"] { border-color: rgba(255, 138, 61, .5); background: rgba(255, 90, 31, .08); color: var(--ember2); }
#practices .actions { margin-top: clamp(28px, 4vw, 48px); }
/* ---------- Industry detail pages ---------- */
.ind-hero .lede { max-width: 820px; }
.ind-banner { position: relative; isolation: isolate; margin: 0 0 18px; aspect-ratio: 21 / 8; overflow: hidden; border-radius: var(--rc); border: 1px solid var(--line); background: #0a1530; }
.ind-banner img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.7); }
.ind-banner-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 10, 24, .15) 0%, rgba(4, 10, 24, .55) 100%), linear-gradient(135deg, rgba(28, 63, 154, .3), rgba(255, 90, 31, .1)); }
.ind-stats .num { font-size: var(--fs-h3); overflow-wrap: anywhere; }
.rs-card .link-arrow { margin-top: 6px; }
.track-run .cs-cat { color: var(--muted); }
.track h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.spotlight { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120, 160, 255, .04); }
.spotlight-story { display: grid; gap: 16px; align-content: center; justify-items: start; padding: clamp(26px, 4vw, 52px); }
.spotlight-story h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.spotlight-story p { color: var(--muted); font-size: var(--fs-body); line-height: 1.65; }
.spotlight-story .btn { margin-top: 8px; }
.spotlight-results { display: grid; align-content: center; gap: clamp(18px, 2.4vw, 28px); padding: clamp(26px, 4vw, 52px); border-left: 1px solid var(--line); background: rgba(120, 160, 255, .05); }
.spotlight-results .case-res { margin-top: 0; padding-top: 0; border-top: 0; }
.spotlight-results .case-res + .case-res { padding-top: clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.playbook { display: grid; gap: 14px; justify-items: start; max-width: 900px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); border-radius: var(--rc); border: 1px solid var(--line2); background: linear-gradient(135deg, rgba(28, 63, 154, .18), rgba(255, 90, 31, .08)); }
.playbook h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.playbook p { color: var(--muted); font-size: var(--fs-body); line-height: 1.65; }
.ind-partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ind-partners .pt { min-height: 88px; font-size: var(--fs-lede); }
@media (max-width: 960px) {
  .spotlight { grid-template-columns: minmax(0, 1fr); }
  .spotlight-results { border-left: 0; border-top: 1px solid var(--line); }
  .ind-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-banner { aspect-ratio: 16 / 8; }
}
@media (max-width: 480px) {
  .ind-partners { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Insight articles ---------- */
.art-hero .cs-cat { margin-bottom: 16px; }
.art-hero .lede { max-width: 760px; }
.art-hero .meta { margin-top: 8px; }
.art-cover { aspect-ratio: 21 / 8; }
.art-sec { padding-top: 0; }
.article { max-width: 760px; margin-inline: auto; }
.article-body { font-size: var(--fs-body); line-height: 1.75; color: var(--muted); }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { margin-top: 2.2em; font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; color: var(--text); }
.article-body h3 { margin-top: 1.8em; font-size: var(--fs-lede); font-weight: 500; line-height: 1.3; color: var(--text); }
.article-body strong { font-weight: 500; color: var(--text); }
.article-body em { font-style: italic; color: var(--text); }
.article-body ul, .article-body ol { display: grid; gap: .7em; padding-left: 1.4em; }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li { position: relative; padding-left: 1.4em; }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--ember2); }
.article-body ol { list-style: decimal; }
.article-body ol li::marker { font-family: var(--mono); font-size: .85em; color: var(--ember2); }
.article-body ol li { padding-left: .4em; }
.article-body blockquote { margin-left: 0; margin-block: 2em; padding: 6px 0 6px clamp(18px, 3vw, 28px); border-left: 2px solid var(--ember); font-size: var(--fs-lede); font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: var(--text); }
.article-body a { color: var(--ember2); text-decoration: underline; text-underline-offset: 3px; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: clamp(36px, 6vw, 64px); padding-top: 22px; border-top: 1px solid var(--line); font: 500 var(--fs-xs) var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.article-share span { color: var(--faint); }
.article-share a { color: var(--muted); transition: color .3s; }
.article-share a:hover { color: var(--ember2); }
@media (max-width: 960px) { .art-cover { aspect-ratio: 16 / 8; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--e), transform .9s var(--e); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .card { grid-template-columns: 1fr; min-height: 0; }
  .card:nth-child(even) .vis { order: 0; border-right: 0; }
  .vis, .card:nth-child(even) .vis { border-left: 0; border-top: 1px solid var(--line); min-height: 260px; }
  .card:nth-child(even) .card-text { padding-left: clamp(24px, 3.6vw, 40px); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cell:nth-child(3) { border-left: 0; }
  .stat-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .head-cta { font-size: var(--fs-xs); }
  .brand-logo { height: 21px; }
}
@media (max-width: 700px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs { aspect-ratio: 4 / 3; }
  .cs-body { padding: 22px 82px 22px 22px; }
  .cs-go { right: 20px; bottom: 20px; width: 42px; height: 42px; }
}
@media (max-width: 560px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind-card { aspect-ratio: 16 / 11; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .blob { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .vis .node, .svg-tag, .dotg, .axis, .ring { opacity: 1 !important; transform: none !important; }
  .link { stroke-dashoffset: 0 !important; }
  .link.dash { opacity: 1 !important; }
  .card { opacity: 1; }
  .process { height: auto; }
  .proc-stage { position: relative; height: auto; padding: 120px 20px 60px; }
  .proc-steps { gap: 56px; }
  .proc-step { opacity: 1; transform: none; grid-area: auto; }
  .proc-bars { display: none; }
}
