:root {
  --bg: #08090d;
  --bg-soft: #0e1016;
  --panel: #12151d;
  --panel-2: #171b25;
  --text: #f5f7fb;
  --muted: #9197a8;
  --line: rgba(255,255,255,.11);
  --lime: #b7ff3c;
  --purple: #9d7bff;
  --cyan: #54e5ff;
  --radius: 28px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
::selection { background: var(--lime); color: #071008; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 130px 0; position: relative; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%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)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 2000; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 7px; height: 7px; background: var(--lime); }
.cursor-ring { width: 42px; height: 42px; border: 1px solid rgba(183,255,60,.6); transition: width .25s, height .25s, background .25s, border-color .25s; }
.cursor-ring.active { width: 72px; height: 72px; background: rgba(183,255,60,.12); border-color: rgba(183,255,60,.15); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 18px 0; transition: .35s ease; }
.site-header.scrolled { background: rgba(8,9,13,.76); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); padding: 12px 0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: "Space Grotesk"; font-weight: 700; letter-spacing: -.04em; font-size: 19px; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--lime); color: #080c06; font-size: 11px; letter-spacing: -.08em; transform: rotate(-7deg); }
.logo-dot { color: var(--lime); }
.desktop-nav { display: flex; gap: 34px; color: #c3c7d2; font-size: 14px; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--lime); transition: .3s; }
.desktop-nav a:hover::after { right: 0; }
.button { min-height: 58px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--lime); color: #091006; border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; }
.button:hover { box-shadow: 0 14px 46px rgba(183,255,60,.18); }
.button-small { min-height: 44px; padding: 0 18px; font-size: 13px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; border-radius: 50%; padding: 0; }
.menu-toggle span { display: block; width: 18px; height: 1px; background: #fff; margin: 5px auto; transition: .25s; }
.mobile-menu { display: none; }

.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 155px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 66px; position: relative; z-index: 2; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .23; pointer-events: none; }
.orb-one { width: 500px; height: 500px; background: #7357ff; right: 4%; top: 9%; }
.orb-two { width: 400px; height: 400px; background: #b7ff3c; left: -16%; bottom: -5%; opacity: .1; }
.eyebrow, .kicker { color: #bdc2cd; text-transform: uppercase; font-size: 12px; letter-spacing: .16em; font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 30px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(183,255,60,.09), 0 0 22px rgba(183,255,60,.6); }
.hero-title { font-family: "Space Grotesk"; font-size: clamp(48px, 6.2vw, 92px); line-height: .98; letter-spacing: -.065em; margin: 0; max-width: 900px; }
.gradient-text { background: linear-gradient(100deg, var(--lime), #e8ffad 45%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { color: #a8adba; max-width: 670px; font-size: 19px; margin: 30px 0 36px; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.text-link { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.play-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; }
.hero-metrics { display: flex; gap: 42px; margin-top: 58px; }
.hero-metrics div { display: grid; gap: 3px; }
.hero-metrics strong { font-family: "Space Grotesk"; font-size: 34px; letter-spacing: -.05em; }
.hero-metrics strong::after { content: "+"; color: var(--lime); font-size: .55em; margin-left: 2px; }
.hero-metrics div:last-child strong::after { content: "ч"; }
.hero-metrics span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.hero-visual { position: relative; perspective: 1000px; }
.visual-glow { position: absolute; inset: 15% 9%; background: rgba(157,123,255,.4); filter: blur(80px); border-radius: 50%; }
.dashboard-card { position: relative; border: 1px solid rgba(255,255,255,.17); background: linear-gradient(150deg, rgba(27,31,42,.95), rgba(11,12,18,.96)); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.5); transform: rotateY(-7deg) rotateX(3deg); transform-style: preserve-3d; transition: transform .2s ease-out; }
.dashboard-topbar { height: 50px; display: flex; align-items: center; padding: 0 17px; gap: 18px; border-bottom: 1px solid var(--line); color: #6f7584; font-size: 10px; }
.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 7px; height: 7px; border-radius: 50%; background: #414755; }
.dashboard-address { flex: 1; height: 26px; display: grid; place-items: center; background: rgba(255,255,255,.035); border-radius: 8px; }
.dashboard-signal { width: 10px; height: 10px; border: 2px solid #5b6372; border-radius: 50%; }
.dashboard-body { display: grid; grid-template-columns: 58px 1fr; min-height: 505px; }
.dash-sidebar { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 17px 0; gap: 24px; }
.mini-logo { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: var(--lime); color: #101609; font-weight: 900; font-size: 8px; letter-spacing: -.08em; margin-bottom: 8px; }
.dash-sidebar > span { width: 16px; height: 16px; border: 1px solid #414755; border-radius: 5px; }
.dash-sidebar > span.active { background: #9d7bff; border-color: #9d7bff; box-shadow: 0 0 18px rgba(157,123,255,.5); }
.dash-content { padding: 27px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dash-head small { color: #747a89; }
.dash-head h3 { margin: 4px 0 0; font-family: "Space Grotesk"; font-size: 20px; }
.dash-avatar { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #9d7bff, #54e5ff); font-size: 10px; font-weight: 800; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 24px 0 14px; }
.dash-stats article, .chart-card, .task-card, .progress-card { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-radius: 15px; }
.dash-stats article { padding: 15px; display: grid; gap: 4px; }
.dash-stats span, .chart-labels span, .progress-card span { font-size: 10px; color: #737a89; }
.dash-stats strong { font-family: "Space Grotesk"; font-size: 22px; }
.dash-stats i { color: var(--lime); font-style: normal; font-size: 9px; }
.chart-card { padding: 16px 16px 4px; }
.chart-labels { display: flex; justify-content: space-between; align-items: center; }
.chart-labels b { font-size: 10px; color: #a8adba; }
.chart-card svg { width: 100%; margin-top: 8px; overflow: visible; }
.chart-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: chartDraw 2.2s 1s forwards ease; }
.chart-area { opacity: 0; animation: chartFade 1s 2s forwards; }
.dash-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 14px; }
.task-card { padding: 13px; display: flex; gap: 10px; align-items: center; }
.task-icon { width: 31px; height: 31px; display: grid; place-items: center; background: rgba(183,255,60,.12); color: var(--lime); border-radius: 10px; }
.task-card div { display: grid; }
.task-card b { font-size: 10px; }
.task-card small { color: #737a89; font-size: 8px; }
.progress-card { padding: 13px; position: relative; }
.progress-card strong { float: right; font-size: 10px; }
.progress-card i { display: block; height: 5px; background: #282d38; margin-top: 14px; border-radius: 9px; overflow: hidden; }
.progress-card em { display: block; width: 92%; height: 100%; background: linear-gradient(90deg, #9d7bff, var(--cyan)); border-radius: inherit; }
.floating-tag { position: absolute; z-index: 4; padding: 10px 14px; background: rgba(18,21,29,.78); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); border-radius: 999px; font-size: 11px; font-weight: 700; box-shadow: 0 12px 30px rgba(0,0,0,.25); animation: float 4s ease-in-out infinite; }
.tag-one { left: -9%; top: 17%; }
.tag-two { right: -3%; bottom: 19%; animation-delay: -1.3s; }
.tag-three { left: 8%; bottom: -2%; animation-delay: -2.2s; }
.hero-footer { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; justify-content: space-between; align-items: center; color: #747a89; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.hero-tags { display: flex; gap: 20px; }

.marquee-section { border-block: 1px solid var(--line); overflow: hidden; background: #0c0e13; padding: 18px 0; }
.marquee-track { display: flex; align-items: center; width: max-content; gap: 28px; animation: marquee 25s linear infinite; text-transform: uppercase; font-family: "Space Grotesk"; font-size: 16px; letter-spacing: .04em; }
.marquee-track i { color: var(--lime); font-style: normal; }

.section-heading { display: grid; grid-template-columns: 1.5fr .5fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.section-heading h2, .results-copy h2, .about-copy h2, .stack-copy h2, .contact-copy h2 { font-family: "Space Grotesk"; font-size: clamp(42px, 5vw, 74px); line-height: 1.02; letter-spacing: -.06em; margin: 18px 0 0; }
.section-heading p { color: var(--muted); margin: 0; max-width: 410px; }
.muted { color: #555b68; }

.services { background: #0b0d12; }
.services-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 64px minmax(320px,1.3fr) .7fr 40px; gap: 24px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); transition: .35s; position: relative; }
.service-row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(183,255,60,.08), transparent 70%); transform: scaleY(0); transition: .35s; transform-origin: bottom; }
.service-row:hover::before { transform: scaleY(1); }
.service-row > * { position: relative; z-index: 2; }
.service-index { color: #6c7280; font-family: "Space Grotesk"; }
.service-main h3 { font-family: "Space Grotesk"; font-size: 30px; letter-spacing: -.04em; margin: 0 0 9px; }
.service-main p { color: var(--muted); margin: 0; max-width: 620px; font-size: 14px; }
.service-stack { display: flex; flex-wrap: wrap; gap: 7px; }
.service-stack span, .modal-tech span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #abb0bc; font-size: 10px; }
.service-arrow { font-size: 28px; transition: transform .25s; }
.service-row:hover .service-arrow { transform: translate(6px,-6px); color: var(--lime); }

.work { overflow: hidden; }
.filter-bar { display: flex; gap: 8px; margin-bottom: 34px; flex-wrap: wrap; }
.filter-btn { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 16px; cursor: pointer; font-size: 12px; transition: .25s; }
.filter-btn:hover, .filter-btn.active { background: var(--text); color: #08090d; border-color: var(--text); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 46px 24px; }
.project-card { min-width: 0; cursor: pointer; transition: opacity .35s, transform .35s; }
.project-card.hidden { opacity: 0; transform: scale(.96); display: none; }
.project-wide { grid-column: span 2; }
.project-media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 430px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); perspective: 900px; }
.project-wide .project-media { min-height: 580px; }
.project-media img { width: 91%; height: 91%; object-fit: contain; transform: translateY(8%) rotateX(2deg); transition: transform .55s cubic-bezier(.22,.61,.36,1); filter: drop-shadow(0 28px 30px rgba(0,0,0,.26)); }
.project-card:hover .project-media img { transform: translateY(3%) scale(1.025) rotateX(0); }
.project-media.purple { background: radial-gradient(circle at 70% 20%, #c0a8ff, transparent 36%), linear-gradient(145deg, #4b2f86, #1d123c); }
.project-media.lime { background: radial-gradient(circle at 20% 20%, #d9ff8a, transparent 34%), linear-gradient(145deg, #526b1f, #151d0c); }
.project-media.peach { background: radial-gradient(circle at 70% 20%, #ffd3bc, transparent 36%), linear-gradient(145deg, #9d604d, #2f1915); }
.project-media.blue { background: radial-gradient(circle at 20% 10%, #83c5ff, transparent 34%), linear-gradient(145deg, #245177, #101d2d); }
.project-media.cyan { background: radial-gradient(circle at 70% 20%, #83f2ff, transparent 34%), linear-gradient(145deg, #126679, #07222a); }
.project-media.yellow { background: radial-gradient(circle at 20% 10%, #ffe997, transparent 34%), linear-gradient(145deg, #8b6f25, #2c230c); }
.project-hover { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; background: rgba(8,9,13,.74); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(13px); border-radius: 999px; padding: 8px 8px 8px 16px; transform: translateY(20px); opacity: 0; transition: .35s; }
.project-hover b { display: grid; place-items: center; width: 34px; height: 34px; background: var(--lime); color: #08090d; border-radius: 50%; }
.project-card:hover .project-hover { opacity: 1; transform: translateY(0); }
.project-info { display: grid; grid-template-columns: 1fr .7fr; gap: 24px; margin-top: 20px; }
.project-info span { color: #777d8a; font-size: 10px; letter-spacing: .13em; }
.project-info h3 { margin: 6px 0 0; font-family: "Space Grotesk"; font-size: 28px; letter-spacing: -.04em; }
.project-info p { margin: 0; color: var(--muted); font-size: 13px; align-self: end; }
.project-card:not(.project-wide) .project-info { grid-template-columns: 1fr; }

.results { padding-top: 20px; }
.results-shell { background: linear-gradient(135deg, #171b24, #0e1016); border: 1px solid var(--line); border-radius: 36px; padding: 70px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; position: relative; overflow: hidden; }
.results-shell::after { content: ""; width: 400px; height: 400px; border-radius: 50%; background: var(--purple); filter: blur(110px); opacity: .16; position: absolute; right: -160px; top: -180px; }
.results-copy { position: relative; z-index: 1; }
.results-copy h2 { font-size: clamp(38px,4vw,64px); }
.results-copy p { color: var(--muted); max-width: 510px; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 1; }
.results-grid div { padding: 22px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; align-content: center; min-height: 150px; }
.results-grid div:nth-child(3), .results-grid div:nth-child(4) { border-bottom: 0; }
.results-grid strong { font-family: "Space Grotesk"; font-size: 42px; letter-spacing: -.05em; color: var(--lime); }
.results-grid span { color: #9ca1af; font-size: 12px; max-width: 180px; }

.process { background: #0b0d12; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.process-card { min-height: 390px; display: flex; flex-direction: column; padding: 26px; background: #11141b; border: 1px solid var(--line); border-radius: 22px; transition: .35s; }
.process-card:hover { transform: translateY(-8px); border-color: rgba(183,255,60,.35); background: #141821; }
.process-card > span { color: #5e6574; font-size: 12px; }
.process-icon { width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 20px; font-size: 28px; color: var(--lime); margin: 56px 0 30px; }
.process-card h3 { font-family: "Space Grotesk"; margin: 0 0 12px; font-size: 24px; }
.process-card p { color: var(--muted); font-size: 13px; margin: 0; }
.process-card small { color: #6f7584; margin-top: auto; padding-top: 22px; }

.stack-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; }
.stack-copy h2 { font-size: clamp(42px,4.8vw,70px); }
.stack-copy p { color: var(--muted); max-width: 520px; }
.stack-cloud { display: flex; flex-wrap: wrap; gap: 11px; align-content: center; }
.stack-cloud span { padding: 15px 20px; border-radius: 999px; background: #11141b; border: 1px solid var(--line); font-family: "Space Grotesk"; font-size: 15px; transition: .25s; }
.stack-cloud span:nth-child(3n+1) { transform: rotate(-2deg); }
.stack-cloud span:nth-child(3n+2) { transform: rotate(2deg); }
.stack-cloud span:hover { background: var(--lime); color: #091006; border-color: var(--lime); transform: rotate(0) scale(1.04); }

.about { background: #0b0d12; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.about-visual { perspective: 1000px; }
.portrait-card { min-height: 570px; position: relative; overflow: hidden; border-radius: 32px; background: radial-gradient(circle at 50% 18%, #4d375f, transparent 32%), linear-gradient(145deg, #1b1f2a, #0f1117); border: 1px solid var(--line); padding: 34px; transform-style: preserve-3d; transition: transform .2s; }
.portrait-code { display: grid; gap: 9px; font-family: monospace; font-size: 14px; color: #a5abba; }
.portrait-code b { color: var(--lime); font-weight: 400; }
.portrait-avatar { position: absolute; width: 270px; height: 270px; border-radius: 50%; left: 50%; bottom: -30px; transform: translateX(-50%); display: grid; place-items: center; background: linear-gradient(135deg, #b7ff3c, #54e5ff 55%, #9d7bff); color: #111; font-family: "Space Grotesk"; font-size: 88px; font-weight: 700; box-shadow: 0 0 80px rgba(157,123,255,.28); }
.portrait-avatar::before { content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 1px solid rgba(0,0,0,.2); }
.portrait-badge { position: absolute; z-index: 3; right: 24px; bottom: 28px; padding: 10px 14px; background: rgba(9,10,14,.75); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); border-radius: 999px; font-size: 10px; }
.portrait-badge i { display: inline-block; width: 7px; height: 7px; background: var(--lime); border-radius: 50%; margin-right: 7px; }
.about-copy .lead { color: #d9dce3; font-size: 20px; }
.about-copy > p:not(.lead) { color: var(--muted); }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 34px; }
.about-points span { color: #c8ccd5; font-size: 13px; }
.about-points span::first-letter { color: var(--lime); }

.testimonials { overflow: hidden; }
.testimonial-track { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testimonial-track article { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg,#11141b,#0c0e13); }
.testimonial-track p { font-family: "Space Grotesk"; font-size: 21px; line-height: 1.45; letter-spacing: -.025em; margin: 0; }
.testimonial-track article > div { display: flex; align-items: center; gap: 12px; }
.client-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #262b36; font-size: 11px; font-weight: 800; }
.testimonial-track article > div > span:last-child { display: grid; }
.testimonial-track b { font-size: 12px; }
.testimonial-track small { color: var(--muted); }

.contact { padding-bottom: 60px; }
.contact-shell { border-radius: 38px; padding: 76px; background: radial-gradient(circle at 10% 10%, rgba(183,255,60,.14), transparent 35%), radial-gradient(circle at 90% 70%, rgba(157,123,255,.18), transparent 38%), #11141b; border: 1px solid var(--line); display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.contact-copy p { color: var(--muted); max-width: 520px; }
.contact-links { margin-top: 46px; display: grid; gap: 12px; }
.contact-links a { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
.contact-links a span { color: var(--muted); }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label > span { color: #adb2be; font-size: 11px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; color: #fff; background: rgba(8,9,13,.64); border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; outline: none; transition: .25s; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,#888 50%),linear-gradient(135deg,#888 50%,transparent 50%); background-position: calc(100% - 20px) 21px,calc(100% - 15px) 21px; background-size: 5px 5px,5px 5px; background-repeat: no-repeat; }
.contact-form option { background: #11141b; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: rgba(183,255,60,.55); box-shadow: 0 0 0 4px rgba(183,255,60,.06); }
.contact-form .button { width: 100%; margin-top: 4px; }
.form-note { margin: -5px 0 0; text-align: center; color: #656b78; font-size: 9px; }
.form-status { min-height: 20px; font-size: 12px; }
.form-status.success { color: var(--lime); }
.form-status.error { color: #ff8291; }

.site-footer { padding: 30px 0 24px; border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 28px; }
.footer-nav { display: flex; gap: 28px; color: #9197a8; font-size: 12px; }
.back-top { font-size: 12px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; color: #5f6572; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

.case-modal { width: min(1080px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; color: var(--text); background: #0e1016; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; overflow: auto; box-shadow: 0 30px 100px rgba(0,0,0,.7); }
.case-modal::backdrop { background: rgba(2,3,5,.83); backdrop-filter: blur(12px); }
.modal-close { position: fixed; z-index: 2; margin: 18px; right: max(16px, calc((100vw - min(1080px, calc(100% - 32px))) / 2 + 10px)); width: 44px; height: 44px; border-radius: 50%; background: rgba(8,9,13,.7); border: 1px solid var(--line); font-size: 26px; cursor: pointer; }
.modal-media { min-height: 470px; padding: 50px; display: grid; place-items: center; background: linear-gradient(145deg,#35205f,#151025); }
.modal-media img { max-height: 410px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.modal-content { padding: 60px; }
.modal-type { color: var(--lime); font-size: 10px; letter-spacing: .14em; }
.modal-content h2 { font-family: "Space Grotesk"; font-size: clamp(38px,5vw,68px); line-height: 1; letter-spacing: -.055em; margin: 16px 0 20px; }
.modal-lead { color: #b6bbc6; font-size: 18px; max-width: 780px; }
.modal-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 36px 0; }
.modal-stats div { padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.modal-stats b { display: block; font-family: "Space Grotesk"; font-size: 30px; color: var(--lime); }
.modal-stats span { color: var(--muted); font-size: 10px; }
.modal-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; border-top: 1px solid var(--line); padding-top: 36px; }
.modal-columns h3 { font-family: "Space Grotesk"; }
.modal-columns p { color: var(--muted); font-size: 14px; }
.modal-tech { display: flex; gap: 7px; flex-wrap: wrap; margin: 30px 0; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes chartDraw { to { stroke-dashoffset: 0; } }
@keyframes chartFade { to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 860px; }
  .hero-visual { width: min(720px, 90%); margin: 20px auto 50px; }
  .hero { min-height: auto; }
  .hero-footer { position: static; transform: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr .45fr; }
  .service-row { grid-template-columns: 50px 1fr 40px; }
  .service-stack { grid-column: 2; }
  .results-shell { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stack-layout, .about-grid, .contact-shell { grid-template-columns: 1fr; }
  .about-visual { width: min(580px,100%); }
  .contact-shell { gap: 50px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 88px 0; }
  .site-header .button-small { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle.active span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-menu { display: grid; position: fixed; top: 0; right: 0; width: min(88vw,390px); height: 100vh; padding: 110px 34px 34px; background: rgba(11,13,18,.98); backdrop-filter: blur(18px); border-left: 1px solid var(--line); transform: translateX(105%); transition: .4s cubic-bezier(.22,.61,.36,1); z-index: -1; align-content: start; gap: 22px; }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { font-family: "Space Grotesk"; font-size: 28px; letter-spacing: -.04em; }
  .hero { padding-top: 125px; }
  .hero-title { font-size: clamp(44px,13vw,68px); }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { justify-content: center; }
  .hero-metrics { gap: 22px; flex-wrap: wrap; }
  .hero-metrics strong { font-size: 28px; }
  .hero-visual { width: 100%; }
  .dashboard-card { transform: none; }
  .dashboard-body { grid-template-columns: 40px 1fr; min-height: 420px; }
  .dash-content { padding: 16px; }
  .dash-sidebar { gap: 18px; }
  .dash-stats article { padding: 11px; }
  .dash-stats strong { font-size: 17px; }
  .dash-bottom { grid-template-columns: 1fr; }
  .task-card { display: none; }
  .floating-tag { display: none; }
  .hero-footer { align-items: flex-start; gap: 18px; flex-direction: column; }
  .hero-tags { flex-wrap: wrap; gap: 12px; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 42px; }
  .section-heading h2, .about-copy h2, .stack-copy h2, .contact-copy h2 { font-size: clamp(40px,12vw,58px); }
  .service-row { grid-template-columns: 32px 1fr 30px; padding: 28px 0; gap: 12px; }
  .service-main h3 { font-size: 24px; }
  .service-stack { grid-column: 2 / 4; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 38px; }
  .project-wide { grid-column: span 1; }
  .project-media, .project-wide .project-media { min-height: 360px; border-radius: 22px; }
  .project-info, .project-card:not(.project-wide) .project-info { grid-template-columns: 1fr; }
  .project-info p { margin-top: 8px; }
  .results-shell { padding: 38px 22px; border-radius: 26px; }
  .results-grid div { padding: 15px; min-height: 125px; }
  .results-grid strong { font-size: 31px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 320px; }
  .process-icon { margin: 35px 0 24px; }
  .stack-layout, .about-grid { gap: 50px; }
  .portrait-card { min-height: 470px; }
  .portrait-code { font-size: 11px; }
  .portrait-avatar { width: 220px; height: 220px; font-size: 66px; }
  .about-points { grid-template-columns: 1fr; }
  .testimonial-track { grid-template-columns: 1fr; }
  .contact-shell { padding: 40px 20px; border-radius: 26px; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-nav { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .modal-media { min-height: 330px; padding: 22px; }
  .modal-content { padding: 34px 22px; }
  .modal-stats, .modal-columns { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
