:root {
  --bg: #191919;
  --card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --ink: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --accent: #e93a01;
  --accent2: #ff6a3d;
  --shadow: 0 22px 50px rgba(0,0,0,0.45);
  --max: 980px;
}

* { box-sizing: border-box; }

html, body {
  scroll-behavior: smooth;
  min-height: 100%;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

/* Fixed background layer so gradients don't "restart" on scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(233,58,1,0.22), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(233,58,1,0.14), transparent 55%),
    radial-gradient(1200px 900px at 50% 110%, rgba(255,255,255,0.05), transparent 60%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 22px 70px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(233,58,1,0.55);
}

.links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 10px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-main {
  padding: 28px;
}

.kicker {
  color: var(--muted);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 60ch;
  line-height: 1.6;
}

.badges {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid rgba(233,58,1,0.28);
  color: rgba(233,58,1,0.92);
  background: rgba(233,58,1,0.07);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.badge.blue {
  border-color: rgba(255,106,61,0.28);
  color: rgba(255,215,205,0.95);
  background: rgba(255,106,61,0.10);
}

.cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
}

.btn.primary {
  border-color: rgba(233,58,1,0.35);
  background: rgba(233,58,1,0.12);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.28);
}

.hero-side {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avatar {
  border: 1px dashed rgba(255,255,255,0.16);
  border-radius: 18px;
  height: 180px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.65);
  background: radial-gradient(400px 240px at 50% 30%, rgba(233,58,1,0.10), transparent 60%);
  overflow: hidden;
}

/* Round avatar (no cropping weirdness) */
.avatar-img {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.05);
  border: 2px solid rgba(233,58,1,0.22);
  box-shadow: 0 18px 34px rgba(0,0,0,0.35);
}

.small {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  margin-top: 22px;
  padding: 22px;
  scroll-margin-top: 24px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.list li {
  margin: 10px 0;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.footer {
  margin-top: 28px;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
}
