@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #080d17;
  --surface: #111a29;
  --surface-highlight: #19283c;
  --ink: #eef3fa;
  --muted: #91a1b9;
  --dim: #667991;
  --accent: #5ad4e6;
  --accent-green: #72deba;
  --line: rgba(170,198,226,.13);
  --mono: 'DM Mono', 'Cascadia Code', 'Consolas', monospace;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; min-height:100vh; background:var(--bg); color:var(--ink);
  font-family:var(--sans); -webkit-font-smoothing:antialiased; overflow-x:hidden;
  background-image:
    linear-gradient(rgba(116,145,185,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(116,145,185,.035) 1px,transparent 1px);
  background-size:84px 84px;
}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 80% 10%,rgba(44,106,150,.08),transparent 42%)}
::selection{background:rgba(90,212,230,.32);color:white}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:4px}
.ambient{position:absolute;pointer-events:none;filter:blur(95px);opacity:.23;z-index:-1}
.ambient-one{width:450px;height:400px;top:120px;right:0;background:#176991}
.ambient-two{width:370px;height:300px;top:900px;left:-230px;background:#24527b;opacity:.13}
.layout{width:min(1160px,calc(100% - 104px));margin:0 auto}
.site-header{height:110px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:13px}
.brand-icon{width:44px;height:44px;display:block;flex:0 0 auto;object-fit:contain}
.brand-name{font-weight:800;letter-spacing:.11em;font-size:15px}
.brand-name span{color:var(--accent)}
.header-link{font-size:12px;font-weight:700;letter-spacing:.05em;color:#b7c8d9;display:inline-flex;align-items:center;gap:9px;transition:color .2s}
.header-link:hover{color:var(--accent)}
.hero{min-height:625px;display:flex;flex-direction:column;justify-content:center;position:relative;padding:90px 0 128px}
.eyebrow,.section-kicker,.project-count,.status,.project-url,.next-tag,.site-footer,.hero-annotation{font-family:var(--mono)}
.eyebrow{display:flex;align-items:center;gap:11px;color:#a1b6ca;font-size:10px;letter-spacing:.15em}
.pulse{height:7px;width:7px;background:var(--accent-green);box-shadow:0 0 0 4px rgba(114,222,186,.1),0 0 15px rgba(114,222,186,.4);border-radius:50%}
.eyebrow-rule{height:1px;width:27px;background:rgba(160,185,205,.3);margin:0 6px}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(58px,7.8vw,112px);line-height:1.12;letter-spacing:-.077em;font-weight:800;margin:35px 0 24px;max-width:1040px}
.hero-accent{color:var(--accent)}
.hero-outline{color:transparent;-webkit-text-stroke:1px rgba(211,234,244,.55);text-shadow:0 0 40px rgba(89,179,219,.04)}
.intro{font-size:16px;line-height:1.9;max-width:540px;color:#9cacc0}
.primary-action{margin-top:33px;display:inline-flex;align-items:center;justify-content:space-between;gap:34px;width:max-content;min-width:202px;border:1px solid rgba(90,212,230,.45);border-radius:8px;padding:16px 18px;background:rgba(90,212,230,.1);color:#c6f6fc;font-weight:700;font-size:12px;transition:background .2s,transform .2s,border-color .2s}
.primary-action:hover{transform:translateY(-2px);background:rgba(90,212,230,.17);border-color:var(--accent)}
.hero-annotation{position:absolute;bottom:30px;left:0;right:0;display:flex;align-items:center;gap:22px;color:#5f738b;letter-spacing:.13em;font-size:10px}
.annotation-line{height:1px;flex:1;background:var(--line)}
.projects{padding:65px 0 105px;scroll-margin-top:35px}
.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:27px;gap:20px}
.section-kicker{font-size:11px;letter-spacing:.18em;color:var(--accent);display:flex;align-items:center;gap:10px;margin-bottom:17px}
.kicker-bar{display:block;width:15px;height:2px;background:var(--accent)}
h2{font-size:clamp(28px,4vw,42px);font-weight:800;letter-spacing:-.056em}
.title-dot{color:var(--accent)}
.project-count{font-size:17px;letter-spacing:.06em;font-weight:500}
.project-count span{font-size:11px;color:var(--dim)}
.project-card{min-height:364px;border:1px solid rgba(118,166,199,.25);border-radius:16px;display:grid;grid-template-columns:1fr .93fr;overflow:hidden;position:relative;background:linear-gradient(115deg,#142237 0%,#0e1929 54%,#0a1625 100%);transition:border-color .2s,transform .2s,box-shadow .2s}
.project-card:hover{transform:translateY(-3px);border-color:rgba(90,212,230,.65);box-shadow:0 22px 80px rgba(0,0,0,.25),0 0 0 1px rgba(90,212,230,.08)}
.project-card:focus-visible{outline-offset:5px}
.project-content{padding:38px 45px;position:relative;z-index:2}
.status{font-size:10px;color:#b6edda;display:inline-flex;align-items:center;gap:10px;letter-spacing:.08em}
.status-dot{height:6px;width:6px;background:var(--accent-green);border-radius:50%;box-shadow:0 0 12px var(--accent-green)}
.project-icon{display:grid;place-items:center;margin-top:28px;width:48px;height:48px;border:1px solid rgba(90,212,230,.34);border-radius:12px;background:rgba(90,212,230,.1);font-size:20px;font-family:var(--mono);color:var(--accent);letter-spacing:-3px}
h3{font-size:32px;letter-spacing:-.06em;margin:14px 0 9px}
.project-content p{max-width:390px;color:#a2b2c7;font-size:13px;line-height:1.85}
.project-footer{margin-top:27px;display:flex;align-items:center;justify-content:space-between;gap:10px;max-width:395px}
.project-url{font-size:11px;color:var(--accent)}
.project-arrow{border-radius:50%;width:40px;height:40px;display:grid;place-items:center;background:var(--accent);color:#091827;transition:transform .2s}
.project-card:hover .project-arrow{transform:translateX(4px)}
.project-graphic{display:grid;place-items:center;position:relative;min-width:0;overflow:hidden;background:radial-gradient(ellipse at 55% 50%,rgba(38,128,171,.15),transparent 65%)}
.project-graphic::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(92,157,209,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(92,157,209,.045) 1px,transparent 1px);background-size:29px 29px;mask-image:linear-gradient(to right,transparent,black 50%)}
.code-window{width:360px;max-width:88%;transform:rotate(-5deg) translate(18px,20px);border:1px solid rgba(134,174,207,.25);border-radius:12px;background:rgba(10,19,31,.89);box-shadow:0 32px 65px rgba(0,0,0,.38);overflow:hidden}
.code-toolbar{height:38px;border-bottom:1px solid rgba(125,165,195,.15);display:flex;align-items:center;gap:6px;padding:0 16px}
.code-toolbar i{width:7px;height:7px;border:1px solid #516377;border-radius:50%}
.code-toolbar span{margin-left:13px;font-family:var(--mono);color:#5b7186;font-size:10px}
.code-lines{padding:22px 18px 28px;font-family:var(--mono);font-size:11px;line-height:2.15;white-space:nowrap;color:#b8cada}
.code-lines em{font-style:normal;color:#52657c;display:inline-block;width:26px}
.code-key{color:#7dd4f3}.code-string{color:#a8e5c6}.code-value{color:#e9bb91}.code-punct{color:#c6dbef}
.next-up{border:1px dashed rgba(137,166,195,.22);border-radius:12px;padding:24px 28px;margin-top:16px;display:flex;align-items:center;gap:18px;background:rgba(12,23,37,.53)}
.next-icon{width:39px;height:39px;min-width:39px;border:1px solid var(--line);border-radius:10px;color:#879db8;display:grid;place-items:center}
.next-copy{display:flex;flex-direction:column;gap:5px}
.next-copy strong{font-size:13px;color:#c4d2e2}
.next-copy span{font-size:12px;color:#72869d}
.next-tag{margin-left:auto;font-size:10px;white-space:nowrap;color:#6e8199;letter-spacing:.07em}
.site-footer{border-top:1px solid var(--line);min-height:98px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#718399;font-size:10px;letter-spacing:.09em}
.site-footer a{transition:color .2s}.site-footer a:hover{color:var(--accent)}
.footer-asterisk{color:var(--accent);margin-left:8px}
@media (max-width:860px){
  .layout{width:min(100% - 54px,1160px)}
  .hero{min-height:575px}
  h1{font-size:clamp(56px,8.5vw,85px)}
  .project-card{grid-template-columns:1fr}
  .project-content{padding:35px}
  .project-content p{max-width:590px}
  .project-graphic{min-height:240px}
  .code-window{transform:rotate(-3deg) translate(0,30px);width:460px}
}
@media (max-width:580px){
  body{background-size:55px 55px}
  .layout{width:calc(100% - 36px)}
  .site-header{height:76px}
  .brand-icon{height:37px;width:37px}
  .brand-name{font-size:13px}
  .hero{padding:68px 0 100px;min-height:570px}
  .eyebrow{font-size:8px;gap:8px;letter-spacing:.1em}
  .eyebrow-rule{width:14px}
  h1{font-size:clamp(49px,11.7vw,69px);letter-spacing:-.073em;margin:26px 0 19px}
  .intro{font-size:14px;line-height:1.8}
  .hero-annotation{bottom:25px;gap:12px;font-size:8px}
  .projects{padding:49px 0 75px}
  .section-heading{align-items:center}
  h2{font-size:28px}
  .project-count{font-size:14px}
  .project-content{padding:27px 24px}
  h3{font-size:28px}
  .code-window{max-width:86%}
  .next-up{padding:20px;gap:12px}
  .next-tag{display:none}
  .site-footer{padding:24px 0;align-items:flex-start;min-height:115px;flex-wrap:wrap;gap:14px}
  .site-footer>span:nth-child(2){display:none}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
}
