﻿:root {
  --bg-deep: #0b0b0b;
  --bg-body: #0b0b0b;
  --card: #12141c;
  --card-2: #0e1017;
  --card-3: #171a24;
  --card-border: rgba(148, 163, 184, 0.14);
  --card-border-hover: rgba(91, 140, 255, 0.55);

  --primary: #5b8cff;
  --primary-dim: #4675e8;
  --primary-soft: rgba(91, 140, 255, 0.12);
  --accent: #8ab4ff;
  --accent-dim: #6b94f5;
  --accent-soft: rgba(138, 180, 255, 0.08);

  --text-1: #eef1f8;
  --text-2: #b3bac9;
  --text-3: #828aa0;
  --text-4: #5a6276;

  --glow-cyan: 0 12px 36px rgba(2, 6, 20, 0.55);
  --glow-magenta: 0 0 0 rgba(0, 0, 0, 0);

  --grad-brand: linear-gradient(120deg, #5b8cff, #8ab4ff);
  --grad-text: linear-gradient(100deg, #5b8cff 15%, #a6c3ff 85%);

  --radius: 0px;
  --radius-lg: 0px;
  --radius-full: 0px;

  --maxw: 1200px;
  --maxw-narrow: 880px;
  --header-h: 78px;

  --font-head: "Bebas Neue", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px rgba(2, 6, 20, 0.45);
  --shadow-float: 0 22px 60px rgba(2, 6, 20, 0.6);
}


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-2);
  background-color: transparent;
  background-image: none;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(91, 140, 255, 0.3);
  color: var(--text-1);
}


::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #26282e;
  border: 2px solid var(--bg-deep);
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dim);
}


:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}


.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 12px 22px;
  background: var(--primary);
  color: #00121a;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: top 0.3s var(--ease);
}
.skip-link:focus {
  top: 16px;
}


h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  color: var(--text-1);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}
h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}
h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}
h4 {
  font-size: 1.1rem;
}

p {
  max-width: 68ch;
}

.accent-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}


.container {
  width: min(var(--maxw), 100% - 2 * clamp(1.25rem, 5vw, 3rem));
  margin-inline: auto;
}

.container--narrow {
  width: min(var(--maxw-narrow), 100% - 2 * clamp(1.25rem, 5vw, 3rem));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.section--alt {
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(91, 140, 255, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(18, 20, 28, 0.28), rgba(18, 20, 28, 0.08));
}

.section--alt2 {
  background:
    radial-gradient(900px 480px at 50% 110%, rgba(138, 180, 255, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(18, 20, 28, 0.16), rgba(18, 20, 28, 0.3));
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 1rem;
  color: var(--text-3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.1rem;
}

.eyebrow--center::after {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--primary);
  opacity: 0.4;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
}

.btn--primary {
  background: var(--primary);
  color: #06080f;
  border: 1px solid var(--primary);
  box-shadow: 0 8px 30px rgba(91, 140, 255, 0.25);
}
.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #06080f;
  box-shadow: 0 12px 38px rgba(91, 140, 255, 0.38);
}

.btn--ghost {
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-1);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--accent {
  background: var(--accent);
  color: #06080f;
  border: 1px solid var(--accent);
  box-shadow: 0 8px 30px rgba(138, 180, 255, 0.3);
}
.btn--accent:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #06080f;
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.68rem;
}


.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  background: transparent;
}

.header.is-scrolled {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(91, 140, 255, 0.12);
  box-shadow: 0 8px 34px rgba(2, 5, 20, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--text-1);
  letter-spacing: 0.09em;
}

.brand:hover {
  color: var(--text-1);
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.brand__name {
  color: var(--text-1);
}

.brand__dot {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.1rem);
}

.nav__link {
  position: relative;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 0.4rem 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--text-1);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  display: none;
}

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
  z-index: 120;
}

.nav__toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav__toggle .lucide {
  width: 24px;
  height: 24px;
}


.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(91, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(1200px 800px at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(1200px 800px at 50% 30%, #000 20%, transparent 75%);
}

.hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}

.hero__orb--cyan {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.5), transparent 70%);
}

.hero__orb--magenta {
  width: 380px;
  height: 380px;
  bottom: -140px;
  left: -90px;
  background: radial-gradient(circle, rgba(138, 180, 255, 0.42), transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: 0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 1.4rem;
}

.hero__badge .pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: var(--glow-cyan);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.55;
  }
}

.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.04;
}

.hero__role {
  display: inline-block;
  min-width: 6ch;
  text-align: left;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lede {
  margin: 1.5rem 0 2.2rem;
  color: var(--text-3);
  font-size: 1.12rem;
  max-width: 52ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(91, 140, 255, 0.14);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--text-1);
}

.hero__stat span {
  font-size: 0.85rem;
  color: var(--text-3);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__frame {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-float), var(--glow-cyan);
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(91, 140, 255, 0.16), transparent 40%, rgba(138, 180, 255, 0.16));
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease);
}

.hero__frame:hover img {
  transform: scale(1.08);
}

.hero__frame-ring {
  position: absolute;
  inset: -14px;
  border-radius: calc(var(--radius-lg) + 14px);
  border: 1px dashed rgba(91, 140, 255, 0.35);
  animation: spin 40s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-full);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
}

.hero__chip .lucide {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.hero__chip--tl {
  top: 4%;
  left: -8%;
}

.hero__chip--br {
  bottom: 8%;
  right: -6%;
}

.hero__chip--bl {
  bottom: -5%;
  left: 6%;
  color: var(--accent);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  color: var(--text-3);
  transition: color 0.3s var(--ease);
}

.hero__scroll:hover {
  color: var(--primary);
}

.hero__scroll .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 14px;
  position: relative;
}

.hero__scroll .mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: currentColor;
  animation: wheel 1.8s var(--ease) infinite;
}

@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


.marquee {
  border-block: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  padding: 1.1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  content: "\2192";
  color: var(--accent);
  font-size: 0.7rem;
  text-shadow: var(--glow-magenta);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}


.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}

.card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 8px 24px rgba(2, 6, 20, 0.5);
}

.card__pad {
  padding: 2rem;
}


.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.service {
  position: relative;
  padding: 1.8rem 1.6rem;
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.4s var(--ease);
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(91, 140, 255, 0.05);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.service::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  background:
    linear-gradient(var(--primary), var(--primary)) top left / 100% 1px no-repeat,
    linear-gradient(var(--primary), var(--primary)) top left / 1px 100% no-repeat;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.service:hover {
  border-color: rgba(91, 140, 255, 0.6);
}

.service:hover::before,
.service:hover::after {
  opacity: 1;
}

.service__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: rgba(91, 140, 255, 0.08);
  border: 1px solid rgba(91, 140, 255, 0.3);
  color: var(--primary);
  margin-bottom: 1.3rem;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.service:hover .service__icon {
  background: rgba(91, 140, 255, 0.16);
  border-color: var(--primary);
}

.service__icon .lucide {
  width: 26px;
  height: 26px;
}

.service h3 {
  margin-bottom: 0.6rem;
}

.service p {
  font-size: 0.95rem;
  color: var(--text-3);
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}


.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 1.25rem;
}

.span-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

.span-1x2 {
  grid-row: span 2;
}

.span-2x1 {
  grid-column: span 2;
}

.project {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.3rem;
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.4s var(--ease);
}

.project:hover {
  border-color: rgba(91, 140, 255, 0.6);
}

.project__bg {
  position: absolute;
  inset: 0;
}

.project__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(20%);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.project:hover .project__bg img {
  opacity: 0.55;
  transform: scale(1.03);
}

.project__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.92));
}

.project__fill {
  position: absolute;
  inset: 0;
  background: rgba(91, 140, 255, 0.05);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.project:hover .project__fill {
  opacity: 1;
}

.project__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.project__medium {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-3);
}

.project__year {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-4);
  white-space: nowrap;
}

.project__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-1);
  margin-top: 0.6rem;
  transition: color 0.3s var(--ease);
}

.project:hover .project__title {
  color: var(--primary);
}

.project__bottom {
  position: relative;
  z-index: 1;
  padding-right: 2rem;
}

.project__desc {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 34ch;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.project:hover .project__desc {
  opacity: 1;
  transform: translateY(0);
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.work__grid .project {
  min-height: 320px;
}

.work__grid .project__desc {
  opacity: 1;
  transform: none;
}

.tag {
  padding: 0.22rem 0.6rem;
  border-radius: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.tag--accent {
  border-color: rgba(91, 140, 255, 0.4);
  background: rgba(91, 140, 255, 0.06);
  color: var(--primary);
}

.project__index {
  position: absolute;
  bottom: 1rem;
  right: 1.3rem;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-4);
  transition: color 0.3s var(--ease);
}

.project:hover .project__index {
  color: var(--primary);
}

.project__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.project:hover .project__corner {
  opacity: 1;
}

.project__corner i {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
}

.project__corner i:nth-child(1) {
  width: 100%;
  height: 1px;
}

.project__corner i:nth-child(2) {
  width: 1px;
  height: 100%;
}

.project__links {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.85rem;
  margin-top: 1rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.link-btn:hover {
  color: var(--accent);
  gap: 0.65rem;
}

.link-btn .lucide {
  width: 14px;
  height: 14px;
}

@media (hover: none) {
  .project__desc {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .span-2x2,
  .span-1x2,
  .span-2x1 {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .projects__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .span-2x2,
  .span-1x2,
  .span-2x1 {
    grid-column: span 1;
    grid-row: span 1;
  }
}


.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.quote {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 0;
  transition: border-color 0.4s var(--ease);
}

.quote:hover {
  border-color: rgba(91, 140, 255, 0.45);
}

.quote__mark {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.quote blockquote {
  font-size: 1rem;
  color: var(--text-2);
  font-style: italic;
  flex: 1;
}

.quote__footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(91, 140, 255, 0.5);
}

.quote__name {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--text-1);
  font-size: 1.05rem;
}

.quote__role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}


.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.stat {
  text-align: center;
  padding: 0.8rem;
}

.stat__value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__label {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}


.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__body h2 {
  margin-bottom: 1.2rem;
}

.split__body p {
  color: var(--text-3);
  margin-bottom: 1rem;
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-float);
  aspect-ratio: 4 / 3;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.split__media:hover img {
  transform: scale(1.06);
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(220deg, rgba(91, 140, 255, 0.14), transparent 45%, rgba(138, 180, 255, 0.14));
  pointer-events: none;
}

.split__check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-2);
  margin-top: 0.9rem;
}

.split__check .lucide {
  width: 19px;
  height: 19px;
  color: var(--primary);
  flex-shrink: 0;
}


.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.skill-group {
  padding: 1.9rem;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.skill-group h3 {
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.skill-group h3 .lucide {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}


.timeline {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding-left: 1.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  box-shadow: var(--glow-cyan);
}

.timeline__item {
  position: relative;
  padding: 0 0 2.6rem 2.4rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  top: 0.55rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--primary);
  box-shadow: var(--glow-cyan);
}

.timeline__period {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.timeline__item h3 {
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
}

.timeline__item .org {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.timeline__item p {
  font-size: 0.95rem;
  color: var(--text-3);
  margin-top: 0.6rem;
}


.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-flow: dense;
  gap: 1.2rem;
}

.gallery__item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 1;
  cursor: zoom-in;
  isolation: isolate;
}

.gallery__item--wide {
  aspect-ratio: 2 / 1;
  grid-column: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.09);
  filter: brightness(0.85);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-1);
  font-size: 0.95rem;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery__caption .lucide {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.gallery__item:hover .gallery__caption {
  transform: translateY(0);
  opacity: 1;
}


.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 14, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: clamp(1rem, 4vw, 3rem);
}

.lightbox.is-open {
  display: flex;
  animation: fadeIn 0.3s var(--ease);
}

.lightbox__figure {
  max-width: min(1000px, 100%);
  max-height: 100%;
  display: grid;
  gap: 1rem;
}

.lightbox__figure img {
  max-height: 74vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-float), var(--glow-cyan);
}

.lightbox__caption {
  text-align: center;
  color: var(--text-2);
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--card-border-hover);
  background: rgba(18, 20, 28, 0.7);
  color: var(--text-1);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.lightbox__btn:hover {
  transform: scale(1.08);
  background: var(--primary-soft);
  color: var(--primary);
}

.lightbox__btn .lucide {
  width: 24px;
  height: 24px;
}

.lightbox__btn--close {
  top: clamp(1rem, 4vw, 2.5rem);
  right: clamp(1rem, 4vw, 2.5rem);
}

.lightbox__btn--prev {
  left: clamp(0.75rem, 3vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__btn--next {
  right: clamp(0.75rem, 3vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__btn--prev:hover,
.lightbox__btn--next:hover {
  transform: translateY(-50%) scale(1.08);
}


.contact-hero {
  padding-top: clamp(4rem, 9vw, 6.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.contact-hero__title {
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 1.2rem;
}

.contact-hero__sub {
  margin: 1.1rem auto 0;
  max-width: 52ch;
  color: var(--text-3);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact__alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
  color: var(--text-3);
  font-size: 0.92rem;
}

.discord-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.discord-widget__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

.discord-widget__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: jm-ping 2.2s var(--ease) infinite;
}

.discord-widget__frame {
  max-width: 100%;
  padding: 0.85rem;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.discord-widget__frame:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 8px 24px rgba(2, 6, 20, 0.5);
}

.discord-widget iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

.form {
  display: grid;
  gap: 1.3rem;
  padding: clamp(1.7rem, 4vw, 2.6rem);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form__group {
  display: grid;
  gap: 0.45rem;
}

.form__group label {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(91, 140, 255, 0.18);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-1);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form__group textarea {
  resize: vertical;
  min-height: 150px;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-4);
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.18), var(--glow-cyan);
}

.form__error {
  font-size: 0.82rem;
  color: #ff5c8a;
  min-height: 1em;
}

.form__status {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(91, 140, 255, 0.3);
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.92rem;
  display: none;
}

.form__status.is-visible {
  display: block;
  animation: fadeIn 0.4s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.socials__link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid var(--card-border);
  background: rgba(91, 140, 255, 0.04);
  color: var(--text-2);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.socials__link:hover {
  transform: translateY(-4px) scale(1.04);
  color: var(--primary);
  border-color: var(--card-border-hover);
  box-shadow: var(--glow-cyan);
}

.socials__link .lucide {
  width: 21px;
  height: 21px;
}


.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background:
    radial-gradient(500px 300px at 80% 10%, rgba(91, 140, 255, 0.16), transparent 60%),
    radial-gradient(500px 300px at 10% 90%, rgba(138, 180, 255, 0.16), transparent 60%),
    linear-gradient(180deg, var(--card-2), var(--card));
  box-shadow: var(--shadow-card);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 90deg, transparent 70%, rgba(91, 140, 255, 0.14) 82%, rgba(138, 180, 255, 0.12) 88%, transparent 95%);
  animation: spin 16s linear infinite;
  z-index: 0;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin-bottom: 0.9rem;
}

.cta p {
  margin: 0 auto 2rem;
  color: var(--text-3);
  max-width: 46ch;
}


.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(4rem, 10vw, 7rem)) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  text-align: center;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(91, 140, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 140, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(900px 500px at 50% 0%, #000 15%, transparent 75%);
  mask-image: radial-gradient(900px 500px at 50% 0%, #000 15%, transparent 75%);
}

.page-hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
}

.page-hero__orb--cyan {
  width: 380px;
  height: 380px;
  top: -180px;
  right: 5%;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.45), transparent 70%);
}

.page-hero__orb--magenta {
  width: 340px;
  height: 340px;
  top: -120px;
  left: 0;
  background: radial-gradient(circle, rgba(138, 180, 255, 0.35), transparent 70%);
}

.page-hero h1 {
  margin: 0.6rem auto 1rem;
  max-width: 22ch;
}

.page-hero p {
  margin-inline: auto;
  color: var(--text-3);
  max-width: 58ch;
}

.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--text-3);
}

.crumbs a:hover {
  color: var(--primary);
}

.crumbs .lucide {
  width: 14px;
  height: 14px;
}


.footer {
  position: relative;
  margin-top: clamp(4rem, 8vw, 6rem);
  background: linear-gradient(180deg, rgba(18, 20, 28, 0.25), rgba(0, 0, 0, 0.9));
  border-top: 1px solid var(--card-border);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  opacity: 0.5;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}

.footer h3 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer h3::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--grad-brand);
}

.footer__about p {
  font-size: 0.93rem;
  color: var(--text-3);
  margin: 1rem 0 1.4rem;
}

.footer__links {
  display: grid;
  gap: 0.65rem;
}

.footer__links a {
  color: var(--text-3);
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer__links a .lucide {
  width: 15px;
  height: 15px;
  color: var(--primary);
  transition: transform 0.3s var(--ease);
}

.footer__links a:hover {
  color: var(--text-1);
  transform: translateX(4px);
}

.footer__contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--text-3);
  margin-bottom: 0.85rem;
}

.footer__contact .lucide {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact a:hover {
  color: var(--primary);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(91, 140, 255, 0.1);
  font-size: 0.87rem;
  color: var(--text-4);
}

.footer__bottom a {
  color: var(--text-3);
}

.footer__bottom a:hover {
  color: var(--primary);
}


.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  background: rgba(11, 11, 11, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-consent.is-hidden {
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-consent__text {
  flex: 1 1 18rem;
  min-width: 14rem;
}

.cookie-consent__text strong {
  color: var(--text-1);
  font-size: 0.95rem;
  display: block;
}

.cookie-consent__text p {
  margin: 0.35rem 0 0;
  color: var(--text-3);
  font-size: 0.85rem;
}

.cookie-consent__text a {
  color: var(--accent);
}

.cookie-consent__actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--card-border-hover);
  color: var(--primary);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s, box-shadow 0.35s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  box-shadow: var(--shadow-card), var(--glow-cyan);
  transform: translateY(-4px);
}

.to-top .lucide {
  width: 22px;
  height: 22px;
}


.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal--left {
  transform: translateX(-46px);
}

.reveal--right {
  transform: translateX(46px);
}

.reveal--scale {
  transform: scale(0.92);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}


@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero__title {
    text-align: center;
  }

  .hero__lede {
    margin-inline: auto;
  }

  .hero__ctas,
  .hero__meta {
    justify-content: center;
  }

  .hero__meta {
    border-top-color: transparent;
  }

  .hero__scroll {
    display: none;
  }

  .hero__chip--tl {
    left: -2%;
  }

  .hero__chip--br {
    right: -2%;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0, 0, 0, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.35s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .nav__link {
    font-size: 1.45rem;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius);
  }

  .nav__link::after {
    display: none;
  }

  .nav__link[aria-current="page"],
  .nav__link:hover {
    background: var(--primary-soft);
    color: var(--primary);
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .hero__chip--tl,
  .hero__chip--br,
  .hero__chip--bl {
    position: static;
    margin: 0.4rem;
  }

  .hero__visual {
    gap: 0;
  }

  .hero__frame {
    margin-bottom: 0.8rem;
  }

  .form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .projects__grid,
  .services__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stat span {
    display: block;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }

  .hero__orb,
  .hero__frame-ring {
    animation: none;
  }
}

.form__group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(91, 140, 255, 0.18);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-1);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%),
    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form__group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.18), var(--glow-cyan);
}


.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--card-border);
  background: rgba(91, 140, 255, 0.05);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-2);
  white-space: nowrap;
  text-transform: capitalize;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.pill--cyan { color: var(--primary); border-color: rgba(91, 140, 255, 0.4); background: var(--primary-soft); }
.pill--magenta { color: #ff9ad9; border-color: rgba(138, 180, 255, 0.4); background: var(--accent-soft); }
.pill--green { color: #3dffc4; border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.pill--amber { color: #ffd166; border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }
.pill--red { color: #ff6b8b; border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.08); }
.pill--slate { color: var(--text-3); border-color: rgba(183, 195, 217, 0.25); background: rgba(183, 195, 217, 0.05); }

.count-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  border: 1px solid var(--card-border);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
}


.segment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.segment__opt {
  position: relative;
}
.segment__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.segment__opt span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.5);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.segment__opt input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.segment__opt input:checked + span {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 14px rgba(91, 140, 255, 0.25);
}
.segment__opt--magenta input:checked + span {
  border-color: var(--accent);
  color: #ff9ad9;
  background: var(--accent-soft);
  box-shadow: 0 0 14px rgba(138, 180, 255, 0.25);
}


.btn--danger {
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #ff8ba3;
  background: rgba(248, 113, 113, 0.06);
}
.btn--danger:hover {
  transform: translateY(-2px);
  border-color: #ff6b8b;
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.3);
  color: #ff6b8b;
}
.btn--icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 11px;
  border: 1px solid var(--card-border);
  color: var(--text-3);
  background: rgba(91, 140, 255, 0.04);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn--icon:hover {
  transform: translateY(-2px);
  color: var(--primary);
  border-color: var(--card-border-hover);
  box-shadow: var(--glow-cyan);
}
.btn--icon.is-danger:hover {
  color: #ff6b8b;
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow: 0 0 16px rgba(248, 113, 113, 0.3);
}
.btn--icon .lucide {
  width: 18px;
  height: 18px;
}
.btn--block {
  width: 100%;
}


.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.toolbar__search {
  position: relative;
  min-width: min(320px, 100%);
}
.toolbar__search .lucide {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-4);
  pointer-events: none;
}
.toolbar__search input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-1);
  font-size: 0.92rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.toolbar__search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.15);
}
.toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.5);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.filter-chip:hover {
  color: var(--text-1);
  border-color: var(--card-border-hover);
}
.filter-chip.is-active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 14px rgba(91, 140, 255, 0.22);
}


.table-wrap {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.table th {
  text-align: left;
  padding: 0.95rem 1.2rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-4);
  border-bottom: 1px solid rgba(91, 140, 255, 0.12);
  white-space: nowrap;
}
.table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(91, 140, 255, 0.07);
  font-size: 0.93rem;
  color: var(--text-2);
  vertical-align: middle;
}
.table tbody tr {
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.table tbody tr:hover {
  background: rgba(91, 140, 255, 0.045);
}
.table tbody tr:last-child td {
  border-bottom: 0;
}
.trow__title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.trow__title strong {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-1);
  display: block;
  font-size: 0.95rem;
}
.trow__title span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-4);
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--card-border);
  flex-shrink: 0;
}


.kpi__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}
.kpi {
  position: relative;
  padding: 1.5rem 1.6rem;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.kpi:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-float), var(--glow-cyan);
}
.kpi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0.6;
}
.kpi--accent::before {
  background: linear-gradient(90deg, var(--accent), var(--primary));
}
.kpi--green::before {
  background: linear-gradient(90deg, #3dffc4, #00d9ff);
}
.kpi__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.kpi__label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.kpi__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--primary-soft);
  border: 1px solid var(--card-border);
  color: var(--primary);
}
.kpi--accent .kpi__icon {
  background: var(--accent-soft);
  color: #ff9ad9;
}
.kpi--green .kpi__icon {
  background: rgba(52, 211, 153, 0.08);
  color: #3dffc4;
}
.kpi__icon .lucide {
  width: 19px;
  height: 19px;
}
.kpi__value {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text-1);
}
.kpi__sub {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-4);
}
.kpi__sub strong {
  color: var(--primary);
}


.chart {
  display: grid;
  gap: 1.1rem;
  padding: 1.6rem;
}
.chart__row {
  display: grid;
  grid-template-columns: 90px 1fr 40px;
  gap: 0.9rem;
  align-items: center;
  font-family: var(--font-head);
  font-size: 0.84rem;
  color: var(--text-2);
}
.chart__bar {
  height: 9px;
  border-radius: var(--radius-full);
  background: rgba(91, 140, 255, 0.08);
  overflow: hidden;
  position: relative;
}
.chart__fill {
  height: 100%;
  border-radius: inherit;
  background: var(--grad-brand);
  box-shadow: var(--glow-cyan);
  width: 0;
  transition: width 0.9s var(--ease-snap);
}
.chart__fill--accent {
  background: linear-gradient(90deg, var(--accent), #ff6b8b);
  box-shadow: var(--glow-magenta);
}
.chart__val {
  text-align: right;
  font-weight: 600;
  color: var(--text-1);
}


.thread {
  display: grid;
  gap: 1.1rem;
}
.thread__msg {
  display: flex;
  gap: 0.9rem;
  max-width: 88%;
}
.thread__msg--reply {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.thread__bubble {
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.thread__msg--reply .thread__bubble {
  border-color: rgba(91, 140, 255, 0.35);
  box-shadow: var(--shadow-card), 0 0 18px rgba(91, 140, 255, 0.12);
}
.thread__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}
.thread__meta strong {
  font-family: var(--font-head);
  color: var(--text-1);
  font-size: 0.88rem;
}
.thread__meta time {
  color: var(--text-4);
}
.thread__body {
  font-size: 0.95rem;
  color: var(--text-2);
  white-space: pre-wrap;
}
.thread__flag {
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid rgba(138, 180, 255, 0.3);
  color: #ff9ad9;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.thread__flag--user {
  background: var(--primary-soft);
  border-color: var(--card-border-hover);
  color: var(--primary);
}


.portal__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.portal__tabs {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.6);
  margin-bottom: 1.6rem;
}
.portal__tab {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-3);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.portal__tab.is-active {
  color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 14px rgba(91, 140, 255, 0.2);
}


.track__card {
  padding: clamp(1.6rem, 4vw, 2.2rem);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.track__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(91, 140, 255, 0.12);
}
.track__no {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-1);
}
.track__subject {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-1);
  font-size: 1.05rem;
}
.track__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.7rem 0 1.4rem;
}
.track__new-reply {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(91, 140, 255, 0.12);
}


.ticket-success {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
}
.ticket-success__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #3dffc4;
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.25);
}
.ticket-success__icon .lucide {
  width: 34px;
  height: 34px;
}
.ticket-success__no {
  display: inline-block;
  margin: 1rem 0 0.4rem;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}


.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem) 1rem;
  background: rgba(5, 5, 14, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow-y: auto;
}
.modal-backdrop.is-open {
  display: flex;
  animation: fadeIn 0.3s var(--ease);
}
.modal {
  width: min(680px, 100%);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border-hover);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float), var(--glow-cyan);
  animation: rise 0.35s var(--ease);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid rgba(91, 140, 255, 0.12);
}
.modal__head h3 {
  font-size: 1.15rem;
}
.modal__head p {
  font-size: 0.85rem;
  color: var(--text-4);
  margin-top: 0.2rem;
}
.modal__body {
  padding: 1.6rem 1.8rem;
}
.modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
  padding: 1.2rem 1.8rem;
  border-top: 1px solid rgba(91, 140, 255, 0.12);
}
.modal--lg {
  width: min(860px, 100%);
}


.toast-wrap {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 600;
  display: grid;
  gap: 0.7rem;
  max-width: min(380px, calc(100vw - 2rem));
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border-hover);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  box-shadow: var(--shadow-float), var(--glow-cyan);
  font-size: 0.92rem;
  color: var(--text-2);
  animation: rise 0.35s var(--ease);
}
.toast--error {
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow: var(--shadow-float), 0 0 20px rgba(248, 113, 113, 0.25);
}
.toast--success {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: var(--shadow-float), 0 0 20px rgba(52, 211, 153, 0.2);
}
.toast .lucide {
  width: 19px;
  height: 19px;
  color: var(--primary);
  flex-shrink: 0;
}
.toast--success .lucide {
  color: #3dffc4;
}
.toast--error .lucide {
  color: #ff6b8b;
}
.toast.is-leaving {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}


.empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-4);
}
.empty .lucide {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  opacity: 0.5;
}
.empty p {
  margin: 0 auto;
  font-size: 0.95rem;
}


.auth {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.auth__card {
  width: min(420px, 100%);
  padding: clamp(2rem, 5vw, 2.6rem);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  text-align: center;
  position: relative;
  animation: rise 0.5s var(--ease);
}
.auth__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}
.auth__logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  filter: drop-shadow(var(--glow-cyan));
}
.auth__hint {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-4);
}
.auth__hint code {
  color: var(--primary);
  font-family: var(--font-head);
}

.auth__sub {
  color: var(--text-3);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 32ch;
  margin: 0.6rem auto 1.4rem;
}

.login__page {
  position: relative;
  min-height: calc(100svh - var(--header-h) - 140px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  padding: clamp(2rem, 6vw, 4rem) 1rem;
  overflow: hidden;
}
.login__page .auth__card {
  z-index: 1;
}


.admin {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100svh;
}
.admin__aside {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 1.6rem 1.2rem;
  background: rgba(13, 13, 30, 0.85);
  border-right: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: 60;
}
.admin__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-1);
}
.admin__brand img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(var(--glow-cyan));
}
.admin__nav {
  display: grid;
  gap: 0.35rem;
  flex: 1;
}
.admin__nav-label {
  padding: 0 0.9rem;
  margin: 0.6rem 0 0.2rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
}
.admin__nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  color: var(--text-3);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: color 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.admin__nav a .lucide {
  width: 18px;
  height: 18px;
}
.admin__nav a:hover {
  color: var(--text-1);
  background: rgba(91, 140, 255, 0.05);
}
.admin__nav a.is-active {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--card-border-hover);
  box-shadow: 0 0 16px rgba(91, 140, 255, 0.15);
}
.admin__nav .count-badge {
  margin-left: auto;
}
.admin__aside-foot {
  display: grid;
  gap: 0.4rem;
}
.admin__main {
  min-width: 0;
  padding: clamp(1.4rem, 4vw, 2.6rem);
}
.admin__topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin__title h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.admin__title p {
  color: var(--text-4);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}
.admin__user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.admin__user .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}


.dash__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(91, 140, 255, 0.1);
}
.panel__head h3 {
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.panel__head h3 .lucide {
  width: 18px;
  height: 18px;
  color: var(--primary);
}
.panel__body {
  padding: 1.4rem 1.5rem;
}


.recent-list {
  display: grid;
}
.recent-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(91, 140, 255, 0.07);
  transition: background 0.25s var(--ease);
  cursor: pointer;
}
.recent-item:hover {
  background: rgba(91, 140, 255, 0.045);
}
.recent-item:last-child {
  border-bottom: 0;
}
.recent-item__no {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.82rem;
  min-width: 64px;
}
.recent-item__body {
  flex: 1;
  min-width: 0;
}
.recent-item__body strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-item__body span {
  font-size: 0.78rem;
  color: var(--text-4);
}


.projects-admin__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}
.project-admin {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.project-admin:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-float);
}
.project-admin__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
}
.project-admin__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-admin__body {
  padding: 1.1rem 1.2rem 1.2rem;
  display: grid;
  gap: 0.6rem;
}
.project-admin__body h3 {
  font-size: 1rem;
}
.project-admin__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.project-admin__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
}


.msg-card {
  padding: 1.2rem 1.4rem;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.msg-card.is-unread {
  border-color: rgba(91, 140, 255, 0.4);
  box-shadow: 0 0 18px rgba(91, 140, 255, 0.1);
}
.msg-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.msg-card__head strong {
  font-family: var(--font-head);
  color: var(--text-1);
}
.msg-card__head a {
  font-size: 0.85rem;
}
.msg-card p {
  margin-top: 0.6rem;
  font-size: 0.93rem;
  color: var(--text-3);
}
.msg-card__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.messages-list {
  display: grid;
  gap: 1rem;
}


.loader {
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
  color: var(--text-4);
}
.loader .ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(91, 140, 255, 0.15);
  border-top-color: var(--primary);
  animation: spin 0.9s linear infinite;
  margin-bottom: 0.9rem;
}
.loader span {
  font-family: var(--font-head);
  font-size: 0.85rem;
}

.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(91, 140, 255, 0.04) 25%, rgba(91, 140, 255, 0.1) 50%, rgba(91, 140, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}


@media (max-width: 1024px) {
  .portal__grid {
    grid-template-columns: 1fr;
  }
  .dash__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .admin {
    grid-template-columns: 1fr;
  }
  .admin__aside {
    position: sticky;
    top: 0;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 0.9rem 1.2rem;
    gap: 0.8rem;
    border-right: 0;
    border-bottom: 1px solid var(--card-border);
  }
  .admin__nav {
    display: flex;
    gap: 0.3rem;
    overflow-x: auto;
    flex: 1;
  }
  .admin__nav-label {
    display: none;
  }
  .admin__nav a {
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .admin__nav a .lucide {
    width: 16px;
    height: 16px;
  }
  .admin__aside-foot {
    display: none;
  }
  .thread__msg {
    max-width: 100%;
  }
}


.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  margin-bottom: 1.4rem;
}
.demo-toolbar h3 {
  font-size: 1.3rem;
  margin-right: auto;
}
.demo-shell {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--card-border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.demo-bar i {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(148,163,184,0.3);
  display: inline-block;
}
.demo-bar .demo-title {
  margin-left: 0.6rem;
}
.demo-desc {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 60ch;
}
.demo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.clock {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.clock__face {
  aspect-ratio: 1;
  max-width: 300px;
  margin-inline: auto;
  width: 100%;
}
.clock__card {
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 1.2rem;
}
.clock__zone {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.8rem;
}
.clock__time {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-1);
}

.term {
  background: #0b0b0b;
  border: 1px solid var(--card-border);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.65;
  min-height: 420px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 1.2rem;
}
.term__line {
  color: var(--text-2);
  white-space: pre-wrap;
}
.term__line--prompt {
  color: var(--text-1);
}
.term__line .t-accent {
  color: var(--primary);
}
.term__line .t-dim {
  color: var(--text-4);
}
.term__line .t-ok {
  color: #5bd39b;
}
.term__line .t-err {
  color: #ff6b8b;
}
.term__input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.term__input input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text-1);
  font-family: inherit;
  font-size: inherit;
  outline: none;
  padding: 0;
}

.dash__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.dash__kpi {
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 1.2rem;
}
.dash__kpi .label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-4);
}
.dash__kpi .value {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--text-1);
  margin-top: 0.4rem;
}
.dash__kpi .delta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #5bd39b;
}
.dash__chart {
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 1.2rem;
}
.dash__bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 220px;
}
.dash__bar {
  flex: 1;
  background: rgba(91,140,255,0.25);
  position: relative;
  transition: height 0.6s var(--ease);
}
.dash__bar:hover {
  background: var(--primary);
}
.dash__bar span {
  position: absolute;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-3);
  opacity: 0;
  transition: opacity 0.3s;
}
.dash__bar:hover span {
  opacity: 1;
}
.dash__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-4);
}

.kan__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  align-items: start;
}
.kan__col {
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 1rem;
}
.kan__col h4 {
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kan__card {
  background: #10131c;
  border: 1px solid rgba(148,163,184,0.18);
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.7rem;
  cursor: grab;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-2);
}
.kan__card.dragging {
  opacity: 0.4;
}
.kan__card .tag {
  display: inline-block;
  margin-top: 0.5rem;
}
.kan__add {
  margin-top: 0.6rem;
}
.kan__add input {
  width: 100%;
}

.notfound {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.notfound h1 {
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 1;
}
.notfound .code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 1rem;
}


/* ===== Account chip (nav) ===== */
.account {
  position: relative;
}
.account__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.6rem 0.35rem 0.4rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.account__trigger:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.account__avatar {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
}
.account__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.account__avatar-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #b06bff);
}
.account__name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 0.45rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 130;
}
.account__menu[hidden] {
  display: none;
}
.account__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  border-radius: calc(var(--radius) - 2px);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.account__item .lucide {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}
.account__item:hover {
  background: var(--primary-soft);
  color: var(--primary);
}
@media (max-width: 767.98px) {
  .account__trigger {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    padding: 0.7rem 1rem;
  }
  .account__name {
    max-width: 220px;
  }
  .account__menu {
    position: static;
    margin-top: 0.6rem;
    box-shadow: none;
    border-color: var(--card-border);
  }
  .account__item {
    font-size: 1rem;
    justify-content: center;
  }
}

/* ===== Account pages ===== */
.account__page {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6rem);
  min-height: 60svh;
}
.account__title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.02;
  margin-bottom: 1.6rem;
}
.account-card {
  max-width: 680px;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.account-card__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}
.account-card__head h2 {
  font-size: 1.25rem;
  margin: 0;
}
.account-card__head p {
  margin: 0.15rem 0 0;
  color: var(--text-3);
  font-size: 0.85rem;
}
.account-card__meta {
  color: var(--text-3);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}
.account-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  border: 1px solid var(--card-border);
}
.account-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.account-avatar__initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #b06bff);
}
.avatar-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.avatar-preset {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--card-border);
  background: var(--card-2);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.avatar-preset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-preset .account-avatar__initials {
  font-size: 0.85rem;
}
.avatar-preset[data-active] {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.avatar-preset:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.avatar-preset--upload {
  border-style: dashed;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--text-3);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.avatar-preset--upload .lucide {
  width: 18px;
  height: 18px;
}
.avatar-preset--upload:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ===== Ticket cards ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--cyan { color: var(--primary); border-color: rgba(91, 140, 255, 0.4); background: var(--primary-soft); }
.badge--magenta { color: #ff9ad9; border-color: rgba(138, 180, 255, 0.4); background: var(--accent-soft); }
.badge--green { color: #3dffc4; border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.badge--amber { color: #ffd166; border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }
.badge--red { color: #ff6b8b; border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.08); }
.badge--slate { color: var(--text-3); border-color: rgba(183, 195, 217, 0.25); background: rgba(183, 195, 217, 0.05); }

.ticket-list {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
}
.ticket-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.ticket-card:hover,
.ticket-card.is-open {
  border-color: rgba(91, 140, 255, 0.4);
}
.ticket-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.1rem;
  background: transparent;
  border: 0;
  color: var(--text-1);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.ticket-card__no {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--primary);
  flex: none;
}
.ticket-card__subject {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticket-card__chevron {
  flex: none;
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: transform 0.3s var(--ease);
}
.ticket-card.is-open .ticket-card__chevron {
  transform: rotate(180deg);
}
.ticket-card__body {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid var(--card-border);
  padding-top: 1rem;
}
.ticket-card__meta {
  color: var(--text-3);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}
.ticket-card__message {
  color: var(--text-2);
  line-height: 1.65;
  margin: 0 0 1rem;
}
.ticket-threads {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.ticket-thread {
  padding: 0.8rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--card-border);
  background: var(--card-2);
}
.ticket-thread.is-admin {
  border-left: 2px solid var(--primary);
}
.ticket-thread.is-user {
  border-left: 2px solid var(--text-4);
}
.ticket-thread__meta {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: var(--text-3);
}
.ticket-thread__body {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
  white-space: pre-wrap;
}
.ticket-reply {
  display: grid;
  gap: 0.6rem;
}
.ticket-reply__row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ticket-reply .form__status {
  margin: 0;
}

.form__status.is-ok {
  color: #3dffc4;
}


/* â”€â”€ jinxmrcl homepage hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.brand--jm {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--text-1);
}

.hero--jm {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 2rem);
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0b0b0b;
}

.hero--jm .hero__grid {
  background-image:
    linear-gradient(rgba(91, 140, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 140, 255, 0.07) 1px, transparent 1px);
}

.hero--jm .container {
  width: min(880px, 100% - 2 * clamp(1.25rem, 5vw, 3rem));
}

.jm-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
}

.jm-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-2);
}

.jm-hero__status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: jm-ping 2.2s var(--ease) infinite;
}

@keyframes jm-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.jm-hero__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.jm-hero__accent {
  color: var(--primary);
}

.jm-hero__sub {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-3);
}

.jm-hero__sub-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5c5c;
}

.jm-hero__bio {
  max-width: 56ch;
  color: var(--text-3);
  font-size: 1.1rem;
  line-height: 1.7;
}

.jm-hero__actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.jm-hero__socials {
  display: flex;
  gap: 0.55rem;
  margin-left: 0.35rem;
}

.jm-hero__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--text-2);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.jm-hero__social:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

@media (max-width: 560px) {
  .jm-hero__socials {
    margin-left: 0;
  }
}

.bg-web {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bg-web canvas {
  width: 100%;
  height: 100%;
}

/* ── glow & smooth cards ── */

.service,
.skill-group,
.stats,
.cta,
.form,
.legal-block {
  transition: transform 0.4s var(--ease-snap), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.service:hover,
.skill-group:hover,
.stats:hover {
  transform: translateY(-4px);
  border-color: rgba(117, 246, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(117, 246, 255, 0.12),
    0 0 26px rgba(117, 246, 255, 0.14),
    0 0 64px rgba(211, 108, 255, 0.08),
    var(--glow-cyan);
}

.cta:hover {
  border-color: rgba(117, 246, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(117, 246, 255, 0.12),
    0 0 34px rgba(117, 246, 255, 0.14),
    0 0 80px rgba(211, 108, 255, 0.1),
    var(--shadow-card);
}

.form:focus-within {
  border-color: rgba(117, 246, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(117, 246, 255, 0.12),
    0 0 30px rgba(117, 246, 255, 0.12),
    0 0 70px rgba(211, 108, 255, 0.08),
    var(--shadow-card);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-block {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  margin-bottom: 1.5rem;
}

.legal-block:hover {
  border-color: rgba(117, 246, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(117, 246, 255, 0.1),
    0 0 26px rgba(117, 246, 255, 0.1),
    0 0 60px rgba(211, 108, 255, 0.06),
    var(--glow-cyan);
}

.legal-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1);
  list-style: none;
}

.legal-block summary::-webkit-details-marker {
  display: none;
}

.legal-block summary .lucide {
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: transform 0.35s var(--ease-snap);
  flex-shrink: 0;
}

.legal-block[open] summary .lucide {
  transform: rotate(90deg);
}

.legal-block__body {
  padding: 0 1.4rem 1.5rem;
  color: var(--text-3);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-block__body h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1rem;
  color: var(--text-1);
}

.legal-block__body h3:first-child {
  margin-top: 0.4rem;
}

.legal-block__body ul {
  margin: 0.4rem 0 0 1.1rem;
  list-style: square;
}

.legal-block__body li {
  margin-bottom: 0.4rem;
}

.legal-block__body a {
  color: var(--primary);
}

.legal-block__body code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--accent);
}
