/* Blueprint Live: deep blueprint field, drafting-line SVG that draws itself, print crop marks from the business card */
:root {
  --field: #0e1726;
  --field-2: #131f33;
  --panel: #17243a;
  --line: #8fa6c6;
  --line-dim: rgba(143, 166, 198, .16);
  --text: #e9edf4;
  --text-2: #9eabc0;
  --yellow: #f2c440;
  --yellow-soft: rgba(242, 196, 64, .14);

  --f-display: "Advent Pro", "Segoe UI", Arial, sans-serif;
  --f-sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Fira Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 80rem;
  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; color: var(--text); font: 400 1rem/1.65 var(--f-sans); -webkit-font-smoothing: antialiased;
  background-color: var(--field);
  background-image:
    linear-gradient(var(--line-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dim) 1px, transparent 1px),
    linear-gradient(rgba(143,166,198,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,166,198,.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--field); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--line); }
.mono--y { color: var(--yellow); }

/* crop marks (from the printed card) */
.crop { position: relative; }
.crop::before, .crop::after { content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; transition: all .4s cubic-bezier(.2,.7,.2,1); }
.crop::before { left: -1px; top: -1px; border-left: 1.5px solid var(--yellow); border-top: 1.5px solid var(--yellow); }
.crop::after { right: -1px; bottom: -1px; border-right: 1.5px solid var(--yellow); border-bottom: 1.5px solid var(--yellow); }
.crop:hover::before, .crop:hover::after { width: 28px; height: 28px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--field); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(14, 23, 38, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dim); }
.site-head .wrap { display: flex; align-items: center; gap: 1.75rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.brand svg { width: 2.9rem; color: #c9d3e2; }
.brand b { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--yellow); font-size: 1.375rem; letter-spacing: .05em; line-height: 1; }
.brand small { display: block; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-top: .25rem; white-space: nowrap; }
.nav { display: flex; gap: 1.75rem; }
.nav a { text-decoration: none; font-size: .9375rem; color: var(--text-2); transition: color .2s; }
.nav a:hover { color: var(--yellow); }
.lang { display: flex; font-family: var(--f-mono); font-size: .75rem; border: 1px solid var(--line-dim); }
.lang a, .lang span { padding: .3rem .55rem; text-decoration: none; }
.lang [aria-current] { background: var(--yellow); color: var(--field); }
.btn { position: relative; display: inline-flex; align-items: center; gap: .65rem; padding: .95rem 1.4rem; font: 600 .9375rem/1 var(--f-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--y { background: var(--yellow); color: var(--field); }
.btn--y:hover { background: #ffd65e; }
.btn--line { border-color: var(--line); color: var(--text); background: transparent; }
.btn--line:hover { border-color: var(--yellow); color: var(--yellow); }
.head-call { padding: .7rem 1rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-dim); color: var(--text); width: 2.75rem; height: 2.75rem; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 1.1rem; height: 1.5px; background: currentColor; margin: auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
@media (max-width: 1000px) {
  .head-call { display: none; } .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--field); padding: .5rem var(--gut-r) 1.25rem var(--gut-l); border-bottom: 1px solid var(--line-dim); }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line-dim); font-size: 1.0625rem; color: var(--text); }
  .nav[data-open="false"] { display: none; }
}

/* Hero */
.c-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem 3rem; align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem) 2rem; }
.c-hero h1 { font-size: clamp(3rem, 7.4vw, 6.75rem); font-weight: 600; letter-spacing: -.02em; line-height: .95; margin-top: 1.25rem; }
.c-hero h1 em { font-style: normal; color: var(--yellow); }
.c-hero .lead { color: var(--text-2); font-size: 1.125rem; max-width: 33rem; margin-top: 1.5rem; }
.c-hero .ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.c-hero .stage { position: relative; }
.c-hero .stage svg { width: 100%; height: auto; overflow: visible; }
.c-hero .readout { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid var(--line-dim); padding-top: .85rem; margin-top: .5rem; font-family: var(--f-mono); font-size: .75rem; color: var(--text-2); letter-spacing: .06em; }
.c-hero .readout b { color: var(--yellow); font-weight: 400; }
@media (max-width: 900px) { .c-hero .wrap { grid-template-columns: 1fr; } }

/* hero drawing */
.hd .ln { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hd .ct { fill: none; stroke: var(--line); stroke-width: 1; opacity: .35; }
.hd .ct.major { opacity: .55; stroke-width: 1.25; }
.hd .bd { fill: none; stroke: var(--yellow); stroke-width: 1.5; stroke-dasharray: 6 5; }
.hd .sc { fill: none; stroke: #c9d3e2; stroke-width: 3.2; stroke-linecap: round; }
.hd .hs { fill: var(--yellow); fill-opacity: 0; stroke: var(--yellow); stroke-width: 2; }
.hd .dm { fill: none; stroke: var(--text-2); stroke-width: 1; }
.hd text { font-family: var(--f-mono); font-size: 11px; fill: var(--text-2); letter-spacing: .04em; }
.hd text.y { fill: var(--yellow); }
.hd .pt { fill: var(--field); stroke: var(--yellow); stroke-width: 1.5; }
.hd .ray { stroke: var(--yellow); stroke-width: 1; stroke-dasharray: 2 4; opacity: .7; }
.hd .scan { fill: url(#none); }
.hd .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw var(--d, 1.4s) cubic-bezier(.45,.05,.25,1) var(--t, 0s) forwards; }
.hd .pop { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .5s cubic-bezier(.2,1.6,.4,1) var(--t, 0s) forwards; }
.hd .fade { opacity: 0; animation: fade .8s ease var(--t, 0s) forwards; }
.hd .hs { animation: draw 1.6s cubic-bezier(.45,.05,.25,1) var(--t) forwards, fill .9s ease calc(var(--t) + 1.3s) forwards; }
.hd .flow { stroke-dasharray: .012 .01; animation: flow 40s linear infinite; }
.hd .scan-line { stroke: var(--yellow); stroke-width: 1; }
.hd .beam { animation: beam 5s ease-in-out 6s infinite; transform-box: view-box; }
.hd .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out 5.5s infinite; opacity: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }
@keyframes fill { to { fill-opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: -1; } }
@keyframes beam { 0%, 100% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translateY(215px); opacity: .9; } 60% { opacity: 0; } }
@keyframes pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }

/* marquee */
.c-marquee { border-block: 1px solid var(--line-dim); background: var(--yellow); color: var(--field); overflow: hidden; }
.c-marquee .track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.c-marquee ul { display: flex; flex: none; }
.c-marquee li { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; padding: .85rem 1.5rem; white-space: nowrap; display: flex; align-items: center; gap: 1.5rem; }
.c-marquee li::after { content: ""; width: .55rem; height: .55rem; border: 1.5px solid var(--field); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* counts */
.c-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-dim); }
.c-counts div { padding: 2rem 1.5rem 2rem 0; display: flex; align-items: baseline; gap: 1rem; }
.c-counts div + div { padding-left: 1.5rem; border-left: 1px solid var(--line-dim); }
.c-counts b { font-family: var(--f-display); font-weight: 500; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .9; color: var(--yellow); }
.c-counts span { color: var(--text-2); font-size: 1.0625rem; }
@media (max-width: 640px) { .c-counts { grid-template-columns: 1fr; } .c-counts div, .c-counts div + div { padding: 1.25rem 0; border-left: 0; border-top: 1px solid var(--line-dim); } }

/* sections */
.sec { padding-block: clamp(4.5rem, 9vw, 8rem); }
.sec-title { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-title h2 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); margin-top: .9rem; }
.sec-title > p { color: var(--text-2); max-width: 32rem; justify-self: end; }
@media (max-width: 800px) { .sec-title { grid-template-columns: 1fr; } .sec-title > p { justify-self: start; } }

/* services */
.c-svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.c-svc { background: linear-gradient(160deg, rgba(23,36,58,.92), rgba(14,23,38,.92)); border: 1px solid var(--line-dim); padding: clamp(1.5rem, 3vw, 2.5rem); transition: border-color .4s, transform .4s; }
.c-svc:hover { border-color: rgba(242,196,64,.45); transform: translateY(-3px); }
.c-svc .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.c-svc .ic { width: 5rem; height: 5rem; color: var(--line); }
.c-svc .ic .y { color: var(--yellow); }
.c-svc h3 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); margin-top: 1.5rem; }
.c-svc p { color: var(--text-2); margin-top: .8rem; }
.c-svc ul { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; }
.c-svc li { font-size: .9375rem; padding-left: 1.2rem; position: relative; }
.c-svc li::before { content: "+"; position: absolute; left: 0; color: var(--yellow); font-family: var(--f-mono); }
@media (max-width: 860px) { .c-svcs { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .c-svc ul { grid-template-columns: 1fr; } }
.js .draw-in .dr { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .draw-in.in .dr { animation: draw 1.4s cubic-bezier(.45,.05,.25,1) forwards; }
.js .draw-in.in .dr:nth-child(2) { animation-delay: .15s; } .js .draw-in.in .dr:nth-child(3) { animation-delay: .3s; } .js .draw-in.in .dr:nth-child(4) { animation-delay: .45s; } .js .draw-in.in .dr:nth-child(5) { animation-delay: .6s; } .js .draw-in.in .dr:nth-child(6) { animation-delay: .75s; }

/* process traverse */
.c-trav { position: relative; }
.c-trav svg.path { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.c-trav svg.path path { fill: none; stroke: var(--yellow); stroke-width: 2; stroke-dasharray: 1; }
.c-trav svg.path path.ghost { stroke: var(--line); opacity: .3; stroke-dasharray: 4 6; }
.c-trav ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.c-trav li { padding-top: 140px; position: relative; }
.c-trav .st { position: absolute; top: 0; width: 34px; height: 34px; }
.c-trav li:nth-child(1) .st { top: 78px; } .c-trav li:nth-child(2) .st { top: 13px; } .c-trav li:nth-child(3) .st { top: 78px; } .c-trav li:nth-child(4) .st { top: 13px; }
.c-trav .st path { fill: var(--field); stroke: var(--line); stroke-width: 1.75; transition: stroke .4s; }
.c-trav .st circle { fill: var(--line); transition: fill .4s; }
.c-trav li.on .st path { stroke: var(--yellow); } .c-trav li.on .st circle { fill: var(--yellow); }
.c-trav h3 { font-size: 1.75rem; margin-top: .5rem; }
.c-trav p { color: var(--text-2); margin-top: .6rem; font-size: .9688rem; }
@media (max-width: 860px) {
  .c-trav svg.path { display: none; }
  .c-trav ol { grid-template-columns: 1fr; gap: 2.25rem; padding-left: 3.25rem; border-left: 1.5px dashed rgba(143,166,198,.4); margin-left: 1rem; }
  .c-trav li { padding-top: 0; }
  .c-trav li .st, .c-trav li:nth-child(n) .st { top: 0; left: calc(-3.25rem - 17px); }
}

/* statement */
.c-state { background: var(--field-2); border-block: 1px solid var(--line-dim); }
.c-state .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: center; }
.c-state h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.02; margin-top: .9rem; }
.c-state h2 em { font-style: normal; color: var(--yellow); }
.c-state .pts { display: grid; gap: 1rem; }
.c-state .pts li { padding: 1.25rem 1.4rem; background: rgba(23,36,58,.7); border: 1px solid var(--line-dim); }
.c-state .pts b { display: block; font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; }
.c-state .pts span { display: block; color: var(--text-2); margin-top: .25rem; font-size: .9375rem; }
@media (max-width: 900px) { .c-state .wrap { grid-template-columns: 1fr; } }

/* team */
.c-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.c-person { background: rgba(23,36,58,.85); border: 1px solid var(--line-dim); padding: 1.75rem; }
.c-person h3 { font-size: 2rem; margin-top: .9rem; }
.c-person .role { color: var(--text-2); margin-top: .35rem; font-size: .9375rem; }
.c-person dl { margin: 1.5rem 0 0; display: grid; gap: .5rem; font-size: .9375rem; border-top: 1px solid var(--line-dim); padding-top: 1rem; }
.c-person dl div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .5rem; }
.c-person dt { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--line); padding-top: .2rem; }
.c-person dd { margin: 0; overflow-wrap: anywhere; }
.c-person a { text-decoration: none; } .c-person a:hover { color: var(--yellow); }
@media (max-width: 900px) { .c-team { grid-template-columns: 1fr; } }

/* faq */
.c-faq { max-width: 58rem; }
.c-faq details { border-top: 1px solid var(--line-dim); }
.c-faq details:last-child { border-bottom: 1px solid var(--line-dim); }
.c-faq summary { list-style: none; cursor: pointer; display: flex; gap: 1.25rem; align-items: baseline; padding-block: 1.35rem; font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; }
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary::before { content: "+"; font-family: var(--f-mono); color: var(--yellow); font-weight: 400; transition: transform .3s; display: inline-block; }
.c-faq details[open] summary::before { transform: rotate(45deg); }
.c-faq details p { color: var(--text-2); padding: 0 0 1.5rem 1.85rem; max-width: 46rem; }

/* contact */
.c-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.c-loc { background: var(--panel); border: 1px solid var(--line-dim); overflow: hidden; }
.c-loc svg { width: 100%; height: auto; }
.c-loc .info { padding: 1.5rem 1.75rem 1.75rem; display: grid; gap: .55rem; font-size: .9688rem; }
.c-loc .info div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; }
.c-loc .info span:first-child { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--line); padding-top: .2rem; }
.c-loc .info span:last-child { overflow-wrap: anywhere; }
.c-loc a { text-decoration: none; } .c-loc a:hover { color: var(--yellow); }
.map .st { fill: none; stroke: var(--line); stroke-width: 1; opacity: .5; }
.map .st.w { stroke-width: 6; opacity: .14; }
.map .blk { fill: rgba(143,166,198,.07); }
.map .pin { fill: var(--yellow); }
.map .ring { fill: none; stroke: var(--yellow); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.map text { font-family: var(--f-mono); font-size: 10px; fill: var(--text-2); letter-spacing: .06em; }
.map text.y { fill: var(--yellow); }
.form { display: grid; gap: 1rem; background: var(--panel); border: 1px solid var(--line-dim); padding: clamp(1.5rem, 3vw, 2.25rem); align-content: start; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--line); }
.form input, .form select, .form textarea { font: 400 1rem/1.4 var(--f-sans); text-transform: none; letter-spacing: 0; color: var(--text); background: var(--field); border: 1px solid var(--line-dim); border-radius: 0; padding: .8rem .9rem; width: 100%; }
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.form .note { font-size: .8125rem; color: var(--text-2); }
.form .status { font-size: .9375rem; padding: .9rem 1rem; border-left: 2px solid var(--yellow); background: var(--yellow-soft); }
.form .btn { justify-self: start; }
@media (max-width: 900px) { .c-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .two { grid-template-columns: 1fr; } }

.site-foot { border-top: 1px solid var(--line-dim); color: var(--text-2); font-size: .875rem; background: var(--field); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem; padding-block: 2.25rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-foot a { text-decoration: none; } .site-foot a:hover { color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hd .draw, .js .draw-in .dr { stroke-dashoffset: 0 !important; }
  .hd .pop, .hd .fade { opacity: 1 !important; }
  .hd .hs { fill-opacity: 1 !important; }
  .hd .beam, .hd .pulse { display: none; }
  .c-marquee .track { transform: none; }
}
.form .status[data-state="err"] { border-left-color: #e8826b; background: rgba(232,130,107,.12); }
.form button[disabled] { opacity: .6; cursor: progress; }
.cap { display: grid; gap: .45rem; }
.cap-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: .6rem; }
.cap-img { width: 180px; height: 56px; border: 1px solid var(--line-dim); background: var(--field); }
.cap-new { width: 3rem; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-dim); color: var(--line); cursor: pointer; transition: color .2s, border-color .2s; }
.cap-new:hover { color: var(--yellow); border-color: var(--yellow); }
.form .cap input { flex: 1 1 8rem; width: auto; min-width: 0; font-family: var(--f-mono); font-size: 1.375rem; letter-spacing: .35em; text-align: center; }
.cap-hint { font-size: .8125rem; color: var(--text-2); }
.js .hd:not(.go), .js .hd:not(.go) * { animation-play-state: paused !important; }
