@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; 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'; src: url('/assets/fonts/space-grotesk-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; src: url('/assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-display: swap; 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: 'JetBrains Mono'; src: url('/assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-display: swap; 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 {
  --onyx: #08090b;
  --onyx-2: #0e1014;
  --onyx-3: #15181e;
  --ivory: #f1eee7;
  --text: #eceae4;
  --muted: #9b9ea6;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --mint: #8ef0d2;
  --violet: #a99bff;
  --rose: #ff9fb8;
  --amber: #ffc98a;
  --sheen: linear-gradient(100deg, var(--mint) 0%, var(--violet) 40%, var(--rose) 70%, var(--amber) 100%);
  --radius: 22px;
  --bar: 76px;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); -webkit-text-size-adjust: 100%; background: var(--onyx); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--onyx); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
::selection { background: var(--violet); color: var(--onyx); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1240px, 100% - 56px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ivory); color: var(--onyx); padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.sheen { background: var(--sheen); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }

.ic { width: 20px; height: 20px; flex: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--sheen); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06; 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-primary { background: var(--ivory); color: var(--onyx); }
.btn-primary::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; background: var(--sheen); z-index: -1; opacity: 0; filter: blur(14px); transition: opacity .3s; }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-primary:hover::before { opacity: .7; }
.btn-outline { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }

/* Top bar */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.topbar.is-solid { background: rgba(8, 9, 11, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.topbar-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; }
.mark { width: 34px; height: 34px; flex: none; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; }
.menu a::after { content: ''; position: absolute; left: 15px; right: 15px; bottom: 8px; height: 1px; background: var(--sheen); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:hover, .menu a.is-active { color: var(--text); }
.menu a:hover::after, .menu a.is-active::after { transform: scaleX(1); }
.menu a.menu-cta { margin-left: 10px; color: var(--onyx); background: var(--ivory); font-weight: 600; padding: 0 22px; }
.menu a.menu-cta::after { display: none; }
.menu a.menu-cta:hover, .menu a.menu-cta.is-active { background: #fff; color: var(--onyx); }
.menu { margin-left: auto; }
.lang { order: 3; display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.lang > * { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 999px; text-decoration: none; }
.lang span { background: rgba(255, 255, 255, .1); color: var(--text); }
.lang a { color: var(--muted); transition: color .2s; }
.lang a:hover { color: var(--mint); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, .03); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--bar) + 48px) 0 110px; isolation: isolate; }
.veins { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 600px at 78% 45%, rgba(169, 155, 255, .12), transparent 65%), radial-gradient(700px 500px at 10% 90%, rgba(142, 240, 210, .07), transparent 70%), linear-gradient(180deg, rgba(8, 9, 11, .3), transparent 30%, transparent 70%, var(--onyx)); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(142, 240, 210, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(142, 240, 210, 0); } 100% { box-shadow: 0 0 0 0 rgba(142, 240, 210, 0); } }
.hero h1 { font-size: clamp(48px, 7.4vw, 108px); letter-spacing: -.045em; line-height: .98; font-weight: 600; }
.hero h1 .line { display: block; }
.lead { margin-top: 30px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

.hero-art { position: relative; height: 640px; perspective: 1200px; }
.orbit { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1px solid var(--line); }
.orbit::before, .orbit::after { content: ''; position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .07); inset: 60px; animation: spin 60s linear infinite; }
.orbit::after { inset: -70px; border-style: solid; border-color: rgba(255, 255, 255, .04); animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-gem { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; filter: drop-shadow(0 0 40px rgba(169, 155, 255, .45)); animation: float 7s ease-in-out infinite; z-index: 0; }
.hero-gem .mark { width: 100%; height: 100%; }
@keyframes float { 50% { transform: translateY(-14px) rotate(4deg); } }
.phone { border-radius: 36px; padding: 8px; background: linear-gradient(150deg, #2c3038, #0d0f12 60%); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.phone img { border-radius: 29px; width: 100%; height: auto; aspect-ratio: 600 / 1200; object-fit: cover; object-position: top; }
.hero-art .phone { position: absolute; width: 236px; transition: transform .6s var(--ease); }
.hp-1 { left: 4%; top: 120px; --r: -8deg; transform: rotate(var(--r)); z-index: 1; }
.hp-2 { left: 50%; top: 40px; margin-left: -118px; --r: 0deg; z-index: 3; }
.hp-3 { right: 4%; top: 150px; --r: 8deg; transform: rotate(var(--r)); z-index: 2; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; }
.scroll-cue span { width: 22px; height: 36px; border-radius: 12px; border: 1.5px solid var(--line-2); position: relative; }
.scroll-cue span::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* Marquee band */
.band { overflow: hidden; border-block: 1px solid var(--line); background: var(--onyx-2); padding: 22px 0; }
.band-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.band span { font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; color: var(--text); }
.band span:nth-of-type(3n+2) { color: transparent; -webkit-text-stroke: 1px rgba(236, 234, 228, .55); }
.band-gem { width: 12px; height: 12px; flex: none; fill: var(--violet); }
.band-gem:nth-of-type(3n+1) { fill: var(--mint); }
.band-gem:nth-of-type(3n) { fill: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 140px 0; position: relative; }
.head { max-width: 820px; margin-bottom: 72px; }
.head .eyebrow { margin-bottom: 22px; }
.head h2, .contact h2 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -.04em; }
.head p:not(.eyebrow) { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 640px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { position: relative; background: var(--onyx-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px 32px; overflow: hidden; transition: border-color .3s, transform .4s var(--ease); --mx: 50%; --my: 0%; }
.service::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(169, 155, 255, .13), transparent 60%); opacity: 0; transition: opacity .3s; }
.service:hover { border-color: var(--line-2); transform: translateY(-4px); }
.service:hover::before { opacity: 1; }
.service h3 { font-size: 24px; margin: 26px 0 10px; }
.service p { color: var(--muted); font-size: 16px; }

.art { position: relative; height: 150px; border-radius: 16px; background: linear-gradient(180deg, var(--onyx-3), var(--onyx-2)); border: 1px solid var(--line); overflow: hidden; }
.art-web { padding: 12px; }
.aw-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.aw-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.aw-body b { display: block; width: 46%; height: 12px; border-radius: 4px; background: var(--sheen); margin-bottom: 10px; }
.aw-body span { display: block; height: 6px; border-radius: 3px; background: var(--line-2); margin-bottom: 7px; width: 80%; animation: type 4s var(--ease) infinite; transform-origin: left; }
.aw-body span:nth-of-type(2) { width: 64%; animation-delay: .3s; }
.aw-body span:nth-of-type(3) { width: 72%; animation-delay: .6s; }
@keyframes type { 0% { transform: scaleX(0); } 30%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.aw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.aw-grid em { height: 30px; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.art-app { display: flex; }
.aa-side { width: 54px; border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 10px; align-content: start; }
.aa-side i { height: 8px; border-radius: 3px; background: var(--line-2); }
.aa-side i:first-child { background: var(--mint); }
.aa-main { flex: 1; padding: 16px; display: flex; align-items: flex-end; }
.aa-bars { display: flex; align-items: flex-end; gap: 10px; height: 100%; width: 100%; }
.aa-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--violet), rgba(169, 155, 255, .15)); transform-origin: bottom; animation: grow 3.6s var(--ease) infinite alternate; }
.aa-bars span:nth-child(2n) { background: linear-gradient(180deg, var(--mint), rgba(142, 240, 210, .12)); animation-delay: .4s; }
.aa-bars span:nth-child(3n) { animation-delay: .8s; }
@keyframes grow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.art-mobile { display: flex; justify-content: center; align-items: flex-end; gap: 16px; padding-top: 20px; }
.am-phone { width: 74px; height: 142px; border-radius: 16px 16px 0 0; border: 1.5px solid var(--line-2); border-bottom: 0; padding: 10px 7px 0; overflow: hidden; }
.am-phone-2 { height: 118px; opacity: .6; }
.am-track { display: grid; gap: 7px; animation: scrollup 6s linear infinite; }
.am-phone-2 .am-track { animation-duration: 8s; }
.am-track span { height: 26px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.am-track span:nth-child(3n+1) { background: rgba(255, 201, 138, .35); }
@keyframes scrollup { to { transform: translateY(-50%); } }
.art-data svg { width: 100%; height: 100%; }
.art-data path { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 5; }
.art-data circle { fill: var(--onyx); stroke: var(--line-2); stroke-width: 1.5; }
.art-data .hub { stroke: var(--violet); fill: rgba(169, 155, 255, .15); }
.art-data .dot { fill: var(--mint); stroke: none; }
.art-data .dot-2 { fill: var(--amber); }
.art-lang { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; }
.al-word { height: 48px; overflow: hidden; text-align: center; }
.al-word span { display: block; height: 48px; line-height: 48px; font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -.03em; animation: words 12s steps(1) infinite; }
@keyframes words { 0% { transform: translateY(0); } 16.66% { transform: translateY(-48px); } 33.33% { transform: translateY(-96px); } 50% { transform: translateY(-144px); } 66.66% { transform: translateY(-192px); } 83.33% { transform: translateY(-240px); } 100% { transform: translateY(-288px); } }
.al-flags { display: flex; gap: 6px; }
.al-flags i { font-style: normal; font-family: var(--mono); font-size: 12px; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.al-flags i:first-child { color: var(--onyx); background: var(--mint); border-color: var(--mint); }
.art-fix { padding: 16px 18px; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: var(--muted); }
.art-fix b { color: var(--violet); font-weight: 500; }
.art-fix .ok { color: var(--mint); }
.art-fix i { display: inline-block; width: 8px; height: 15px; margin-left: 4px; vertical-align: -2px; background: var(--text); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Works */
.section-works { background: linear-gradient(180deg, var(--onyx), var(--onyx-2) 30%, var(--onyx-2) 70%, var(--onyx)); }
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.work { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; background: var(--onyx); border: 1px solid var(--line); border-radius: 32px; padding: 56px; overflow: hidden; --c: var(--violet); }
.work--amber { --c: var(--amber); }
.work--mint { --c: var(--mint); }
.work::before { content: ''; position: absolute; width: 640px; height: 640px; right: -160px; top: -200px; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent); pointer-events: none; }
.work:nth-child(2n) { grid-template-columns: 1.1fr .9fr; }
.work:nth-child(2n) .work-body { order: 2; }
.work:nth-child(2n)::before { right: auto; left: -160px; }
.work-body { position: relative; display: flex; flex-direction: column; gap: 18px; }
.work-no { font-family: var(--mono); font-size: 14px; color: var(--c); }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line-2); }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-live { color: var(--mint); }
.status.is-live::before { animation: pulse 2.4s infinite; }
.status.is-demo { color: var(--violet); }
.status.is-soon { color: var(--amber); }
.work h3 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.04em; }
.work-text { color: var(--muted); font-size: 17px; }
.work .btn-ghost { align-self: flex-start; margin-top: 6px; }
.work-visual { position: relative; padding: 0 0 60px; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.browser { border-radius: 14px; overflow: hidden; background: var(--onyx-3); border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser-bar span { margin-left: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 3px 12px; border-radius: 6px; background: rgba(255, 255, 255, .04); }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work-visual .phone { position: absolute; right: -10px; bottom: 0; width: 30%; max-width: 190px; border-radius: 28px; padding: 6px; transform: translateZ(40px); }
.work-visual .phone img { border-radius: 23px; aspect-ratio: 600 / 1150; }
.work:nth-child(2n) .work-visual .phone { right: auto; left: -10px; }
.work--plain { grid-column: auto; grid-template-columns: 1fr !important; padding: 40px; gap: 32px; }
.work--plain .work-body { order: 2 !important; }
.work--plain::before { right: -200px !important; left: auto !important; }
.work--plain h3 { font-size: 30px; }
.work--plain .work-visual { padding: 0; }
.emblem { position: relative; height: 200px; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; align-content: center; gap: 14px; background: var(--onyx-2); }
.emblem-bands { position: absolute; inset: -20%; background: repeating-radial-gradient(ellipse at 30% 120%, transparent 0 14px, color-mix(in srgb, var(--c) 18%, transparent) 15px 16px); opacity: .8; }
.emblem-ic { position: relative; width: 64px; height: 64px; color: var(--c); }

/* Facts */

/* Steps */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.steps-line { position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line-2); }
.steps-line span { position: absolute; inset: 0; background: var(--sheen); transform-origin: left; transform: scaleX(var(--s, 1)); }
.step { position: relative; }
.step-no { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--onyx); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 14px; margin-bottom: 28px; }
.step:hover .step-no { border-color: var(--mint); color: var(--mint); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* Principles */
.section-soft { background: var(--onyx-2); border-block: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principle { position: relative; border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); background: var(--onyx); overflow: hidden; }
.principle::after { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 1px; background: var(--sheen); opacity: .7; }
.principle-no { display: block; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.principle h3 { font-size: 22px; margin-bottom: 10px; }
.principle p { color: var(--muted); font-size: 16px; }

/* Contact */
.contact { overflow: hidden; text-align: center; padding: 170px 0; isolation: isolate; }
.contact::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 50% 60%, rgba(169, 155, 255, .14), transparent 70%); }
.veins-soft { opacity: .55; }
.contact-in { position: relative; max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(42px, 6.4vw, 92px); }
.contact .lead { margin: 26px auto 44px; }
.contact-links { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.contact-big { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; font-family: var(--display); font-size: clamp(22px, 3vw, 36px); font-weight: 500; text-decoration: none; background: var(--sheen); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-big .ic { width: 28px; height: 28px; color: var(--violet); }
.contact-empty { padding: 18px 28px; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--muted); font-family: var(--mono); font-size: 14px; }
.contact-empty { margin-top: 36px; }
.lead-form, .form-done { width: 100%; max-width: 760px; text-align: left; padding: 34px; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(21, 24, 30, .86), rgba(14, 16, 20, .9)); backdrop-filter: blur(10px); box-shadow: 0 40px 120px -40px rgba(169, 155, 255, .35); }
.lead-form { display: grid; gap: 22px; }
.hp { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; align-content: start; gap: 9px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 9px; }
.field > span { margin-bottom: 0; }
.field small { font-size: 13px; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(8, 9, 11, .7); color: var(--text); font: 16px/1.5 var(--font); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(169, 155, 255, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 15px; transition: border-color .2s, background .2s, color .2s; }
.chip:hover span { border-color: rgba(255, 255, 255, .4); }
.chip input:checked + span { border-color: transparent; background: var(--ivory); color: var(--onyx); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 3px; }
.form-end { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.form-note { flex: 1 1 260px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.lead-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-error { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 159, 184, .4); background: rgba(255, 159, 184, .08); color: var(--rose); }
.form-done { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 56px 34px; }
.lead-form[hidden], .form-done[hidden], .form-error[hidden] { display: none; }
.done-ic { width: 56px; height: 56px; padding: 12px; border-radius: 50%; color: var(--onyx); background: var(--sheen); }
.done-title { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 600; }
.form-done p:last-child { color: var(--muted); }
.form-done a { color: var(--violet); }
.thanks { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 32px; padding: 40px 20px; background: radial-gradient(700px 400px at 50% 50%, rgba(169, 155, 255, .14), transparent 70%); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; overflow: hidden; }
.footer-top { display: grid; gap: 48px; align-items: start; }
.footer-slogan { margin-top: 14px; font-family: var(--display); font-size: 22px; color: var(--muted); }
.wordmark { margin: 56px 0 18px; font-family: var(--display); font-weight: 700; font-size: clamp(56px, 15.2vw, 212px); line-height: 1.1; padding-bottom: .04em; letter-spacing: -.06em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); background: var(--sheen); -webkit-background-clip: text; background-clip: text; background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 1.6s var(--ease); }
.wordmark.is-in, html:not(.js) .wordmark { background-size: 100% 100%; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero h1 .line { overflow: hidden; padding-bottom: .06em; transform: none; opacity: 1; }
.js .hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease) var(--d, 0s); }
.js .hero h1 .line.is-in > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .hero h1 .line > span { opacity: 1; transform: none; transition: none; }
}

/* Laptop / tablet */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; order: 4; }
  .lang { margin-left: auto; }
  .menu { position: fixed; top: var(--bar); left: 0; right: 0; height: calc(100svh - var(--bar)); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; padding: 24px 28px 40px; background: rgba(8, 9, 11, .97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
  .menu.is-open { visibility: visible; opacity: 1; }
  .menu a { min-height: 64px; font-family: var(--display); font-size: 32px; font-weight: 500; color: var(--text); padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu a::after { display: none; }
  .menu a.menu-cta { margin: 24px 0 0; justify-content: center; border-radius: 999px; font-size: 20px; min-height: 58px; border: 0; }
  .topbar.menu-open { background: rgba(8, 9, 11, .97); }
  .hero { min-height: 0; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { height: 520px; max-width: 640px; width: 100%; margin-inline: auto; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .work, .work:nth-child(2n) { grid-template-columns: 1fr; padding: 44px; }
  .work:nth-child(2n) .work-body { order: 0; }
  .work-visual { max-width: 680px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps-line { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps-line span { transform-origin: top; transform: scaleY(var(--s, 1)); }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 24px; padding-bottom: 36px; }
  .step-no { grid-row: span 2; margin: 0; }
  .step h3 { align-self: center; margin: 10px 0 8px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 700px) {
  .field-row { grid-template-columns: 1fr; }
  .lead-form { padding: 22px; gap: 20px; border-radius: 22px; }
  .form-end .btn { width: 100%; }
  :root { --bar: 66px; --radius: 18px; }
  body { font-size: 16px; }
  .wrap { width: min(100% - 40px, 1240px); }
  .brand { font-size: 19px; }
  .mark { width: 30px; height: 30px; }
  .hero { padding: calc(var(--bar) + 40px) 0 80px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .hero-art { height: 400px; }
  .orbit { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .hero-gem { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
  .hero-art .phone { width: 150px; border-radius: 26px; padding: 6px; }
  .hero-art .phone img { border-radius: 21px; }
  .hp-1 { left: 0; top: 80px; }
  .hp-2 { top: 20px; margin-left: -75px; }
  .hp-3 { right: 0; top: 100px; }
  .scroll-cue { display: none; }
  .band { padding: 16px 0; }
  .section { padding: 96px 0; }
  .head { margin-bottom: 44px; }
  .head p:not(.eyebrow) { font-size: 17px; }
  .services, .principles, .works { grid-template-columns: 1fr; }
  .service { padding: 20px 22px 26px; }
  .work, .work:nth-child(2n), .work--plain { padding: 26px 20px; border-radius: 24px; gap: 32px; }
  .work-visual { padding-bottom: 40px; }
  .work-visual .phone, .work:nth-child(2n) .work-visual .phone { right: -4px; left: auto; width: 34%; border-radius: 18px; padding: 4px; }
  .work-visual .phone img { border-radius: 14px; }
  .browser-bar { height: 28px; }
  .browser-bar span { display: none; }
  .work .btn-ghost { align-self: stretch; }
  .work--plain { grid-template-columns: 56px 1fr !important; gap: 16px; padding: 20px; align-items: start; }
  .work--plain .work-body { gap: 6px; }
  .work--plain .work-visual { padding: 0; }
  .work--plain .emblem { height: 56px; border-radius: 16px; }
  .work--plain .emblem-bands { display: none; }
  .work--plain .emblem-ic { width: 28px; height: 28px; }
  .work--plain .work-no { display: none; }
  .work--plain h3 { font-size: 21px; }
  .work--plain .work-text { font-size: 15px; }
  .contact { padding: 110px 0; }
  .contact-empty { width: 100%; }
  .contact-big { font-size: clamp(16px, 5vw, 20px); max-width: 100%; }
  .contact-big .ic { display: none; }
  .contact-big span { min-width: 0; overflow-wrap: anywhere; }
  .footer-bottom { flex-direction: column; }
}
