:root{
  --bg:#050506;
  --bg-2:#08080a;
  --surface:rgba(255,255,255,.028);
  --surface-hi:rgba(255,255,255,.045);
  --hair:rgba(255,255,255,.085);
  --hair-hi:rgba(255,255,255,.16);
  --text:#f4f4f6;
  --muted:#8e8e99;
  --muted-dim:#7a7a85;
  --jade:#3ddc9b;
  --violet:#a78bfa;
  --wrap:1080px;
  --nav-h:64px;
  --ease:cubic-bezier(.22,.61,.36,1);
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}

*,*::before,*::after{box-sizing:border-box}

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--nav-h) + 16px);
  background:var(--bg);
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Inter",
    "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size:17px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

h1,h2,h3{margin:0;font-weight:600;letter-spacing:-.028em;line-height:1.06}
p{margin:0}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}

.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 28px;position:relative;z-index:2}
.center{text-align:center}
.center .lede{margin-left:auto;margin-right:auto}

.skip{position:absolute;left:-9999px;top:0;z-index:200;background:#fff;color:#000;padding:12px 18px}
.skip:focus{left:0}

/* ---------- dot grid texture ---------- */

.grain{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:72px 72px;
  background-position:center top;
  -webkit-mask-image:radial-gradient(ellipse 80% 55% at 50% 0%,#000 0%,transparent 75%);
  mask-image:radial-gradient(ellipse 80% 55% at 50% 0%,#000 0%,transparent 75%);
}

/* ---------- ambient glows ---------- */

.glow{
  position:absolute;border-radius:50%;pointer-events:none;z-index:0;
  filter:blur(90px);
}
.glow-a{
  width:min(96vw,1180px);aspect-ratio:2.6;
  left:50%;top:-14%;transform:translateX(-50%);
  background:radial-gradient(ellipse at center,rgba(61,220,155,.34),transparent 64%);
}
.glow-b{
  width:min(46vw,560px);aspect-ratio:1.5;
  left:54%;top:2%;
  background:radial-gradient(circle,rgba(167,139,250,.26),transparent 68%);
}
.glow.low{top:auto;bottom:-34%}
.glow-b.low{left:auto;right:6%;bottom:-20%}
.glow.soft{opacity:.5}

/* ---------- nav ---------- */

.nav{
  position:fixed;top:14px;left:0;right:0;z-index:100;
  display:flex;justify-content:center;padding:0 20px;
}
.nav-pill{
  width:100%;max-width:var(--wrap);
  height:52px;padding:0 26px 0 20px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  border:1px solid var(--hair);
  border-radius:100px;
  background:rgba(12,12,15,.62);
  -webkit-backdrop-filter:saturate(180%) blur(18px);
  backdrop-filter:saturate(180%) blur(18px);
  transition:background .35s var(--ease),border-color .35s var(--ease);
}
.nav.scrolled .nav-pill{background:rgba(12,12,15,.85);border-color:var(--hair-hi)}

.wordmark{display:flex;align-items:center;gap:9px;font-size:14.5px;font-weight:600;letter-spacing:-.01em}
.mark{width:16px;height:16px;fill:#fff;display:block}

.nav-links{display:flex;align-items:center;gap:28px;font-size:13.5px;color:var(--muted)}
.nav-links a{transition:color .2s var(--ease)}
.nav-links a:hover{color:var(--text)}

/* ---------- buttons ---------- */

.btn{
  display:inline-block;background:#fff;color:#0a0a0c;
  font-weight:500;letter-spacing:-.008em;border-radius:100px;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.btn-sm{font-size:13.5px;padding:9px 18px}
.btn-lg{font-size:16px;padding:16px 32px;margin-top:44px;box-shadow:0 0 44px -8px rgba(255,255,255,.3)}
.btn:hover{transform:translateY(-2px);box-shadow:0 0 56px -6px rgba(255,255,255,.42)}

/* ---------- type ---------- */

.display{
  font-size:clamp(2.75rem,7.4vw,5.25rem);
  letter-spacing:-.042em;line-height:1.02;
}
.display .line{display:block}

.big{font-size:clamp(2rem,4.6vw,3.25rem);letter-spacing:-.034em;line-height:1.08}

/* the shine: bright-to-dim gradient fill + soft halo */
.shine{
  background:linear-gradient(176deg,#ffffff 8%,#e9e9ef 42%,#9a9aa6 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  filter:drop-shadow(0 0 34px rgba(255,255,255,.17)) drop-shadow(0 0 9px rgba(255,255,255,.10));
  padding-bottom:.06em;
}

.label{
  font-family:var(--mono);
  font-size:11.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted-dim);margin-bottom:24px;
}

.kicker{
  display:flex;align-items:center;gap:14px;
  font-family:var(--mono);
  font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:#a9acb4;
  margin-bottom:30px;
}
.kicker::before{
  content:"";width:36px;height:1px;flex:none;
  background:linear-gradient(90deg,var(--jade),rgba(61,220,155,0));
  box-shadow:0 0 8px rgba(61,220,155,.7);
}

.lede{
  font-size:clamp(1.0625rem,1.85vw,1.3125rem);
  line-height:1.55;color:var(--muted);max-width:33em;letter-spacing:-.009em;
  margin-top:30px;
}
.sub{font-size:1.0625rem;color:var(--muted);max-width:34em;margin-top:22px;line-height:1.6}

.hero-meta{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  margin-top:40px;font-family:var(--mono);font-size:12px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted-dim);
}
.dot{width:3px;height:3px;border-radius:50%;background:var(--hair-hi);display:inline-block}

/* ---------- hero ---------- */

.hero{
  min-height:94svh;
  display:flex;flex-direction:column;justify-content:center;
  padding:calc(var(--nav-h) + 72px) 0 72px;
  position:relative;overflow:hidden;
}

.scroll-cue{
  position:absolute;bottom:40px;left:50%;transform:translateX(-50%);z-index:2;
  width:22px;height:34px;border:1px solid var(--hair-hi);border-radius:12px;
}
.scroll-cue span{
  position:absolute;top:7px;left:50%;margin-left:-1.5px;
  width:3px;height:6px;border-radius:2px;background:#fff;opacity:.75;
  animation:cue 1.9s var(--ease) infinite;
}
@keyframes cue{
  0%{opacity:0;transform:translateY(0)}
  35%{opacity:.8}
  70%{opacity:0;transform:translateY(11px)}
  100%{opacity:0}
}

/* ---------- hero layout + cube ---------- */

.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:24px}
.hero .display,.contact .display{font-size:clamp(2.5rem,4.3vw,3.9rem)}

.hero-visual{
  position:relative;height:min(600px,64vh);min-height:380px;
  opacity:0;transition:opacity 1.4s var(--ease);
}
.hero-visual.ready{opacity:1}
.hero-visual.no-gl{display:none}
.hero-visual::before{
  content:"";position:absolute;inset:20%;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(61,220,155,.16),rgba(167,139,250,.08) 45%,transparent 70%);
  filter:blur(40px);
}
.hero-visual canvas{
  position:absolute;inset:0;width:100%;height:100%;display:block;
  -webkit-mask-image:radial-gradient(ellipse 62% 62% at 50% 50%,#000 55%,transparent 100%);
  mask-image:radial-gradient(ellipse 62% 62% at 50% 50%,#000 55%,transparent 100%);
}

/* ---------- running terminal ---------- */

.stage-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:56px;align-items:center}

.terminal{
  border:1px solid var(--hair);border-radius:18px;overflow:hidden;
  background:rgba(6,8,8,.88);
  box-shadow:0 0 0 1px rgba(61,220,155,.04),0 40px 90px -50px rgba(61,220,155,.4);
}
.term-bar{display:flex;align-items:center;gap:7px;padding:13px 16px;border-bottom:1px solid var(--hair)}
.term-bar span{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.12)}
.term-bar em{
  margin-left:10px;font-style:normal;font-family:var(--mono);
  font-size:11.5px;letter-spacing:.06em;color:var(--muted-dim);
}
.term-body{
  margin:0;padding:20px 22px 24px;
  font-family:var(--mono);font-size:13px;line-height:1.85;color:#cfd2d6;
  white-space:pre;overflow:hidden;min-height:17.6em;
}
.t-p{color:var(--jade)}
.t-k{color:#e8e8ee}
.t-d{color:#3e3e46}
.t-v{color:#a9acb4}
.t-ok{color:var(--jade);text-shadow:0 0 10px rgba(61,220,155,.45)}
.t-no{color:var(--violet);text-shadow:0 0 10px rgba(167,139,250,.4)}
.t-caret{
  display:inline-block;width:.6em;height:1.1em;vertical-align:-.2em;margin-left:2px;
  background:var(--jade);box-shadow:0 0 8px rgba(61,220,155,.6);
  animation:blink 1.05s steps(1) infinite;
}
@keyframes blink{50%{opacity:0}}

/* ---------- sections ---------- */

section{padding:80px 0;position:relative}
.statement{padding-top:40px;padding-bottom:48px}
.focus-grid{padding-top:0}
.stage{background:var(--bg-2);border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);overflow:hidden}
.contact{padding:120px 0;overflow:hidden;border-top:1px solid var(--hair)}

/* ---------- focus cards ---------- */

.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:22px}

.card{
  border:1px solid var(--hair);border-radius:22px;padding:40px 36px 36px;
  background:var(--surface);
  transition:transform .5s var(--ease),border-color .5s var(--ease),background .5s var(--ease);
}
.card:hover{transform:translateY(-4px);border-color:var(--hair-hi);background:var(--surface-hi)}
.num{
  font-family:var(--mono);font-size:11.5px;color:var(--muted-dim);
  letter-spacing:.12em;display:block;margin-bottom:26px;
}
.card h3{font-size:1.75rem;letter-spacing:-.026em;margin-bottom:16px}
.card p{color:var(--muted);line-height:1.62}

.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.tags li{
  font-family:var(--mono);font-size:11px;letter-spacing:.04em;color:#b4b4bf;
  border:1px solid var(--hair);border-radius:100px;padding:6px 12px;
  background:rgba(255,255,255,.02);
}

/* ---------- stats ---------- */

.stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  margin-top:56px;border-top:1px solid var(--hair);padding-top:36px;
}
.stat{display:flex;flex-direction:column;gap:9px}
.stat-k{font-size:clamp(1.25rem,2.3vw,1.6rem);font-weight:600;letter-spacing:-.026em}
.stat-v{font-family:var(--mono);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted-dim)}
.stat-d{margin:4px 0 0;color:var(--muted);font-size:15px;line-height:1.55;max-width:22em}

/* ---------- places ---------- */

.city-row{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:52px}
.city{padding-top:24px;border-top:1px solid var(--hair)}
.city-n{font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;color:var(--muted-dim);display:block;margin-bottom:14px}
.city h3{font-size:1.3125rem;letter-spacing:-.024em;margin-bottom:12px}
.city p{color:var(--muted);font-size:15.5px;line-height:1.62;max-width:30em}

/* ---------- approach ---------- */

.rows{margin-top:48px}
.row{display:grid;grid-template-columns:72px 1fr;gap:16px;padding:34px 0;border-top:1px solid var(--hair)}
.row:last-child{border-bottom:1px solid var(--hair)}
.row-n{font-family:var(--mono);font-size:11.5px;color:var(--muted-dim);letter-spacing:.12em;padding-top:6px}
.row h3{font-size:1.3125rem;letter-spacing:-.024em;margin-bottom:10px}
.row p{color:var(--muted);max-width:44em;line-height:1.62}

/* ---------- footer ---------- */

.footer{padding:40px 0;border-top:1px solid var(--hair);font-size:13px;position:relative;z-index:2}
.footer-inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.wordmark-sm{font-weight:500}
.muted{color:var(--muted-dim)}

/* ---------- reveal ---------- */

/* Doubled class so these win over a card's own hover transition while it is appearing;
   script.js removes both classes once the element has settled. */
.reveal.reveal{
  opacity:0;transform:translateY(16px);
  transition:opacity .6s var(--ease) var(--d,0ms),transform .6s var(--ease) var(--d,0ms);
}
.reveal.reveal.in{opacity:1;transform:none}

/* ---------- responsive ---------- */

@media (max-width:860px){
  .grid-2,.stats,.city-row{grid-template-columns:1fr}
  .stats{gap:30px}
  .city-row{gap:32px;margin-top:40px}
  .nav-links{display:none}
  .nav-pill{padding:0 18px}
  section{padding:56px 0}
  .contact{padding:88px 0}
  .hero{padding-bottom:48px}
  .statement{padding-top:32px}
  .row{grid-template-columns:48px 1fr}
  .hero{min-height:auto;padding-top:calc(var(--nav-h) + 64px)}
  .hero-grid,.stage-grid{grid-template-columns:1fr}
  .stage-grid{gap:40px}
  .hero-visual{height:340px;min-height:0;margin-top:16px}
  .scroll-cue{display:none}
}

@media (max-width:480px){
  .wrap{padding:0 20px}
  .card{padding:32px 26px}
  .kicker{font-size:10.5px;letter-spacing:.12em}
  .term-body{font-size:10.5px;padding:16px 14px 18px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal.reveal{opacity:1;transform:none;transition:none}
  .scroll-cue span{animation:none;opacity:.6}
  .t-caret{animation:none}
  .hero-visual{transition:none}
  .card:hover,.btn:hover{transform:none}
}

/* ---------- mission + story ---------- */

/* the Mission uses the same top and bottom spacing as the Story (the section default) */
.mission + .statement{padding-top:80px}
/* same size and colour as the .sub line under the Focus headline */
.mission-text{max-width:34em;font-size:1.0625rem;color:var(--muted);line-height:1.6}
.mission-text p{margin:0}
.mission-text p + p{margin-top:1.05em}
/* words start grey and turn white as the reader scrolls through them */
.words .w{transition:color .3s var(--ease)}
.words .w.on{color:var(--text)}

.story{background:var(--bg-2);border-top:1px solid var(--hair)}
.story-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:64px;align-items:start}
.story .big,.mission .big,.focus3 .big,.faq .big{font-size:clamp(1.9rem,3.5vw,2.6rem)}
/* the headline sits on the same line as the first words of the text beside it */
.mission-grid{align-items:baseline}
.story-tag{margin:16px 0 0}

/* faint drifting cubes behind the Mission and Story (bits.js) */
.bits{position:absolute;z-index:1;pointer-events:none}   /* placed and sized by bits.js */
.story-body p{margin:0;color:var(--muted);font-size:1.0625rem;line-height:1.6}
.story-body p + p{margin-top:1.25em}

@media (max-width:860px){
  .mission + .statement{padding-top:56px}
  .story-grid{grid-template-columns:1fr;gap:36px}
}

@media (prefers-reduced-motion:reduce){
  .words .w{transition:none}
}

/* ---------- focus: summary cards (title, picture, labels) ---------- */

.focus3{padding-top:80px}
.f3-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px}
/* card pictures only animate while the cards are on screen (script.js) */
.f3-grid.is-paused *{animation-play-state:paused}
.f3-card{
  display:flex;flex-direction:column;align-items:center;gap:22px;
  padding:30px 18px 26px;text-align:center;
  border:1px solid var(--hair);border-radius:22px;
  /* a very light jade hue: a faint wash inside and the same soft glow the terminal has, only lighter */
  background:radial-gradient(120% 75% at 50% 0%,rgba(61,220,155,.055),transparent 68%),var(--surface);
  box-shadow:0 0 0 1px rgba(61,220,155,.03),0 34px 70px -46px rgba(61,220,155,.32);
  transition:transform .5s var(--ease),border-color .5s var(--ease),box-shadow .5s var(--ease);
}
.f3-card:hover{
  transform:translateY(-4px);border-color:var(--hair-hi);
  box-shadow:0 0 0 1px rgba(61,220,155,.06),0 38px 76px -44px rgba(61,220,155,.42);
}
.f3-t{font-size:1.1875rem;font-weight:600;letter-spacing:-.02em;line-height:1.25}
.f3-art{width:128px;height:128px;flex:none;overflow:visible;fill:none;stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round}
/* every card carries three labels, one per line, so the row reads evenly */
.f3-tags{flex-direction:column;align-items:center;margin-top:0;gap:7px}
.f3-tags li{padding:5px 10px;text-align:center}
.f3-jade{stroke:var(--jade);filter:drop-shadow(0 0 5px rgba(61,220,155,.55))}
.f3-violet{stroke:var(--violet);filter:drop-shadow(0 0 5px rgba(167,139,250,.5))}
.f3-dim{stroke:rgba(255,255,255,.82)}
/* Enterprise AI: a light traces the cube; the core stays still */
/* a bright head with a softer green tail behind it, like a comet, so it holds its own next to the scan */
.f3-trace{stroke:#f2fff9;stroke-width:2.3;stroke-dasharray:24 180;stroke-dashoffset:-40px;filter:drop-shadow(0 0 5px rgba(61,220,155,1)) drop-shadow(0 0 2px rgba(255,255,255,.7));animation:f3-trace 4.6s linear infinite}
.f3-trace-tail{stroke:var(--jade);stroke-width:2;stroke-dasharray:64 140;opacity:.5;animation:f3-trace-tail 4.6s linear infinite}
@keyframes f3-trace{to{stroke-dashoffset:-244px}}
@keyframes f3-trace-tail{to{stroke-dashoffset:-204px}}
.f3-core{opacity:.8}
/* Early stage: the cubes light up in turn, smallest first */
.f3-step{opacity:.42;stroke-width:1.4;animation:f3-step 2.7s ease-in-out infinite}
.f3-dim.f3-step{filter:drop-shadow(0 0 4px rgba(255,255,255,.4))}
.f3-step-2{animation-delay:.3s}
.f3-step-3{animation-delay:.6s}
@keyframes f3-step{0%,46%,100%{opacity:.42}12%,22%{opacity:1}}
/* Cybersecurity: a scan line sweeps down through the cube, inside a dotted green ring */
/* the ring is always there: it rests dim and breathes brighter on its own loop, two breaths per scan */
.f3-shell{stroke:var(--jade);stroke-width:1.7;stroke-dasharray:.1 5.025;transform-origin:60px 60px;animation:f3-shell 1.6s ease-in-out infinite}
@keyframes f3-shell{
  0%,100%{transform:scale(1);opacity:.42}
  50%{transform:scale(1.06);opacity:1}
}
.f3-scan{animation:f3-scan 3.2s cubic-bezier(.45,0,.55,1) infinite}
.f3-scan-line{stroke:#eaf6ff;stroke-width:1.4;filter:drop-shadow(0 0 4px rgba(191,233,255,.95))}
@keyframes f3-scan{
  0%{transform:translateY(-6px);opacity:0}
  9%{opacity:1}
  66%{transform:translateY(62px);opacity:1}
  74%,100%{transform:translateY(62px);opacity:0}
}
@keyframes f3-spin{to{transform:rotate(360deg)}}
.f3-link{stroke:rgba(255,255,255,.22);stroke-dasharray:3 5}
.f3-node{stroke:none}
/* Three hubs: each corner swells and settles in turn; the triangle turns very slowly */
.f3-tri{transform-origin:60.7px 62.7px;animation:f3-spin 70s linear infinite}
.f3-node-a{--c:61,220,155}
.f3-node-b{--c:167,139,250}
.f3-node-c{--c:191,233,255}
.f3-node{fill:rgb(var(--c));filter:drop-shadow(0 0 5px rgba(var(--c),.7));transform-box:fill-box;transform-origin:center;animation:f3-pop 4.5s ease-in-out infinite}
.f3-node-b{animation-delay:1.5s}
.f3-node-c{animation-delay:3s}
@keyframes f3-pop{0%,34%,100%{transform:scale(1)}17%{transform:scale(1.9)}}

/* cards always stand side by side: four across on wide screens, two by two below that */
@media (max-width:1000px){
  .f3-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .focus3{padding-top:56px}
  .f3-grid{gap:12px;margin-top:32px}
}
@media (max-width:480px){
  .f3-card{padding:22px 10px 20px;gap:16px;border-radius:18px}
  .f3-t{font-size:1.0625rem}
  .f3-art{width:96px;height:96px}
  .f3-tags{gap:6px}
  .f3-tags li{font-size:10px;padding:4px 8px;letter-spacing:.02em}
}

@media (prefers-reduced-motion:reduce){
  .f3-trace,.f3-trace-tail,.f3-step,.f3-scan,.f3-shell,.f3-tri,.f3-node{animation:none}
  .f3-shell{opacity:.6}
  .f3-trace,.f3-trace-tail,.f3-scan{display:none}
  .f3-step{opacity:.75}
}

/* ---------- FAQ: four cards that open on click ---------- */

.faq-list{display:grid;gap:12px;margin-top:44px}
.faq-item{
  border:1px solid var(--hair);border-radius:18px;background:var(--surface);
  transition:border-color .4s var(--ease),background .4s var(--ease);
}
.faq-item:hover,.faq-item.open{border-color:var(--hair-hi)}
.faq-item.open{background:var(--surface-hi)}
.faq-h{margin:0;font:inherit}
.faq-q{
  display:grid;grid-template-columns:56px 1fr 22px;align-items:center;gap:8px;
  width:100%;padding:24px 26px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;
}
.faq-q:focus-visible{outline:2px solid var(--jade);outline-offset:-2px;border-radius:18px}
.faq-n{font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;color:var(--muted-dim)}
.faq-t{font-size:1.125rem;font-weight:600;letter-spacing:-.018em;line-height:1.3}
/* plus sign that becomes a minus when the card is open */
.faq-i{position:relative;width:14px;height:14px;justify-self:end}
.faq-i::before,.faq-i::after{
  content:"";position:absolute;left:0;top:6px;width:14px;height:1.5px;border-radius:2px;background:var(--jade);
  transition:transform .4s var(--ease),opacity .4s var(--ease);
}
.faq-i::after{transform:rotate(90deg)}
.faq-item.open .faq-i::after{transform:rotate(0deg);opacity:0}
/* the answer grows open smoothly; while closed it is hidden from keyboards and screen readers too */
.faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--ease)}
.faq-a-in{overflow:hidden;min-height:0;visibility:hidden;transition:visibility 0s .45s}
.faq-item.open .faq-a{grid-template-rows:1fr}
.faq-item.open .faq-a-in{visibility:visible;transition-delay:0s}
.faq-a p{margin:0;padding:0 64px 26px 90px;max-width:52em;color:var(--muted);font-size:1.0625rem;line-height:1.65}
.faq-a a{color:var(--text);text-decoration:underline;text-decoration-color:rgba(61,220,155,.6);text-underline-offset:3px}
/* without JavaScript every answer simply shows */
.faq-list:not(.is-ready) .faq-a{grid-template-rows:1fr}
.faq-list:not(.is-ready) .faq-a-in{visibility:visible}
.faq-list:not(.is-ready) .faq-i{display:none}

@media (max-width:860px){
  .faq-list{margin-top:32px}
  .faq-q{grid-template-columns:38px 1fr 18px;padding:20px 18px}
  .faq-t{font-size:1.0625rem}
  .faq-a p{padding:0 18px 22px 64px;font-size:1rem}
}
@media (prefers-reduced-motion:reduce){
  .faq-a,.faq-a-in,.faq-i::before,.faq-i::after{transition:none}
}

/* ---------- lighter effects on phones and tablets ----------
   Same look at this size, far less work for the device: no large blurs, no frosted glass,
   and no glow filters that have to be redrawn on every frame. */
@media (max-width:860px){
  /* background glows: at this width the heavy blur smeared them until they were all but invisible,
     so they are simply not drawn */
  .glow{display:none}
  /* menu bar: solid instead of frosted glass */
  .nav-pill{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(12,12,15,.9)}
  .nav.scrolled .nav-pill{background:rgba(12,12,15,.94)}
  /* headline halo: one soft shadow instead of two */
  .shine{filter:drop-shadow(0 0 20px rgba(255,255,255,.2))}
  /* card pictures: no per-line glow; slightly thicker lines keep them bright */
  .f3-art path,.f3-art circle{filter:none !important}
  .f3-art{stroke-width:1.5}
  .f3-trace{stroke-width:2.7}
  .f3-scan-line{stroke-width:1.7}
  /* FAQ cards open a little quicker */
  .faq-a{transition-duration:.34s}
  .faq-a-in{transition-delay:.34s}
}

/* ---------- opening screen ("prelude") ----------
   One full screen: headline on the left rising word by word under a kicker that types itself,
   a Learn more button, and the cube large on the right.
   Two rules shape the cube's area:
   1. It starts to the right of the headline (script.js measures the headline and sets --pre-left),
      so the cube can never sit on the words, whatever the screen size.
   2. It has no edges: the cube dissolves evenly on every side (top, bottom, left and right) well
      before its area ends. cube.js reports the cube's size so the fade follows the cube itself. */

/* sideways the screen edge trims the cube area (no sideways scrolling); downwards it is free to run on */
.hero.prelude{min-height:100svh;padding:var(--nav-h) 0 0;display:flex;flex-direction:row;align-items:center;overflow:visible;overflow-x:clip;overflow-y:visible}
.prelude-wrap{position:relative;z-index:2;width:100%}
.prelude-copy{display:inline-block;max-width:100%}
.prelude .kicker{margin-bottom:26px}
.hero .pre-title{font-size:clamp(2.6rem,4.9vw,4.2rem);white-space:nowrap;filter:drop-shadow(0 0 34px rgba(255,255,255,.17)) drop-shadow(0 0 9px rgba(255,255,255,.10))}
.prelude .hero-visual{
  position:absolute;top:0;bottom:-110px;left:var(--pre-left,54vw);right:0;
  width:auto;height:auto;min-height:0;margin:0;z-index:1;pointer-events:none;
}
.prelude .hero-visual::before{inset:26%}
.prelude .hero-visual canvas{
  --fade:radial-gradient(ellipse var(--fade-x,48%) var(--fade-y,46%) at 50% 50%,#000 0%,#000 46%,rgba(0,0,0,.78) 60%,rgba(0,0,0,.46) 74%,rgba(0,0,0,.18) 88%,rgba(0,0,0,.05) 96%,transparent 100%);
  -webkit-mask-image:var(--fade);mask-image:var(--fade);
}
/* each word carries its own sheen so it can move on its own */
.pre-title .pw{
  display:inline-block;padding-bottom:.08em;
  background:linear-gradient(176deg,#ffffff 10%,#ececf1 55%,#b9b9c4 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
}
.pre-line2 .pw{background-image:linear-gradient(176deg,#e6e6ec 10%,#b4b4bf 55%,#8d8d99 100%)}
/* what the firm does and where, right under the headline. "width:0; min-width:100%" keeps the
   sentence exactly as wide as the headline, so it can never push into the cube's side. */
.prelude .pre-lede{font-size:clamp(1rem,1.32vw,1.1875rem);line-height:1.55;margin-top:26px;width:0;min-width:100%;max-width:none}
.prelude .pre-meta{margin-top:24px;gap:12px}
.btn.pre-cta{
  display:inline-flex;align-items:center;gap:7px;margin-top:30px;padding:8px 13px 8px 16px;position:relative;
  font-size:13px;line-height:1.3;min-height:0;color:var(--text);background:rgba(255,255,255,.06);border:1px solid var(--hair-hi);box-shadow:none;
}
.btn.pre-cta:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.3);box-shadow:none}
/* the button is small, so an invisible margin around it keeps it easy to tap */
.btn.pre-cta::after{content:"";position:absolute;inset:-7px -6px}
.pre-arrow{width:12px;height:12px;fill:none;stroke:var(--jade);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;animation:pre-bob 1.9s ease-in-out 3.2s infinite}
@keyframes pre-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(3px)}}
.pre-typed .type-rest{visibility:hidden}
.pre-typed .t-caret{width:.5em;height:1em;vertical-align:-.14em;margin-left:1px}

/* the entrance: only when scripts run; otherwise everything simply shows */
.js .prelude:not(.go) .pw,.js .prelude:not(.go) .pre-cta,.js .prelude:not(.go) .pre-lede,.js .prelude:not(.go) .pre-meta{opacity:0}
.js .prelude .pre-kicker::before{transform-origin:left center;transform:scaleX(0)}
.js .prelude.go .pre-kicker::before{animation:pre-line .6s var(--ease) .3s both}
@keyframes pre-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.prelude.go .pw{animation:pre-rise .9s var(--ease) both;animation-delay:calc(1s + var(--i) * .26s)}
.prelude.go .pre-lede{animation:pre-rise .8s var(--ease) 1.8s both}
.prelude.go .pre-meta{animation:pre-rise .8s var(--ease) 2.05s both}
.prelude.go .pre-cta{animation:pre-rise .8s var(--ease) 2.35s both}
@keyframes pre-rise{from{opacity:0;transform:translateY(.5em)}to{opacity:1;transform:none}}

@media (max-width:860px){
  /* phones: the words first, then the cube below them. Its area starts under the button and the
     cube dissolves on every side before reaching the screen edges. */
  .hero.prelude{flex-direction:column;align-items:stretch;min-height:100svh;padding:calc(var(--nav-h) + 30px) 0 0}
  .prelude-wrap{order:1}
  .prelude-copy{display:block}
  .prelude .pre-lede{width:auto;min-width:0;max-width:30em;font-size:1rem;margin-top:20px}
  .prelude .pre-meta{margin-top:18px;gap:10px;font-size:11px}
  .hero .pre-title{white-space:normal;filter:drop-shadow(0 0 20px rgba(255,255,255,.2))}
  .prelude .hero-visual{
    order:2;position:relative;top:auto;bottom:auto;left:auto;right:auto;
    flex:1 1 auto;width:100%;margin:0;height:auto;min-height:230px;max-height:460px;
  }
  .btn.pre-cta{margin-top:22px}
}
@media (prefers-reduced-motion:reduce){
  .js .prelude .pw,.js .prelude .pre-cta,.js .prelude .pre-lede,.js .prelude .pre-meta{opacity:1 !important;animation:none !important}
  .js .prelude .pre-kicker::before{transform:none;animation:none}
  .pre-arrow{animation:none}
}

/* ---------- scroll progress line (every screen size) ----------
   A two-pixel line across the very top that fills from left to right as you move down the page.
   Only its scale changes, which the device can do without redrawing anything. */
.progress{position:fixed;top:0;left:0;right:0;height:2px;z-index:150;pointer-events:none}
.progress span{display:block;height:100%;background:var(--jade);transform:scaleX(0);transform-origin:0 50%;will-change:transform}

/* ---------- X and LinkedIn links ----------
   Two small grey icons, in the top bar and in the footer. They brighten on hover and open in a new tab. */
.social{display:flex;align-items:center;gap:2px;flex:none}
.social a{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;color:var(--muted);transition:color .2s var(--ease),background .2s var(--ease)}
.social a:hover{color:var(--text);background:rgba(255,255,255,.07)}
.social svg{width:13.5px;height:13.5px;fill:currentColor;display:block}
.nav-right{display:flex;align-items:center;gap:16px}
.nav-social{padding-left:12px;border-left:1px solid var(--hair);margin-right:-12px}
.footer-inner{align-items:center}
.footer-social{margin:-8px -9px -8px 0}
.footer-social a{color:var(--muted-dim)}
@media (max-width:860px){
  /* phones: the icons sit at the right end of the top bar, with a comfortable tap area */
  .nav-social{padding-left:0;border-left:0;margin-right:-8px}
  .social a{width:38px;height:38px}
  .social svg{width:14.5px;height:14.5px}
  /* footer: name and icons on one row, the cities underneath */
  .footer-inner .muted{order:3;width:100%}
  .footer-social{margin:-10px -11px -10px 0}
}
