@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/inter-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/space-grotesk-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #0e0f12;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.065);
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.15);
  --text: #eceef2;       
  --muted: #9ba1ac;      
  --ink-2: #c3c8d1;      
  --chip-on: rgba(255,255,255,.14); 
  --accent: #4f8cff;     
  --accent-strong: #2b66d9; 
  --accent-hi: #8fb3ff;  
  --ok: #3ddc97;
  --danger: #f87171;
  --step--1: clamp(0.8rem, 0.77rem + 0.15vw, 0.88rem);
  --step-0: clamp(0.94rem, 0.9rem + 0.2vw, 1.04rem);
  --step-1: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --step-2: clamp(1.28rem, 1.1rem + 0.8vw, 1.65rem);
  --step-3: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-4: clamp(1.8rem, 1.5rem + 1.5vw, 2.6rem);
  --step-5: clamp(2.2rem, 1.8rem + 2vw, 3.3rem);
  --step-hero: clamp(2.2rem, 1.2rem + 2.8vw, 3.4rem);
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 7.5rem;
  --r: 20px;
  --r-sm: 12px;
  --r-pill: 999px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: var(--ease-out-quint);
  --dur-fast: 180ms;
  --dur-base: 420ms;
  --dur-slow: 900ms;
  --display: "Space Grotesk", "Space Grotesk Fallback", system-ui, sans-serif;
  --font: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 93%; descent-override: 25%; line-gap-override: 0%; }
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent-strong); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.accent { color: var(--ink-2); font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.gradient-text { color: var(--text); }
.progress { position: fixed; inset: 0 0 auto; height: 2px; background: var(--ink-2); transform-origin: 0 50%; transform: scaleX(0); z-index: 50; }
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 60% 50% at 50% 25%, #000 30%, transparent 70%); opacity: .5; }
.blob { position: absolute; width: 900px; height: 900px; border-radius: 50%; opacity: .09; will-change: transform; }
.blob-a { background: radial-gradient(circle, var(--accent), transparent 65%); top: -420px; left: -380px; animation: float 18s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(120px, 80px) scale(1.15); } }
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(18,20,24,.9); animation: drop .8s var(--ease) both; transition: translate .5s var(--ease); }
.nav.nav-hidden { translate: 0 -160%; }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -30px); } }
.brand { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-strong); display: grid; place-items: center; font: 700 13px var(--display); color: #fff; transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.nav-links { position: relative; display: flex; }
.nav-links a { position: relative; z-index: 1; padding: 8px 16px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-pill { position: absolute; top: 0; height: 100%; border-radius: 999px; background: var(--surface-2); transition: left .45s var(--ease), width .45s var(--ease), opacity .3s; opacity: 0; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font: 600 15px var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .3s; }
.btn-primary { background: var(--accent-strong); color: #fff; box-shadow: 0 8px 30px -10px rgba(43,102,217,.49); }
.btn-primary:hover { background: #2557c4; box-shadow: 0 12px 36px -10px rgba(43,102,217,.56); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 16px; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.hero { position: relative; min-height: 100svh; max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 48px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--surface); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ddc97; animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
.hero-title { font-size: var(--step-hero); font-weight: 700; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 70ms + 120ms); }
.in .w > span { transform: none; }
.word { display: inline-block; transform: translateY(110%); animation: up 1.1s var(--ease) forwards; }
.line:nth-child(2) .word { animation-delay: .12s; }
@keyframes up { to { transform: none; } }
.hero-role { margin: 24px 0 0; font: 500 clamp(17px, 1.8vw, 21px) var(--display); min-height: 1.4em; }
.hero-sub { max-width: 560px; margin: 16px 0 0; color: var(--muted); font-size: 16px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-visual { position: relative; justify-self: center; width: 320px; aspect-ratio: 1; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-2); box-shadow: inset 0 0 0 8px rgba(255,255,255,.02); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual picture { display: contents; }
.avatar { width: 82%; height: 82%; border-radius: 50%; object-fit: cover; box-shadow: 0 24px 60px -24px rgba(0,0,0,.7); transition: transform .6s var(--ease); }
.hero-visual:hover .avatar { transform: scale(1.04); }
.orbit { position: absolute; padding: 8px 14px; border-radius: 999px; font: 600 13px var(--display); background: #16181d; border: 1px solid var(--line-2); white-space: nowrap; }
.o1 { top: 4%; left: -8%; }
.o2 { top: 22%; right: -18%; animation-delay: -1.2s; }
.o3 { bottom: 14%; left: -14%; animation-delay: -2.4s; }
.o4 { bottom: 2%; right: -4%; animation-delay: -3.6s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }
.section { padding-top: 120px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.kicker { margin: 0 0 12px; font: 600 13px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.section-head h2, .cta h2 { font-size: clamp(27px, 3.3vw, 42px); }
.section-head .muted { margin: 16px 0 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 32px; }
.filters { position: relative; display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow-x: auto; scrollbar-width: none; }
.chip-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 500 14px var(--font); cursor: pointer; white-space: nowrap; transition: color .3s; }
.chip-btn:hover { color: var(--text); }
.chip-btn[aria-selected="true"] { color: #fff; }
.filter-pill { position: absolute; top: 4px; bottom: 4px; border-radius: 999px; background: var(--chip-on); transition: left .45s var(--ease), width .45s var(--ease); }
.lang-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.search { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); transition: border-color .3s, box-shadow .3s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(79,140,255,.25); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: 400 15px var(--font); }
.sort { height: 46px; padding: 0 44px 0 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23f2f2f5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 14px; color: var(--text); font: 500 14px var(--font); cursor: pointer; appearance: none; -webkit-appearance: none; transition: border-color .3s; }
.sort:hover { border-color: var(--line-2); }
.sort option { background: #16181d; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { --h: 239; position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; text-align: left; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); color: inherit; font: inherit; cursor: pointer; overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.card.fade { animation: fade-up .45s var(--ease) backwards; animation-delay: calc(var(--i) * 40ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }
.card:hover { transform: translateY(-4px); border-color: hsl(var(--h) 80% 70% / .35); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 48px -24px rgba(0,0,0,.8), 0 0 0 4px hsl(var(--h) 80% 60% / .06); }
.bento:not(.in) .card { opacity: 0; }
.bento.in .card.enter { animation: card-in .9s var(--ease) backwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(40px); } }
.card-top { display: flex; align-items: center; gap: 14px; }
.tile { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font: 700 12px var(--display); letter-spacing: .02em; color: hsl(var(--h) 90% 84%); background: linear-gradient(135deg, hsl(var(--h) 80% 55% / .28), hsl(var(--h) 80% 55% / .08)); border: 1px solid hsl(var(--h) 80% 70% / .3); }
.card-id { flex: 1; min-width: 0; }
.card-title { display: flex; align-items: center; gap: 8px; font: 600 18px/1.3 var(--display); }
.card-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.pill { flex: none; padding: 2px 8px; border-radius: 999px; font: 600 10px var(--display); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); }
.pill-new { border: 0; background: var(--chip-on); color: #fff; }
.card-arrow { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background .3s, color .3s; }
.card:hover .card-arrow { transform: rotate(-45deg); background: var(--text); color: var(--bg); }
.card-desc { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: #cfcfd8; font: 500 12px ui-monospace, "Cascadia Code", Consolas, monospace; }
.card-foot { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.card-foot span { display: inline-flex; align-items: center; gap: 6px; }
.card-foot b { color: var(--text); font-weight: 500; }
.card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 28px; }
.feat-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card.featured .card-title { font-size: 21px; }
.card.featured .tile { width: 52px; height: 52px; border-radius: 14px; font-size: 13px; }
.card.featured .card-desc { -webkit-line-clamp: 3; font-size: 15px; }
.feat-panel { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: #0d0e11; overflow: hidden; }
.feat-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 70% at 100% 0%, hsl(var(--h) 85% 60% / .18), transparent 70%); }
.panel-head { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); font: 500 12px ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--muted); }
.feat-panel pre { flex: 1; margin: 0; padding: 18px 16px; display: flex; align-items: center; font: 13px/1.8 ui-monospace, "Cascadia Code", Consolas, monospace; color: #cfcfd8; overflow: hidden; }
.j-k { color: #c3c8d1; }
.j-s { color: #7dd3fc; }
.j-n { color: #5eead4; }
.j-p { color: #6b6b7b; }
.glow { position: relative; }
.card::before, .glow::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.09), transparent 45%); transition: opacity .4s; }
.card:hover::before, .glow:hover::before { opacity: 1; }
.skeleton { cursor: default; }
.sk-line { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.sk-line { height: 14px; border-radius: 6px; }
.skeleton .sk-line:first-child { width: 45%; height: 20px; }
.skeleton .sk-line:last-child { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { color: var(--muted); text-align: center; padding: 48px 0; }
.empty a { color: var(--accent-hi); }
.exp { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 36px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line); }
.timeline::after { background: linear-gradient(var(--ink-2), var(--chip-on)); transform-origin: top; transform: scaleY(var(--fill, 0)); transition: transform .2s linear; }
.tl-item { position: relative; padding-bottom: 24px; }
.tl-item.reveal:not(.in) { transform: translateX(-40px); }
.tl-dot { position: absolute; left: -36px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink-2); z-index: 1; }
.tl-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink-2); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 50% { transform: scale(.5); opacity: .5; } }
.tl-card, .stack-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.tl-when { margin: 0 0 8px; font: 600 12px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-card h3 { font-size: 21px; }
.tl-org { margin: 8px 0 12px; }
.arrow { display: inline-block; margin: 0 6px 0 2px; color: var(--ink-2); animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.tl-card p:last-child { margin: 0; }
.tl-card h3 + .muted { margin-top: 10px; }
.tl-list { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.tl-list li { margin-top: 6px; }
.tl-list li::marker { color: var(--ink-2); }
.tl-list b { color: var(--text); font-weight: 600; }
.tl-org + .muted { margin: 0; }
.stack-card h3 { font-size: 20px; }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-card:not(.in) .chips li { opacity: 0; }
.stack-card.in .chips li { animation: chip-in .5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms + 250ms); }
@keyframes chip-in { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.chips li { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 500; transition: background .3s, color .3s, transform .3s var(--ease); }
.chips li:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); }
.cta { text-align: center; padding: 80px 24px; border: 1px solid var(--line); border-radius: 32px; background: radial-gradient(ellipse at top, rgba(255,255,255,.056), transparent 60%), var(--surface); overflow: hidden; }
.cta .muted { margin: 16px 0 0; }
.mail-box { display: inline-flex; align-items: center; gap: 4px; margin-top: 28px; padding: 6px 6px 6px 20px; border: 1px solid var(--line-2); border-radius: 999px; background: #0d0e11; }
.mail-link { font: 500 clamp(15px, 2vw, 20px) var(--display); text-decoration: none; color: var(--text); overflow-wrap: anywhere; }
.mail-link:hover { color: var(--accent-hi); }
.copy-btn { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--text); font: 500 13px var(--font); cursor: pointer; transition: background .3s; }
.copy-btn:hover { background: var(--chip-on); }
.stack-sub { margin-top: 24px; font-size: 16px; }
.small { font-size: 14px; }
.cta .hero-cta { justify-content: center; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 80px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; }
.modal { width: min(860px, calc(100% - 32px)); max-height: 88vh; padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: #121418; color: var(--text); overflow-y: auto; }
.modal::backdrop { background: rgba(5,6,8,.8); }
.modal[open] { animation: pop .5s var(--ease); }
.modal[open]::backdrop { animation: fade .4s ease; }
.modal.closing { animation: pop-out .3s var(--ease) forwards; }
.modal.closing::backdrop { animation: fade .3s ease reverse forwards; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }
.modal[open] :is(.modal-head > *, .fact, .modal-actions, .readme-box, .modal-content > .chips) { animation: rise-in .7s var(--ease) backwards; }
.modal[open] .modal-head > :nth-child(1) { animation-delay: .12s; }
.modal[open] .modal-head > :nth-child(2) { animation-delay: .18s; }
.modal[open] .modal-head > :nth-child(3) { animation-delay: .24s; }
.modal[open] .fact:nth-child(1) { animation-delay: .28s; }
.modal[open] .fact:nth-child(2) { animation-delay: .32s; }
.modal[open] .fact:nth-child(3) { animation-delay: .36s; }
.modal[open] .fact:nth-child(4) { animation-delay: .4s; }
.modal[open] .modal-content > .chips { animation-delay: .44s; }
.modal[open] .modal-actions { animation-delay: .48s; }
.modal[open] .readme-box { animation-delay: .54s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }
.readme.loaded { animation: fade .5s ease; }
@keyframes pop-out { to { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.modal-close { position: sticky; top: 16px; float: right; z-index: 3; width: 38px; height: 38px; margin: 16px 16px 0 0; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(14,15,18,.8); color: var(--text); cursor: pointer; transition: transform .4s var(--ease), background .3s; }
.modal-close:hover { transform: rotate(90deg); background: var(--chip-on); }
.modal .cover { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(90% 120% at 0% 0%, rgba(255,255,255,.158), transparent 60%), radial-gradient(80% 100% at 100% 100%, rgba(255,255,255,.072), transparent 60%), linear-gradient(135deg, #16181d, #0e0f12); }
.modal .cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%); }
.modal .cover { min-height: 280px; display: flex; align-items: flex-end; margin-top: -54px; }
.modal .cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, #121418 4%, transparent 70%); }
.modal-head { position: relative; padding: 32px; max-width: 640px; }
.modal-head .kicker { margin-bottom: 8px; }
.modal-head h2 { font-size: clamp(30px, 5vw, 44px); }
.modal-head p:last-child { margin: 10px 0 0; color: #c9c9d6; }
.modal-content { padding: 4px 32px 32px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.fact span { font-size: 12px; color: var(--muted); }
.fact b { display: flex; align-items: center; gap: 6px; font: 600 15px var(--display); }
.modal-content .chips { margin-top: 16px; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.readme-box { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.18); }
.readme-box > header { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--surface); font: 500 13px ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--muted); }
.readme { padding: 8px 24px 24px; color: #cfcfd8; font-size: 15px; overflow-wrap: anywhere; }
.readme > .sk-line { margin-inline: 0; }
.readme h1, .readme h2, .readme h3 { margin: 1.2em 0 .5em; color: var(--text); }
.readme h1, .readme h2 { padding-bottom: .3em; border-bottom: 1px solid var(--line); }
.readme .markdown-heading > :is(h1, h2, h3, h4) { display: block; }
.readme a.anchor { display: none; }
.readme hr { height: 1px; margin: 24px 0; border: 0; background: var(--line); }
.readme code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }
.readme pre code { padding: 0; background: none; }
.readme a { color: var(--accent-hi); }
.readme img { display: inline; }
.readme pre { padding: 16px; border-radius: 12px; background: #0e0f12; border: 1px solid var(--line); overflow-x: auto; }
.readme code { font-size: 13px; }
.readme table { border-collapse: collapse; display: block; overflow-x: auto; }
.readme td, .readme th { border: 1px solid var(--line); padding: 6px 10px; }
.paused, .paused * { animation-play-state: paused !important; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; gap: 56px; }
  .hero-visual { order: -1; width: 220px; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .status { justify-content: center; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .exp { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav { gap: 8px; width: calc(100% - 32px); justify-content: space-between; }
  .nav-links { display: none; }
  .hero { padding-inline: 16px; }
  .orbit { font-size: 11px; padding: 6px 10px; }
  .scroll-hint { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card.featured { grid-column: auto; }
  .card.featured { grid-template-columns: 1fr; padding: 24px; }
  .card.featured .card-title { font-size: 20px; }
  .card.featured .tile { width: 44px; height: 44px; font-size: 12px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .modal-head { padding: 24px 20px; }
  .modal-content { padding: 4px 20px 20px; }
  .readme { padding: 4px 16px 16px; }
  .section { padding-top: 88px; }
  .cta { padding: 56px 20px; }
}
.rail { position: fixed; left: 28px; top: 50%; z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; transform: translate(-12px, -50%); transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.rail.show { opacity: 1; transform: translate(0, -50%); }
.rail-num { display: flex; flex-direction: column; align-items: center; font: 700 13px var(--display); }
.rail-num small, .sc-foot small { font-size: 10px; color: var(--muted); font-weight: 500; }
.rail-ticks { display: flex; flex-direction: column; gap: 8px; }
.rail-ticks i { width: 2px; height: 14px; border-radius: 2px; background: var(--line-2); transition: height .5s var(--ease), background .4s; }
.rail-ticks i.on { height: 36px; background: var(--ink-2); }
.rail-label { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 10px var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1180px) { .rail { display: none; } }
.view-switch { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.view-btn { padding: 8px 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 500 14px var(--font); cursor: pointer; transition: background .3s, color .3s; }
.view-btn:hover { color: var(--text); }
.view-btn[aria-selected="true"] { background: var(--chip-on); color: #fff; }
#projects:not(.is-grid) .toolbar, #projects:not(.is-grid) .bento { display: none; }
#projects.is-grid .showcase, .showcase:not(.ready) { display: none; }
#projects.is-grid .view-switch { margin-bottom: 24px; }
.showcase { --n: 4; --p: 0; position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: calc(var(--n) * 100vh); }
.sc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sc-track { display: flex; height: 100%; will-change: transform; }
.sc-slide { --a: 0; --d: 0; position: relative; flex: 0 0 100vw; height: 100%; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4vw; padding: 90px 7vw 90px 10vw; }
.sc-index { position: absolute; left: 6vw; top: 9vh; font: 700 clamp(140px, 21vw, 320px)/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.112); transform: translateX(calc(var(--d) * -14vw)); pointer-events: none; }
.sc-text { position: relative; z-index: 1; min-width: 0; opacity: var(--a); transform: translateX(calc(var(--d) * -9vw)); }
.sc-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font: 600 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sc-title { margin: 0; font: 700 clamp(32px, 4.2vw, 64px)/1 var(--display); letter-spacing: -.045em; }
.sc-title .wd { display: inline-block; white-space: nowrap; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
.sc-title .ch { display: inline-block; transform: translateY(calc(max(0, 1 - (var(--a) * 1.8 - var(--cf))) * 110%)); }
.sc-tag { margin: 14px 0 0; font: italic 400 clamp(21px, 2vw, 30px)/1.1 "Instrument Serif", Georgia, serif; color: #c3c8d1; transform: translateX(calc(var(--d) * -4vw)); }
.sc-tag em { color: var(--ink-2); }
.sc-desc { max-width: 460px; margin: 18px 0 0; color: var(--muted); }
.sc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sc-visual { position: relative; display: grid; place-items: center; height: 100%; }
.portal { position: relative; width: min(38vw, 60vh); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.19), transparent 55%), radial-gradient(circle at 75% 80%, rgba(255,255,255,.088), transparent 55%), #101216;
  box-shadow: 0 0 0 14px rgba(255,255,255,.014), 0 0 0 40px rgba(255,255,255,.009), 0 0 140px rgba(255,255,255,.098), inset 0 0 90px rgba(0,0,0,.65);
  transform: scale(calc(.5 + .5 * var(--a))) rotate(calc(var(--d) * -35deg)); }
.rings { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.224); stroke-width: 1; transform: rotate(calc(var(--d) * 140deg)); }
.rings circle { stroke-dasharray: 2 10; transform-box: fill-box; transform-origin: center; animation: spin 50s linear infinite; }
.rings circle:nth-child(2) { stroke-dasharray: 40 18; animation-duration: 30s; animation-direction: reverse; stroke: rgba(255,255,255,.1); }
.rings circle:nth-child(3) { stroke-dasharray: 1 6; animation-duration: 20s; }
.portal-code { position: relative; margin: 0; font: clamp(10px, .95vw, 13px)/1.7 ui-monospace, "Cascadia Code", Consolas, monospace; color: #cfcfd8; opacity: calc(.25 + .75 * var(--a)); transform: translateY(calc(var(--d) * 90px)) rotate(calc(var(--d) * 35deg)); }
.portal-mono { position: absolute; bottom: 11%; padding: 6px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(16,18,22,.85); font: 700 12px ui-monospace, Consolas, monospace; letter-spacing: .3em; color: var(--ink-2); }
.sc-orb { position: absolute; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #16181d; font: 600 13px var(--display); white-space: nowrap; opacity: var(--a); box-shadow: 0 12px 30px -12px rgba(0,0,0,.8); }
.sc-orb-0 { top: 16%; left: 4%; transform: translate(calc(var(--d) * -140px), calc(var(--d) * 50px)); }
.sc-orb-1 { top: 34%; right: 0; transform: translate(calc(var(--d) * -240px), calc(var(--d) * -30px)); }
.sc-orb-2 { bottom: 16%; left: 12%; transform: translate(calc(var(--d) * -80px), calc(var(--d) * -70px)); }
.sc-foot { position: absolute; left: 10vw; bottom: 6vh; z-index: 2; display: flex; align-items: center; gap: 10px; font: 600 12px var(--display); letter-spacing: .18em; text-transform: uppercase; }
.sc-clip { display: inline-block; overflow: hidden; vertical-align: bottom; }
#sc-num { display: inline-block; }
.sc-bar { position: relative; width: 120px; height: 1px; margin: 0 8px; background: var(--line-2); overflow: hidden; }
.sc-bar i { position: absolute; inset: 0; background: var(--ink-2); transform: scaleX(var(--p)); transform-origin: left; }
#sc-name { color: var(--muted); }
.sc-hint { position: absolute; right: 7vw; bottom: 6vh; font: 600 11px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: calc(1 - var(--p) * 4); }
.sc-hint span { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
.sc-slide { contain: layout paint; }
.sc-slide:not(.on) .rings circle { animation-play-state: paused; } 
.showcase.lite .sc-title .ch, .showcase.lite .sc-index, .showcase.lite .sc-tag,
.showcase.lite .rings, .showcase.lite .portal-code { transform: none; }
.showcase.lite .rings circle { animation: none; }
.showcase.lite .portal { transform: scale(calc(.8 + .2 * var(--a))); box-shadow: 0 0 0 10px rgba(255,255,255,.017); will-change: transform; }
.showcase.lite .sc-orb { display: none; }
@media (max-width: 860px) {
  .sc-slide { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 8px; padding: 84px 7vw 90px; }
  .sc-visual { order: -1; height: auto; }
  .portal { width: min(62vw, 34vh); }
  .portal-code { font-size: 9px; }
  .sc-orb { display: none; }
  .sc-index { top: 8vh; font-size: 34vw; }
  .sc-title { font-size: clamp(34px, 9vw, 56px); }
  .sc-tag { font-size: 24px; }
  .sc-desc { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .sc-actions { margin-top: 18px; }
  .sc-foot { left: 7vw; right: 84px; bottom: 3vh; }
  .sc-bar { width: 48px; flex: none; }
  #sc-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sc-hint { display: none; }
}
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.pipe { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.pipe-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pipe-req { display: flex; align-items: center; flex: 1; min-width: 240px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: #0d0e11; overflow: hidden; transition: border-color .3s; }
.pipe-req:focus-within { border-color: var(--accent); }
.method { padding: 0 14px; height: 100%; display: grid; place-items: center; font: 700 13px ui-monospace, Consolas, monospace; color: #34d399; background: rgba(52,211,153,.08); border-right: 1px solid var(--line); }
.pipe-req select { flex: 1; height: 100%; padding: 0 12px; border: 0; outline: 0; background: none; color: var(--text); font: 500 14px ui-monospace, "Cascadia Code", Consolas, monospace; cursor: pointer; }
.pipe-req option { background: #16181d; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.knob { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); transition: background .3s; }
.knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .35s var(--ease), background .3s; }
.switch input:checked + .knob { background: var(--accent-strong); border-color: transparent; }
.switch input:checked + .knob::after { transform: translateX(16px); background: #fff; }
.switch input:focus-visible + .knob { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.switch:has(input:checked) { color: var(--text); }
#pipe-send:disabled { opacity: .6; cursor: progress; }
.pipe-stage { margin: 28px 0; }
.pipe-stage svg { display: block; width: 100%; height: auto; overflow: visible; }
.edge { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 4 6; }
.edge-lit { fill: none; stroke: var(--ink-2); stroke-width: 2.5; stroke-linecap: round; opacity: 0; transition: opacity .6s; }
.edge-lit.on { opacity: 1; transition: none; }
.edge-lit.res { stroke: #22d3ee; }
.edge-lit.err { stroke: #f87171; }
.node-box { fill: #111216; stroke: var(--line-2); stroke-width: 1; transition: stroke .3s, fill .3s; }
.node-glow { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0; transition: opacity .3s; }
.node-icon { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.node-title { fill: var(--text); font: 600 15px var(--display); }
.node-sub { fill: var(--muted); font: 500 11px ui-monospace, Consolas, monospace; }
.node-stat { fill: var(--ink-2); font: 600 11px ui-monospace, Consolas, monospace; }
.node.active .node-box { stroke: var(--ink-2); fill: #16181d; }
.node.active .node-glow { opacity: .5; animation: node-pulse 1s ease-in-out infinite; }
.node.active .node-icon, .node.ok .node-icon { stroke: var(--ink-2); }
.node.ok .node-box { stroke: rgba(255,255,255,.3); }
.node.hit .node-box { stroke: #22d3ee; fill: #0f1d24; }
.node.hit .node-stat { fill: #22d3ee; }
.node.hit .node-icon { stroke: #22d3ee; }
.node.err .node-box { stroke: #f87171; fill: #241214; }
.node.err .node-stat { fill: #f87171; }
.node.err .node-icon { stroke: #f87171; }
@keyframes node-pulse { 50% { opacity: .15; } }
.packet { opacity: 0; transition: opacity .3s; }
.packet.on { opacity: 1; }
.packet.res circle:first-child { fill: #22d3ee; opacity: .35; }
.packet.err circle:first-child { fill: #f87171; opacity: .35; }
.pipe-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pipe-panel { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: #0d0e11; overflow: hidden; }
.pipe-panel > header { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 10px 16px; border-bottom: 1px solid var(--line); font: 500 12px ui-monospace, Consolas, monospace; color: var(--muted); }
.pipe-panel > header b.ok { color: #34d399; }
.pipe-panel > header b.err { color: #f87171; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: pulse-dot 1.6s infinite; }
.pipe-logs { height: 260px; margin: 0; padding: 12px 16px; list-style: none; overflow-y: auto; font: 12px/1.8 ui-monospace, "Cascadia Code", Consolas, monospace; color: #cfcfd8; scrollbar-width: thin; }
.pipe-logs li { white-space: pre-wrap; overflow-wrap: anywhere; animation: log-in .35s var(--ease) backwards; }
.pipe-logs .t { color: #5b5b6b; margin-right: 8px; }
.pipe-logs .src { color: var(--ink-2); margin-right: 6px; }
.pipe-logs .ok { color: #34d399; }
.pipe-logs .err { color: #f87171; }
@keyframes log-in { from { opacity: 0; transform: translateX(-8px); } }
.pipe-json { height: 260px; margin: 0; padding: 12px 16px; overflow: auto; font: 12px/1.7 ui-monospace, "Cascadia Code", Consolas, monospace; color: #cfcfd8; scrollbar-width: thin; }
.jl { animation: fade .25s ease backwards; }
.j-n { color: #5eead4; }
.pipe-metrics { margin: 16px 0 0; font-size: 13px; color: var(--muted); text-align: right; }
.pipe-metrics b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.term-fab { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--line-2); background: #15171b; color: var(--ink-2); font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 32px -10px rgba(0,0,0,.8); animation: fab-in .8s 1.5s var(--ease) backwards, fab-ping 2.6s 3s ease-out 3; transition: transform .4s var(--ease), opacity .3s, background .3s, color .3s; }
.term-fab:hover { transform: translateY(-3px); background: var(--chip-on); color: #fff; }
.term-fab.hide { opacity: 0; transform: scale(.6); pointer-events: none; }
@keyframes fab-in { from { opacity: 0; transform: translateY(30px) scale(.8); } }
@keyframes fab-ping { 0% { box-shadow: 0 12px 32px -10px rgba(0,0,0,.8), 0 0 0 0 rgba(255,255,255,.193); } 100% { box-shadow: 0 12px 32px -10px rgba(0,0,0,.8), 0 0 0 18px rgba(255,255,255,0); } }
.term { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: min(680px, calc(100vw - 48px)); height: min(440px, calc(100vh - 120px)); display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(14,15,18,.97); box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.052); overflow: hidden; opacity: 0; transform: translateY(24px) scale(.94); transform-origin: bottom right; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.term[hidden] { display: none; }
.term.open { opacity: 1; transform: none; }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); background: #121418; cursor: grab; user-select: none; touch-action: none; }
.term-bar:active { cursor: grabbing; }
.term-title { flex: 1; font: 500 13px ui-monospace, Consolas, monospace; color: var(--muted); }
.term-title .mono { color: var(--ink-2); margin-right: 6px; }
.term-hint { font: 11px ui-monospace, Consolas, monospace; color: #5b5b6b; padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; }
.term-x { width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.term-x:hover { background: #f87171; color: #fff; }
.term-body { position: relative; flex: 1; overflow-y: auto; padding: 14px 16px; font: 13px/1.65 ui-monospace, "Cascadia Code", Consolas, monospace; color: #d4d4de; cursor: text; scrollbar-width: thin; }
.term-body .ln { white-space: pre-wrap; overflow-wrap: anywhere; animation: fade .2s ease backwards; }
.term-body a { color: var(--accent-hi); }
.term-line { display: flex; gap: 8px; align-items: center; }
.term-line input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; caret-color: var(--ink-2); }
.t-prompt { color: #34d399; white-space: nowrap; }
.t-cmd { color: var(--ink-2); }
.t-k { color: #c3c8d1; font-weight: 600; }
.t-ok { color: #34d399; }
.t-err { color: #f87171; }
.t-dim { color: #6b6b7b; }
.t-logo { color: var(--ink-2); }
.term-matrix { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s; }
.term-matrix.out { opacity: 0; }
@media (max-width: 760px) {
  .pipe { padding: 16px; }
  .pipe-panels { grid-template-columns: 1fr; }
  .pipe-logs, .pipe-json { height: 200px; }
  .pipe-metrics { text-align: left; }
  #pipe-send { width: 100%; }
}
@media (max-width: 640px) {
  .term { right: 8px; left: 8px; bottom: 8px; width: auto; height: 70vh; }
  .term-hint { display: none; }
  .term-fab { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .word, .w > span { transform: none; }
}
.skip-link { position: fixed; top: var(--space-2xs); left: var(--space-2xs); z-index: 100; padding: var(--space-2xs) var(--space-s); border-radius: var(--r-sm); background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; transform: translateY(-200%); transition: transform var(--dur-fast) var(--ease); }
.skip-link:focus-visible { transform: none; }
.kicker { text-transform: none; letter-spacing: 0; font-size: var(--step--1); font-weight: 600; }
h2 { text-wrap: balance; }
.small { font-size: var(--step--1); }
.grain { position: fixed; inset: 0; z-index: 55; pointer-events: none; opacity: .03; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px 160px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--dur-base); animation-timing-function: var(--ease-out-expo); }
.nav { view-transition-name: site-nav; }
body:not([data-page="home"]) .nav { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @keyframes reveal-in { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
    .reveal:not(.hero .reveal) { opacity: 1; transform: none; transition: none; animation: reveal-in linear backwards; animation-timeline: view(); animation-range: entry 6% cover 26%; }
    .reveal[data-tilt]:not(.hero .reveal) { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform var(--dur-fast) var(--ease-out-expo), border-color var(--dur-base), box-shadow var(--dur-base); }
  }
}
.lang-switch { display: inline-flex; padding: 2px; border: 1px solid var(--line-2); border-radius: var(--r-pill); }
.lang-switch a { padding: 5px 12px; border-radius: var(--r-pill); font: 600 12px var(--display); color: var(--muted); text-decoration: none; transition: background var(--dur-fast), color var(--dur-fast); }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { background: var(--surface-2); color: var(--text); }
.nav { gap: var(--space-s); }
.lang-banner { position: fixed; top: 72px; left: 50%; z-index: 39; display: flex; align-items: center; gap: var(--space-xs); max-width: calc(100% - 32px); padding: var(--space-2xs) var(--space-2xs) var(--space-2xs) var(--space-s); border: 1px solid var(--line-2); border-radius: var(--r-pill); background: rgba(18,20,24,.96); font-size: var(--step--1); transform: translateX(-50%); box-shadow: 0 16px 40px -16px rgba(0,0,0,.8); }
.lang-banner[hidden] { display: none; }
.lang-banner p { margin: 0; }
.lang-banner-x { width: 28px; height: 28px; flex: none; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.lang-banner-x:hover { background: var(--surface-2); color: var(--text); }
.hero-shader { position: absolute; inset: 0 0 auto 0; width: 100%; height: 100svh; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.hero-shader.on { opacity: .75; }
.hero-cta .btn { gap: var(--space-2xs); }
.hero-note { margin: var(--space-s) 0 0; color: var(--muted); font-size: var(--step--1); }
.hero-note a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .28em; transition: text-decoration-color var(--dur-fast) var(--ease); }
.hero-note a:hover { text-decoration-color: var(--accent-hi); }
.magnetic { will-change: transform; }
.trust { display: grid; gap: var(--space-s); padding-top: var(--space-xl); }
.marquee { overflow: hidden; margin-top: var(--space-s); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: var(--space-2xs); width: max-content; animation: marquee 80s linear infinite; }
.marquee-track span { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--muted); font-size: var(--step--1); white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-s); }
.svc-card { grid-column: span 3; display: flex; flex-direction: column; gap: var(--space-s); padding: var(--space-m); border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: border-color var(--dur-base), box-shadow var(--dur-base) var(--ease); }
.svc-card:hover { border-color: rgba(255,255,255,.2); }
.svc-card h3 { font-size: var(--step-2); }
.svc-card h3 a { text-decoration: none; }
.svc-card h3 a:hover { color: var(--ink-2); }
.svc-problem { margin: 0; color: var(--muted); }
.svc-list { display: grid; gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; font-size: var(--step--1); }
.svc-list li { position: relative; padding-left: var(--space-m); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--ink-2); }
.svc-meta { display: grid; gap: var(--space-xs); margin: auto 0 0; padding-top: var(--space-s); border-top: 1px solid var(--line); }
.svc-meta dt, .facts-bar dt { color: var(--muted); font-size: var(--step--1); }
.svc-meta dd, .facts-bar dd { margin: 2px 0 0; }
.svc-price { font: 700 var(--step-2)/1.1 var(--display); letter-spacing: -.02em; }
.svc-price small { margin-left: var(--space-3xs); color: var(--muted); font: 500 var(--step--1) var(--font); letter-spacing: 0; }
.svc-more { display: inline-flex; align-items: center; gap: var(--space-2xs); font-weight: 600; color: var(--accent-hi); text-decoration: none; }
.svc-more:hover { color: var(--text); }
.reveal.in[data-tilt], .reveal[data-tilt] { transition: transform var(--dur-fast) var(--ease-out-expo), border-color var(--dur-base), box-shadow var(--dur-base); }
.in[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-m); margin: 0; padding: 0; list-style: none; }
.step { padding-top: var(--space-s); border-top: 1px solid var(--line-2); }
.step-n { display: block; margin-bottom: var(--space-xs); font: 700 var(--step-5)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.44); }
.step h3 { font-size: var(--step-1); }
.step p { margin: var(--space-2xs) 0 0; color: var(--muted); }
.terms { margin-top: var(--space-xl); padding: var(--space-m); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.terms h3 { margin-bottom: var(--space-s); font-size: var(--step-1); }
.terms ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-m); margin: 0; padding: 0; list-style: none; }
.terms li { display: grid; align-content: start; gap: var(--space-3xs); padding-left: var(--space-xs); border-left: 2px solid var(--ink-2); }
.terms li span { color: var(--muted); font-size: var(--step--1); }
.pay { margin-top: var(--space-m); }
.pay > p { margin: 0 0 var(--space-s); }
.pay ul { grid-template-columns: repeat(3, 1fr); }
.case-client { color: var(--ink-2); font-size: var(--step--1); font-weight: 600; margin: 0; }
.page-head { padding-top: 140px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs); margin-bottom: var(--space-m); color: var(--muted); font-size: var(--step--1); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.page-title { max-width: 20ch; font-size: var(--step-hero); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.page-lead { max-width: 60ch; margin: var(--space-m) 0 0; color: var(--muted); font-size: var(--step-1); }
.page-head .hero-cta { margin-top: var(--space-l); }
.facts-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m); margin: var(--space-xl) 0 0; padding: var(--space-m) 0 0; border-top: 1px solid var(--line-2); }
.facts-bar > div { min-width: 0; }
.price-note { margin: var(--space-s) 0 0; }
.section > h2 { font-size: var(--step-4); margin-bottom: var(--space-m); }
.section-head { max-width: 760px; }
.contact-head h2 { margin-bottom: 0; }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-3); }
.prose p { color: #cfcfdb; font-size: var(--step-0); }
.prose p + p { margin-top: var(--space-s); }
.prose + .prose { margin-top: var(--space-xl); }
.prose a { color: var(--accent-hi); }
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-s); margin: 0; padding: 0; list-style: none; }
.deliverables li { padding: var(--space-m); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.deliverables h3 { font-size: var(--step-1); }
.deliverables p { margin: var(--space-2xs) 0 0; color: var(--muted); }
.faq { max-width: 76ch; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: var(--space-s) 0; font: 600 var(--step-1)/1.3 var(--display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-s); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--ink-2); transition: transform var(--dur-base) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--space-m); color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--space-s); margin: 0; }
.quote { margin: 0; padding: var(--space-m); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font: 500 var(--step-1)/1.45 var(--display); text-wrap: pretty; }
.quote figcaption { margin-top: var(--space-s); color: var(--muted); font-size: var(--step--1); }
.quote figcaption strong { color: var(--text); }
#faq .faq { margin-inline: 0; }
.fallback { display: flex; flex-wrap: wrap; gap: var(--space-2xs); align-items: center; margin-top: var(--space-2xs); }
.fallback .copy-btn { font-size: var(--step--1); }
.other-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2xs) var(--space-m); margin: 0; padding: 0; list-style: none; }
.other-services a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-s); padding: var(--space-s) 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 var(--step-1) var(--display); }
.other-services a:hover { color: var(--ink-2); }
.other-services .svc-price { font-size: var(--step-0); color: var(--muted); }
.cta { text-align: left; padding: var(--space-xl) var(--space-l); }
.contact-head { max-width: 62ch; }
.contact-head .muted { margin-top: var(--space-xs); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-xl); margin-top: var(--space-l); align-items: start; }
.brief { display: grid; gap: var(--space-s); }
.brief-title { font-size: var(--step-1); font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s); }
.field-row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-row-3 > .field:first-child { grid-column: 1 / -1; }
.field { display: grid; gap: var(--space-3xs); align-content: start; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #0d0e11; color: var(--text); font: 400 15px/1.4 var(--font); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field textarea { resize: vertical; min-height: 8rem; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background: #0d0e11 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23f2f2f5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; }
.field select option { background: #16181d; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(79,140,255,.28); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid, .field [aria-invalid="true"] { border-color: var(--danger); }
.field-hint { color: var(--muted); font-size: var(--step--1); margin: 0; }
.field-error { color: var(--danger); font-size: var(--step--1); }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent a { color: var(--accent-hi); }
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-s); }
.brief-actions .btn[disabled] { opacity: .6; cursor: progress; }
.brief-status { flex: 1; min-width: 14rem; margin: 0; font-size: var(--step--1); color: var(--muted); }
.brief-status[data-state="ok"] { color: var(--ok); }
.brief-status[data-state="error"] { color: #fca5a5; }
.brief-status a { color: var(--accent-hi); }
.ways { display: grid; gap: var(--space-s); padding: var(--space-m); border: 1px solid var(--line); border-radius: var(--r); background: rgba(0,0,0,.18); }
.ways h3 { font-size: var(--step-1); }
.ways .mail-box { margin-top: 0; justify-self: stretch; justify-content: space-between; }
.ways .mail-link { font-size: 14px; }
.ways-list { display: grid; gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; }
.ways-list a { color: var(--accent-hi); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-s); }
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card { grid-column: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .terms ul { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .facts-bar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-grid, .steps, .terms ul, .deliverables, .other-services, .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .page-head { padding-top: 112px; }
  .cta { padding: var(--space-l) var(--space-s); }
  .lang-banner { top: 68px; border-radius: var(--r); }
  .nav { gap: var(--space-xs); }
  .footer-links { gap: var(--space-xs); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { display: none; }
  .hero-shader { display: none; }
  .magnetic, [data-tilt] { transform: none !important; }
  .skip-link { transition: none; }
}
.btn.magnetic { transition: transform .35s var(--ease), translate var(--dur-base) var(--ease-out-expo), background .3s, border-color .3s, box-shadow .3s; }
.nav-links a, .nav .btn { white-space: nowrap; }
.nav-links a { padding-inline: var(--space-xs); }
@media (min-width: 961px) { .hero { grid-template-columns: 1.7fr 1fr; } }
:root { --step-hero: clamp(2.2rem, 1.2rem + 2.8vw, 3.4rem); }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: hero-in 600ms var(--ease-out-expo) backwards; animation-delay: var(--hd, 0ms); }
.hero-text > .hero-role { --hd: 60ms; }
.hero-text > .hero-cta { --hd: 120ms; }
.hero-text > .hero-note { --hd: 180ms; }
.hero-visual.reveal { --hd: 100ms; }
.hero-text > .hero-sub { animation: none; }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 1100px) { .o2 { right: 0; } .o3 { left: 0; } }
.hero-visual .avatar { position: absolute; inset: 9%; width: 82%; height: 82%; }
.hero-shader.on { opacity: .5; }
@media (min-width: 1101px) { .o2 { right: -10%; } }
