:root {
  --navy: #081B4B;
  --ink: #F6F7FA;
  --ink-2: #FFFFFF;
  --fg: #081B4B;
  --accent: #1565FF;
  /* Type scale: seven sizes, used everywhere */
  --t-hero: clamp(48px, 7.6vw, 112px);
  --t-h2: clamp(32px, 4vw, 52px);
  --t-h3: clamp(22px, 2.2vw, 28px);
  --t-lead: clamp(18px, 1.5vw, 20px);
  --t-body: 17px;
  --t-small: 15px;
  --t-label: 14px;
  --royal: #1565FF;
  --electric: #18C8FF;
  --purple: #7B3FF2;
  --white: #FFFFFF;
  --light: #F6F7FA;
  --dark-gray: #2E3440;
  --muted: #4F5D80;
  --line: rgba(8, 27, 75, .13);
  --display: "IBM Plex Sans", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Sans", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 400 var(--t-body)/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--navy); color: #FFFFFF; padding: 8px 14px; }
.skip:focus { left: 8px; }

.eyebrow, .code, .tag {
  font-size: var(--t-label);
  font-weight: 500;
}
.eyebrow { color: var(--accent); margin-bottom: 18px; }
.eyebrow span { color: var(--muted); margin: 0 6px; }
.code { color: var(--accent); letter-spacing: .08em; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246, 247, 250, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: auto; height: 32px; }
.brand .brand-word { height: 15px; }
.nav nav { display: flex; align-items: center; gap: 34px; font-size: var(--t-small); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav nav a:hover { color: var(--fg); }
.nav nav .nav-cta {
  color: var(--fg);
  padding: 9px 18px;
  background: rgba(8, 27, 75, .06);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background .2s;
}
.nav nav .nav-cta:hover { background: var(--royal); color: #FFFFFF; }

/* Buttons */
.btn {
  display: inline-block;
  border: 0;
  padding: 15px 28px;
  font: 500 var(--t-body)/1.2 var(--display);
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform .2s, background .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--royal); color: #FFFFFF; }
.btn-primary:hover { background: #0F52D6; }
.btn-ghost { background: rgba(8, 27, 75, .06); color: var(--fg); }
.btn-ghost:hover { background: rgba(8, 27, 75, .12); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
  overflow: hidden;
}
#signal { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 30%, rgba(246, 247, 250, .72) 50%, rgba(246, 247, 250, 0) 72%);
}
.hero-inner {
  position: relative;
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 130px var(--gutter) 56px;
}
h1 { font-size: var(--t-hero); font-weight: 500; line-height: 1; letter-spacing: -.03em; }
h1 em { font-style: normal; color: var(--accent); }
.lede { max-width: 590px; margin-top: 28px; font-size: var(--t-lead); line-height: 1.55; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-index {
  position: relative;
  list-style: none; margin: 0 auto; padding: 0 var(--gutter) 40px;
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter));
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-index a {
  display: block; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  font: 500 var(--t-body) var(--display);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.hero-index a:hover { border-color: var(--electric); color: var(--accent); }

/* Sections */
.section {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(84px, 11vw, 150px) var(--gutter);
}
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 76px); }
h2 { font-size: var(--t-h2); font-weight: 500; line-height: 1.04; letter-spacing: -.03em; }
.section-sub { margin-top: 22px; font-size: var(--t-lead); color: var(--muted); max-width: 620px; }

/* Divisions */
.divisions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.division { position: relative; background: var(--ink-2); padding: clamp(28px, 3.4vw, 46px); overflow: hidden; }
.division::before {
  content: ""; position: absolute; inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--royal), var(--purple));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.division:hover::before { transform: scaleX(1); }
.division { transition: background .3s; }
.division:hover { background: #FBFCFF; }
.division header { display: flex; align-items: baseline; gap: 16px; }
.division h3 { font-size: var(--t-h3); font-weight: 500; }
.division-line { margin-top: 8px; color: var(--muted); font-size: var(--t-lead); }
.division dl { margin: 30px 0 0; }
.division dt { font: 500 var(--t-lead)/1.3 var(--display); }
.division dd { margin: 6px 0 22px; color: var(--muted); font-size: var(--t-body); line-height: 1.6; }
.division dd:last-child { margin-bottom: 0; }

/* Method */
.method { border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 40px); }
.steps li { border-top: 1px solid var(--electric); padding-top: 20px; }
.steps h3 { margin-top: 14px; font-size: var(--t-h3); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.steps p { margin-top: 12px; color: var(--muted); font-size: var(--t-body); }

/* Intersection: the full-color logo gets the white ground it was drawn for */
.intersection {
  background: #FFFFFF;
  color: var(--fg);
  clip-path: polygon(0 56px, 56px 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
}
.ix-inner {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(96px, 11vw, 150px) var(--gutter);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 100px); align-items: center;
}
.ix-logo img { width: min(100%, 400px); height: auto; margin: 0 auto; mix-blend-mode: multiply; }
.intersection .eyebrow { color: var(--accent); }
.ix-copy > p:not(.eyebrow) { margin-top: 22px; font-size: var(--t-lead); color: var(--muted); max-width: 600px; }
.promise { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.promise li { padding: 12px 0; border-top: 1px solid #DDE1EA; font: 500 var(--t-lead) var(--display); }

/* Form */
.inquire-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.inquire .section-head { margin-bottom: 0; }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--t-small); font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%;
  padding: 14px 15px;
  background: var(--ink-2);
  border: 1px solid rgba(8, 27, 75, .24);
  border-radius: 0;
  color: var(--fg);
  font: 400 var(--t-body)/1.4 var(--body);
  transition: border-color .2s, background .2s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat; }
select option { background: var(--ink-2); color: var(--fg); }
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--royal); background: #FFFFFF; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.fine { font-size: var(--t-label); color: var(--muted); }
.status { min-height: 26px; font-size: var(--t-body); }
.status.ok { color: var(--accent); }
.status.err { color: #B3261E; }

/* Footer */
.footer {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 36px var(--gutter) 40px;
}
.footer-top { display: flex; align-items: center; gap: 16px; padding-top: 30px; border-top: 1px solid var(--line); font: 500 var(--t-lead) var(--display); }
.footer-top img { width: auto; height: 32px; }
.legal { margin-top: 16px; color: var(--muted); font-size: var(--t-label); }

/* Reveal: only hidden once JS has confirmed it can show them again */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ix-inner, .inquire-grid { grid-template-columns: 1fr; }
  .ix-logo img { width: min(100%, 300px); margin: 0; }
}
@media (max-width: 720px) {
  body { font-size: var(--t-body); }
  .nav nav .nav-cta { font-size: var(--t-label); padding: 8px 14px; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%); }
  .hero-shade { background: linear-gradient(0deg, var(--ink) 56%, rgba(246, 247, 250, .55) 76%, rgba(246, 247, 250, .05) 100%); }
  .hero-index { grid-template-columns: repeat(2, 1fr); column-gap: 18px; padding-bottom: 44px; }
  .hero-index a { padding: 12px 0 14px; font-size: var(--t-body); }
  .divisions, .steps, .form, .promise { grid-template-columns: 1fr; }
  .intersection { clip-path: polygon(0 32px, 32px 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%); }
  .form-foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .division::before { transition: none; }
}

/* Motion system. Interaction: 150-250ms. Entrances: 500-800ms. Transform and opacity only. */
:root {
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --fast: 180ms;
}
.defs { position: absolute; }

.line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.line > span { display: block; animation: rise .85s var(--ease-out) both; }
.line:nth-child(2) > span { animation-delay: .09s; }
@keyframes rise { from { transform: translateY(104%); } }
.hero .eyebrow, .lede, .actions, .hero-index { animation: lift .7s var(--ease-out) .22s both; }
.lede { animation-delay: .3s; }
.actions { animation-delay: .38s; }
.hero-index { animation-delay: .46s; }
@keyframes lift { from { opacity: 0; transform: translateY(14px); } }

.btn { transform: translate(var(--tx, 0), var(--ty, 0)); transition: transform var(--fast) var(--ease-out), background var(--fast), opacity .2s; }
.btn:hover { transform: translate(var(--tx, 0), calc(var(--ty, 0px) - 2px)); }
.btn:active { transform: translate(var(--tx, 0), var(--ty, 0)) scale(.97); transition-duration: 80ms; }
.btn-primary::after { content: "\2192"; display: inline-block; margin-left: 10px; transition: transform var(--fast) var(--spring); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn.sent::after { content: "\2713"; }

.hero-index a { position: relative; }
.hero-index a::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, var(--electric), var(--purple));
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.hero-index a:hover::after { transform: scaleX(1); }

/* Pointer spotlight on cards */
.division { --mx: 50%; --my: 0%; }
.division::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(21, 101, 255, .07), transparent 70%);
  opacity: 0; transition: opacity .25s;
}
.division:hover::after { opacity: 1; }

/* Division objects */
.obj { display: block; width: 72px; height: 72px; margin-bottom: 26px; overflow: visible; fill: none; stroke: url(#ix-grad); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.obj * { transform-box: fill-box; transform-origin: center; }

.obj-ai .wires path { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .55; }
.obj-ai .node { fill: var(--ink-2); }
.obj-ai .spark { fill: var(--electric); stroke: none; opacity: 0; offset-path: path("M14 44 44 18 74 44 44 70Z"); }
.play.obj-ai .wires path { animation: draw .6s var(--ease-out) both; }
.play.obj-ai .node { animation: pop .34s var(--spring) both; }
.play.obj-ai .n2 { animation-delay: .1s; }
.play.obj-ai .n3 { animation-delay: .18s; }
.play.obj-ai .n4 { animation-delay: .26s; }
.play.obj-ai .spark { animation: orbit 1s var(--ease-out) .25s both; }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes pop { from { transform: scale(.3); } }
@keyframes orbit { 0% { offset-distance: 0%; opacity: 0; } 12%, 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

.obj-sec .body { fill: var(--ink-2); }
.obj-sec .ring { stroke-width: 1.4; opacity: 0; }
.obj-sec .bolt circle { fill: url(#ix-grad); stroke: none; }
.play.obj-sec .shackle { animation: latch .5s var(--spring) both; }
.play.obj-sec .body { animation: thunk .24s var(--ease-out) .3s both; }
.play.obj-sec .bolt { animation: pop .3s var(--spring) .36s both; }
.play.obj-sec .ring { animation: ping .7s var(--ease-out) .36s both; }
@keyframes latch { from { transform: translateY(-9px); } }
@keyframes thunk { 50% { transform: translateY(2px); } }
@keyframes ping { from { opacity: .8; transform: scale(.7); } to { opacity: 0; transform: scale(1.45); } }

.obj-ent .bar { fill: rgba(21, 101, 255, .16); transform-origin: bottom; }
.obj-ent .trend { stroke-dasharray: 1; }
.play.obj-ent .bar { animation: grow .44s var(--spring) both; }
.play.obj-ent .b2 { animation-delay: .08s; }
.play.obj-ent .b3 { animation-delay: .16s; }
.play.obj-ent .trend { animation: draw .55s var(--ease-out) .24s both; }
@keyframes grow { from { transform: scaleY(.12); } }

.obj-std .shell { fill: var(--ink-2); }
.obj-std .btn-a, .obj-std .btn-b { fill: url(#ix-grad); stroke: none; }
.play.obj-std .pad { animation: nudge .6s var(--spring) both; }
.play.obj-std .btn-a { animation: press .22s var(--ease-out) .24s both; }
.play.obj-std .btn-b { animation: press .22s var(--ease-out) .4s both; }
@keyframes nudge { 30% { transform: rotate(-7deg) translateY(-3px); } 65% { transform: rotate(4deg); } }
@keyframes press { 50% { transform: scale(.55); } }

/* Method lines draw in, one after another */
.steps li { position: relative; border-top-color: var(--line); }
.steps li::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, var(--electric), var(--purple));
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease-out) var(--delay, 0ms);
}
.steps li.in::before { transform: scaleX(1); }

/* Form */
.field { position: relative; }
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--purple));
  transform: scaleX(0); transform-origin: left; pointer-events: none;
  transition: transform .22s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.status.ok, .status.err { animation: lift .3s var(--ease-out) both; }

@media (prefers-reduced-motion: reduce) {
  .line > span, .hero .eyebrow, .lede, .actions, .hero-index, .status.ok, .status.err { animation: none; }
  .obj * { animation: none !important; }
  .steps li::before { transition: none; transform: scaleX(1); }
  .btn { transform: none; }
}

#signal { opacity: 0; transition: opacity 1.1s var(--ease-out); }
#signal.on { opacity: 1; }

/* Mobile menu */
.menu-btn { display: none; }
.direct { margin-top: 22px; color: var(--muted); }
.direct a, .fine a, .footer-links a { color: var(--fg); text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: var(--t-small); }
@media (max-width: 720px) {
  .nav nav { gap: 10px; }
  .js .menu-btn {
    position: relative; display: block;
    width: 40px; height: 40px; padding: 0;
    background: rgba(8, 27, 75, .06); border: 0; cursor: pointer;
  }
  .menu-btn span {
    position: absolute; left: 11px; width: 18px; height: 2px;
    background: var(--fg);
    transition: transform var(--fast) var(--ease-out);
  }
  .menu-btn span:first-child { top: 15px; }
  .menu-btn span:last-child { top: 23px; }
  .menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav.menu-open { background: var(--ink-2); border-color: var(--line); }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--gutter) 16px;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
  }
  .menu-open .nav-links { display: flex; }
  .nav nav .nav-links a { padding: 14px 0; font: 500 var(--t-lead) var(--display); color: var(--fg); border-bottom: 1px solid var(--line); }
  .nav nav .nav-links a:last-child { border-bottom: 0; }
}
@media (max-width: 400px) {
  .brand .brand-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-btn span { transition: none; }
}

/* Privacy notice */
.prose { max-width: 720px; }
.prose h1 { font-size: var(--t-h2); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 14px; }
.prose h2 { font-size: var(--t-h3); letter-spacing: -.01em; margin: 42px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; margin: 10px 0 0; }
.prose li { margin-top: 6px; }
.prose a { color: var(--fg); text-underline-offset: 3px; }
.prose .back { display: inline-block; margin-bottom: 40px; color: var(--muted); }

/* Stopper: the hero holds for a short run of scroll */
.hero-pin { height: 210vh; height: calc(100svh + 110vh); }
.hero-pin .hero { position: sticky; top: 0; }
.cycle { display: grid; margin-top: 18px; font: 500 var(--t-lead)/1.3 var(--display); color: var(--accent); }
.cycle span { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.cycle span.on { opacity: 1; transform: none; }
.hero-index li.on a { color: var(--accent); }
.hero-index li.on a::after { transform: scaleX(1); }
@media (max-height: 600px) { .hero-pin { height: auto; } .hero-pin .hero { position: relative; } }

/* Work spotlight */
.spot { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.spot-stage {
  position: sticky; top: 100px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, rgba(21, 101, 255, .14), rgba(123, 63, 242, .07) 70%), var(--ink-2);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}
.art { position: absolute; inset: 10%; width: 80%; height: 80%; fill: none; stroke: url(#ix-grad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .35s var(--ease-out); }
.art.on { opacity: 1; }
.art .pt { fill: var(--electric); stroke: none; }
.art .fillr { fill: rgba(21, 101, 255, .3); stroke: none; }
.art [pathLength] { stroke-dasharray: 1; }
.art [pathLength][stroke-dasharray] { stroke-dasharray: 6 6; }
.art.on [pathLength]:not([stroke-dasharray]) { animation: draw .8s var(--ease-out) both; }
.art.on .pt, .art.on .fillr { transform-box: fill-box; transform-origin: center; animation: pop .4s var(--spring) .25s both; }
.spot-item { padding: clamp(26px, 3.6vw, 44px) 0; border-top: 1px solid var(--line); cursor: default; }
.spot-item:last-child { border-bottom: 1px solid var(--line); }
.spot-item h3 { color: var(--muted); transition: color .25s var(--ease-out); }
.spot-item.on h3 { color: var(--fg); }
.spot-item.on .tag { color: var(--accent); }
.spot-item .tag { color: var(--muted); }
.spot-item h3 { margin-top: 12px; font-size: var(--t-h3); font-weight: 500; line-height: 1.14; }
.spot-item p { margin-top: 10px; color: var(--muted); max-width: 520px; }

/* Drawer */
html.drawer-lock { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 40; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 27, 75, .34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease-out); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(620px, 100%);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 72px clamp(20px, 4vw, 48px) 32px;
  background: var(--ink-2);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .34s var(--ease-out);
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel h2 { font-size: var(--t-h2); margin-bottom: 28px; }
.drawer .form-wrap input, .drawer .form-wrap select, .drawer .form-wrap textarea { background-color: var(--ink); }
.drawer .form-wrap textarea { min-height: 110px; }
.drawer-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; padding: 0; border: 0; background: rgba(8, 27, 75, .06); cursor: pointer; }
.drawer-close span { position: absolute; left: 11px; top: 19px; width: 18px; height: 2px; background: var(--fg); transform: rotate(45deg); }
.drawer-close span:last-child { transform: rotate(-45deg); }
.field[hidden], .form[hidden] { display: none; }

/* Confirmation */
.thanks { padding: 12px 0; outline: none; }
.thanks[hidden] { display: none; }
.thanks h3 { margin-top: 18px; font-size: var(--t-h3); font-weight: 500; }
.thanks p { margin: 8px 0 24px; color: var(--muted); }
.tick { width: 64px; height: 64px; fill: none; stroke: url(#ix-grad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tick [pathLength] { stroke-dasharray: 1; animation: draw .6s var(--ease-out) both; }
.tick path { animation-delay: .25s; }

/* Quark */
.bot { display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; margin-top: 18px; min-height: 72px; }
.bot[hidden] { display: none; }
.bot-bubble { max-width: 300px; padding: 9px 13px; background: var(--navy); color: #FFFFFF; font-size: var(--t-label); line-height: 1.35; clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.bot-bubble:empty { visibility: hidden; }
.bot-bubble.show { animation: lift .28s var(--ease-out) both; }
.bot-body { flex: none; width: 68px; height: 68px; overflow: visible; animation: hover-float 4s ease-in-out infinite; }
.bot-shell { fill: var(--ink); stroke: url(#ix-grad); stroke-width: 4; stroke-linejoin: round; }
.bot-visor { fill: #0B2263; }
.bot-ring { fill: none; stroke: rgba(8, 27, 75, .28); stroke-width: 1.4; }
.bot-eyes { transition: transform .12s linear; }
.bot-eye { fill: var(--electric); transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.bot-smile { display: none; fill: none; stroke: var(--electric); stroke-width: 3.4; stroke-linecap: round; }
.bot-electron { fill: var(--purple); offset-path: path("M4 50a46 16 0 1 0 92 0a46 16 0 1 0 -92 0"); animation: circuit 6s linear infinite; }
[data-face="happy"] .bot-eyes, [data-face="delighted"] .bot-eyes { display: none; }
[data-face="happy"] .bot-smile, [data-face="delighted"] .bot-smile { display: block; }
[data-face="curious"] .bot-eye:last-child { transform: scale(1.35); animation: none; }
[data-face="delighted"] { animation: nudge .6s var(--spring) both; }
[data-face="delighted"] .bot-electron { animation-duration: 1.2s; }
@keyframes hover-float { 50% { transform: translateY(-4px); } }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97.5% { transform: scaleY(.1); } }
@keyframes circuit { to { offset-distance: 100%; } }

@media (max-width: 960px) {
  .spot { grid-template-columns: 1fr; gap: 0; }
  .spot-stage { top: 74px; z-index: 2; height: 210px; aspect-ratio: auto; width: 100%; margin-bottom: 18px; background-color: var(--ink-2); }
}
@media (max-width: 720px) {
  .drawer-panel { border-left: 0; padding-top: 68px; }
  .bot-body { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pin { height: auto; }
  .hero-pin .hero { position: relative; }
  .cycle span { transition: none; }
  .art.on [pathLength]:not([stroke-dasharray]), .art.on .pt, .art.on .fillr, .tick [pathLength], .bot-body, .bot-eye, .bot-electron, .bot-bubble.show, [data-face="delighted"] { animation: none; }
  .art, .spot-item h3, .drawer-backdrop, .drawer-panel { transition: none; }
}

/* Client portal */
.portal { max-width: 860px; }
.portal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 56px; }
.portal-out { color: var(--muted); font-size: var(--t-small); }
.portal h1 { font-size: var(--t-h2); }
.portal-card { margin-top: 24px; padding: 26px; background: var(--ink-2); border: 1px solid var(--line); }
.portal-card h2 { font-size: var(--t-h3); margin-bottom: 14px; letter-spacing: -.01em; }
.portal-notice { margin-top: 20px; color: var(--accent); }
.portal-form { display: grid; gap: 14px; margin-top: 18px; }
.portal-form label { display: grid; gap: 6px; font-size: var(--t-small); font-weight: 500; }
.portal-form .btn { justify-self: start; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.doc-name { color: var(--fg); font-weight: 500; overflow-wrap: anywhere; }
.doc-meta { color: var(--muted); font-size: var(--t-label); }
.doc-del { padding: 6px 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: var(--t-label); text-decoration: underline; cursor: pointer; }
.doc-del:hover { color: #B3261E; }

@media (max-width: 720px) {
  :root { --t-body: 16px; }
  .nav { background: rgba(246, 247, 250, .92); border-color: var(--line); padding-block: 12px; }
}

/* Icon set: one 32-unit grid, one stroke, one colour */
.ico { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-tile {
  flex: none; display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: rgba(21, 101, 255, .08);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: background var(--fast) var(--ease-out);
}
.division dt { display: flex; align-items: center; gap: 14px; }
.division dd { margin-left: 58px; }
.division dl > dt:hover .ico-tile { background: rgba(21, 101, 255, .16); }
.obj { width: 84px; height: 84px; }
.hero-index a { display: flex; align-items: center; gap: 10px; }
.step-top { display: flex; align-items: center; gap: 12px; }
.steps .code { color: var(--muted); }
.promise li { display: flex; align-items: center; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .ico-tile { transition: none; } }

/* Sub-services */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.chips li { padding: 4px 9px; font-size: var(--t-label); line-height: 1.3; color: var(--fg); background: var(--ink); border: 1px solid var(--line); }
.division:hover .chips li { border-color: rgba(21, 101, 255, .3); }
.division dd { margin-bottom: 26px; }
@media (max-width: 720px) { .division dd { margin-left: 0; } }
