/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-italic-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-400-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-400-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-400-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-latin.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;
}

/* Upfold — studio site */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #c8ff3d; }

:root {
  --bg: #08080c;
  --bg-2: #0d0d13;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .09);
  --border-2: rgba(255, 255, 255, .16);
  --text: #f4f4f6;
  --muted: #9a9aa6;
  --muted-2: #858592;
  --accent: #c8ff3d;
  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  --accent-t: 1.4s;
  transition: --accent var(--accent-t) ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.55 var(--font-sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #08080c; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(840px, 100% - 40px); }

/* ambient */
.noise { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%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"); }
.glow { position: fixed; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 60%);
  opacity: 0; transition: opacity .6s ease, --accent var(--accent-t) ease; will-change: transform; }
body.has-pointer .glow { opacity: 1; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); z-index: 70; transition: --accent var(--accent-t) ease; }

/* type */
h1, h2, h3 { font-weight: 500; letter-spacing: -.03em; line-height: 1; }
h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: .98; }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.7rem); line-height: 1.02; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.07em; letter-spacing: -.01em; color: #fff; }
.eyebrow { font: 500 .78rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: .6em; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.lede, .sub { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; max-width: 60ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85rem 1.35rem; border-radius: 999px; font-weight: 500; font-size: .95rem; line-height: 1; border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn-primary { background: var(--text); color: #08080c; }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--border-2); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: var(--surface-2); }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.02rem; }
.btn-sm { padding: .62rem 1rem; font-size: .88rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(8, 8, 12, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 1.1rem; }
.logo-mark { width: 30px; height: 30px; }
.logo-mark .logo-row { stroke: var(--accent); transition: stroke var(--accent-t) ease; }
.nav-links { display: flex; gap: 28px; font-size: .95rem; color: var(--muted); }
.nav-links a { transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-cta-mobile { display: none; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; padding: 128px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; transition: --accent var(--accent-t) ease; }
.blob-a { width: 760px; height: 760px; left: 50%; top: -420px; transform: translateX(-50%); background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.blob-b { width: 560px; height: 560px; right: -200px; top: 380px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, #4b4bff 20%), transparent 65%); opacity: .35; animation: drift 24s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(-50%, 0) scale(1); } to { transform: translate(-42%, 40px) scale(1.08); } }
.blob-b { animation-name: drift-b; }
@keyframes drift-b { from { transform: translate(0, 0); } to { transform: translate(-60px, -50px) scale(1.1); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-copy h1 { max-width: 20ch; }
.hero-copy .lede { max-width: 56ch; text-align: center; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* stage — cover flow of live previews */
.stage { position: relative; margin: 48px auto 0; width: 100%; max-width: 1500px; }
.stack { position: relative; height: 430px; perspective: 1700px; transform-style: preserve-3d; --tilt-x: 0deg; --tilt-y: 0deg; }
.stack-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform .6s var(--ease); }
.win { position: absolute; top: 0; left: 50%; width: 680px; margin-left: -340px; border-radius: 12px; overflow: hidden; background: #111; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.4);
  transform: translateX(calc(var(--o) * 150px)) translateZ(calc(var(--ao) * -230px)) rotateY(calc(var(--o) * -9deg));
  opacity: calc(1 - var(--ao) * .17); transition: transform .95s var(--ease), opacity .95s var(--ease); cursor: pointer; will-change: transform; }
.win[data-hidden="true"] { opacity: 0; pointer-events: none; }
.win-bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #15151b; border-bottom: 1px solid rgba(255,255,255,.08); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2e2e36; }
.win-bar i:nth-child(1) { background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-screen { aspect-ratio: 16 / 10; background: var(--brand-bg, #111); position: relative; overflow: hidden; }
.win-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.win.is-active .win-screen img { animation: screenScroll 18s ease-in-out infinite alternate; }
@keyframes screenScroll { 0%, 8% { object-position: 50% 0%; } 92%, 100% { object-position: 50% 100%; } }
.win::after { content: ""; position: absolute; inset: 0; background: rgba(8,8,12, calc(var(--ao) * .18)); pointer-events: none; transition: background .95s var(--ease); }
.stage-ui { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.stage-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); display: inline-grid; place-items: center; transition: background .2s, border-color .2s, transform .2s var(--ease); font-size: 1rem; }
.stage-btn:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); }
.stage-caption { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--muted); min-width: 0; }
.stage-caption .stage-name { color: var(--text); font-weight: 500; }
.stage-open { color: var(--accent); font-weight: 500; transition: --accent var(--accent-t) ease; }
.stage-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.stage-dots button { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); transition: background .3s, width .3s; }
.stage-dots button[aria-selected="true"] { background: var(--accent); width: 44px; }

.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-top: 56px; }
.hero-facts li { background: var(--bg); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.hero-facts strong { font-weight: 500; font-size: 1.1rem; letter-spacing: -.02em; }
.hero-facts span { color: var(--muted); font-size: .9rem; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: 18px 0; margin-top: 60px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; font: 500 .85rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transition: --accent var(--accent-t) ease; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 130px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 64px; max-width: 820px; }
.section-head h2 { max-width: 22ch; }

/* work grid */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { position: relative; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); overflow: hidden; transition: border-color .35s, transform .5s var(--ease), box-shadow .5s var(--ease); cursor: pointer; text-align: left; width: 100%; display: block; }
.card:hover { border-color: color-mix(in srgb, var(--card-accent) 55%, transparent); transform: translateY(-4px); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--card-accent) 45%, transparent); }
.card-frame { margin: 14px 14px 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #111; }
.card-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #15151b; }
.card-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2e2e36; }
.card-screen { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-bg, #111); position: relative; }
.card-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: object-position 1.4s var(--ease); }
.card:hover .card-screen img { object-position: 50% 100%; transition: object-position 9s linear; }
.card-screen::after { content: "Scrolling…"; position: absolute; right: 12px; bottom: 12px; font: 500 .7rem/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: #fff; background: rgba(8,8,12,.7); backdrop-filter: blur(8px); padding: 7px 10px; border-radius: 6px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.card:hover .card-screen::after { opacity: 1; transform: none; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px 20px; }
.card-meta h3 { font-size: 1.15rem; }
.card-meta p { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.card-right { display: flex; align-items: center; gap: 14px; flex: none; }
.palette { display: flex; gap: 4px; }
.palette i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,.15); }
.card-open { font-size: .9rem; font-weight: 500; color: var(--text); opacity: .7; transition: opacity .2s, color .2s; }
.card:hover .card-open { opacity: 1; color: var(--card-accent); }

/* systems */
.systems-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sys { border-radius: var(--r); padding: 22px 22px 20px; border: 1px solid color-mix(in srgb, var(--sys-fg) 14%, transparent); display: flex; flex-direction: column; gap: 18px; min-height: 230px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; overflow: hidden; background: var(--sys-bg); color: var(--sys-fg); }
.sys:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.sys-name { font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1; letter-spacing: -.01em; font-weight: 600; }
.sys-aa { font-size: 3.4rem; line-height: .9; opacity: .12; position: absolute; right: 14px; top: 6px; font-weight: 600; }
.sys-fonts { font: 500 .72rem/1.4 var(--font-mono); opacity: .7; }
.sys-bars { display: flex; gap: 4px; height: 10px; margin-top: auto; }
.sys-bars i { flex: 1; border-radius: 3px; border: 1px solid rgba(0,0,0,.08); }
.sys-tag { font: 500 .7rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .65; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 1px; background: var(--border); }
.timeline li { position: relative; padding-top: 42px; display: flex; flex-direction: column; gap: 12px; }
.timeline li::before { content: ""; position: absolute; top: 7px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--border-2); transition: background .5s, border-color .5s, box-shadow .5s; }
.timeline li.is-visible::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.timeline .day { font: 500 .75rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); transition: --accent var(--accent-t) ease; }
.timeline h3 { font-size: 1.3rem; }
.timeline p { color: var(--muted); font-size: .95rem; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile, .card, .plan, .sys, .timeline li, .win, .hero-facts li { min-width: 0; }
.tile { border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .5s var(--ease); }
.tile:hover { border-color: var(--border-2); transform: translateY(-3px); }
.tile-wide { grid-column: span 2; }
.tile h3 { margin-top: 10px; }
.tile p { color: var(--muted); font-size: .95rem; }
.tile-visual { height: 150px; border-radius: 12px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.04), transparent); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.code-visual { justify-content: flex-start; align-items: flex-start; padding: 20px 24px; }
.code-visual pre { margin: 0; font: 400 .82rem/1.65 var(--font-mono); color: #c9c9d2; white-space: pre-wrap; word-break: break-word; }
.code-visual .c { color: var(--muted-2); } .code-visual .t { color: var(--accent); } .code-visual .a { color: #9ad1ff; } .code-visual .s { color: #ffd38a; }
.ab-visual { flex-direction: column; gap: 14px; padding: 0 28px; align-items: stretch; }
.ab { display: grid; grid-template-columns: 20px 1fr 48px; align-items: center; gap: 12px; font: 500 .8rem/1 var(--font-mono); color: var(--muted); }
.ab-bar { height: 10px; border-radius: 5px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.ab-bar::after { content: ""; position: absolute; inset: 0; width: var(--v); background: rgba(255,255,255,.3); border-radius: 5px; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) .2s; }
.ab-win .ab-bar::after { background: var(--accent); }
.ab-win { color: var(--text); }
.is-visible .ab-bar::after { transform: scaleX(1); }
.copy-visual { flex-direction: column; gap: 12px; align-items: flex-start; padding: 0 28px; }
.copy-visual .line { height: 10px; border-radius: 5px; background: rgba(255,255,255,.1); display: block; }
.copy-visual .hl { background: color-mix(in srgb, var(--accent) 60%, transparent); }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w50 { width: 50%; }
.speed-visual svg { width: 150px; }
.speed-arc { stroke-dasharray: 157; stroke-dashoffset: 157; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.is-visible .speed-arc { stroke-dashoffset: 8; }
.speed-num { position: absolute; bottom: 36px; font: 500 1.2rem/1 var(--font-sans); letter-spacing: -.02em; }
.motion-visual { gap: 10px; }
.motion-visual span { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); animation: bounce 1.4s ease-in-out infinite; }
.motion-visual span:nth-child(2) { animation-delay: .15s; opacity: .7; } .motion-visual span:nth-child(3) { animation-delay: .3s; opacity: .45; }
@keyframes bounce { 0%, 100% { transform: translateY(8px); } 50% { transform: translateY(-10px); } }
.device-visual { gap: 14px; align-items: flex-end; }
.dv { display: block; border: 1.5px solid rgba(255,255,255,.35); border-radius: 6px; background: rgba(255,255,255,.04); }
.dv-d { width: 92px; height: 60px; } .dv-t { width: 46px; height: 60px; } .dv-m { width: 26px; height: 48px; border-radius: 5px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(var(--plan-cols, 3), 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 14px; position: relative; transition: transform .5s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-4px); border-color: var(--border-2); }
.plan-hl { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, transparent), var(--surface) 60%); }
.plan-tag { position: absolute; top: -13px; left: 30px; font: 500 .7rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #08080c; padding: 8px 12px; border-radius: 999px; transition: --accent var(--accent-t) ease; }
.plan h3 { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.price { font-size: 2.8rem; letter-spacing: -.03em; font-weight: 500; line-height: 1; display: flex; align-items: flex-start; gap: 2px; }
.price .cur { font-size: 1.3rem; margin-top: 6px; color: var(--muted); }
.price-text { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.plan-desc { color: var(--muted); font-size: .95rem; }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #d6d6de; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* faq */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); transition: border-color .3s; }
.faq details[open] { border-color: var(--border-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 500; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; color: var(--muted); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 24px 22px; color: var(--muted); max-width: 70ch; }

/* contact */
.contact { padding-bottom: 150px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 120px; }
.contact-alt { color: var(--muted); font-size: .95rem; }
.contact-alt a { color: var(--text); border-bottom: 1px solid var(--border-2); }
.form { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 30px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 13px 14px; width: 100%; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: 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='%239a9aa6' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.06); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field.is-invalid input { border-color: #ff6b6b; }
.form .btn { align-self: flex-start; margin-top: 6px; }
.form-note { color: var(--muted-2); font-size: .85rem; }
.form-note.is-ok { color: var(--accent); }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; background: var(--bg-2); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { color: var(--muted); max-width: 40ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: flex-end; color: var(--muted); font-size: .95rem; }
.footer-links a:hover { color: var(--text); }
.footer-legal { grid-column: 1 / -1; color: var(--muted-2); font-size: .85rem; padding-top: 24px; border-top: 1px solid var(--border); margin-top: 8px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,8,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; animation: fadeIn .3s var(--ease); }
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--border); flex: none; }
.modal-meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.modal-meta strong { font-weight: 500; font-size: 1.05rem; }
.modal-industry { color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal-swatch { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.modal-controls { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; border: 1px solid var(--border-2); border-radius: 999px; padding: 3px; }
.seg-btn { padding: 8px 14px; border-radius: 999px; font-size: .85rem; color: var(--muted); transition: background .2s, color .2s; }
.seg-btn.is-on { background: var(--text); color: #08080c; }
.modal-body { flex: 1; min-height: 0; padding: 20px; display: flex; align-items: center; justify-content: center; }
.device { background: #111; border: 1px solid rgba(255,255,255,.14); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 60px 120px -40px rgba(0,0,0,.9); transition: width .5s var(--ease), height .5s var(--ease), border-radius .5s var(--ease); }
.device-desktop { width: 100%; height: 100%; max-width: 1500px; border-radius: 14px; }
.device-mobile { width: 390px; height: min(844px, 100%); border-radius: 44px; border-width: 8px; border-color: #1e1e24; }
.device-bar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #15151b; border-bottom: 1px solid rgba(255,255,255,.08); flex: none; }
.device-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2e2e36; }
.device-bar span:nth-child(1) { background: #ff5f57; } .device-bar span:nth-child(2) { background: #febc2e; } .device-bar span:nth-child(3) { background: #28c840; }
.device-mobile .device-bar { display: none; }
.device iframe { border: 0; width: 100%; flex: 1; background: #fff; }
body.modal-open { overflow: hidden; }

/* reveal */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .work-grid .reveal:nth-child(2n) { transition-delay: .1s; }
html.js .systems-grid .reveal:nth-child(4n+2) { transition-delay: .08s; }
html.js .systems-grid .reveal:nth-child(4n+3) { transition-delay: .16s; }
html.js .systems-grid .reveal:nth-child(4n+4) { transition-delay: .24s; }
html.js .timeline .reveal:nth-child(2) { transition-delay: .1s; } html.js .timeline .reveal:nth-child(3) { transition-delay: .2s; } html.js .timeline .reveal:nth-child(4) { transition-delay: .3s; } html.js .timeline .reveal:nth-child(5) { transition-delay: .4s; }

/* responsive */
/* pricing extras */
.price:has(.from) { flex-wrap: wrap; }
.price .from { flex-basis: 100%; font: 500 .72rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.price .per { align-self: flex-end; margin-bottom: 6px; font-size: .4em; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.plan-tag-soft { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2); }
.plans-note { margin-top: 24px; color: var(--muted); font-size: .95rem; }

/* whatsapp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #062b14; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float[hidden], [data-wa-wrap][hidden] { display: none; }
body.modal-open .wa-float { display: none; }
@media (max-width: 600px) { .wa-float { padding: 14px; right: 16px; bottom: 16px; } .wa-float span { display: none; } .wa-float svg { width: 28px; height: 28px; } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }
.about-card { position: sticky; top: 96px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.about-id { display: flex; align-items: center; gap: 14px; }
.about-id strong { display: block; font-size: 1.1rem; font-weight: 600; }
.about-id span { color: var(--muted); font-size: .9rem; }
.about-mono { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 500 1rem/1 var(--font-mono); color: #08080c; background: var(--accent); transition: --accent var(--accent-t) ease; }
.about-stats { margin: 0; display: grid; gap: 14px; border-top: 1px solid var(--border); padding-top: 20px; }
.about-stats dt { font: 400 2rem/1 var(--font-serif); font-style: italic; }
.about-stats dd { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.about-links { display: flex; gap: 10px; flex-wrap: wrap; }
.about-list { display: grid; gap: 16px; }
.about-list li { min-width: 0; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s; }
.about-list li:hover { border-color: var(--border-2); }
.about-tag { font: 500 .72rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); transition: color var(--accent-t) ease; }
.about-list h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.about-list p { color: var(--muted); }

/* language switch */
.lang { display: flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; font: 500 .72rem/1 var(--font-mono); }
.lang a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.lang a:hover { color: var(--text); }
.lang .flag { width: 16px; height: 11px; border-radius: 2px; flex: none; }
.lang a[aria-current="true"] { background: var(--surface-2); color: var(--text); }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-card { position: static; }
}

@media (max-width: 1100px) {
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy { position: static; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 6px; padding: 16px 20px 24px; background: rgba(8,8,12,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav-links a { font-size: 1.2rem; padding: 10px 0; color: var(--text); }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-cta-mobile { display: inline-flex; margin-top: 10px; align-self: flex-start; }
  .nav-links a.nav-cta-mobile { color: #08080c; font-size: 1rem; padding: .85rem 1.35rem; }
  .nav-right .btn { display: none; }
  .burger { display: block; }
  .hero { padding-top: 130px; }
  .stack { height: 56vw; max-height: 430px; }
  .win { width: 84vw; margin-left: -42vw; transform: translateX(calc(var(--o) * 40px)) translateZ(calc(var(--ao) * -140px)) rotateY(calc(var(--o) * -6deg)); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 44px; }
  .tile-wide { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .modal-bar { flex-wrap: wrap; }
  .modal-controls { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .modal-body { padding: 12px; }
  .device-mobile { width: min(390px, 100%); }
}
@media (max-width: 600px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  body { font-size: 1rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 50px; }
  .stage-caption { font-size: .85rem; flex-wrap: wrap; justify-content: center; }
  .systems-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .card-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .card-right { width: 100%; justify-content: space-between; }
  .modal-controls .stage-btn { display: none; }
}
@media (hover: none) { .glow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .win.is-active .win-screen img { animation: none; }
}
.price .from s { color: var(--muted); text-decoration-thickness: 1.5px; }
.extras { margin-top: 28px; border: 1px solid var(--border-2); border-radius: 18px; padding: 22px 26px; }
.extras ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.extras li { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--border); }
.extras li:first-child { border-top: 0; padding-top: 0; }
.extras li span { grid-column: 1; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.extras li b { grid-column: 2; grid-row: 1 / span 2; font-weight: 500; font-size: 1.25rem; white-space: nowrap; }
.about-photo { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--accent); transition: box-shadow var(--accent-t) ease; }
