:root{
  --white:#FFFFFF;
  --mist:#F3F4F6;
  --ink:#0B0B0C;
  --muted:#55585E;
  --line:#E3E5E8;
  --cobalt:#1F3FD6;
  --cobalt-light:#6E86FF;
  --ink-muted:#B4B8C0;
  --ink-line:#2A2C30;
  --error:#B3261E;
  --error-ink:#8A1C16;
  --gutter:clamp(20px,5.5vw,80px);
  --pad-section:clamp(72px,10vw,144px);
  --ease:cubic-bezier(.2,.7,.2,1);
  --font:'Archivo',system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--font);font-weight:400;font-size:18px;line-height:1.5;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:var(--ink)}
a:hover{color:var(--cobalt)}
h1,h2,h3,p,ul{margin:0}
ul{padding:0;list-style:none}
.pill{display:inline-block;white-space:nowrap;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;border:1px solid var(--ink)}

@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes drift{from{transform:translateY(0)}to{transform:translateY(-12px)}}
@keyframes wordUp{from{transform:translateY(110%)}to{transform:none}}
@keyframes vt-out{from{opacity:1}to{opacity:0}}
@keyframes vt-in{from{opacity:0}to{opacity:1}}

/* Page cross-fade (browsers without support navigate normally) */
@view-transition{navigation:auto}
::view-transition-old(root){animation:vt-out .25s var(--ease) both}
::view-transition-new(root){animation:vt-in .4s var(--ease) both}

/* Focus */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--cobalt);outline-offset:2px}
.site-footer a:focus-visible{outline-color:var(--cobalt-light)}

/* Skip link */
.skip-link{position:absolute;left:12px;top:-100px;z-index:100;background:var(--ink);color:var(--white);padding:12px 20px;font-weight:600;text-decoration:none}
.skip-link:focus{top:12px;color:var(--white)}

.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Layout */
.wrap{max-width:1280px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.section{border-top:1px solid var(--line)}
.section-pad{padding-top:var(--pad-section);padding-bottom:var(--pad-section)}
.stack{display:flex;flex-direction:column;align-items:flex-start;gap:56px}
.stack-sm{display:flex;flex-direction:column;gap:20px}
.grid{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:40px 48px}

/* Type */
.accent{color:var(--cobalt)}
.h1{font-weight:800;font-size:clamp(48px,7.2vw,104px);line-height:.95;letter-spacing:-0.035em}
.h2{font-weight:800;font-size:clamp(34px,4.4vw,60px);line-height:1;letter-spacing:-0.03em}
.h3{font-weight:700;font-size:24px;line-height:1.15}
.label{font-weight:600;font-size:13px;line-height:1.2;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}
.lead{max-width:560px;font-size:21px;line-height:1.5;color:var(--muted)}
.lead-ink{color:var(--ink)}
.body{max-width:560px;font-size:18px;line-height:1.5;color:var(--muted)}
.body-lg{max-width:560px;font-size:20px;line-height:1.5;color:var(--muted)}
.small{font-size:15px;line-height:1.5;color:var(--muted)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--white);border-bottom:1px solid var(--line);transition:border-color .5s var(--ease)}
.js-header .site-header{border-bottom-color:transparent}
.js-header .site-header.is-scrolled{border-bottom-color:var(--line)}
.scroll-progress{position:fixed;top:0;left:0;width:100%;height:2px;z-index:60;background:var(--cobalt);transform:scaleX(0);transform-origin:left;pointer-events:none;will-change:transform}
.nav{max-width:1280px;margin:0 auto;padding:24px var(--gutter);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px}
.wordmark{display:flex;flex-direction:column;font-weight:800;font-size:18px;line-height:.95;letter-spacing:-0.035em;color:var(--ink);text-decoration:none;min-height:44px;justify-content:center}
.wordmark:hover{color:var(--ink)}
.nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 36px}
.navlink,.footlink,.textlink{background-image:linear-gradient(currentColor,currentColor);background-repeat:no-repeat;background-position:0 calc(50% + 14px);background-size:0% 2px;transition:color .3s ease,background-size .35s var(--ease)}
.navlink{display:inline-flex;align-items:center;min-height:44px;font-weight:500;font-size:17px;color:var(--ink);text-decoration:none}
.navlink:hover,.navlink:focus-visible{color:var(--cobalt);background-size:100% 2px}
.navlink[aria-current="page"]{background-size:100% 2px}

/* Phones: one row (wordmark and Menu), the links open below it */
@media (max-width:640px){
  .nav{padding-top:8px;padding-bottom:8px;row-gap:0}
  .js-nav .nav-links{display:none;flex:1 0 100%;flex-direction:column;align-items:stretch;gap:0;padding-bottom:12px}
  .js-nav.is-open .nav-links{display:flex}
  .js-nav .navlink{border-top:1px solid var(--line);min-height:52px;font-size:18px;background-image:none}
  .js-nav .navlink[aria-current="page"]{color:var(--cobalt)}
  .js-nav .nav-links .btn{margin-top:12px}
  .form-foot .btn{align-self:stretch}
}
@media (min-width:641px){.nav-toggle{display:none!important}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-family:inherit;font-weight:600;font-size:18px;line-height:1.2;text-decoration:none;cursor:pointer;border:2px solid var(--ink);border-radius:0;padding:16px 28px;color:var(--ink);background-color:transparent;background-image:linear-gradient(var(--cobalt),var(--cobalt));background-repeat:no-repeat;background-position:0 0;background-size:0% 100%;transition:background-size .45s var(--ease),border-color .45s var(--ease),color .45s var(--ease)}
.btn:hover,.btn:focus-visible{background-size:100% 100%;border-color:var(--cobalt);color:var(--white)}
.btn-primary{background-color:var(--ink);color:var(--white)}
.btn-sm{font-size:16px;padding:9px 20px}
.btn[disabled]{opacity:.6;cursor:default}

/* Text link */
.textlink{display:inline-flex;align-items:center;min-height:44px;font-weight:500;font-size:18px;color:var(--ink);text-decoration:none;background-image:linear-gradient(var(--cobalt),var(--cobalt)),linear-gradient(var(--ink),var(--ink));background-position:0 calc(50% + 14px),0 calc(50% + 14px);background-size:0% 2px,100% 2px}
.textlink:hover,.textlink:focus-visible{color:var(--cobalt);background-size:100% 2px,100% 2px}

/* Hero */
.hero-inner{padding-top:clamp(72px,10vw,144px);padding-bottom:clamp(72px,10vw,144px)}
.hero-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:48px}
.hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:32px;max-width:900px}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px}
.circle{width:clamp(120px,16vw,220px);aspect-ratio:1;border-radius:50%;background:var(--cobalt)}
.circle-drift{animation:drift 5s ease-in-out infinite alternate}
.circle-static{width:clamp(96px,14vw,160px)}
.rise{animation:rise .8s var(--ease) both}
.d1{animation-delay:.15s}
.d2{animation-delay:.35s}
.d3{animation-delay:.55s}
.d4{animation-delay:.8s}
/* The 900px copy column plus gap plus circle exceeded the 1122px content width, so the circle wrapped under the buttons. Keep one row above 640px. */
@media (min-width:641px){
  .hero-row{flex-wrap:nowrap}
  .hero-copy{flex:1 1 0;min-width:0}
  .hero-visual{flex:none}
}
@media (max-width:640px){
  .hero-visual{display:none}
}

/* Page intro (Services) */
.intro{padding-top:clamp(72px,9vw,128px);padding-bottom:clamp(48px,6vw,80px);display:flex;flex-direction:column;gap:24px}

/* Items */
.item{position:relative;padding-top:21px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.item-demo{gap:16px}
.step{display:flex;flex-direction:column;gap:12px}
.step-n{font-weight:800;font-size:60px;line-height:1;letter-spacing:-0.035em;color:var(--ink);transition:color 1.2s var(--ease)}
.step-ruled{position:relative;padding-top:25px;gap:16px}
.demo-square{width:120px;height:120px;background:var(--mist)}
.demo-square.lift,.lift{transition:transform .6s var(--ease)}
.lift:hover{transform:translateY(-6px)}

/* Logos */
.logo-row{display:flex;align-items:center;gap:14px;color:var(--ink)}
.logo-mark{width:28px;height:28px;flex:none;fill:currentColor}
.logo-name{font-weight:700;font-size:24px;line-height:1.15}
.logo-inline{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;white-space:nowrap;font-weight:600;color:var(--ink)}
.logo-inline .logo-mark{width:20px;height:20px}
.stack-line{font-size:20px;line-height:1.8;color:var(--muted)}

/* Service rows */
.service{position:relative}
.service-inner{padding-top:clamp(40px,5vw,64px);padding-bottom:clamp(40px,5vw,64px);display:flex;flex-wrap:wrap;gap:24px 64px}
.service-head{flex:1 1 280px;display:flex;flex-direction:column;gap:16px}
.service-num{font-weight:600;font-size:28px;line-height:1;letter-spacing:.12em;color:var(--muted)}
.service-body{flex:2 1 420px;max-width:640px;display:flex;flex-direction:column;gap:24px}
.service-body p{font-size:20px;line-height:1.5;color:var(--ink)}
.rules li{font-size:18px;line-height:1.5;border-top:1px solid var(--line);padding:14px 0}

/* Closing band */
.closing{border-top:1px solid var(--line)}
.closing-inner{padding-top:var(--pad-section);padding-bottom:var(--pad-section);display:flex;flex-direction:column;align-items:flex-start;gap:32px}
.closing h2{max-width:820px}
.closing p{max-width:520px}

/* About */
.about-row{display:flex;flex-wrap:wrap;gap:48px 80px;align-items:flex-end}
.about-copy{flex:1 1 420px;display:flex;flex-direction:column;gap:32px}
.about-intro{padding-top:clamp(72px,9vw,128px);padding-bottom:var(--pad-section)}
.based{display:flex;flex-direction:column;gap:20px}
.based-place{font-weight:800;font-size:clamp(34px,4.4vw,60px);line-height:1;letter-spacing:-0.03em}

/* Contact */
.contact-row{display:flex;flex-wrap:wrap;gap:56px 96px;align-items:flex-start}
.contact-copy{flex:1 1 380px;display:flex;flex-direction:column;gap:32px}
.contact-copy .lead{max-width:520px}
.detail{border-top:1px solid var(--ink);padding-top:16px;display:flex;flex-direction:column;gap:6px}
.contact-form-wrap{flex:1 1 420px;max-width:560px}
.form{display:flex;flex-direction:column;gap:28px}
.field{position:relative;display:flex;flex-direction:column;gap:8px}
.field::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--cobalt);transform:scaleX(0);transform-origin:left;transition:transform .6s var(--ease);pointer-events:none}
.field:focus-within::after{transform:scaleX(1)}
.field label{font-weight:600;font-size:15px;color:var(--ink)}
.field input,.field select,.field textarea{width:100%;font-family:inherit;font-size:18px;color:var(--ink);background:var(--white);border:0;border-bottom:2px solid var(--ink);border-radius:0;padding:12px 0;min-height:48px;-webkit-appearance:none;appearance:none}
.field select{background-image:none;cursor:pointer}
.field textarea{resize:vertical}
.form-foot{display:flex;flex-direction:column;gap:16px}
.form-foot .btn{align-self:flex-start}
#form-status{min-height:1.5em;font-size:16px;color:var(--ink)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Footer */
.site-footer{background:var(--ink);color:var(--white)}
.footer-inner{max-width:1280px;margin:0 auto;padding:64px var(--gutter) 40px;display:flex;flex-direction:column;gap:56px}
.footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:40px}
.wordmark-lg{font-size:32px;color:var(--white)}
.wordmark-lg:hover{color:var(--white)}
.wordmark-lg .accent{color:var(--cobalt-light)}
.footer-links{display:flex;flex-wrap:wrap;gap:4px 36px}
.footlink{display:inline-flex;align-items:center;min-height:44px;font-weight:500;font-size:17px;color:var(--white);text-decoration:none}
.footlink:hover,.footlink:focus-visible{color:var(--cobalt-light);background-size:100% 2px}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;padding-top:24px;border-top:1px solid var(--ink-line);font-size:15px;color:var(--ink-muted)}

/* Scroll reveal. Transition lives on [data-reveal] itself so it still runs when the pending class is removed. */
[data-reveal]{transition:opacity .9s var(--ease) var(--rd,0ms),transform .9s var(--ease) var(--rd,0ms)}
.textlink[data-reveal]{transition:opacity .9s var(--ease) var(--rd,0ms),transform .9s var(--ease) var(--rd,0ms),color .3s ease,background-size .35s var(--ease)}
.reveal-pending{opacity:0;transform:translateY(24px)}

/* Ruled items: the 1px rule is a pseudo-element that draws in first; the content fades up just after. */
.item::before,.step-ruled::before,.service::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:var(--ink);transform-origin:left;transition:transform .9s var(--ease) var(--rd,0ms)}
.item>*,.step-ruled>*,.service-inner{transition:opacity .9s var(--ease) calc(var(--rd,0ms) + .2s),transform .9s var(--ease) calc(var(--rd,0ms) + .2s)}
.item.reveal-pending,.step-ruled.reveal-pending,.service.reveal-pending{opacity:1;transform:none}
.item.reveal-pending::before,.step-ruled.reveal-pending::before,.service.reveal-pending::before{transform:scaleX(0)}
.item.reveal-pending>*,.step-ruled.reveal-pending>*,.service.reveal-pending>.service-inner{opacity:0;transform:translateY(24px)}
.demo-square.lift{transition:transform .6s var(--ease)}

/* Numeral settles from Cobalt to Ink once revealed */
.step.reveal-pending .step-n{color:var(--cobalt)}

/* Headline word reveal (class added by JS) */
.split .w{display:inline-block;overflow:hidden;vertical-align:top;padding:.1em 0 .14em;margin:-.1em 0 -.14em}
.split .w-i{display:inline-block;animation:wordUp .9s var(--ease) both;animation-delay:calc(var(--i,0)*60ms + 120ms)}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .reveal-pending,.item.reveal-pending>*,.step-ruled.reveal-pending>*,.service.reveal-pending>.service-inner{opacity:1;transform:none}
  .item.reveal-pending::before,.step-ruled.reveal-pending::before,.service.reveal-pending::before{transform:none}
  .step.reveal-pending .step-n{color:var(--ink)}
  .scroll-progress{display:none}
  .field::after{display:none}
  .field input:focus,.field select:focus,.field textarea:focus{border-bottom-color:var(--cobalt)}
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}
