/* Fantest portfolio — mobile-first responsive, no external UI dependencies */
:root {
  color-scheme: dark;
  --bg: #080c18; --panel: #111728; --panel-two: #151b2c; --panel-strong: #19213a;
  --fg: #f4f6fe; --soft: #c7cce0; --muted: #939cb6; --line: rgba(189, 198, 233, .13);
  --accent: #ab8bff; --cyan: #71e5ed; --green: #89e3b5; --nav: rgba(8, 12, 24, .83);
  --shadow: 0 18px 60px rgba(0, 0, 0, .20); --gradient: linear-gradient(120deg,#b09bff 8%,#93c0ff 48%,#79e0e7 94%);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8ff; --panel: #fff; --panel-two: #eef2fd; --panel-strong: #e8edfa;
  --fg: #19233e; --soft: #384864; --muted: #687792; --line: rgba(59, 69, 103, .15);
  --accent: #6950d5; --cyan: #157f9c; --green: #197b5a; --nav: rgba(246, 248, 255, .9);
  --shadow: 0 16px 52px rgba(43, 56, 104, .10); --gradient: linear-gradient(120deg,#6842de 8%,#5279d2 48%,#0d929c 94%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 280px; overflow-x: clip; background: var(--bg); color: var(--fg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body, p, a, span, h1, h2, h3, strong, button, label, input { overflow-wrap: anywhere; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
p, h1, h2, h3 { margin-top: 0; }
svg { display: block; width: 100%; height: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 12px 20px; border-radius: 12px; color: #11162a; background: #fff; }
.skip-link:focus { top: 14px; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; min-width: 0; }
.ambient { pointer-events: none; position: absolute; z-index: -1; border-radius: 100%; filter: blur(60px); opacity: .42; }
.ambient-one { top: 95px; left: -250px; width: 540px; height: 540px; background: radial-gradient(circle,#39246b 0, transparent 72%); }
.ambient-two { top: 90px; right: -240px; width: 700px; height: 650px; background: radial-gradient(circle,#143e58 0,transparent 75%); }
:root[data-theme="light"] .ambient { opacity: .23; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--nav); border-bottom: 1px solid var(--line); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; display: grid; place-items: center; position: relative; background: linear-gradient(145deg,#b49aff 0%,#7866e9 55%,#4e47a9 100%); color: #fff; font-size: 25px; font-weight: 850; letter-spacing: -.1em; box-shadow: 0 4px 16px #7762e650; }
.brand-mark span { font-size: 12px; transform: translate(2px,-7px); letter-spacing: 0; }
.brand-label { font-size: 21px; font-weight: 810; letter-spacing: -.055em; white-space: nowrap; }
.brand-dot { color: var(--accent); }
.brand-tld { color: var(--muted); font-weight: 550; }
.primary-nav { display: flex; align-items: center; gap: 31px; min-width: 0; }
.primary-nav a { color: var(--soft); font-size: 13px; font-weight: 700; transition: color .2s; }
.primary-nav a:hover, .text-link:hover, .back-top:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.theme-toggle { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--soft); display: grid; place-items: center; }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.header-play { border: 1px solid rgba(171,139,255,.35); background: rgba(171,139,255,.11); padding: 11px 15px; border-radius: 11px; font-size: 12px; font-weight: 750; color: var(--fg); white-space: nowrap; }
.header-play:hover { background: rgba(171,139,255,.21); }
.header-play span { margin-left: 8px; color: var(--accent); }
.hero { padding-top: 92px; padding-bottom: 110px; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); align-items: center; gap: clamp(34px,4vw,72px); }
.hero-copy { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 40px; padding: 9px 14px; color: var(--soft); font-size: 12px; font-weight: 740; letter-spacing: .028em; margin-bottom: 26px; }
.signal { position: relative; display: block; width: 7px; height: 7px; background: #83e3b2; border-radius: 50%; box-shadow: 0 0 0 4px rgba(131,227,178,.12); flex-shrink: 0; }
.hero h1 { font-size: clamp(47px, 5.25vw, 79px); line-height: 1.07; letter-spacing: -.072em; font-weight: 850; margin-bottom: 27px; }
.gradient-text { background: var(--gradient); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-description { color: var(--soft); font-size: 16px; line-height: 1.85; max-width: 520px; margin-bottom: 29px; }
.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 50px; padding: 12px 21px; border-radius: 12px; font-size: 13px; font-weight: 760; text-align: center; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(120deg,#b094fa,#9582f7); color: #121226; box-shadow: 0 12px 28px rgba(126,105,228,.19); }
.button-outline { border: 1px solid var(--line); color: var(--fg); background: var(--panel); }
.button-outline:hover { border-color: var(--accent); }
.hero-highlights { display: grid; grid-template-columns: .72fr 1.38fr .7fr; gap: 22px; border-top: 1px solid var(--line); padding-top: 25px; margin-top: 42px; max-width: 560px; }
.hero-highlights > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hero-highlights strong { font-size: clamp(14px,1.5vw,20px); letter-spacing: -.04em; }
.hero-highlights span { font-size: 11px; line-height: 1.6; color: var(--muted); font-weight: 600; }
.hero-art { height: min(480px,42vw); min-height: 400px; overflow: hidden; isolation: isolate; position: relative; border: 1px solid rgba(157,158,250,.22); border-radius: 26px; background: radial-gradient(ellipse at 50% 47%,#242655 0%,#151b38 37%,#0d1428 85%); box-shadow: inset 0 0 52px rgba(80,106,208,.06), var(--shadow); }
.art-grid { position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(#7280c830 1px,transparent 1px),linear-gradient(90deg,#7280c830 1px,transparent 1px); background-size: 41px 41px; mask-image: linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent); }
.art-glow { position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 10%; border-radius: 50%; background: #7f64ff52; filter: blur(66px); }
.floating-label { position: absolute; z-index: 3; top: 23px; right: 23px; background: #131a32d9; border: 1px solid #a999f53b; border-radius: 24px; color: #dcdef9; display: flex; align-items: center; gap: 9px; padding: 9px 12px; font-size: 10px; font-weight: 730; letter-spacing: .04em; }
.mini-dot { width: 6px; height: 6px; background: #91e8ba; border-radius: 50%; box-shadow: 0 0 0 4px #91e8ba1f; }
.feature-orbit { position: absolute; display: grid; place-items: center; width: 320px; aspect-ratio: 1; left: 50%; top: 43%; transform: translate(-50%,-50%); }
.orbit-ring { position: absolute; width: 245px; aspect-ratio: 1; border: 1px solid rgba(190,165,255,.23); border-radius: 50%; }
.orbit-ring-outer { width: 320px; border: 1px dashed #8597d833; }
.art-logo { width: 146px; height: 146px; border-radius: 38px; display: flex; align-items: center; justify-content: center; gap: 2px; z-index: 2; color: #fff; background: linear-gradient(140deg,#c3aaff 0%,#836ee3 52%,#4c3d9d 100%); box-shadow: 0 20px 80px #9782ff88,inset 0 2px 2px #fff8; transform: rotate(-8deg); }
.art-logo span { font-size: 105px; font-weight: 840; letter-spacing: -.12em; }
.art-logo b { align-self: flex-start; margin-top: 23px; font-size: 32px; }
.orbit-icon { position: absolute; z-index: 4; display: grid; place-items: center; width: 52px; height: 52px; background: #1f2851; border: 1px solid #a8a8f651; color: #c6c9ff; border-radius: 15px; box-shadow: 0 9px 24px #0004; font-size: 30px; }
.orbit-one { left: -6px; top: 40px; transform: rotate(-15deg); }
.orbit-two { right: 0; top: 65px; transform: rotate(15deg); }
.orbit-three { right: 28px; bottom: 1px; transform: rotate(-13deg); }
.art-bottom { position: absolute; bottom: 24px; left: 29px; right: 29px; z-index: 4; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; color: white; }
.art-bottom strong { display: block; font-size: 15px; letter-spacing: -.03em; margin-top: 5px; }
.small-overline { font-family: ui-monospace,Consolas,monospace; color: #a2aed8; font-size: 10px; letter-spacing: .13em; }
.art-bars { display: flex; align-items: end; gap: 4px; height: 25px; }
.art-bars i { width: 4px; height: 13px; border-radius: 3px; background: #a694fe; }
.art-bars i:nth-child(2),.art-bars i:nth-child(5) { height: 25px; }.art-bars i:nth-child(3),.art-bars i:nth-child(7) { height: 18px; }.art-bars i:nth-child(4) { height: 9px; }.art-bars i:nth-child(6) { height: 22px; }
.section { padding-block: 75px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 30px; }
.section-heading > div { min-width: 0; }
.section-kicker { font-size: 11px; letter-spacing: .17em; font-weight: 800; color: var(--accent); margin-bottom: 15px; }
.section-index { color: var(--muted); margin-right: 8px; }
.section-heading h2, .about-copy h2 { font-size: clamp(34px,3.6vw,48px); letter-spacing: -.06em; line-height: 1.15; margin-bottom: 12px; }
.purple-dot { color: var(--accent); }
.section-heading p { color: var(--muted); margin-bottom: 0; line-height: 1.7; font-size: 14px; }
.text-link { flex-shrink: 0; color: var(--soft); font-size: 13px; font-weight: 750; padding-bottom: 3px; }
.text-link span { color: var(--accent); margin-left: 6px; }
.app-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.app-card { min-width: 0; border: 1px solid var(--line); background: var(--panel); border-radius: 20px; padding: 25px; display: flex; flex-direction: column; min-height: 355px; box-shadow: var(--shadow); transition: border-color .25s, transform .25s; }
.app-card:hover,.project-card:hover { transform: translateY(-4px); border-color: rgba(162,143,241,.43); }
.app-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 26px; }
.app-icon { width: 63px; height: 63px; flex: 0 0 63px; display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 19px; font-weight: 900; box-shadow: 0 15px 30px #0002; overflow: hidden; }
.app-icon svg { width: 42px; height: 42px; }
.icon-nyrvault { background: linear-gradient(145deg,#102d54,#22738e); font-size: 36px; position: relative; font-family: Georgia,serif; }.icon-nyrvault span { font-size: 15px; margin-top: -25px; color: #ffe8a5; }
.icon-echovault { background: linear-gradient(140deg,#412766,#8875eb); }
.icon-owner { background: linear-gradient(145deg,#173c49,#3aa3a4); }
.status { display: inline-flex; gap: 6px; align-items: center; padding: 7px 9px; border: 1px solid var(--line); border-radius: 100px; white-space: normal; color: var(--muted); font-size: 10px; font-weight: 750; }
.status-store { color: var(--green); background: rgba(97,208,153,.06); border-color: rgba(97,208,153,.14); }
.status i { width: 6px; height: 6px; flex: 0 0 6px; background: var(--green); border-radius: 50%; }
.card-overline { color: var(--accent); letter-spacing: .13em; font-size: 10px; font-weight: 800; margin-bottom: 10px; }
.app-card h3 { font-size: 25px; letter-spacing: -.045em; margin-bottom: 11px; }
.app-card-body { flex: 1; }
.app-card-body > p:last-child { color: var(--soft); font-size: 13px; line-height: 1.75; margin-bottom: 20px; }
.app-card-bottom { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 15px; margin-top: auto; color: var(--muted); font-size: 11px; font-weight: 650; }
.round-link { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--panel-strong); border: 1px solid var(--line); color: var(--fg); font-size: 20px; }
.round-link:hover { color: var(--accent); border-color: var(--accent); }
.fine-print { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 18px 0 0; }
.projects-section { background: linear-gradient(180deg,transparent,rgba(122,120,194,.035) 15%,rgba(122,120,194,.035) 84%,transparent); }
.section-count { white-space: nowrap; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 10px 13px; font-weight: 650; }
.project-tools { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; }
.filter-pills { display: flex; gap: 7px; flex-wrap: wrap; }
.filter { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 740; padding: 10px 15px; }
.filter:hover { border-color: var(--accent); color: var(--fg); }
.filter.active { color: #17152a; background: #b8a6fa; border-color: transparent; }
.search-box { display: flex; align-items: center; min-width: 0; width: 235px; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 10px 11px; color: var(--muted); }
.search-box:focus-within { border-color: var(--accent); }
.search-box svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-box input { min-width: 0; width: 100%; border: none; outline: none; background: transparent; color: var(--fg); padding-left: 10px; font-size: 12px; }
.search-box input::placeholder { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); transition: transform .25s, border-color .25s; display: flex; flex-direction: column; }
.project-visual { min-height: 173px; overflow: hidden; position: relative; isolation: isolate; display: grid; place-items: center; }
.project-visual::before { position: absolute; content: ""; inset: 0; background-image: linear-gradient(#fff1 1px,transparent 1px),linear-gradient(90deg,#fff1 1px,transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(to bottom,#000,transparent 95%); opacity: .35; }
.visual-corner { position: absolute; z-index: 2; top: 18px; left: 20px; font-size: 9px; font-weight: 750; letter-spacing: .12em; color: #f2f2ffb8; }
.visual-caption { position: absolute; bottom: 16px; right: 18px; z-index: 2; font-size: 9px; font-weight: 750; letter-spacing: .13em; color: #fffad3bf; }
.visual-wassilha { background: linear-gradient(135deg,#3f2749,#b35e60 53%,#ecb27c); }
.visual-rushline { background: radial-gradient(circle at 58% 55%,#723b89,#301a56 55%,#181634); }
.visual-monolith { background: linear-gradient(135deg,#12242d,#375b68,#1d2c39); }
.visual-family { background: linear-gradient(130deg,#223c6e,#3a64a7,#70a9c0); }
.visual-remote { background: linear-gradient(130deg,#222d50,#4f58a5 58%,#9586e4); }
.visual-touch { background: linear-gradient(135deg,#21434c,#397f91 63%,#59c3b8); }
.visual-commander { background: linear-gradient(135deg,#121e30,#244e60 55%,#2f8992); }
.visual-relic { background: radial-gradient(circle at 50% 80%,#995b9a,#392d66 60%,#191b37); }
.visual-lab { background: linear-gradient(135deg,#24334d,#3b5485,#796ab8); }
.visual-center { font-size: 94px; font-weight: 950; letter-spacing: -.12em; color: #fff; }
.visual-rushline-symbol { transform: skew(-10deg); filter: drop-shadow(12px 14px 0 #c76eef55); }
.visual-rushline-symbol span { font-size: 45px; color: #ffb6ec; }
.road-graphic { width: 180px; height: 220px; position: absolute; top: -20px; left: 50%; transform: translateX(-50%) perspective(290px) rotateX(25deg); border-left: 8px solid #ffcca6a6; border-right: 8px solid #ffcca6a6; background: #4a3e5d; display: flex; justify-content: space-evenly; box-shadow: 0 0 0 24px #ffcfaf20; }
.road-graphic span { height: 100%; border-left: 3px dashed #ffe9b8b8; }
.road-graphic b { position: absolute; bottom: 56px; left: 47%; color: white; font-size: 42px; text-shadow: 0 2px 12px #000; }
.monolith-shape { height: 111px; width: 100px; background: linear-gradient(110deg,#8aa2bb,#365971 40%,#233d54 75%); clip-path: polygon(50% 0%,87% 23%,90% 90%,50% 100%,10% 88%,13% 25%); filter: drop-shadow(0 8px 20px #7fd9ff65); position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; }
.monolith-shape i { width: 5px; height: 25px; background: #9ff6ff; box-shadow: 0 0 10px #c1faff; transform: skewY(14deg); }
.monolith-shape i:nth-child(2) { height: 47px; }.monolith-shape i:nth-child(3) { height: 34px; }.monolith-shape i:nth-child(4) { height: 21px; }
.visual-family-symbol { display: flex; align-items: center; justify-content: center; gap: 4px; }
.visual-family-symbol span { display: grid; place-items: center; background: #ffffff1d; width: 52px; height: 52px; border: 2px solid #cbecff; border-radius: 50%; font-size: 24px; color: #c7edff; }
.visual-family-symbol span:nth-child(2) { background: #fff7; transform: translateY(-18px) scale(1.2); z-index: 2; }
.monitor-symbol { width: 125px; height: 85px; border: 5px solid #d5cfff; border-radius: 11px; display: grid; place-items: center; transform: rotate(-8deg); background: #202d67; box-shadow: 8px 12px 0 #acb2ff40; }
.monitor-symbol::after { position: absolute; bottom: -20px; content: ""; width: 55px; height: 9px; border-radius: 7px; background: #d5cfff; }
.monitor-symbol > div { width: 75%; display: flex; flex-direction: column; gap: 6px; }.monitor-symbol span { height: 5px; border-radius: 6px; background: #a8c8ff; }.monitor-symbol span:nth-child(2) { width: 70%; }.monitor-symbol span:nth-child(3) { width: 86%; }
.fingerprint-symbol { font-size: 120px; font-family: Georgia,serif; color: #c2fff5; line-height: 1; text-shadow: 0 0 40px #c9fff48a; }
.terminal-symbol { color: #a8fff1; font-family: ui-monospace,Consolas,monospace; font-size: 68px; font-weight: 700; }
.terminal-symbol span { color: #4de2a8; font-size: 30px; }
.relic-symbol { font-size: 115px; color: #ffb8fa; filter: drop-shadow(0 0 28px #ffa4ff91); text-shadow: 10px 8px 0 #e28cff42; }
.lab-symbol { display: grid; grid-template-columns: repeat(2,48px); gap: 7px; transform: rotate(-12deg); }
.lab-symbol i { width: 48px; height: 48px; background: #bbd9ff69; border: 2px solid #e0e9ff; border-radius: 13px; }
.lab-symbol i:nth-child(2) { background: #dad0ffb2; }.lab-symbol i:nth-child(3) { background: #76b6ecb2; }.lab-symbol i:nth-child(4) { background: #8d8fe9b2; }
.project-info { padding: 21px 23px 18px; min-width: 0; display: flex; flex: 1; flex-direction: column; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.project-tags span { display: inline-block; min-width: 0; max-width: 100%; background: rgba(158,151,230,.11); color: var(--accent); border-radius: 6px; padding: 6px 8px; font-size: 10px; font-weight: 720; }
.project-tags .tag-muted { background: var(--panel-two); color: var(--muted); }
.project-card h3 { margin-bottom: 9px; font-size: 21px; line-height: 1.2; letter-spacing: -.046em; }
.project-info > p { color: var(--soft); font-size: 12.5px; line-height: 1.8; margin-bottom: 21px; }
.project-bottom { padding-top: 13px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; min-width: 0; color: var(--muted); font-size: 11px; font-weight: 650; }
.project-bottom > span { min-width: 0; }.project-arrow { color: var(--accent); font-size: 17px; }
.inline-project-link { color: var(--accent); border-bottom: 1px solid var(--line); }.inline-project-link:hover { color: var(--fg); }
.no-results { border: 1px dashed var(--line); color: var(--muted); background: var(--panel); border-radius: 12px; padding: 30px; text-align: center; }
.about-section { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1fr); gap: clamp(38px,7vw,105px); align-items: center; padding-block: 110px; }
.about-visual { min-height: 320px; border-radius: 23px; overflow: hidden; position: relative; display: grid; place-items: center; border: 1px solid var(--line); background: radial-gradient(circle at 50% 50%,#4b3f99,#242348 45%,#151a32 88%); }
.about-visual::before,.about-visual::after { content: ""; position: absolute; border: 1px solid #cdbcf84b; border-radius: 50%; width: 230px; height: 230px; }
.about-visual::after { width: 310px; height: 310px; border-style: dashed; opacity: .6; }
.about-glyph { position: relative; z-index: 1; display: flex; gap: 4px; align-items: baseline; font-size: 125px; font-weight: 900; letter-spacing: -.13em; color: #ede1ff; text-shadow: 0 15px 28px #9075ea99; }.about-glyph b { font-size: 37px; transform: translateY(-53px); letter-spacing: 0; }
.about-tag { position: absolute; bottom: 20px; color: #c5c2e4; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.about-copy h2 { margin-bottom: 24px; }.about-copy p { color: var(--soft); font-size: 14px; line-height: 1.85; margin-bottom: 15px; }.about-copy .button { margin-top: 13px; }
.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 44px 48px; border-radius: 24px; background: linear-gradient(120deg,#9b86f9,#c4b5ff 52%,#8bd2ed); color: #181b3c; }
.contact-section .section-kicker { color: #343264; margin-bottom: 10px; }
.contact-section h2 { font-size: clamp(25px,3.4vw,35px); letter-spacing: -.055em; margin-bottom: 8px; }
.contact-section p:last-child { color: #30395f; margin: 0; font-size: 13px; }
.button-light { background: #12162a; color: #fff; flex-shrink: 0; }
.site-footer { display: flex; align-items: center; gap: 22px; padding-block: 37px 45px; margin-top: 46px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer-brand { margin-right: 5px; }.footer-brand .brand-mark { width: 31px; height: 31px; flex-basis: 31px; font-size: 20px; border-radius: 10px; }.footer-brand .brand-mark span { font-size: 10px; }.footer-brand .brand-label { font-size: 16px; }
.site-footer p { margin: 0 auto 0 0; }.site-footer > span { flex-shrink: 0; }.back-top { font-weight: 700; white-space: nowrap; }
@media (max-width: 1050px) {
  .shell { width: min(100% - 48px,1180px); }
  .header-inner { gap: 16px; }
  .primary-nav { gap: 16px; }
  .hero { gap: 30px; padding-block: 70px 80px; }
  .hero h1 { font-size: clamp(41px,5.4vw,59px); }
  .hero-art { min-height: 365px; }
  .feature-orbit { transform: translate(-50%,-50%) scale(.88); }
  .app-card { padding: 20px; }
  .project-info { padding: 18px; }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; min-height: 75px; padding-block: 11px; }
  .primary-nav { order: 3; width: 100%; justify-content: center; border-top: 1px solid var(--line); padding-top: 10px; gap: clamp(20px,6vw,50px); }
  html { scroll-padding-top: 126px; }
  .hero { grid-template-columns: minmax(0,1fr); padding-top: 56px; }
  .hero-copy { text-align: center; }
  .hero-description { margin-inline: auto; }.hero-actions { justify-content: center; }
  .hero-highlights { margin-inline: auto; text-align: left; }
  .hero-art { width: min(100%,550px); margin-inline: auto; min-height: 410px; height: 430px; }
  .app-grid,.project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-section { grid-template-columns: 1fr 1.15fr; gap: 28px; }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width: 580px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { gap: 8px; }
  .brand-label { font-size: 19px; }
  .header-actions { margin-left: auto; gap: 7px; }
  .header-play { padding: 10px; font-size: 11px; }
  .theme-toggle { width: 35px; height: 35px; }
  .primary-nav { justify-content: space-around; }
  .hero { padding-top: 45px; padding-bottom: 58px; gap: 28px; }
  .hero h1 { font-size: clamp(38px,10vw,57px); }
  .hero-description { font-size: 14px; line-height: 1.8; }
  .hero-highlights { gap: 11px; padding-top: 19px; margin-top: 32px; }
  .hero-highlights strong { font-size: 13px; }.hero-highlights span { font-size: 10px; }
  .hero-art { height: 330px; min-height: 330px; border-radius: 20px; }
  .feature-orbit { transform: translate(-50%,-50%) scale(.7); }
  .floating-label { right: 13px; top: 13px; font-size: 9px; }
  .art-bottom { left: 17px; bottom: 16px; right: 17px; }
  .section { padding-block: 55px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 22px; }
  .section-heading h2 { font-size: 33px; }
  .app-grid,.project-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .app-card { min-height: 285px; }
  .app-top { margin-bottom: 17px; }
  .project-visual { min-height: 175px; }
  .project-tools { flex-direction: column; align-items: stretch; }
  .filter-pills { gap: 7px; }
  .filter { flex: 1; padding-inline: 8px; white-space: normal; }
  .search-box { width: 100%; }
  .section-count { display: none; }
  .about-section { grid-template-columns: 1fr; padding-block: 60px; }
  .about-visual { min-height: 260px; }
  .about-glyph { font-size: 110px; }
  .contact-section { flex-direction: column; align-items: stretch; text-align: left; padding: 29px 24px; border-radius: 18px; }
  .contact-section .button { width: 100%; }
  .site-footer { justify-content: space-between; gap: 13px; padding-block: 23px 37px; margin-top: 40px; }
  .site-footer p { width: 100%; order: 3; }.site-footer > span { order: 4; }
}
@media (max-width: 355px) {
  .brand-label { font-size: 16px; }.brand-mark { width: 33px; height: 33px; flex-basis: 33px; }
  .header-play { padding: 9px 7px; }
  .header-play span { margin-left: 3px; }
  .hero-actions .button { width: 100%; }
  .hero h1 { font-size: 34px; }
  .hero-highlights { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-art { height: 285px; min-height: 285px; }
  .feature-orbit { transform: translate(-50%,-50%) scale(.55); }
  .art-bottom .small-overline { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* Keep ambient decoration inside the horizontal page bounds on every viewport. */
.ambient-two { right: 0; width: min(700px, 100vw); }
