/* ============================================================
   syzgia — portfolio styles
   Siyah & mor tema · Space Grotesk + JetBrains Mono
   ============================================================ */

:root {
  --bg: #050308;
  --bg-soft: #08060d;
  --surface: #0b0911;
  --surface-2: #100c18;
  --surface-3: #16101f;
  --border: rgba(168, 133, 255, 0.1);
  --border-strong: rgba(168, 133, 255, 0.24);
  --text: #eeebf5;
  --text-dim: #9f98b1;
  --text-faint: #6b647e;
  --purple: #7c3aed;
  --purple-2: #9333ea;
  --purple-3: #b794f6;
  --pink: #d08ae8;
  --green: #4ade80;
  --font-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --container: 1160px;
  --nav-h: 76px;
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(109, 40, 217, 0.3);
  color: #fff;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

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

button {
  cursor: pointer;
  border: 0;
  background: none;
}

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

/* ---------- background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 45% at 50% -12%, rgba(76, 29, 149, 0.16), transparent 62%),
    var(--bg);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 78%);
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.14;
  will-change: transform;
}

.bg-blob--1 {
  top: -200px;
  left: 8%;
  width: 560px;
  height: 560px;
  background: #5b21b6;
  animation: drift 22s ease-in-out infinite alternate;
}

.bg-blob--2 {
  top: 38%;
  right: -260px;
  width: 520px;
  height: 520px;
  background: #86198f;
  opacity: 0.07;
  animation: drift 26s ease-in-out infinite alternate-reverse;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.026;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.12); }
}

/* ---------- layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 96px;
}

.section--tight {
  padding-block: 64px;
}

.section--projects {
  padding-top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.mono {
  font-family: var(--font-mono);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- header / nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 4, 9, 0.72);
  border-bottom-color: var(--border);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(140deg, #5b21b6, #7e22ce);
  box-shadow: 0 0 18px rgba(91, 33, 182, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.brand-dot {
  color: var(--purple-3);
}

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

.brand-text span {
  color: var(--text-faint);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.nav-link.is-active {
  color: #fff;
  background: rgba(124, 58, 237, 0.1);
  box-shadow: inset 0 0 0 1px rgba(168, 133, 255, 0.12);
}

.nav-link.is-active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-3);
  transform: translateY(-50%);
  box-shadow: 0 0 5px rgba(183, 148, 246, 0.7);
}

.nav-link.is-active {
  padding-left: 20px;
}

.nav-github {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn svg {
  flex: none;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg.icon-arrow {
  transform: translate(2px, -2px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 55%, #7e22ce 100%);
  box-shadow: 0 10px 26px -14px rgba(91, 33, 182, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -14px rgba(109, 40, 217, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.015);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 148, 246, 0.35);
  background: rgba(109, 40, 217, 0.08);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 13.5px;
}

.btn--block {
  width: 100%;
}

/* ---------- text / headings ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-3);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), transparent);
}

.section-title {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-desc {
  max-width: 58ch;
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.gradient-text {
  background: linear-gradient(100deg, #e4d9f7 0%, #c3a7f0 38%, #a78bfa 72%, #c084d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 64px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgba(74, 222, 128, 0.16);
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.035);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #a9dcb8;
}

.badge-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
}

.badge-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.5);
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 1; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(3.1rem, 7.2vw, 5.3rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-title .line-2 {
  display: block;
}

.hero-role {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--purple-3);
}

.hero-role .sep {
  margin-inline: 10px;
  color: var(--text-faint);
}

.hero-desc {
  max-width: 54ch;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}

.hero-desc strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.hero-socials .social-label {
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

.social-link:hover {
  color: #fff;
  border-color: var(--border-strong);
  background: rgba(109, 40, 217, 0.09);
  transform: translateY(-2px);
}

/* terminal */

.terminal-wrap {
  position: relative;
}

.terminal {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 11, 20, 0.98), rgba(5, 3, 8, 0.99));
  box-shadow:
    0 36px 90px -46px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.015),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.terminal::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.1), transparent 70%);
  pointer-events: none;
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3b3348;
}

.terminal-dots span:nth-child(1) { background: #f87171; }
.terminal-dots span:nth-child(2) { background: #fbbf24; }
.terminal-dots span:nth-child(3) { background: #4ade80; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.terminal-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--purple-3);
}

.terminal-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-3);
  box-shadow: 0 0 5px rgba(183, 148, 246, 0.7);
}

.terminal-body {
  min-height: 286px;
  padding: 24px 22px 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.95;
  color: var(--text-dim);
}

.t-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6ch;
  min-height: 1.95em;
}

.t-prompt {
  color: var(--purple-3);
}

.t-sym {
  color: var(--pink);
}

.t-cmd {
  color: #fff;
}

.t-out {
  color: var(--text-dim);
}

.t-out .hl {
  color: #e9d5ff;
}

.t-out .ok {
  color: var(--green);
}

.caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 2px;
  border-radius: 1px;
  background: var(--purple-2);
  vertical-align: -2px;
  animation: blink 1.05s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(9, 7, 14, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.9);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  animation: float 6s ease-in-out infinite;
}

.float-chip svg {
  color: var(--purple-3);
}

.float-chip--top {
  top: -18px;
  right: -14px;
}

.float-chip--bottom {
  bottom: -18px;
  left: -18px;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.012);
  overflow: hidden;
}

.stat {
  position: relative;
  padding: 22px 24px;
}

.stat + .stat {
  border-left: 1px solid var(--border);
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-value .unit {
  font-size: 0.95rem;
  color: var(--text-faint);
  font-weight: 500;
}

.stat-label {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  padding-block: 26px;
  border-block: 1px solid var(--border);
  overflow: hidden;
  -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;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

.marquee-item::after {
  content: "◆";
  font-size: 7px;
  color: var(--purple);
}

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

/* ---------- section head ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.section-head .section-desc {
  margin-top: 0;
  max-width: 42ch;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: start;
}

.about-copy p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

.about-copy p + p {
  margin-top: 18px;
}

.about-copy strong {
  color: var(--text);
  font-weight: 600;
}

.about-copy .signature {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--purple-3);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fact {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(13, 10, 19, 0.5), rgba(6, 4, 9, 0.38));
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.fact:hover {
  border-color: var(--border-strong);
  background: rgba(109, 40, 217, 0.045);
  transform: translateY(-2px);
}

.fact-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 10px;
  color: var(--purple-3);
  background: rgba(109, 40, 217, 0.08);
  box-shadow: inset 0 0 0 1px rgba(168, 133, 255, 0.1);
}

.fact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.fact-value {
  margin-top: 5px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
}

.fact-value small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-faint);
}

/* focus cards */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.focus-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 10, 19, 0.55), rgba(6, 4, 9, 0.45));
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(148, 110, 235, 0.07), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.focus-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 28px 60px -38px rgba(0, 0, 0, 0.75);
}

.focus-card:hover::before {
  opacity: 1;
}

.focus-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 13px;
  color: var(--purple-3);
  background: rgba(109, 40, 217, 0.09);
  box-shadow: inset 0 0 0 1px rgba(168, 133, 255, 0.1);
}

.focus-card h3 {
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.focus-card p {
  margin-top: 9px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.focus-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}

/* chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(109, 40, 217, 0.06);
}

.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-3);
}

.chip--learning {
  border-style: dashed;
}

/* ---------- CTA ---------- */

.cta-card {
  position: relative;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  background:
    radial-gradient(ellipse 70% 140% at 15% 0%, rgba(109, 40, 217, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 120% at 95% 100%, rgba(134, 25, 143, 0.06), transparent 65%),
    rgba(8, 6, 12, 0.88);
  overflow: hidden;
}

.cta-card::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(168, 133, 255, 0.08);
  box-shadow: 0 0 0 60px rgba(168, 133, 255, 0.018), 0 0 0 120px rgba(168, 133, 255, 0.01);
  pointer-events: none;
}

.cta-card h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.cta-card p {
  max-width: 46ch;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- page hero ---------- */

.page-hero {
  padding-top: calc(var(--nav-h) + 76px);
  padding-bottom: 56px;
}

.page-hero .eyebrow {
  margin-bottom: 20px;
}

.page-title {
  max-width: 20ch;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.page-desc {
  max-width: 62ch;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* ---------- projects ---------- */

.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px;
  border-block: 1px solid var(--border);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-btn {
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.filter-btn.is-active {
  color: #fff;
  border-color: var(--border-strong);
  background: rgba(109, 40, 217, 0.11);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}

.icon-btn:hover {
  color: #fff;
  border-color: var(--border-strong);
}

.icon-btn.is-spinning svg {
  animation: spin 0.8s linear infinite;
}

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

.projects-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
}

.projects-status .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(74, 222, 128, 0.8);
}

.projects-status.is-error .dot {
  background: #f87171;
  box-shadow: 0 0 7px rgba(248, 113, 113, 0.8);
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.repo-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 10, 19, 0.55), rgba(6, 4, 9, 0.5));
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.repo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(148, 110, 235, 0.07), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.repo-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -38px rgba(0, 0, 0, 0.8);
}

.repo-card:hover::before {
  opacity: 1;
}

.repo-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}

.repo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 20px;
}

.repo-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--purple));
  box-shadow: 0 0 8px color-mix(in srgb, var(--dot, var(--purple)) 65%, transparent);
}

.repo-metrics {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}

.repo-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.repo-title {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.repo-desc {
  display: -webkit-box;
  margin-top: 10px;
  min-height: 3.1em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}

.repo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag {
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}

.repo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-faint);
}

.repo-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease);
}

.repo-card:hover .repo-arrow {
  color: #fff;
  border-color: var(--border-strong);
  background: rgba(109, 40, 217, 0.1);
  transform: translate(1px, -1px);
}

/* skeletons */

.skeleton-card {
  height: 272px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.skeleton-line {
  height: 12px;
  margin: 22px 24px 0;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.035) 25%, rgba(168, 133, 255, 0.08) 50%, rgba(255, 255, 255, 0.035) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

.skeleton-line:nth-child(2) { width: 55%; }
.skeleton-line:nth-child(3) { width: 82%; margin-top: 26px; }
.skeleton-line:nth-child(4) { width: 68%; }
.skeleton-line:nth-child(5) { width: 40%; margin-top: 44px; }

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* empty / error */

.state-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 28px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(109, 40, 217, 0.025);
  text-align: center;
}

.state-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--purple-3);
  background: rgba(109, 40, 217, 0.08);
}

.state-card h3 {
  font-size: 19px;
  font-weight: 600;
}

.state-card p {
  max-width: 46ch;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.state-card .btn {
  margin-top: 22px;
}

.projects-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.018);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-faint);
}

.projects-note svg {
  flex: none;
  margin-top: 1px;
  color: var(--purple-3);
}

.projects-note strong {
  color: var(--text-dim);
  font-weight: 500;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 12px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(13, 10, 19, 0.5), rgba(6, 4, 9, 0.4));
  transition: border-color 0.3s ease, background 0.3s ease;
}

.info-card:hover {
  border-color: var(--border-strong);
  background: rgba(109, 40, 217, 0.04);
}

.info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--purple-3);
  background: rgba(109, 40, 217, 0.08);
  box-shadow: inset 0 0 0 1px rgba(168, 133, 255, 0.1);
}

.info-body {
  min-width: 0;
  flex: 1;
}

.info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.info-value {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

a.info-value:hover {
  color: var(--purple-3);
}

.info-value small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-faint);
}

.copy-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-faint);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.copy-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(109, 40, 217, 0.08);
}

.copy-btn.is-copied {
  color: var(--green);
  border-color: rgba(74, 222, 128, 0.35);
}

.response-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  border-left: 2px solid var(--purple);
  border-radius: 0 10px 10px 0;
  background: rgba(109, 40, 217, 0.035);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.response-note svg {
  flex: none;
  margin-top: 1px;
  color: var(--purple-3);
}

.form-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 9, 18, 0.8), rgba(6, 4, 9, 0.72));
  box-shadow: 0 40px 80px -54px rgba(0, 0, 0, 0.85);
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.form-head h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.form-head .form-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-3);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.field label .req {
  color: var(--purple-3);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(4, 2, 8, 0.55);
  font-size: 14.5px;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.65;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f5772;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(168, 133, 255, 0.17);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #6d28d9;
  background: rgba(6, 4, 10, 0.85);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.11);
}

.field-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-faint);
}

.form-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 36ch;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-faint);
}

.form-note svg {
  flex: none;
  margin-top: 2px;
  color: var(--purple-3);
}

.form-feedback {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.045);
}

.form-feedback[hidden] {
  display: none;
}

.form-feedback strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #b9e7c7;
}

.form-feedback p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.form-feedback .feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

/* ---------- result / 404 pages ---------- */

.result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
  text-align: center;
}

.result-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 28px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 22px;
  color: var(--green);
  background: rgba(74, 222, 128, 0.08);
  box-shadow: 0 0 60px -12px rgba(74, 222, 128, 0.4);
}

.result-code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(183, 148, 246, 0.3);
}

.result h1 {
  margin-top: 18px;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.result p {
  max-width: 46ch;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.result-hint {
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
}

.result-hint code {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--purple-3);
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: rgba(6, 4, 9, 0.6);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-block: 44px 34px;
}

.footer-brand {
  max-width: 36ch;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-faint);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--purple-3);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}

.footer-bottom .status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-bottom .status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(74, 222, 128, 0.8);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(13, 9, 22, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast svg {
  color: var(--green);
}

/* ---------- reveal ---------- */

.reveal.is-visible {
  animation: fade-up 0.75s var(--ease) both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

  .repo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-grid {
    gap: 14px;
  }

  .focus-card {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--nav-h) + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: rgba(9, 6, 15, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.99);
    transform-origin: top center;
    transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
  }

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

  .nav-link {
    padding: 11px 15px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav-link.is-active {
    padding-left: 26px;
  }

  .nav-link.is-active::before {
    left: 13px;
  }

  .nav-github {
    margin: 6px 0 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 52px);
  }

  .hero-visual {
    max-width: 580px;
  }

  .stats {
    margin-top: 48px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 68px;
  }

  .container {
    padding-inline: 20px;
  }

  .section {
    padding-block: 68px;
  }

  .section--tight {
    padding-block: 48px;
  }

  .hero {
    padding-bottom: 54px;
  }

  .hero-title {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .hero-desc {
    font-size: 15.5px;
  }

  .hero-socials {
    margin-top: 24px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .stat {
    padding: 18px 20px;
  }

  .stat-value {
    font-size: 1.6rem;
  }

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

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .repo-card {
    min-height: 0;
  }

  .project-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .page-hero {
    padding-top: calc(var(--nav-h) + 56px);
    padding-bottom: 36px;
  }

  .page-title {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .page-desc {
    font-size: 15.5px;
  }

  .form-card {
    padding: 22px;
  }

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

  .form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .form-note {
    max-width: none;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cta-card {
    padding: 28px 22px;
  }

  .float-chip--top {
    top: -14px;
    right: -4px;
  }

  .float-chip--bottom {
    bottom: -14px;
    left: -4px;
  }

  .terminal-body {
    min-height: 250px;
    padding: 20px 18px 26px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }

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

  .badge {
    font-size: 10.5px;
  }

  .eyebrow {
    font-size: 10.5px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 26px;
  }

  .stat-value {
    font-size: 1.45rem;
  }

  .form-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

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

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

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

  .marquee-track {
    animation: none;
  }
}
