:root {
  color-scheme: dark;
  --bg: #080b0d;
  --surface: #11171b;
  --surface-2: #192127;
  --text: #edf2f2;
  --muted: #a9b7bd;
  --quiet: #78909b;
  --line: #b9d2dc1f;
  --line-strong: #b9d2dc38;
  --accent: #aaa1ff;
  --accent-blue: #88c9ed;
  --green: #81ddc0;
  --body: "Manrope", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --page-pad: clamp(20px, 5vw, 68px);
  --content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--bg); }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); }
body::before { position: fixed; z-index: -2; inset: 0; content: ""; pointer-events: none; background: radial-gradient(ellipse at 68% 30%, #1c3440 0, #121b22 27%, #0b0e13 61%, #080b0d 100%); }
body::after { position: fixed; z-index: -1; inset: 0; content: ""; pointer-events: none; opacity: .35; background: repeating-radial-gradient(ellipse at 74% 44%, transparent 0 119px, #b6d3e012 120px 121px, transparent 122px 228px); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: white; background: #7477f5; }
:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }

.site-header { position: fixed; z-index: 20; inset: 18px 0 auto; padding: 0 var(--page-pad); pointer-events: none; }
.nav-shell { width: min(100%, 1050px); min-height: 78px; margin: auto; padding: 8px 13px 8px 16px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; border: 1px solid var(--line-strong); border-radius: 22px; background: #090e11d9; box-shadow: 0 16px 42px #0007, inset 0 1px #ffffff0d; -webkit-backdrop-filter: blur(20px) saturate(130%); backdrop-filter: blur(20px) saturate(130%); pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-size: 15px; font-weight: 800; letter-spacing: -.025em; }
.brand__avatar { position: relative; width: 42px; height: 42px; border-radius: 50%; background: #16191e; }
.brand__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.brand__period, .footer-brand span { color: #e7b94f; }
.presence-dot { position: absolute; right: -2px; bottom: 1px; width: 10px; height: 10px; border: 2px solid #13151a; border-radius: 50%; background: #41c98a; box-shadow: 0 0 0 2px #41c98a; }
.nav-links { display: none; position: absolute; top: calc(100% + 9px); right: var(--page-pad); width: min(360px, calc(100vw - var(--page-pad) * 2)); padding: 7px; border: 1px solid var(--line-strong); border-radius: 16px; background: #0c1115f5; box-shadow: 0 18px 55px #0008; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.nav-links.is-open { display: grid; }
.nav-links a { min-height: 47px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; color: #c9d2d7; font-size: 13px; font-weight: 700; }
.nav-links a:hover { background: #ffffff0c; color: white; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.language-switch { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid #ffffff0a; border-radius: 14px; background: #ffffff05; }
.language-button { min-width: 43px; height: 38px; padding: 0 9px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 10px var(--mono); cursor: pointer; transition: background .2s, color .2s; }
.language-button.is-active { background: #b8aaff; color: #14121d; font-weight: 600; }
.nav-cta { min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid #b8aaff55; border-radius: 12px; background: #a99dff20; font-size: 11px; font-weight: 800; transition: background .2s, transform .2s; }
.nav-cta:hover { transform: translateY(-2px); background: #a99dff35; }
.nav-cta .link-arrow-icon { width: 14px; height: 14px; }
.menu-button { width: 41px; height: 41px; padding: 11px 9px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
.menu-button:hover { background: #ffffff0c; }
.menu-button span { display: block; width: 21px; height: 1.5px; background: #e1e6e8; transition: transform .2s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

.hero { position: relative; min-height: 100vh; padding: 146px var(--page-pad) 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(#bdd2dd08 1px, transparent 1px), linear-gradient(90deg, #bdd2dd08 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(to bottom, transparent, black 23%, black 70%, transparent); }
.hero-light { position: absolute; width: 620px; aspect-ratio: 1; border-radius: 50%; filter: blur(110px); opacity: .16; pointer-events: none; }
.hero-light--violet { top: 8%; left: -12%; background: #765aff; }
.hero-light--blue { top: 18%; right: 0; background: #2786a4; }
.hero-inner { position: relative; z-index: 1; width: min(100%, var(--content)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr); align-items: center; gap: clamp(36px, 6vw, 85px); }
.hero-copy { max-width: 730px; }
.availability { display: flex; align-items: center; gap: 11px; margin: 0 0 26px; color: #d3dade; font-size: 12px; }
.availability i, .about-note i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px #81ddc099; }
.hero h1 { margin: 0 0 20px; font-size: clamp(86px, 10.1vw, 137px); line-height: .96; letter-spacing: -.085em; font-weight: 800; }
.hero h1 span { color: #b8aaff; }
.hero-copy h2 { margin: 0; font-size: clamp(29px, 3.3vw, 43px); line-height: 1.22; letter-spacing: -.065em; font-weight: 600; }
.hero-lede { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.button { min-height: 49px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 12px; font-size: 12px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #191627; background: #b4a8ff; box-shadow: 0 8px 28px #8772f52c; }
.button--primary:hover { background: #c4bbff; }
.button--quiet { color: #c0c5ca; background: transparent; }
.button--quiet:hover { background: #ffffff0b; color: white; }
.button .link-arrow-icon { width: 16px; height: 16px; }
.button--primary .link-arrow-icon { filter: brightness(0); }
.button--quiet .link-arrow-icon { opacity: .8; }
.tech-line { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #b6c4ca; font: 10px var(--mono); }
.tech-line > span { margin-right: 2px; color: var(--accent-blue); font-size: 13px; }
.tech-line i { width: 3px; height: 3px; border-radius: 50%; background: #71838b; }
.hero-profile { min-width: 0; display: grid; gap: 13px; }
.profile-label { display: flex; justify-content: space-between; align-items: center; padding: 0 3px 1px; color: #9eabb2; font-size: 11px; }
.profile-label > span:first-child { display: flex; align-items: center; gap: 9px; }
.profile-label > span:last-child { color: #71838b; }
.discord-icon { width: 18px; height: 18px; flex: none; object-fit: contain; }
.discord-icon--footer { width: 14px; height: 14px; }
.link-arrow-icon { width: 16px; height: 16px; flex: none; object-fit: contain; }
.discord-card { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: #11131a; box-shadow: 0 26px 70px #0008; }
.discord-banner { height: 126px; background-color: #080d17; background-image: url("assets/discord-banner.png"); background-position: center; background-size: cover; }
.discord-identity { position: relative; display: flex; align-items: flex-end; gap: 13px; padding: 0 23px; margin-top: -36px; }
.discord-avatar { position: relative; flex: none; width: 84px; height: 84px; border: 6px solid #11131a; border-radius: 50%; background: #191b22; }
.discord-avatar > img:first-child { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.discord-avatar .presence-dot { right: 1px; bottom: 1px; width: 12px; height: 12px; border: 2px solid #11131a; background: #41c98a; }
.discord-name { min-width: 0; padding-bottom: 5px; transform: translateY(7px); }
.discord-name > div { display: flex; align-items: center; gap: 8px; }
.discord-name h3 { margin: 0; font-size: 21px; line-height: 1.2; }
.discord-name p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.discord-role { margin: 15px 22px 12px; color: var(--muted); font-size: 10px; }
.discord-link { min-height: 44px; margin: 0 22px 20px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line-strong); border-radius: 6px; background: #211f2c; color: #d7ceff; font-size: 11px; font-weight: 800; transition: border-color .2s, background .2s; }
.discord-link:hover { border-color: #b8aaff90; background: #2a2639; }
.stack-card { padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 7px; background: #11171b; }
.stack-card-label { color: var(--quiet); font: 8px var(--mono); letter-spacing: .06em; }
.stack-card > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.stack-card > div span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; background: #ffffff08; color: #c9d2d7; font: 8px var(--mono); }

.section { padding: 100px var(--page-pad); border-bottom: 1px solid var(--line); }
.section-heading { width: min(100%, var(--content)); margin: 0 auto 38px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-label { color: #aaa1ff; font: 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.section-heading h2, .about-copy h2 { max-width: 780px; margin: 12px 0 0; font-size: clamp(32px, 4vw, 51px); line-height: 1.16; letter-spacing: -.06em; font-weight: 650; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 43px; color: #b8ddf1; font-size: 12px; font-weight: 800; white-space: nowrap; }
.text-link .link-arrow-icon { width: 14px; height: 14px; opacity: .85; }
.text-link:hover { color: white; }
.service-grid { width: min(100%, var(--content)); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-card { position: relative; min-height: 255px; padding: 24px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 19px; background: linear-gradient(145deg, #151922, #101317 75%); transition: transform .25s, border-color .25s; }
.service-card::before { position: absolute; top: -60px; right: -40px; width: 190px; height: 190px; border-radius: 50%; content: ""; background: var(--card-glow); filter: blur(65px); opacity: .18; transition: opacity .25s; }
.service-card:hover { transform: translateY(-4px); border-color: #ffffff42; }
.service-card:hover::before { opacity: .42; }
.service-card--violet { --card-glow: #8174ff; }
.service-card--blue { --card-glow: #4bafdb; }
.service-card--green { --card-glow: #41c98a; }
.service-index { position: absolute; top: 23px; right: 23px; color: #7d858e; font: 9px var(--mono); }
.service-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid #ffffff23; border-radius: 13px; color: #c1b8ff; background: #ffffff08; font-size: 21px; }
.service-icon .link-arrow-icon { width: 22px; height: 22px; }
.service-card--blue .service-icon { color: #91d6f1; }
.service-card--green .service-icon { color: #81ddc0; }
.service-card h3 { margin: 34px 0 8px; font-size: 19px; letter-spacing: -.04em; }
.service-card p { max-width: 300px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.service-arrow { position: absolute; right: 23px; bottom: 22px; width: 15px; height: 15px; object-fit: contain; opacity: .5; transition: opacity .25s; }
.service-card:hover .service-arrow { opacity: .85; }

.about-section { width: min(100%, calc(var(--content) + var(--page-pad) * 2)); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr); align-items: center; gap: clamp(40px, 8vw, 105px); }
.about-copy h2 { margin-bottom: 20px; }
.about-copy > p { max-width: 640px; margin: 0 0 15px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.stack-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.stack-list span { padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: #ffffff06; color: #c3ccd0; font: 9px var(--mono); }
.about-card { padding: 22px; border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(145deg, #151a22, #101418); box-shadow: 0 18px 50px #0003; }
.about-card > .section-label { display: block; margin-bottom: 18px; }
.code-window { overflow: hidden; border: 1px solid #ffffff13; border-radius: 11px; background: #0a0d12; }
.code-top { height: 38px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #ffffff0e; }
.code-top i { width: 7px; height: 7px; border-radius: 50%; background: #657079; }
.code-top i:first-child { background: #eb7979; }
.code-top i:nth-child(2) { background: #e4be67; }
.code-top i:nth-child(3) { background: #68c99c; }
.code-top span { margin-left: auto; color: #849097; font: 8px var(--mono); }
.code-window pre { margin: 0; padding: 17px 14px 19px; overflow-x: auto; color: #cbd4d8; font: 9px/1.9 var(--mono); }
.code-purple { color: #c8a9ff; }
.code-blue { color: #8bc6f0; }
.code-green { color: #9bd5ab; }
.about-note { display: flex; align-items: center; gap: 9px; margin-top: 18px; color: #aeb9bd; font-size: 9px; }
.about-note i { width: 6px; height: 6px; }

.site-footer { padding: 82px var(--page-pad) 24px; background: #090c0f; }
.footer-main { width: min(100%, var(--content)); margin: 0 auto 75px; }
.footer-main h2 { max-width: 790px; margin: 15px 0 15px; font-size: clamp(39px, 5.3vw, 68px); line-height: 1.1; letter-spacing: -.07em; }
.footer-main > p { max-width: 600px; margin: 0 0 24px; color: var(--muted); font-size: 12px; }
.footer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-bottom { width: min(100%, var(--content)); min-height: 60px; margin: auto; padding-top: 17px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; border-top: 1px solid var(--line); color: #819098; font: 8px var(--mono); }
.footer-brand { color: var(--text); font: 800 17px var(--body); letter-spacing: -.06em; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 17px; }
.footer-bottom > div a { display: inline-flex; align-items: center; gap: 5px; }
.link-arrow-icon--footer { width: 12px; height: 12px; opacity: .55; }
.footer-bottom > div a:hover { color: #c1baff; }
.footer-bottom > div a:hover .link-arrow-icon--footer { opacity: .9; }
.footer-bottom > span:last-child { text-align: right; }

@media (max-width: 800px) {
  :root { --page-pad: 28px; }
  .site-header { inset: 11px 0 auto; }
  .nav-shell { min-height: 65px; border-radius: 19px; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-inner { grid-template-columns: 1fr; gap: 43px; }
  .hero-copy { max-width: 670px; }
  .hero h1 { font-size: clamp(85px, 16vw, 130px); }
  .hero-profile { width: min(100%, 580px); margin: auto; }
  .section { padding-block: 78px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 215px; }
  .about-section { grid-template-columns: 1fr; gap: 36px; }
  .about-card { max-width: 570px; }
}
@media (max-width: 580px) {
  :root { --page-pad: 17px; }
  html { scroll-padding-top: 82px; }
  .site-header { inset: 9px 0 auto; }
  .nav-shell { min-height: 59px; padding: 6px 8px 6px 10px; grid-template-columns: 1fr auto; gap: 6px; border-radius: 17px; }
  .brand { gap: 9px; font-size: 12px; }
  .brand__avatar { width: 35px; height: 35px; }
  .nav-actions { gap: 4px; }
  .language-switch { padding: 3px; }
  .language-button { min-width: 35px; height: 32px; border-radius: 8px; font-size: 9px; }
  .menu-button { width: 36px; height: 36px; padding-inline: 8px; }
  .hero { padding-top: 112px; }
  .availability { margin-bottom: 21px; font-size: 10px; }
  .hero h1 { margin-bottom: 17px; font-size: clamp(78px, 19vw, 105px); }
  .hero-copy h2 { font-size: clamp(27px, 7.3vw, 34px); }
  .hero-lede { margin-top: 16px; font-size: 13px; line-height: 1.75; }
  .hero-actions { margin-top: 23px; }
  .hero-actions .button { min-height: 46px; padding-inline: 13px; font-size: 10px; }
  .tech-line { margin-top: 22px; gap: 7px; font-size: 8px; }
  .hero-inner { gap: 35px; }
  .discord-banner { height: 93px; }
  .discord-identity { padding-inline: 16px; }
  .discord-avatar { width: 74px; height: 74px; }
  .discord-name h3 { font-size: 19px; }
  .discord-role { margin-inline: 16px; }
  .discord-link { margin-inline: 16px; }
  .profile-label { font-size: 9px; }
  .section { padding-block: 65px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 26px; }
  .section-heading h2, .about-copy h2 { margin-top: 10px; font-size: 31px; }
  .section-heading > p { font-size: 11px; }
  .text-link { min-height: 30px; font-size: 11px; }
  .service-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 205px; padding: 20px; }
  .service-card h3 { margin-top: 27px; font-size: 17px; }
  .service-card p { font-size: 11px; }
  .about-section { gap: 27px; }
  .about-copy > p { font-size: 11px; }
  .about-card { padding: 16px; }
  .code-window pre { font-size: 8px; }
  .site-footer { padding-top: 62px; }
  .footer-main { margin-bottom: 51px; }
  .footer-main h2 { font-size: 38px; }
  .footer-main > p { font-size: 11px; line-height: 1.75; }
  .footer-actions { flex-direction: column; }
  .footer-actions .button { width: 100%; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 12px; font-size: 7px; }
  .footer-bottom > div { grid-column: 1 / -1; grid-row: 2; gap: 14px; }
  .footer-bottom > span:last-child { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
