:root {
  --bg-1: #050816;
  --bg-2: #0a1030;
  --bg-3: #12092d;

  --brand-logo: #22c55e;

  --text: #f7fbff;
  --muted: #c8d4f3;

  --cyan: #58f3ff;
  --blue: #5f8dff;
  --pink: #ff57d2;
  --lime: #8dff8a;
  --orange: #ffb25e;

  --border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.38);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(88, 243, 255, 0.10), transparent 22%),
    radial-gradient(circle at 86% 16%, rgba(255, 87, 210, 0.10), transparent 20%),
    radial-gradient(circle at 78% 78%, rgba(95, 141, 255, 0.08), transparent 24%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 48%, var(--bg-3));
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

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

/* ================= HEADER (same as your other pages) ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(8, 12, 26, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--brand-logo);
  font-weight: 700;
}

.site-mark {
  width: 36px;
  height: 36px;
  display: block;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 0 8px rgba(34, 197, 94, 0.30))
    drop-shadow(0 0 18px rgba(34, 197, 94, 0.14));
}

.brand-text { letter-spacing: 0.04em; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 10px 28px rgba(0,0,0,0.18);
}

.site-nav a {
  position: relative;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.14s ease,
    box-shadow 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.45rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 20px rgba(34, 197, 94, 0.10);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ================= HERO (match contact hero sizing) ================= */

.about-hero {
  position: relative;
  padding: 6rem 1.5rem 3.25rem; /* same as contact */
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.18;
}

.about-glow-1 {
  width: 320px;
  height: 320px;
  top: 8%;
  left: 10%;
  background: rgba(34, 197, 94, 0.26);
}

.about-glow-2 {
  width: 280px;
  height: 280px;
  top: 12%;
  right: 12%;
  background: rgba(95, 141, 255, 0.16);
}

.about-grid {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 35%, rgba(0,0,0,1), rgba(0,0,0,0));
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  width: min(880px, 100%); /* same as contact */
  margin: 0 auto;
  text-align: center;
}

.about-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.8rem); /* same as contact */
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.about-hero-copy {
  margin: 1rem auto 0;
  max-width: 700px;
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(1rem, 1.8vw, 1.08rem);
}

/* ================= BUTTONS (same system) ================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  border: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  transition: transform 0.45s ease;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
}

.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px) scale(1.02); }

.btn-primary {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #08111f;
  box-shadow:
    0 12px 28px rgba(88, 243, 255, 0.18),
    0 6px 20px rgba(95, 141, 255, 0.14);
}

.btn-primary:hover {
  box-shadow:
    0 16px 34px rgba(88, 243, 255, 0.24),
    0 10px 26px rgba(95, 141, 255, 0.18);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
}

.btn-ghost:hover {
  border-color: rgba(88, 243, 255, 0.28);
  background: rgba(255,255,255,0.08);
  box-shadow:
    0 14px 28px rgba(0,0,0,0.18),
    0 0 22px rgba(88, 243, 255, 0.08);
}

/* ================= ABOUT SECTION (fluid + readable) ================= */

.about-section {
  padding: 0 1.5rem 5.75rem;
}

.about-section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.about-card {
  max-width: 920px;
  margin: 0 auto;
  /* padding: 1.75rem;  <-- DELETE THIS LINE */
  border-radius: 1.3rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.02);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 40px var(--shadow),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.about-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.about-card h3 {
  margin: 1.35rem 0 0.7rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.about-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 72ch;
}

.about-highlight {
  margin-top: 1.35rem;
  padding: 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top right, rgba(34,197,94,0.10), transparent 42%),
    rgba(8, 18, 36, 0.35);
  display: grid;
  gap: 0.9rem;
}

.about-highlight-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.7rem;
  align-items: start;
}

.about-dot {
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--brand-logo);
  box-shadow: 0 0 14px rgba(34,197,94,0.22);
}

.about-highlight-item strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.about-highlight-item p {
  margin: 0.35rem 0 0;
  color: rgba(200, 212, 243, 0.86);
  line-height: 1.6;
  max-width: none;
}

.about-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.about-list li {
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.6;
  color: var(--text);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(88, 243, 255, 0.35);
}

.about-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ================= FOOTER (same as other pages) ================= */

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.82), rgba(5, 9, 20, 0.94));
  backdrop-filter: blur(12px);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2.25rem 0;
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 1.25rem;
  align-items: center;
}

.footer-left { min-width: 0; }

.footer-brand {
  margin: 0;
  font-weight: 800;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.footer-copy {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 420px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.footer-links a:hover { color: var(--text); }

.footer-socials {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.04);
  transition:
    transform 0.14s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.08);
}

.social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    text-align: center;
  }

  .footer-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links,
  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: auto;
    padding: 0.9rem 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .brand { justify-content: center; }
  .site-nav { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .site-nav { gap: 0.4rem; padding: 0.3rem; }
  .site-nav a { padding: 0.58rem 0.78rem; font-size: 0.82rem; }

  .about-hero,
  .about-section { padding-left: 1rem; padding-right: 1rem; }

  .about-card-content { padding: 1.25rem; }

  .btn { width: 100%; max-width: 320px; }
  .about-actions .btn { max-width: none; }
}

/* --- ORB BACKGROUND (contained inside About card, never affects layout) --- */

.about-card{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 1.3rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.02);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 40px var(--shadow),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.about-card-content{
  position: relative;
  z-index: 1;
  padding: 1.75rem;
}

/* wrapper is absolute so it cannot push content */
.about-orb-wrap{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#aboutOrbCanvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.85;
}

/* optional: makes the highlights feel glassy over the orbs */
.about-highlight{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}