:root {
  --bg: #040914;
  --bg-deep: #02050d;
  --surface: rgba(11, 22, 43, 0.72);
  --surface-solid: #0a1428;
  --surface-raised: #101d36;
  --line: rgba(149, 178, 227, 0.13);
  --line-strong: rgba(149, 178, 227, 0.24);
  --text: #f4f7ff;
  --muted: #8e9ab1;
  --muted-bright: #b9c5d9;
  --blue: #6e9cff;
  --blue-bright: #8bb4ff;
  --cyan: #54d9ff;
  --violet: #886cff;
  --green: #3fdf85;
  --yellow: #f4c95d;
  --red: #f25d6b;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --max-width: 1240px;
  --header-height: 84px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #22365b var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(44, 87, 173, 0.18), transparent 32%),
    radial-gradient(circle at 95% 18%, rgba(66, 44, 157, 0.12), transparent 28%),
    var(--bg);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: rgba(110, 156, 255, 0.5);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--bg);
  border-radius: 20px;
  background: #22365b;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

svg {
  display: block;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.03;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 520px;
  height: 520px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.5;
  background: radial-gradient(circle, rgba(66, 113, 220, 0.12), transparent 65%);
  transform: translate3d(calc(var(--mouse-x, 50vw) - 50%), calc(var(--mouse-y, 50vh) - 50%), 0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: var(--scroll-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(84, 217, 255, 0.8);
}

.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 90;
  display: flex;
  width: min(calc(100% - 32px), 1304px);
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border: 1px solid transparent;
  transform: translateX(-50%);
  transition: height .35s var(--ease), top .35s var(--ease), border .35s, background .35s, box-shadow .35s, border-radius .35s;
}

.site-header.scrolled {
  top: 12px;
  height: 64px;
  border-color: var(--line);
  border-radius: 18px;
  background: rgba(5, 12, 25, 0.78);
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(137, 175, 255, 0.28);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(111, 157, 255, 0.18), rgba(28, 48, 89, 0.22));
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 8px 28px rgba(59, 108, 220, .15);
  color: #dce8ff;
  font-size: 16px;
  letter-spacing: -2px;
}

.brand-mark span:first-child {
  color: var(--cyan);
}

.brand-name {
  font-size: 16px;
  letter-spacing: -0.03em;
}

.brand-name > span {
  color: #6d7b96;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted-bright);
  font-size: 14px;
  font-weight: 600;
  transition: color .25s;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(126, 162, 238, .18);
  border-radius: 11px;
  background: rgba(111, 156, 255, 0.1);
  color: #e9f0ff;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .25s, background .25s;
}

.header-cta:hover {
  border-color: rgba(126, 162, 238, .36);
  background: rgba(111, 156, 255, 0.17);
}

.header-cta svg,
.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease);
}

.header-cta:hover svg,
.button:hover svg {
  transform: translateX(3px);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
  align-items: center;
  gap: 48px;
  padding-top: 120px;
  padding-bottom: 92px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .7;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(1px);
}

.hero-orb-one {
  top: 12%;
  right: 1%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(60, 100, 203, .14), transparent 68%);
}

.hero-orb-two {
  bottom: 3%;
  left: 28%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(69, 204, 255, .06), transparent 68%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: #aab7cc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(63, 223, 133, .6);
}

.pulse-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(63, 223, 133, .45);
  border-radius: 50%;
  content: "";
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0; transform: scale(.5); }
  35% { opacity: .9; }
  100% { opacity: 0; transform: scale(1.6); }
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(54px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: .98;
}

.gradient-text,
.about h2 span,
.section-intro h2 span,
.process-heading h2 span,
.discord-copy h2 span,
.contact-panel h2 span {
  color: transparent;
  background: linear-gradient(105deg, #cfe0ff 0%, #7ba7ff 46%, #5ee1ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
}

.hero-lead strong {
  color: #dce7fb;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, background .25s;
}

.button-primary {
  border-color: rgba(150, 185, 255, .2);
  background: linear-gradient(135deg, #537fe4, #476acf);
  box-shadow: 0 12px 34px rgba(55, 96, 195, .28), inset 0 1px rgba(255,255,255,.18);
}

.button-primary:hover {
  box-shadow: 0 16px 44px rgba(55, 96, 195, .42), inset 0 1px rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(10, 20, 40, .5);
  color: var(--muted-bright);
}

.button-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(17, 30, 56, .7);
  color: var(--text);
}

.hero-visual {
  min-height: 520px;
  perspective: 1400px;
}

.browser-window {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(710px, 100%);
  overflow: hidden;
  border: 1px solid rgba(148, 181, 241, .19);
  border-radius: 22px;
  background: #071020;
  box-shadow: 0 45px 100px rgba(0,0,0,.5), 0 0 80px rgba(52, 91, 185, .12), inset 0 1px rgba(255,255,255,.07);
  transform: translate(-50%, -50%) rotateY(-7deg) rotateX(3deg);
  transform-style: preserve-3d;
}

.browser-bar {
  display: grid;
  height: 48px;
  grid-template-columns: 90px 1fr 90px;
  align-items: center;
  padding: 0 17px;
  border-bottom: 1px solid rgba(135, 166, 223, .1);
  background: #0b1528;
}

.traffic-lights {
  display: flex;
  gap: 6px;
}

.traffic-lights span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33435f;
}

.traffic-lights span:nth-child(1) { background: #f06a74; }
.traffic-lights span:nth-child(2) { background: #e7bd55; }
.traffic-lights span:nth-child(3) { background: #51c982; }

.browser-url {
  display: flex;
  width: min(280px, 90%);
  height: 25px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  justify-self: center;
  border: 1px solid rgba(124, 152, 204, .09);
  border-radius: 7px;
  background: #07101f;
  color: #687893;
  font-size: 9px;
}

.lock-icon {
  position: relative;
  width: 7px;
  height: 6px;
  border-radius: 2px;
  background: #60718e;
}

.lock-icon::before {
  position: absolute;
  top: -4px;
  left: 1px;
  width: 5px;
  height: 5px;
  border: 1px solid #60718e;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  content: "";
}

.browser-menu {
  display: flex;
  gap: 3px;
  justify-self: end;
}

.browser-menu span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #61708a;
}

.browser-content {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background:
    linear-gradient(rgba(89, 121, 188, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 121, 188, .045) 1px, transparent 1px),
    radial-gradient(circle at 70% 45%, rgba(55, 95, 197, .18), transparent 25%),
    #060d1b;
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.visual-nav {
  display: flex;
  height: 55px;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.mini-logo {
  color: #b8cbf2;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.visual-links {
  display: flex;
  gap: 13px;
}

.visual-links i {
  width: 25px;
  height: 3px;
  border-radius: 4px;
  background: #253650;
}

.visual-copy {
  position: absolute;
  top: 125px;
  left: 55px;
  display: flex;
  width: 245px;
  flex-direction: column;
  gap: 10px;
}

.visual-kicker {
  width: 55px;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: #416dc6;
}

.visual-line {
  width: 210px;
  height: 5px;
  border-radius: 6px;
  background: #293b5b;
}

.visual-line-large {
  width: 245px;
  height: 18px;
  background: linear-gradient(90deg, #dbe8ff, #7895c5);
}

.visual-line-large.short {
  width: 188px;
  margin-bottom: 8px;
}

.visual-line.small {
  width: 160px;
}

.visual-button {
  width: 80px;
  height: 25px;
  margin-top: 15px;
  border-radius: 6px;
  background: linear-gradient(135deg, #4776dc, #3559b4);
  box-shadow: 0 8px 20px rgba(51, 91, 185, .28);
}

.visual-sphere {
  position: absolute;
  top: 78px;
  right: 52px;
  width: 220px;
  height: 220px;
  animation: float 6s ease-in-out infinite;
}

.sphere-ring,
.sphere-core {
  position: absolute;
  border-radius: 50%;
}

.sphere-core {
  inset: 38px;
  border: 1px solid rgba(139, 180, 255, .35);
  background: radial-gradient(circle at 32% 28%, #88aaf4, #3257af 28%, #111f4f 62%, #071021 74%);
  box-shadow: inset -20px -20px 40px rgba(0,0,0,.35), 0 0 50px rgba(67, 111, 221, .27);
}

.sphere-ring {
  inset: 18px;
  border: 1px solid rgba(100, 152, 255, .26);
  transform: rotateX(70deg) rotateZ(14deg);
}

.ring-two {
  inset: 7px 45px;
  transform: rotateY(70deg) rotateZ(-22deg);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(2deg); }
}


.about,
.expertise,
.work,
.process,
.discord,
.contact {
  padding-top: 150px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 54px;
  color: #738099;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-label::after {
  width: 48px;
  height: 1px;
  content: "";
  background: #25334b;
}

.section-label span {
  color: #5b82d2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 90px;
}

.about-heading h2,
.section-intro h2,
.process-heading h2,
.discord-copy h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.about-copy {
  padding-top: 7px;
}

.about-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.signature {
  margin-top: 38px;
  color: #c9d6eb;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.signature span {
  color: #52627c;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 80px;
}

.stat-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 5%, rgba(73, 119, 221, .11), transparent 36%),
    linear-gradient(145deg, rgba(15, 29, 55, .72), rgba(7, 16, 31, .65));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

.stat-card::before {
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(87, 127, 210, .1);
  border-radius: 50%;
  content: "";
}

.stat-number {
  display: block;
  color: #dfe9fc;
  font-family: "Manrope", sans-serif;
  font-size: 53px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-number > span {
  color: #688bcf;
  font-size: 29px;
}

.stat-label {
  display: block;
  margin-top: 21px;
  color: #b8c5da;
  font-size: 14px;
  font-weight: 700;
}

.stat-detail {
  display: block;
  margin-top: 8px;
  color: #687792;
  font-size: 12px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 75px;
}

.section-intro p,
.process-heading p,
.discord-copy p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.services-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  min-height: 145px;
  grid-template-columns: 60px 1.1fr 1fr 50px;
  align-items: center;
  gap: 28px;
  padding: 28px 18px;
  border-bottom: 1px solid var(--line);
  outline: none;
  transition: background .35s var(--ease), padding .35s var(--ease);
}

.service-row:hover,
.service-row:focus-visible {
  padding-inline: 28px;
  background: linear-gradient(90deg, rgba(76, 117, 206, .08), rgba(76, 117, 206, .015));
}

.service-index {
  color: #485a78;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 17px;
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(111, 156, 255, .18);
  border-radius: 13px;
  background: rgba(71, 115, 211, .08);
  color: #7ba5f5;
}

.service-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title h3 {
  margin: 0;
  color: #d9e4f7;
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.service-row p {
  margin: 0;
  color: #7d8ba3;
  font-size: 13px;
  line-height: 1.7;
}

.service-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #61718d;
  transition: border-color .3s, color .3s, transform .3s var(--ease), background .3s;
}

.service-row:hover .service-arrow,
.service-row:focus-visible .service-arrow {
  border-color: rgba(112, 156, 245, .35);
  background: rgba(80, 125, 220, .1);
  color: #a8c4ff;
  transform: rotate(45deg);
}

.work-intro {
  margin-bottom: 55px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 20px;
}

.project-featured {
  grid-column: 1 / -1;
}

.project-preview {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px rgba(255,255,255,.045), var(--shadow);
}

.project-featured .project-preview {
  min-height: 570px;
}

.preview-one {
  background:
    radial-gradient(circle at 75% 50%, rgba(76, 52, 182, .27), transparent 32%),
    radial-gradient(circle at 20% 0%, rgba(61, 127, 202, .18), transparent 32%),
    #070913;
}

.preview-browser {
  width: 83%;
  overflow: hidden;
  border: 1px solid rgba(164, 176, 237, .15);
  border-radius: 16px;
  background: #0d0d18;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transform: rotate(-2deg);
  transition: transform .6s var(--ease);
}

.project-card:hover .preview-browser {
  transform: rotate(0) scale(1.015);
}

.preview-top {
  display: flex;
  height: 35px;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  background: #141420;
}

.preview-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b3b4c;
}

.preview-top span {
  margin: auto;
  color: #515267;
  font-size: 7px;
}

.preview-hero {
  position: relative;
  display: grid;
  min-height: 385px;
  place-items: center;
  overflow: hidden;
}

.preview-word {
  z-index: 1;
  color: #e9e5ff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(70px, 14vw, 170px);
  font-weight: 800;
  letter-spacing: -.08em;
  text-shadow: 0 0 45px rgba(118, 91, 255, .28);
}

.preview-disc {
  position: absolute;
  z-index: 2;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(202, 194, 255, .22);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #ad9bff, #5f44ce 34%, #201b4a 67%, #0b0b16 72%);
  box-shadow: 0 20px 70px rgba(70, 49, 185, .5), inset -30px -30px 50px rgba(0,0,0,.3);
}

.preview-disc span {
  position: absolute;
  inset: -45px 35px;
  border: 1px solid rgba(154, 137, 255, .22);
  border-radius: 50%;
  transform: rotateY(72deg) rotateZ(26deg);
}

.preview-caption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 3;
  color: #77758b;
  font-size: 8px;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
}

.preview-two {
  background:
    radial-gradient(circle at 15% 0%, rgba(42, 147, 141, .18), transparent 40%),
    #071311;
}

.finance-ui {
  width: 86%;
  min-height: 315px;
  padding: 25px;
  border: 1px solid rgba(106, 208, 184, .13);
  border-radius: 17px;
  background: rgba(8, 28, 25, .85);
  box-shadow: 0 25px 60px rgba(0,0,0,.36);
  transform: rotate(1.5deg);
  transition: transform .6s var(--ease);
}

.project-card:hover .finance-ui { transform: rotate(0) scale(1.02); }

.finance-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a9e0d3;
}

.finance-nav span {
  margin-right: auto;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.finance-nav i {
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: #1b4940;
}

.finance-head {
  display: grid;
  margin-top: 43px;
  grid-template-columns: 1fr auto;
}

.finance-head small {
  grid-column: 1 / -1;
  color: #4d7a70;
  font-size: 8px;
}

.finance-head strong {
  color: #d3f6ed;
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  letter-spacing: -.04em;
}

.finance-head em {
  align-self: center;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(67, 210, 152, .1);
  color: #52d89d;
  font-size: 8px;
  font-style: normal;
}

.chart-grid {
  height: 120px;
  margin-top: 14px;
  background: repeating-linear-gradient(to bottom, rgba(84, 132, 122, .08) 0 1px, transparent 1px 30px);
}

.chart-grid svg { width: 100%; height: 100%; overflow: visible; }
.chart-grid path { fill: none; stroke: #49c8a4; stroke-width: 2; filter: drop-shadow(0 0 8px rgba(73,200,164,.35)); }

.finance-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}

.finance-stats span {
  height: 35px;
  border: 1px solid rgba(105, 177, 160, .09);
  border-radius: 7px;
  background: rgba(18, 53, 47, .4);
}

.preview-three {
  background:
    radial-gradient(circle at 100% 0%, rgba(86, 91, 221, .22), transparent 38%),
    #0a0d19;
}

.community-ui {
  display: grid;
  width: 88%;
  height: 315px;
  grid-template-columns: 54px 130px 1fr;
  overflow: hidden;
  border: 1px solid rgba(128, 141, 226, .13);
  border-radius: 16px;
  background: #111421;
  box-shadow: 0 25px 65px rgba(0,0,0,.4);
  transform: rotate(-1deg);
  transition: transform .6s var(--ease);
}

.project-card:hover .community-ui { transform: rotate(0) scale(1.02); }

.community-ui aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  background: #090c15;
}

.community-logo,
.community-ui aside i {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #20253a;
}

.community-logo {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #5d6fe4, #3d47a5);
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.channel-list {
  display: flex;
  flex-direction: column;
  padding: 18px 13px;
  border-right: 1px solid rgba(116, 126, 190, .08);
  background: #10131f;
}

.channel-list strong {
  color: #c4cae1;
  font-size: 10px;
}

.channel-list small {
  margin-bottom: 20px;
  color: #4e5570;
  font-size: 6px;
  letter-spacing: .15em;
}

.channel-list span {
  margin-bottom: 11px;
  color: #626a85;
  font-size: 8px;
}

.chat-panel {
  position: relative;
  padding: 42px 16px 16px;
}

.chat-head {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 30px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(114, 127, 191, .08);
  color: #8d96b5;
  font-size: 8px;
}

.chat-message {
  display: flex;
  gap: 9px;
  margin: 13px 0 20px;
}

.chat-message > i {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #5268d4, #242c63);
}

.chat-message p {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.chat-message b {
  color: #aeb7d4;
  font-size: 8px;
}

.chat-message p span {
  width: 90%;
  height: 3px;
  border-radius: 4px;
  background: #292e42;
}

.chat-message p span.short { width: 58%; }

.chat-box {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  height: 30px;
  padding: 10px;
  border-radius: 7px;
  background: #1b2030;
  color: #4e566e;
  font-size: 7px;
}

.project-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 5px 0;
}

.project-type {
  color: #5974aa;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin: 7px 0 0;
  color: #d7e1f3;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.035em;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.project-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #697892;
  font-size: 9px;
}

.process-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 110px;
}

.process-heading {
  position: sticky;
  top: 130px;
  align-self: start;
}

.process-heading p {
  max-width: 390px;
  margin-top: 27px;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-steps li {
  display: grid;
  min-height: 175px;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 40px 10px;
  border-top: 1px solid var(--line);
}

.process-steps li:last-child { border-bottom: 1px solid var(--line); }

.step-number {
  color: #4d6ea9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.process-steps h3 {
  margin: -8px 0 12px;
  color: #d6e0f2;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.process-steps p {
  max-width: 550px;
  margin: 0;
  color: #74829a;
  font-size: 14px;
  line-height: 1.7;
}

.discord {
  position: relative;
  padding-bottom: 20px;
}

.discord-glow {
  position: absolute;
  top: 120px;
  right: -200px;
  width: 550px;
  height: 550px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 91, 219, .15), transparent 68%);
}

.discord-layout {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 110px;
  padding: 65px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(rgba(102, 119, 192, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 119, 192, .035) 1px, transparent 1px),
    radial-gradient(circle at 90% 0%, rgba(78, 82, 205, .16), transparent 35%),
    rgba(8, 15, 30, .74);
  background-size: 36px 36px, 36px 36px, auto, auto;
  box-shadow: inset 0 1px rgba(255,255,255,.04), var(--shadow);
}


.discord-copy p {
  max-width: 450px;
  margin-top: 25px;
}

.discord-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 32px;
  color: #a9baf8;
  font-size: 13px;
  font-weight: 700;
}

.discord-link span { transition: transform .25s var(--ease); }
.discord-link:hover span { transform: translate(3px, -3px); }

.discord-card {
  width: min(100%, 470px);
  overflow: hidden;
  justify-self: end;
  border: 1px solid rgba(146, 157, 231, .17);
  border-radius: 19px;
  background: #111421;
  box-shadow: 0 35px 80px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.05);
}




.discord-profile-row {
  position: relative;
  display: flex;
  height: 66px;
  align-items: center;
  justify-content: flex-end;
  padding: 0 18px;
}

.discord-avatar-wrap {
  position: absolute;
  top: -48px;
  left: 20px;
  width: 91px;
  height: 91px;
  padding: 6px;
  border-radius: 50%;
  background: #111421;
}

.discord-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}


.status-indicator {
  position: absolute;
  right: 4px;
  bottom: 5px;
  width: 24px;
  height: 24px;
  border: 5px solid #111421;
  border-radius: 50%;
  background: #7c879b;
}

.status-indicator.online,
.mini-status.online { background: #43b581; }
.status-indicator.idle,
.mini-status.idle { background: #faa61a; }
.status-indicator.dnd,
.mini-status.dnd { background: #f04747; }
.status-indicator.offline,
.mini-status.offline { background: #747f8d; }

.status-indicator.dnd::after,
.mini-status.dnd::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 22%;
  border-radius: 3px;
  content: "";
  background: #111421;
  transform: translate(-50%, -50%);
}

.status-indicator.idle::after,
.mini-status.idle::after {
  position: absolute;
  top: -15%;
  left: -15%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  content: "";
  background: #111421;
}

.is-loading {
  animation: status-pulse 1.4s ease-in-out infinite;
}

@keyframes status-pulse {
  0%,100% { opacity: .45; }
  50% { opacity: 1; }
}

.copy-username {
  display: inline-flex;
  height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(141, 153, 220, .14);
  border-radius: 8px;
  background: #1b2030;
  color: #99a3bb;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  transition: background .25s, color .25s, border-color .25s;
}

.copy-username:hover {
  border-color: rgba(141, 153, 220, .26);
  background: #23293b;
  color: #dae0ef;
}

.copy-username svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discord-body {
  padding: 0 22px 22px;
}

.discord-name-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.discord-identity h3 {
  overflow: hidden;
  margin: 0;
  color: #f0f2f8;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-identity p {
  margin: 0;
  color: #a5adbe;
  font-size: 12px;
}

.discord-badges {
  display: flex;
  gap: 4px;
}

.discord-badge {
  position: relative;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 5px;
  background: rgba(88, 101, 242, .15);
  color: #9099ff;
  font-size: 10px;
  font-weight: 800;
}

.discord-badge:hover::after {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: 150px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  content: attr(data-label);
  background: #080d18;
  color: #c7d1e3;
  font-size: 8px;
  font-weight: 600;
  transform: translateX(-50%);
}

.discord-divider {
  height: 1px;
  margin: 17px 0;
  background: rgba(139, 151, 206, .09);
}

.discord-block-label {
  display: block;
  margin-bottom: 7px;
  color: #a8afc0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.current-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c4cad8;
  font-size: 11px;
}

.mini-status {
  position: relative;
  width: 9px;
  height: 9px;
  overflow: hidden;
  border-radius: 50%;
  background: #7c879b;
}

.activity-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 13px;
  margin-top: 17px;
  padding: 12px;
  border: 1px solid rgba(135, 148, 213, .09);
  border-radius: 10px;
  background: #171b28;
}

.activity-art {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: linear-gradient(145deg, #5167d1, #263776);
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.activity-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-copy {
  min-width: 0;
}

.activity-copy strong,
.activity-copy p,
.activity-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy strong {
  color: #d9deeb;
  font-size: 11px;
}

.activity-copy p,
.activity-copy small {
  margin: 2px 0 0;
  color: #888fa2;
  font-size: 9px;
}

.discord-note {
  margin-top: 17px;
  padding: 10px 11px;
  border: 1px solid rgba(109, 127, 196, .1);
  border-radius: 8px;
  background: rgba(76, 91, 161, .06);
  color: #6e7890;
  font-size: 9px;
  line-height: 1.55;
}

.contact {
  padding-bottom: 90px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 100px 40px;
  border: 1px solid var(--line);
  border-radius: 35px;
  background:
    radial-gradient(circle at 50% 100%, rgba(50, 100, 212, .2), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(76, 65, 180, .14), transparent 32%),
    #07101f;
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.04);
  text-align: center;
}

.contact-grid {
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image: linear-gradient(rgba(92, 127, 194, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 127, 194, .045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.contact-panel > *:not(.contact-grid) { position: relative; }

.contact-kicker {
  display: block;
  margin-bottom: 22px;
  color: #7299e9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.contact-panel p {
  max-width: 520px;
  margin: 26px auto 0;
}

.button-large {
  min-height: 58px;
  margin-top: 36px;
  padding-inline: 27px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 35px;
  border-top: 1px solid var(--line);
  color: #5c6a82;
  font-size: 11px;
}

.footer-brand { justify-self: start; }
.footer-brand .brand-mark { width: 30px; height: 30px; font-size: 13px; }
.footer-brand .brand-name { font-size: 13px; }

.site-footer p { margin: 0; }

.footer-right {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-self: end;
}

.footer-right a { transition: color .25s; }
.footer-right a:hover { color: #b7c7e2; }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  padding: 12px 16px;
  border: 1px solid rgba(120, 160, 235, .2);
  border-radius: 10px;
  background: rgba(12, 23, 44, .92);
  box-shadow: 0 15px 40px rgba(0,0,0,.35);
  color: #dce8ff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease);
  backdrop-filter: blur(16px);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 145px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    min-height: 570px;
  }

  .hero h1 { max-width: 790px; }

  .about-grid,
  .section-intro,
  .discord-layout {
    gap: 55px;
  }

  .discord-layout { padding: 48px; }

  .service-row {
    grid-template-columns: 45px 1fr .85fr 40px;
  }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; }

  .desktop-nav,
  .header-cta { display: none; }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(12, 24, 47, .55);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: #bdc9dc;
    transition: transform .3s, opacity .3s;
  }

  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: rgba(3, 8, 17, .96);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
    backdrop-filter: blur(20px);
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -.04em;
  }

  .about-grid,
  .section-intro,
  .process-layout,
  .discord-layout {
    grid-template-columns: 1fr;
  }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card:last-child { grid-column: 1 / -1; }

  .section-intro p { max-width: 620px; }

  .service-row {
    grid-template-columns: 40px 1fr 40px;
    gap: 18px;
  }

  .service-row p {
    grid-column: 2 / 4;
    padding-right: 25px;
  }

  .service-arrow { grid-column: 3; grid-row: 1; }

  .process-layout { gap: 60px; }
  .process-heading { position: static; }
  .process-heading p { max-width: 620px; }

  .discord-layout { padding: 42px; }
  .discord-card { justify-self: center; }
  .discord-copy { max-width: 600px; }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .site-footer p { display: none; }
}

@media (max-width: 700px) {
  .section-shell { width: min(calc(100% - 28px), var(--max-width)); }

  .site-header { width: calc(100% - 20px); padding-inline: 12px; }
  .site-header.scrolled { top: 8px; }

  .brand-name { font-size: 14px; }

  .hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .hero h1 { font-size: clamp(49px, 15vw, 68px); }
  .hero-lead { font-size: 16px; }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button { width: 100%; }

  .hero-visual {
    min-height: 400px;
    margin-top: 25px;
  }

  .browser-window {
    width: 108%;
    transform: translate(-50%, -50%) rotateY(-4deg) rotateX(2deg) scale(.9);
  }

  .browser-content { min-height: 330px; }
  .visual-copy { top: 100px; left: 35px; transform: scale(.8); transform-origin: left top; }
  .visual-sphere { top: 62px; right: 16px; transform: scale(.75); transform-origin: right top; }

  .about,
  .expertise,
  .work,
  .process,
  .discord,
  .contact { padding-top: 105px; }

  .section-label { margin-bottom: 38px; }

  .about-grid { gap: 32px; }
  .about-heading h2,
  .section-intro h2,
  .process-heading h2,
  .discord-copy h2,
  .contact-panel h2 { font-size: 42px; }

  .about-copy p { font-size: 15px; }

  .stats-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .stat-card:last-child { grid-column: auto; }
  .stat-card { min-height: 190px; }

  .section-intro { gap: 26px; margin-bottom: 48px; }

  .service-row {
    min-height: 170px;
    padding: 26px 6px;
  }

  .service-row:hover,
  .service-row:focus-visible { padding-inline: 12px; }
  .service-index { display: none; }
  .service-row { grid-template-columns: 1fr 40px; }
  .service-row p { grid-column: 1 / 3; padding-right: 0; }
  .service-title h3 { font-size: 20px; }
  .service-arrow { grid-column: 2; }

  .projects-grid { grid-template-columns: 1fr; gap: 42px; }
  .project-featured { grid-column: auto; }
  .project-preview,
  .project-featured .project-preview { min-height: 360px; }
  .preview-browser { width: 95%; }
  .preview-hero { min-height: 300px; }
  .preview-disc { width: 125px; height: 125px; }
  .finance-ui,
  .community-ui { width: 95%; }
  .community-ui { grid-template-columns: 42px 96px 1fr; }
  .project-meta { align-items: flex-start; flex-direction: column; }
  .project-tags { justify-content: flex-start; }

  .process-steps li { grid-template-columns: 45px 1fr; padding-inline: 0; }

  .discord-layout {
    gap: 45px;
    padding: 30px 14px 14px;
    border-radius: 24px;
  }

  .discord-copy { padding: 18px 16px 0; }
  .discord-card { width: 100%; }

  .contact-panel {
    padding: 75px 20px;
    border-radius: 25px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-right { justify-self: center; }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .browser-window { width: 116%; }
  .discord-profile-row { height: 75px; }
  .discord-avatar-wrap { width: 82px; height: 82px; }
  .copy-username span { display: none; }
  .copy-username { width: 34px; justify-content: center; padding: 0; }
  .discord-body { padding-inline: 17px; }
  .activity-card { grid-template-columns: 50px 1fr; }
  .activity-art { width: 50px; height: 50px; }
}

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

  .reveal { opacity: 1; transform: none; }
  .cursor-glow, #hero-canvas { display: none; }
}

.discord-note.is-error {
  border-color: rgba(248, 113, 113, .2);
  background: rgba(127, 29, 29, .12);
  color: #f0a6a6;
}

.discord-note a {
  color: #a8c6ff;
  font-weight: 700;
  text-decoration: none;
}

.discord-note a:hover {
  text-decoration: underline;
}


/* 2026 clean immersive refinement */
.hero {
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  gap: clamp(38px, 5vw, 72px);
  padding-top: 132px;
  padding-bottom: 92px;
}

#hero-canvas { opacity: .46; }
.hero-orb-one { opacity: .72; }
.hero-orb-two { opacity: .46; }

.hero-copy { min-width: 0; max-width: 790px; container-type: inline-size; }

.hero h1 {
  max-width: none;
  font-size: clamp(52px, 5.05vw, 82px);
  line-height: .96;
  letter-spacing: -.066em;
}

.hero-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding-right: .04em;
  white-space: nowrap;
}

.hero-lead {
  max-width: 615px;
  margin-top: 30px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.68;
}

.hero-actions { margin-top: 34px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 30px;
  color: #65748e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #48628e;
}

.hero-visual {
  min-height: 500px;
}

.hero-visual::before {
  position: absolute;
  inset: 8% 5%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(67, 109, 216, .2), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.browser-window {
  width: min(650px, 100%);
  border-color: rgba(148, 181, 241, .15);
  border-radius: 24px;
  box-shadow: 0 50px 120px rgba(0,0,0,.48), 0 0 90px rgba(52, 91, 185, .1), inset 0 1px rgba(255,255,255,.055);
  transform: translate(-50%, -50%) rotateY(-4deg) rotateX(2deg);
}

.browser-content { min-height: 385px; }
.visual-sphere { animation-duration: 8s; }

.about,
.expertise,
.work,
.process,
.discord,
.contact {
  padding-top: clamp(110px, 11vw, 170px);
}

.stat-card {
  background: linear-gradient(145deg, rgba(14, 27, 51, .68), rgba(6, 13, 27, .72));
}

.age-card .stat-label { margin-top: 12px; }

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-copy { max-width: 900px; }
  .hero h1 { max-width: 900px; }
  .hero-visual { min-height: 530px; }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 82px;
  }

  .hero h1 {
    font-size: clamp(46px, 13.2vw, 67px);
    line-height: .94;
  }

  .hero-line { white-space: normal; }
  .hero-meta { font-size: 9px; gap: 8px; }
  .hero-visual { min-height: 390px; margin-top: 28px; }
  .browser-window { width: 106%; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: clamp(43px, 12.8vw, 56px); }
  .hero-meta span:last-child,
  .hero-meta i:last-of-type { display: none; }
}

/* Homepage-specific components */
.stat-number.live-age {
      font-size: clamp(1.72rem, 2.85vw, 2.85rem);
      letter-spacing: -0.045em;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }

    .age-card {
      justify-content: center;
    }

    .tools-marquee-section {
      position: relative;
      overflow: hidden;
      padding: clamp(6rem, 10vw, 9rem) 0 clamp(5.5rem, 9vw, 8rem);
      border-top: 1px solid rgba(149, 178, 227, 0.08);
    }

    .tools-marquee-heading {
      margin: 0 auto clamp(2.25rem, 5vw, 4rem);
    }

    .tools-marquee-heading h2 {
      margin: 0;
      font-family: "Manrope", sans-serif;
      font-size: clamp(2.8rem, 6vw, 6rem);
      font-weight: 800;
      line-height: 0.94;
      letter-spacing: -0.065em;
    }

    .tools-marquee {
      position: relative;
      width: 100%;
      overflow: hidden;
      padding: 0.75rem 0 1.1rem;
      -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
      mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
    }

    .tools-track {
      display: flex;
      width: max-content;
      will-change: transform;
      animation: tools-scroll 34s linear infinite;
    }

    .tools-group {
      display: flex;
      flex-shrink: 0;
      align-items: center;
      gap: clamp(0.9rem, 1.7vw, 1.4rem);
      padding-right: clamp(0.9rem, 1.7vw, 1.4rem);
    }

    .tool-icon {
      position: relative;
      display: grid;
      width: clamp(62px, 5.6vw, 82px);
      aspect-ratio: 1;
      flex: 0 0 auto;
      place-items: center;
      border: 1px solid rgba(126, 163, 255, 0.13);
      border-radius: 22px;
      background: rgba(9, 19, 38, 0.76);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 18px 48px rgba(0, 0, 0, 0.18);
      transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
      backdrop-filter: blur(18px);
    }

    .tool-icon:hover {
      z-index: 2;
      transform: translateY(-6px);
      border-color: rgba(126, 163, 255, 0.42);
      background: rgba(15, 31, 60, 0.9);
    }

    .tool-icon img {
      width: 44%;
      height: 44%;
      object-fit: contain;
      filter: drop-shadow(0 7px 15px rgba(0, 0, 0, 0.28));
    }
@keyframes tools-scroll {
      from { transform: translate3d(0, 0, 0); }
      to { transform: translate3d(-33.333333%, 0, 0); }
    }

    @media (max-width: 700px) {
      .stat-number.live-age { font-size: 1.7rem; }
      .tools-track { animation-duration: 25s; }
      .tool-icon { border-radius: 17px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .tools-track { animation: none; }
      .tools-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
        scrollbar-width: thin;
      }
      .tools-group[aria-hidden="true"] { display: none; }
    }


/* Reliability fixes */
.hero h1 {
  font-size: clamp(52px, 10cqw, 82px);
}

.hero-line.gradient-text {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.tool-icon img {
  display: block;
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: clamp(58px, 8vw, 92px);
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(44px, 12.2vw, 66px);
    line-height: .98;
  }

  .hero-line {
    width: auto;
    white-space: normal;
  }
}


/* v5 — reduced microcopy and smoother tool marquee */
.hero-lead strong,
.about-copy strong {
  color: #dbe7fb;
  font-family: "Manrope", sans-serif;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.about-copy p {
  max-width: 620px;
  margin: 0;
  color: #c8d6ec;
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  line-height: 1.55;
}

.service-row {
  grid-template-columns: 55px minmax(0, 1fr) 40px;
}

.service-title h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
}

.process-steps li {
  min-height: 118px;
  align-items: center;
  padding-block: 28px;
}

.process-steps h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
}

.discord-link {
  margin-top: 28px;
  font-size: 14px;
}

.discord-body {
  padding-bottom: 24px;
}

.contact-panel .button-large {
  margin-top: 30px;
}

.tools-track {
  will-change: transform;
}

.tools-marquee {
  cursor: default;
}

.site-footer {
  grid-template-columns: 1fr 1fr;
}

.site-footer .footer-right {
  justify-self: end;
}

@media (max-width: 760px) {
  .service-row {
    grid-template-columns: 38px minmax(0, 1fr) 36px;
  }

  .service-title {
    gap: 12px;
  }

  .service-icon {
    width: 40px;
    height: 40px;
  }

  .process-steps li {
    min-height: 96px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-right {
    justify-self: start;
  }
}

/* Stronger Discord information hierarchy */
.discord-identity p {
  color: #b9c5d9;
  font-size: 13px;
  font-weight: 600;
}

.current-status {
  color: #e0e8f5;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.activity-copy strong {
  font-size: 13px;
  font-weight: 700;
}

.activity-copy p {
  color: #b3bfd2;
  font-size: 11px;
  font-weight: 600;
}

.activity-copy small {
  color: #8796ae;
  font-size: 10px;
  font-weight: 600;
}

/* v6 — phone-first responsive hardening */
@media (max-width: 900px) {
  .site-header {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .mobile-menu {
    min-height: 100dvh;
    padding: calc(88px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto;
  }

  .mobile-menu a {
    min-height: 48px;
    display: grid;
    place-items: center;
  }

  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .discord-glow {
    right: -320px;
    opacity: .55;
  }
}

@media (max-width: 760px) {
  :root { --radius-lg: 22px; }

  body {
    min-width: 0;
  }

  .noise { opacity: .018; }
  .cursor-glow { display: none; }

  .section-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header,
  .site-header.scrolled {
    width: calc(100% - 16px);
  }

  .site-header.scrolled {
    border-radius: 15px;
  }

  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .brand-name { font-size: 13px; }

  .hero {
    width: min(calc(100% - 28px), var(--max-width));
    gap: 18px;
    padding-top: 112px;
    padding-bottom: 72px;
  }

  .eyebrow {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: .09em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.72rem, 13vw, 4.15rem);
    line-height: .98;
    letter-spacing: -.06em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-line {
    width: 100%;
    max-width: 100%;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .button {
    min-height: 50px;
    padding-inline: 18px;
  }

  .hero-visual {
    min-height: clamp(300px, 86vw, 385px);
    margin-top: 10px;
    overflow: visible;
  }

  .hero-visual::before {
    inset: 16% 0;
  }

  .browser-window {
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
    transform: translate(-50%, -50%);
  }

  .browser-bar {
    height: 42px;
    grid-template-columns: 62px 1fr 34px;
    padding-inline: 12px;
  }

  .browser-url {
    width: min(210px, 94%);
    font-size: 8px;
  }

  .browser-content { min-height: clamp(265px, 72vw, 330px); }
  .visual-nav { height: 48px; padding-inline: 18px; }
  .visual-copy { top: 86px; left: 22px; transform: scale(.72); }
  .visual-sphere { top: 54px; right: 10px; transform: scale(.64); }

  .about,
  .expertise,
  .work,
  .process,
  .discord,
  .contact {
    padding-top: 92px;
  }

  .section-label {
    margin-bottom: 30px;
    font-size: 10px;
  }

  .about-heading h2,
  .section-intro h2,
  .process-heading h2,
  .discord-copy h2,
  .contact-panel h2 {
    font-size: clamp(2.25rem, 10.5vw, 3.15rem);
    line-height: 1;
  }

  .about-copy p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .stats-grid {
    gap: 12px;
  }

  .stat-card {
    min-height: 158px;
    padding: 24px;
    border-radius: 18px;
  }

  .stat-number { font-size: 44px; }
  .stat-number.live-age { font-size: clamp(1.45rem, 7vw, 2rem); }

  .service-row,
  .service-row:hover,
  .service-row:focus-visible {
    min-height: 104px;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 12px;
    padding: 20px 4px;
  }

  .service-index,
  .service-row p {
    display: none;
  }

  .service-title {
    min-width: 0;
    gap: 11px;
  }

  .service-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .service-title h3 {
    min-width: 0;
    font-size: clamp(1.08rem, 5.3vw, 1.35rem);
    line-height: 1.15;
  }

  .service-arrow {
    grid-column: 2;
    grid-row: 1;
    width: 34px;
    height: 34px;
  }

  .projects-grid { gap: 34px; }

  .project-preview,
  .project-featured .project-preview {
    min-height: clamp(290px, 84vw, 355px);
    border-radius: 22px;
  }

  .preview-browser,
  .finance-ui,
  .community-ui {
    width: calc(100% - 24px);
    max-width: 100%;
  }

  .preview-hero { min-height: 260px; }
  .preview-word { font-size: clamp(4rem, 24vw, 7rem); }
  .preview-disc { width: 108px; height: 108px; }

  .finance-ui {
    min-height: 260px;
    padding: 18px;
  }

  .community-ui {
    min-height: 265px;
    grid-template-columns: 38px 82px minmax(0, 1fr);
  }

  .project-meta {
    gap: 14px;
    padding: 18px 4px 0;
  }

  .project-meta h3 { font-size: 21px; }
  .project-tags { gap: 6px; }
  .project-tags span { padding: 6px 9px; }

  .process-layout { gap: 40px; }
  .process-steps li {
    min-height: 84px;
    grid-template-columns: 38px minmax(0, 1fr);
    padding-block: 18px;
  }
  .process-steps h3 { font-size: clamp(1.45rem, 7vw, 2rem); }

  .discord-layout {
    gap: 34px;
    padding: 26px 12px 12px;
    border-radius: 22px;
  }

  .discord-copy { padding: 12px 10px 0; }
  .discord-link { min-height: 44px; margin-top: 20px; }

  .discord-card {
    width: 100%;
    max-width: 100%;
    border-radius: 17px;
  }

  
  
  .discord-profile-row { min-height: 70px; height: 70px; padding-inline: 14px; }
  .discord-avatar-wrap { left: 14px; width: 82px; height: 82px; }
  .discord-body { padding: 0 16px 20px; }
  .discord-identity h3 { font-size: 18px; }
  .discord-name-row { padding-right: 2px; }
  .current-status { font-size: 13px; overflow-wrap: anywhere; }
  .activity-card { gap: 12px; padding: 12px; }
  .activity-copy { min-width: 0; }
  .activity-copy strong,
  .activity-copy p,
  .activity-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .contact-panel {
    padding: 58px 18px;
    border-radius: 22px;
  }

  .contact-panel h2 br { display: none; }
  .button-large { min-height: 54px; margin-top: 26px; }

  .tools-marquee-section {
    padding: 76px 0 66px;
  }

  .tools-marquee-heading {
    margin-bottom: 28px;
  }

  .tools-marquee-heading h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
    line-height: 1;
  }

  .tools-marquee {
    padding-block: 8px 12px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  }

  .tools-group {
    gap: 10px;
    padding-right: 10px;
  }

  .tool-icon {
    width: 58px;
    border-radius: 16px;
  }

  .site-footer {
    gap: 16px;
    padding-top: 24px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
    justify-items: start;
    text-align: left;
  }

  .footer-brand,
  .footer-right,
  .site-footer .footer-right {
    justify-self: start;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }
}

@media (max-width: 390px) {
  .section-shell,
  .hero {
    width: calc(100% - 22px);
  }

  .brand-name { font-size: 12px; }

  .hero h1 {
    font-size: clamp(2.48rem, 12.8vw, 3.2rem);
  }

  .browser-window { border-radius: 16px; }
  .browser-url { max-width: 160px; }
  .visual-sphere { transform: scale(.56); }
  .visual-copy { transform: scale(.65); }

  .discord-profile-row { justify-content: flex-end; }
  .copy-username { width: 38px; min-width: 38px; padding: 0; justify-content: center; }
  .copy-username span { display: none; }
  .discord-avatar-wrap { width: 78px; height: 78px; top: -42px; }
  .discord-badges { flex-wrap: wrap; }

  .tool-icon { width: 54px; }
}

@media (hover: none) and (pointer: coarse) {
  .service-row:hover,
  .project-card:hover .preview-browser,
  .project-card:hover .finance-ui,
  .tool-icon:hover,
  .button-primary:hover {
    transform: none;
  }

  .tool-icon:hover {
    border-color: rgba(126, 163, 255, 0.13);
    background: rgba(9, 19, 38, 0.76);
  }
}


/* v6 compact Discord card — no banner or placeholder avatar */
.discord-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: clamp(48px, 7vw, 88px);
}

.discord-card {
  width: min(100%, 400px);
  border-radius: 17px;
}

.discord-profile-row {
  position: relative;
  display: flex;
  min-height: 82px;
  height: auto;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 16px 8px;
}

.discord-avatar-wrap {
  position: relative;
  top: auto;
  left: auto;
  display: none;
  width: 62px;
  height: 62px;
  margin-right: auto;
  padding: 4px;
  border-radius: 50%;
  background: #111421;
}

.discord-avatar-wrap.has-avatar {
  display: block;
}

.discord-avatar-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.status-indicator {
  right: 1px;
  bottom: 2px;
  width: 19px;
  height: 19px;
  border-width: 4px;
}

.discord-body {
  padding: 2px 18px 18px;
}

.discord-divider {
  margin: 14px 0;
}

.activity-card {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 11px;
  margin-top: 14px;
  padding: 10px;
}

.activity-art {
  width: 50px;
  height: 50px;
}

@media (max-width: 900px) {
  .discord-layout {
    grid-template-columns: 1fr;
  }

  .discord-card {
    width: min(100%, 390px);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .discord-layout {
    padding: 24px 12px 14px;
  }

  .discord-card {
    width: min(100%, 360px);
    max-width: 360px;
  }

  .discord-profile-row {
    min-height: 74px;
    padding: 12px 14px 6px;
  }

  .discord-avatar-wrap {
    width: 56px;
    height: 56px;
  }

  .discord-body {
    padding: 2px 15px 16px;
  }

  .copy-username {
    min-height: 40px;
  }
}

@media (max-width: 390px) {
  .discord-card {
    width: 100%;
  }

  .discord-profile-row {
    min-height: 68px;
  }

  .discord-avatar-wrap {
    width: 52px;
    height: 52px;
  }
}

/* Keep infinite marquee geometry from creating horizontal page overflow. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.tools-marquee-section,
.tools-marquee {
  max-width: 100%;
  overflow-x: clip;
  contain: paint;
}


.activity-card[hidden] {
  display: none !important;
}
