:root {
  --bg: #03070d;
  --bg-deep: #010409;
  --panel: #07111d;
  --panel-2: #0a1624;
  --panel-3: #0d1b2a;

  --text: #f5fbff;
  --muted: #8fa6b8;
  --muted-soft: #5f7486;

  --neon: #7ddcff;
  --neon-strong: #b8f1ff;
  --neon-soft: rgba(125, 220, 255, 0.16);
  --neon-line: rgba(125, 220, 255, 0.18);
  --neon-line-strong: rgba(125, 220, 255, 0.34);

  --line: rgba(143, 166, 184, 0.13);
  --line-strong: rgba(125, 220, 255, 0.24);

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.26);
  --glow: 0 0 36px rgba(125, 220, 255, 0.11);

  --max: 1120px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(125, 220, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 220, 255, 0.035) 1px, transparent 1px),
    radial-gradient(
      circle at 15% 4%,
      rgba(125, 220, 255, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 0%,
      rgba(125, 220, 255, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto,
    auto;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

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

p,
h1,
h2,
h3,
pre {
  margin: 0;
}

.shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 24px 0 40px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 13, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--neon);
  transition: transform 160ms ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 24px;
  align-items: stretch;
  padding: 42px 0 44px;
}

.hero-main,
.yaml-panel,
.role,
.scope-card,
.connect {
  border: 1px solid var(--line);
  background:
    radial-gradient(
      circle at top right,
      rgba(125, 220, 255, 0.045),
      transparent 34%
    ),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow), var(--glow);
}

.hero-main {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: calc(var(--radius) + 8px);
}

.hero-main::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(125, 220, 255, 0.1), transparent 22%),
    radial-gradient(
      circle at 94% 6%,
      rgba(184, 241, 255, 0.08),
      transparent 32%
    );
}

.hero-main::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 240px;
  height: 240px;
  content: "";
  border: 1px solid rgba(125, 220, 255, 0.14);
  border-radius: 999px;
}

.icon-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.icon-link {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(125, 220, 255, 0.025);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 0 0 rgba(125, 220, 255, 0);
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.icon-link:hover {
  color: var(--neon-strong);
  border-color: var(--neon-line-strong);
  background: rgba(125, 220, 255, 0.07);
  box-shadow: 0 0 22px rgba(125, 220, 255, 0.12);
  transform: translateY(-1px);
}

.icon-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.kicker,
.hero-main h1,
.hero-main .headline,
.hero-main .intro {
  position: relative;
  z-index: 1;
}

.kicker {
  color: var(--neon);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-top: 12px;
  color: var(--text);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.headline {
  max-width: 720px;
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(1.1rem, 1.85vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
}

.intro {
  max-width: 740px;
  margin-top: 16px;
  color: var(--text);
  font-size: 1rem;
}

.intro.muted {
  margin-top: 12px;
  color: var(--muted);
}

/* Reusable text buttons used only in connect section */

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(125, 220, 255, 0.035);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.links a:hover {
  color: var(--neon-strong);
  border-color: var(--neon-line-strong);
  background: rgba(125, 220, 255, 0.07);
  box-shadow: 0 0 22px rgba(125, 220, 255, 0.1);
  transform: translateY(-1px);
}

.centered {
  justify-content: center;
}

/* YAML */

.yaml-panel {
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
}

.panel-header {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 0 18px;
  color: var(--neon);
  border-bottom: 1px solid var(--line);
  background: rgba(125, 220, 255, 0.025);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

pre {
  overflow-x: auto;
  padding: 24px;
}

code {
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.75;
}

/* General Sections */

.section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 40px;
}

.section-label {
  position: sticky;
  top: 96px;
  align-self: start;
}

.section-label span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--neon);
  font-weight: 800;
}

.section-label h2,
.connect h2 {
  color: var(--text);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

/* Focus */

.focus-stack {
  display: grid;
  gap: 20px;
}

.focus-stack article {
  position: relative;
  padding: 2px 0 2px 22px;
}

.focus-stack article::before {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 3px;
  content: "";
  border-radius: 99px;
  background: var(--neon-line-strong);
}

.focus-stack h3,
.role h3,
.scope-card h3 {
  color: var(--text);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.focus-stack p,
.role p,
.scope-card p,
.connect p {
  margin-top: 8px;
  color: var(--muted);
}

/* Experience */

.timeline {
  display: grid;
  gap: 14px;
}

.role {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border-radius: var(--radius);
}

.role-meta {
  display: grid;
  align-content: start;
  gap: 5px;
}

.role-meta span {
  color: var(--neon);
  font-size: 0.86rem;
  font-weight: 800;
}

.role-meta strong {
  color: var(--text);
}

/* Technical Scope */

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

.scope-card {
  padding: 24px 26px;
  border-radius: var(--radius);
}

.scope-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.scope-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--neon-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(125, 220, 255, 0.035);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.scope-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

/* Connect */

.connect {
  margin: 40px 0 24px;
  padding: 38px;
  text-align: center;
  border-radius: calc(var(--radius) + 8px);
}

.connect h2 {
  margin-top: 10px;
}

.connect p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

/* Footer */

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer a {
  color: var(--text);
  font-weight: 700;
}

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

/* Responsive */

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .hero,
  .split-section,
  .role,
  .scope-board {
    grid-template-columns: 1fr;
  }

  .section-label {
    position: static;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, var(--max));
    padding-top: 16px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-main,
  .connect {
    padding: 28px;
  }

  pre {
    padding: 20px;
  }

  code {
    font-size: 0.82rem;
  }

  .nav {
    gap: 14px;
  }

  .icon-links,
  .links,
  .footer {
    flex-direction: column;
  }

  .icon-link,
  .links a {
    width: 100%;
  }
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.contact-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.contact-link:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.test {
}

.contact-link svg,
.contact-link i svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
