:root {
  --bg: #080a0f;
  --bg-2: #0d1017;
  --surface: #11151d;
  --surface-2: #151a24;
  --text: #f7f7f4;
  --muted: #9da4b3;
  --muted-2: #737b8b;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --accent: #c5ff63;
  --accent-soft: rgba(197,255,99,.12);
  --cyan: #70e8ff;
  --violet: #8876ff;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Manrope", "DM Sans", sans-serif;
  --shell: 1220px;
  --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { min-height: 100vh; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; }
body.menu-open { overflow: hidden; }
/* Mobile robustness: prevent decorative content from widening the viewport */
main, section, .shell, .hero, .hero-copy, .hero-stage, .case-study, .case-copy, .case-media { min-width: 0; }
.hero, .hero-stage, .case-media { overflow: clip; }
img, svg, video, canvas { max-width: 100%; }
.hero h1, .section-intro h2, .case-copy h3, .contact-copy h2 { overflow-wrap: break-word; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: #0a0d0f; }
.shell { width: min(calc(100% - 44px), var(--shell)); margin-inline: auto; }

.page-glow { position: fixed; z-index: -4; width: 680px; height: 680px; border-radius: 50%; filter: blur(10px); pointer-events: none; opacity: .7; }
.page-glow-a { top: -330px; right: -220px; background: radial-gradient(circle, rgba(112,232,255,.14), rgba(136,118,255,.07) 46%, transparent 72%); }
.page-glow-b { left: -360px; top: 46vh; background: radial-gradient(circle, rgba(197,255,99,.08), transparent 67%); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.site-header.scrolled { background: rgba(8,10,15,.78); border-color: var(--line); backdrop-filter: blur(18px); }
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 13px; background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); font-family: var(--font-display); font-weight: 800; font-size: .85rem; letter-spacing: -.03em; }
.brand-copy { display: grid; line-height: 1.18; }
.brand-copy strong { font-family: var(--font-display); font-size: .92rem; }
.brand-copy small { margin-top: 3px; color: var(--muted-2); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > a { color: var(--muted); font-size: .88rem; font-weight: 600; transition: color .2s ease; }
.nav-links > a:hover { color: var(--text); }
.nav-links .nav-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 43px; padding: 0 17px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.04); color: var(--text); }
.nav-links .nav-cta:hover { background: var(--text); color: var(--bg); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--text); transition: .22s ease; }

.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(46px, 6vw, 92px); align-items: center; padding-top: 130px; padding-bottom: 90px; }
.hero::before { position: absolute; inset: 84px 0 0; z-index: -3; content: ""; opacity: .34; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(to bottom, #000, transparent 86%); }
.hero-copy { max-width: 720px; }
.availability { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 28px; padding: 7px 11px; border: 1px solid rgba(197,255,99,.18); border-radius: 999px; background: rgba(197,255,99,.055); color: #dfffb2; font-size: .72rem; font-weight: 600; }
.availability span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(197,255,99,.08); animation: pulse 2.3s ease infinite; }
.eyebrow { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 17px 0 24px; font-family: var(--font-display); font-size: clamp(3.25rem, 5.8vw, 6.25rem); font-weight: 800; line-height: .97; letter-spacing: -.065em; }
.hero h1 em { color: transparent; font-style: normal; background: linear-gradient(105deg, #fff 5%, var(--cyan) 44%, var(--accent) 92%); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 650px; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-size: .9rem; font-weight: 700; transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--text); color: #0b0d11; box-shadow: 0 16px 40px rgba(255,255,255,.08); }
.btn-primary:hover { box-shadow: 0 18px 46px rgba(112,232,255,.12); }
.btn-ghost { border-color: var(--line-strong); background: rgba(255,255,255,.025); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.26); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 35px; }
.hero-proof span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: #b7bdc9; background: rgba(255,255,255,.018); font-size: .7rem; }

.hero-stage { position: relative; min-height: 620px; display: grid; place-items: center; perspective: 1100px; }
.stage-orbit { position: absolute; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; }
.orbit-one { width: 610px; height: 610px; animation: rotate 28s linear infinite; }
.orbit-two { width: 430px; height: 430px; border-color: rgba(112,232,255,.08); animation: rotate 22s linear infinite reverse; }
.system-card { position: relative; z-index: 2; width: min(100%, 530px); overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: linear-gradient(155deg, rgba(21,26,36,.96), rgba(10,13,19,.985)); box-shadow: 0 45px 110px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.04); transition: transform .18s ease-out; }
.system-card::before { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(135deg, rgba(112,232,255,.07), transparent 35%, transparent 70%, rgba(197,255,99,.035)); }
.system-top, .system-foot { position: relative; display: flex; align-items: center; justify-content: space-between; }
.system-top { padding: 17px 19px; border-bottom: 1px solid var(--line); }
.system-title { display: flex; align-items: center; gap: 9px; color: #d9dde7; font-size: .75rem; font-weight: 600; }
.system-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(112,232,255,.65); }
.system-live { padding: 4px 8px; border: 1px solid rgba(197,255,99,.17); border-radius: 999px; color: #dfffb2; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.system-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.system-stat { min-height: 108px; display: grid; align-content: center; padding: 18px 20px; background: rgba(11,14,20,.94); }
.system-stat small { color: var(--muted-2); font-size: .63rem; letter-spacing: .09em; text-transform: uppercase; }
.system-stat strong { margin-top: 5px; font-family: var(--font-display); font-size: 1rem; }
.system-stat span { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.code-window { position: relative; margin: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #090c11; }
.code-head { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.code-head > span { width: 7px; height: 7px; border-radius: 50%; background: #ff6a6a; }
.code-head > span:nth-child(2) { background: #ffd36a; }
.code-head > span:nth-child(3) { background: #7be4a4; }
.code-head b { margin-left: 7px; color: var(--muted-2); font-size: .66rem; font-weight: 500; }
.code-window pre { overflow: auto; padding: 20px; color: #c6ccd8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(.67rem, .9vw, .79rem); line-height: 1.8; }
.code-window code span { color: #b995ff; }
.code-window code i { color: var(--cyan); font-style: normal; }
.system-foot { padding: 12px 18px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .62rem; }
.system-foot span:first-child { display: flex; align-items: center; gap: 7px; color: #b9c5d2; }
.system-foot span i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.floating-note { position: absolute; z-index: 3; display: grid; min-width: 160px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: rgba(13,16,23,.78); box-shadow: 0 22px 55px rgba(0,0,0,.3); backdrop-filter: blur(15px); }
.floating-note small { color: var(--muted-2); font-size: .59rem; text-transform: uppercase; letter-spacing: .1em; }
.floating-note strong { margin-top: 2px; font-size: .76rem; }
.note-a { left: -1%; top: 19%; animation: float 5s ease-in-out infinite; }
.note-b { right: -2%; bottom: 16%; animation: float 5s ease-in-out -2.2s infinite; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.012); }
.trust-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.trust-inner > p { color: var(--muted-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 14px; color: #bdc3ce; font-size: .78rem; }
.trust-items i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); opacity: .55; }

.section { padding: 132px 0; }
.section-intro { max-width: 790px; }
.section-intro h2 { margin: 14px 0 20px; font-family: var(--font-display); font-size: clamp(2.5rem, 4.7vw, 4.75rem); line-height: 1.03; letter-spacing: -.055em; }
.section-intro > p:last-child { max-width: 700px; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 62px; }
.service-card { position: relative; min-height: 390px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(150deg, rgba(255,255,255,.032), rgba(255,255,255,.012)); transition: transform .28s ease, border-color .28s ease, background .28s ease; }
.service-card::after { position: absolute; width: 210px; height: 210px; right: -115px; top: -110px; content: ""; border-radius: 50%; background: radial-gradient(circle, rgba(112,232,255,.09), transparent 70%); }
.service-card:hover { transform: translateY(-5px); border-color: rgba(112,232,255,.22); background: rgba(255,255,255,.036); }
.service-num { position: absolute; top: 27px; right: 28px; color: #555e6e; font-size: .67rem; }
.service-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 72px; border: 1px solid rgba(197,255,99,.18); border-radius: 17px; background: rgba(197,255,99,.055); color: var(--accent); font-family: ui-monospace, monospace; font-size: .76rem; font-weight: 800; }
.service-card h3 { max-width: 270px; margin-bottom: 13px; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.18; letter-spacing: -.025em; }
.service-card > p { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.service-tags span, .case-stack span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: #aeb5c2; font-size: .64rem; }

.work-section { position: relative; border-block: 1px solid var(--line); background: linear-gradient(to bottom, rgba(255,255,255,.012), transparent 12%, transparent 88%, rgba(255,255,255,.012)); }
.work-intro { max-width: 850px; }
.work-list { display: grid; gap: 124px; margin-top: 78px; }
.case-study { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(48px, 6vw, 86px); align-items: center; }
.case-study:nth-child(even) { grid-template-columns: .92fr 1.08fr; }
.case-media { position: relative; min-height: 500px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #0d1118; }
.browser-frame { padding: 26px; background: radial-gradient(circle at 84% 12%, rgba(112,232,255,.15), transparent 28%), radial-gradient(circle at 12% 84%, rgba(136,118,255,.16), transparent 34%), #0d1118; }
.browser-frame > img { width: 100%; height: auto; display: block; border-radius: 0 0 14px 14px; border: 1px solid rgba(255,255,255,.09); border-top: 0; box-shadow: 0 32px 75px rgba(0,0,0,.34); }
.browser-bar { width: 100%; min-height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border: 1px solid rgba(255,255,255,.09); border-bottom: 0; border-radius: 14px 14px 0 0; background: #111620; }
.browser-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #ff6a6a; }
.browser-bar > span:nth-child(2) { background: #ffd36a; }
.browser-bar > span:nth-child(3) { background: #7be4a4; }
.browser-bar div { margin-left: 8px; color: var(--muted-2); font-size: .62rem; }
.media-label { position: absolute; left: 18px; bottom: 18px; z-index: 3; padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(8,10,15,.74); backdrop-filter: blur(12px); color: #c9cfda; font-size: .62rem; }
.case-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 16px; color: var(--muted-2); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.case-copy h3 { margin-bottom: 18px; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 4.1rem); line-height: 1; letter-spacing: -.055em; }
.case-lead { color: #c0c6d1; font-size: 1rem; line-height: 1.75; }
.case-details { display: grid; gap: 15px; margin-top: 27px; }
.case-details > div { padding-top: 15px; border-top: 1px solid var(--line); }
.case-details small { display: block; margin-bottom: 5px; color: var(--accent); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.case-details p { color: var(--muted); font-size: .85rem; line-height: 1.65; }
.case-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 25px; }
.case-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--text); font-size: .82rem; font-weight: 700; }
.case-link span { color: var(--accent); transition: transform .2s ease; }
.case-link:hover span { transform: translate(2px,-2px); }
.case-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.muted-link { color: var(--muted); }

.dashboard-art { padding: 36px; background: radial-gradient(circle at 13% 83%, rgba(197,255,99,.09), transparent 32%), radial-gradient(circle at 84% 8%, rgba(112,232,255,.12), transparent 28%), #0d1118; }
.dash-shell { width: 100%; min-height: 340px; display: grid; grid-template-columns: 23% 1fr; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 19px; background: #0b0f15; box-shadow: 0 32px 80px rgba(0,0,0,.34); transform: perspective(900px) rotateY(-4deg) rotateX(2deg); }
.dash-side { display: grid; align-content: start; gap: 18px; padding: 24px 18px; border-right: 1px solid var(--line); background: rgba(255,255,255,.02); }
.dash-logo { width: 34px; height: 34px; margin-bottom: 22px; border-radius: 10px; background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.dash-side span { width: 78%; height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); }
.dash-side span:nth-of-type(2) { width: 92%; }
.dash-side span:nth-of-type(3) { width: 68%; }
.dash-main { padding: 26px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dash-top div { display: grid; }
.dash-top b { font-family: var(--font-display); font-size: .85rem; }
.dash-top small { color: var(--muted-2); font-size: .55rem; }
.dash-top button { padding: 8px 10px; border: 0; border-radius: 7px; background: var(--accent); color: #11140e; font-size: .56rem; font-weight: 800; }
.dash-search { width: 48%; height: 24px; margin: 25px 0 17px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.02); }
.dash-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dash-row { display: grid; grid-template-columns: 1fr 1.35fr .7fr; gap: 10px; align-items: center; min-height: 48px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.dash-row:last-child { border-bottom: 0; }
.dash-row span { width: 70%; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); }
.dash-row.head span { width: auto; height: auto; background: transparent; color: var(--muted-2); font-size: .52rem; }
.phone-art { background: radial-gradient(circle at 50% 50%, rgba(136,118,255,.16), transparent 38%), #0d1118; }
.phone-shell { position: relative; z-index: 2; width: 248px; height: 486px; overflow: hidden; padding: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 42px; background: #07090d; box-shadow: 0 40px 90px rgba(0,0,0,.46); transform: rotate(3deg); }
.phone-shell img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.phone-notch { position: absolute; z-index: 4; top: 13px; left: 50%; width: 78px; height: 18px; border-radius: 0 0 12px 12px; background: #080a0f; transform: translateX(-50%); }
.mobile-orbit { position: absolute; width: 380px; height: 380px; border: 1px solid rgba(197,255,99,.1); border-radius: 50%; animation: rotate 24s linear infinite; }

.more-work { margin-top: 128px; padding-top: 48px; border-top: 1px solid var(--line); }
.more-work > div:first-child { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.more-work h3 { margin-top: 8px; font-family: var(--font-display); font-size: 1.75rem; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.more-card { display: grid; min-height: 230px; align-content: end; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.018); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.more-card:hover { transform: translateY(-4px); border-color: rgba(197,255,99,.18); background: rgba(255,255,255,.03); }
.more-card > span { color: var(--muted-2); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.more-card strong { margin: 9px 0 8px; font-family: var(--font-display); font-size: 1.45rem; }
.more-card p { max-width: 510px; color: var(--muted); font-size: .82rem; }
.more-card b { margin-top: 25px; color: #c4cad5; font-size: .68rem; font-weight: 600; }
.more-card i { float: right; color: var(--accent); font-style: normal; }

.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.about-copy { padding-top: 4px; }
.about-copy p { margin-bottom: 18px; color: var(--muted); font-size: .98rem; line-height: 1.8; }
.about-copy .about-lead { color: #d0d5de; font-size: 1.18rem; }
.about-links { display: flex; gap: 25px; margin-top: 28px; }
.about-links a { font-size: .82rem; font-weight: 700; }
.experience-panel { display: grid; grid-template-columns: .3fr .95fr .65fr; gap: 36px; margin-top: 72px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.018); }
.exp-date { color: var(--accent); font-size: .72rem; font-weight: 700; }
.exp-body > p { color: var(--cyan); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.exp-body h3 { margin: 6px 0 9px; font-family: var(--font-display); font-size: 1.5rem; }
.exp-body span { color: var(--muted); font-size: .83rem; line-height: 1.7; }
.exp-tags { display: flex; flex-wrap: wrap; align-content: center; gap: 6px; }
.exp-tags span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: #aeb5c2; font-size: .62rem; }

.contact-section { padding: 40px 0 120px; }
.contact-panel { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; padding: clamp(42px, 6vw, 78px); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 32px; background: radial-gradient(circle at 90% 12%, rgba(112,232,255,.13), transparent 27%), radial-gradient(circle at 4% 95%, rgba(197,255,99,.08), transparent 30%), #11151d; }
.contact-panel::after { position: absolute; inset: 0; pointer-events: none; content: ""; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, transparent, #000); }
.contact-copy, .contact-actions { position: relative; z-index: 2; }
.contact-copy h2 { max-width: 690px; margin: 14px 0 18px; font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 5rem); line-height: .98; letter-spacing: -.06em; }
.contact-copy > p:last-child { max-width: 590px; color: var(--muted); }
.contact-actions { display: grid; align-content: end; gap: 19px; }
.contact-email { position: relative; display: grid; padding: 22px 52px 22px 22px; border: 1px solid var(--line-strong); border-radius: 17px; background: rgba(255,255,255,.035); transition: background .2s ease, border-color .2s ease; }
.contact-email:hover { background: rgba(255,255,255,.06); border-color: rgba(197,255,99,.25); }
.contact-email small { color: var(--muted-2); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-email strong { margin-top: 4px; overflow-wrap: anywhere; font-size: .9rem; }
.contact-email > span { position: absolute; right: 21px; top: 50%; color: var(--accent); transform: translateY(-50%); }
.contact-social { display: flex; gap: 22px; }
.contact-social a { color: var(--muted); font-size: .76rem; font-weight: 600; }
.contact-social a:hover { color: var(--text); }

.footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer .shell { display: flex; justify-content: space-between; gap: 25px; color: var(--muted-2); font-size: .7rem; }
.footer a:hover { color: var(--text); }

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

@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.8); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 820px; }
  .hero-stage { min-height: 600px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 320px; }
  .case-study, .case-study:nth-child(even) { grid-template-columns: 1fr; gap: 44px; }
  .case-study:nth-child(even) .case-copy { order: 2; }
  .case-study:nth-child(even) .case-media { order: 1; }
  .case-copy { max-width: 790px; }
  .about-layout { gap: 55px; }
  .experience-panel { grid-template-columns: .4fr 1fr; }
  .exp-tags { grid-column: 2; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); max-width: 100%; }
  .site-header.scrolled { backdrop-filter: blur(16px); }
  .nav { height: 72px; }
  .brand-copy small { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 102; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; gap: 25px; background: rgba(8,10,15,.97); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s ease; }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links > a { font-family: var(--font-display); font-size: 1.4rem; }
  .nav-links .nav-cta { min-height: 50px; padding-inline: 22px; font-size: .95rem; }
  .hero { min-height: auto; gap: 48px; padding-top: 112px; padding-bottom: 64px; overflow: clip; }
  .hero-copy { width: 100%; max-width: 100%; }
  .availability { max-width: 100%; margin-bottom: 22px; padding: 7px 10px; font-size: .68rem; white-space: normal; }
  .eyebrow { font-size: .66rem; letter-spacing: .145em; line-height: 1.55; }
  .hero h1 { max-width: 100%; margin: 14px 0 20px; font-size: clamp(2.65rem, 12.2vw, 4rem); line-height: 1.01; letter-spacing: -.052em; }
  .hero-lead { max-width: 100%; font-size: .98rem; line-height: 1.65; }
  .hero-actions { gap: 10px; margin-top: 28px; }
  .hero-proof { gap: 7px; margin-top: 28px; }
  .hero-proof span { padding: 6px 9px; font-size: .66rem; }
  .hero-stage { width: 100%; min-height: 470px; overflow: clip; }
  .system-card { width: 100%; }
  .floating-note { display: none; }
  .orbit-one { width: min(470px, 125vw); height: min(470px, 125vw); }
  .orbit-two { width: min(340px, 92vw); height: min(340px, 92vw); }
  .trust-inner { min-height: 125px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; }
  .trust-items { justify-content: flex-start; gap: 10px; }
  .trust-items i:nth-of-type(n+3), .trust-items span:nth-of-type(n+4) { display: none; }
  .section { padding: 95px 0; }
  .section-intro h2 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .service-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .service-card:last-child { grid-column: auto; }
  .service-card { min-height: 340px; }
  .service-icon { margin-bottom: 50px; }
  .work-list { margin-top: 55px; gap: 90px; }
  .case-media { min-height: 390px; border-radius: 22px; }
  .browser-frame { padding: 14px; }
  .dashboard-art { padding: 20px; }
  .dash-shell { min-height: 280px; grid-template-columns: 20% 1fr; transform: none; }
  .dash-side { padding: 18px 10px; }
  .dash-main { padding: 18px; }
  .dash-top button { display: none; }
  .dash-search { width: 68%; }
  .dash-row { grid-template-columns: 1fr 1fr; }
  .dash-row span:nth-child(3) { display: none; }
  .phone-shell { width: 205px; height: 402px; }
  .more-work { margin-top: 92px; }
  .more-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .experience-panel { grid-template-columns: 1fr; gap: 18px; }
  .exp-tags { grid-column: auto; }
  .contact-section { padding: 20px 0 90px; }
  .contact-panel { grid-template-columns: 1fr; gap: 42px; padding: 35px 24px; border-radius: 24px; }
  .contact-copy h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .footer .shell { flex-direction: column; }
}

@media (max-width: 480px) {
  .shell { width: calc(100% - 28px); }
  .nav { height: 68px; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-copy strong { font-size: .88rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .hero { padding-top: 104px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.45rem, 11.7vw, 3.45rem); line-height: 1.02; letter-spacing: -.047em; }
  .hero-lead { font-size: .94rem; line-height: 1.62; }
  .hero-actions .btn { width: 100%; min-height: 54px; }
  .hero-proof { margin-top: 25px; }
  .hero-stage { min-height: 420px; }
  .system-grid { grid-template-columns: 1fr 1fr; }
  .system-stat { min-height: 90px; padding: 14px; }
  .system-stat span { display: none; }
  .code-window { margin: 12px; }
  .code-window pre { padding: 15px 13px; font-size: .6rem; }
  .case-media { min-height: 345px; }
  .case-copy h3 { font-size: 2.65rem; }
  .case-details { gap: 10px; }
}

@media (max-width: 390px) {
  .shell { width: calc(100% - 24px); }
  .brand-copy strong { font-size: .84rem; }
  .availability { font-size: .64rem; }
  .eyebrow { font-size: .62rem; letter-spacing: .13em; }
  .hero h1 { font-size: clamp(2.25rem, 11.4vw, 3rem); }
  .hero-lead { font-size: .91rem; }
  .hero-proof span { font-size: .62rem; }
  .section { padding: 82px 0; }
  .section-intro h2 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .case-copy h3 { font-size: 2.25rem; }
}

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