:root {
  color-scheme: dark;
  --bg-base: #070b12;
  --bg-elevated: #0d1320;
  --surface: rgba(16, 24, 40, 0.72);
  --primary: #2f6bff;
  --glow: #4da3ff;
  --cyan: #6ee7ff;
  --text-primary: #f3f7ff;
  --text-secondary: #b3c0d4;
  --text-muted: #7c8aa5;
  --border: rgba(125, 162, 255, 0.16);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --font-sans: "Sora", "Inter", "Segoe UI", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --container-max: 1200px;
  --shadow: 0 40px 80px rgb(7 11 18 / 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto;
  height: 120vh;
  background: radial-gradient(circle at 10% 20%, rgb(47 107 255 / 0.2), transparent 55%),
    radial-gradient(circle at 80% 0%, rgb(77 163 255 / 0.15), transparent 50%);
  filter: blur(18px);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--primary);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  z-index: 200;
}

.skip-link:focus {
  top: 16px;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(92vw, var(--container-max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgb(7 11 18 / 0.72);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 60%);
  border: 1px solid var(--border);
}


.site-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-line {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease;
}

.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgb(47 107 255 / 0.25), transparent 45%),
    radial-gradient(circle at 80% 0%, rgb(77 163 255 / 0.25), transparent 35%);
}

.hero::after {
  content: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.3fr) minmax(260px, 0.8fr);
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 860px;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--cyan);
}

.tagline {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: var(--fw-semibold);
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.hero-title {
  display: block;
  width: 100%;
  max-width: 78ch;
  font-size: clamp(2.9rem, 5.5vw, 4.8rem);
  line-height: 1.12;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-weight: var(--fw-medium);
  min-height: 4.5em;
}

.typewriter {
  position: relative;
  padding-right: 10px;
  min-height: 4.5em;
}

.typewriter-static {
  display: block;
  visibility: hidden;
}

.typewriter-live {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
}

.typewriter-live::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  background: var(--glow);
  box-shadow: 0 0 6px var(--glow);
  animation: caret-blink 0.8s step-end infinite;
  vertical-align: bottom;
}


.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0;
}

.btn {
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: var(--fw-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary), var(--glow));
  color: var(--text-primary);
  box-shadow: 0 0 35px rgb(47 107 255 / 0.45);
  position: relative;
  overflow: hidden;
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgb(110 231 255 / 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn.primary:hover {
  transform: translateY(-3px);
}

.btn.primary:hover::after {
  opacity: 1;
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text-primary);
  background: transparent;
}

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

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.hero-focus .section-panel {
  padding: clamp(28px, 5vw, 44px);
}

.hero-highlights article {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: rgba(10, 15, 23, 0.9);
  box-shadow: 0 14px 28px rgba(5, 8, 15, 0.3);
}

.hero-highlights span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-highlights p {
  margin: 8px 0 0;
  color: var(--text-secondary);
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.hero-lines {
  position: absolute;
  inset: -20px;
  border-radius: var(--radius-lg);
  background-image: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.05) 0, transparent 40px);
  opacity: 0.12;
  mix-blend-mode: screen;
}

.orb {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
}

.orb-one {
  background: var(--glow);
  top: -30px;
  right: 40px;
  animation: float 12s ease-in-out infinite;
}

.orb-two {
  background: var(--cyan);
  bottom: -50px;
  left: -10px;
  animation: float 16s ease-in-out infinite;
}

.visual-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  z-index: 2;
}

.visual-beam,
.visual-grid {
  position: absolute;
  inset: 20px;
  border-radius: var(--radius-lg);
  z-index: 1;
}

.visual-beam {
  background: linear-gradient(115deg, rgb(47 107 255 / 0.35), transparent 60%);
  filter: blur(40px);
}

.visual-grid {
  border: 1px dashed rgb(125 162 255 / 0.35);
  mix-blend-mode: screen;
  animation: grid-glow 6s ease-in-out infinite;
}

.visual-title {
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.visual-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visual-card li {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.visual-footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.visual-terminal {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 24px 45px rgba(5, 8, 15, 0.5);
  overflow: hidden;
  background: #05080f;
}

.visual-terminal header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #04070d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.visual-terminal header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.visual-terminal header .dot.red {
  background: #ef4444;
}

.visual-terminal header .dot.yellow {
  background: #f59e0b;
}

.visual-terminal header .dot.green {
  background: #10b981;
}

.visual-terminal-body {
  padding: 20px 28px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.visual-terminal-body .prompt {
  color: var(--cyan);
  margin-right: 12px;
}

.terminal-link {
  font: inherit;
  color: var(--text-primary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.terminal-link:hover,
.terminal-link:focus-visible {
  color: var(--cyan);
  text-decoration: underline;
}

.skills-lab[hidden] {
  display: none;
}

.skills-lab {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: rgba(0, 0, 0, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.skills-lab-window {
  width: min(1100px, 100%);
  height: min(78vh, 760px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 8px;
  border: 1px solid #1f2937;
  background: #05080f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.skills-lab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #1f2937;
  font-family: var(--font-mono);
  background: #0a1220;
}

.skills-lab-bar h2 {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: #d5e5ff;
}

.skills-lab-close {
  background: none;
  border: none;
  color: #9fc6ff;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.skills-lab-close:hover {
  color: #d9ebff;
  text-decoration: underline;
}

.skills-lab-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 0;
}

.skills-tree {
  border-right: 1px solid #1f2937;
  padding: 20px;
  overflow: auto;
  font-family: var(--font-mono);
  background: #0a1220;
}

.tree-root,
.tree-folder {
  margin: 0 0 8px;
  color: #a9d6ff;
  font-size: 0.9rem;
}

.tree-folder {
  margin-top: 16px;
}

.tree-loading {
  margin: 6px 0 0;
  color: #8ea3bf;
  font-size: 0.85rem;
}

.tree-file {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 6px 10px 6px 18px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #c0d9f5;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
}

.tree-file:hover,
.tree-file.active {
  color: #ffffff;
  background: rgba(90, 167, 255, 0.25);
}

.skills-preview {
  padding: 20px 24px;
  overflow: auto;
  background: #05080f;
}

.skills-preview-path {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #9cd0ff;
}

.skills-markdown {
  color: #cde3fb;
}

.skills-markdown h1,
.skills-markdown h2,
.skills-markdown h3 {
  margin: 0 0 10px;
  color: #ffffff;
}

.skills-markdown p {
  margin: 0 0 12px;
}

.skills-markdown a {
  color: #9cd0ff;
  text-decoration: none;
}

.skills-markdown a:hover {
  text-decoration: underline;
}

.skills-markdown ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.skills-markdown code {
  font-family: var(--font-mono);
  background: #0b1627;
  border: 1px solid #1f2937;
  border-radius: 6px;
  padding: 1px 5px;
  color: #b8d4ff;
}

.skills-markdown pre {
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #1f2937;
  background: #030812;
  overflow: auto;
}

.skills-lab-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: #0a1220;
  color: #9fc6ff;
  border-top: 1px solid #1f2937;
}

.skills-markdown pre code {
  border: none;
  padding: 0;
  background: transparent;
}


.section {
  padding: 110px 0;
  position: relative;
}

.section-panel {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.section-panel--narrow {
  max-width: 720px;
  margin: 0 auto;
}

.section-head {
  max-width: 640px;
}

.section-head.compact {
  max-width: 460px;
}

.proof .section-head.compact {
  max-width: 780px;
}

.differentiation {
  text-align: center;
}

.differentiation p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.practice-grid {
  margin-top: 48px;
  display: grid;
  gap: 32px;
}

.practice-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  border: 1px solid rgba(77, 163, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: linear-gradient(145deg, rgba(11, 17, 26, 0.97), rgba(8, 12, 18, 0.95));
  box-shadow: 0 18px 45px rgba(5, 8, 15, 0.45);
}

.practice-card figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.practice-card img {
  width: 100%;
  display: block;
}

.practice-card figcaption {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 8px 12px;
  background: rgba(7, 11, 18, 0.9);
  color: var(--text-secondary);
}

.practice-content p {
  color: var(--text-secondary);
}

.card-grid,
.proof-grid,
.principle-grid,
.project-grid {
  margin-top: 48px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.principle,
.project,
.contact-card,
.profile-panel {
  background: linear-gradient(130deg, rgb(17 24 39 / 0.98), rgb(10 15 23 / 0.95));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 28px;
  box-shadow: 0 22px 40px rgb(5 8 15 / 0.45);
  transition: transform 0.3s ease, border 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::after,
.principle::after,
.project::after,
.profile-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgb(77 163 255 / 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::after,
.principle:hover::after,
.project:hover::after,
.profile-panel:hover::after {
  opacity: 1;
}

.card:hover,
.principle:hover,
.project:hover,
.profile-panel:hover {
  transform: translateY(-6px);
  border-color: var(--glow);
}

.proof-grid div {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(13, 19, 32, 0.8);
}

.proof-grid dt {
  font-size: 1.2rem;
  color: var(--glow);
}

.proof-note {
  margin-top: 44px;
  padding: 22px 24px;
  border-left: 3px solid var(--glow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.proof-note p {
  margin: 0;
  color: var(--text-secondary);
}

.proof-note p + p {
  margin-top: 12px;
}

.principle-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 18px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

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

.principles .principle-list {
  max-width: 780px;
  margin: 32px auto 0;
  text-align: center;
}

.principle h3,
.card h3,
.project h3 {
  margin-bottom: 12px;
}

.project-tag {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.project-meta {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.profile-panel ul {
  list-style: disc;
  margin-left: 20px;
  color: var(--text-secondary);
}

.profile-side p {
  color: var(--text-secondary);
}

.profile-side .eyebrow {
  color: var(--cyan);
}

.contact-cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}


.legal .section {
  padding-top: 140px;
}

.legal-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 48px;
  box-shadow: var(--shadow);
}

.legal-content section {
  margin-bottom: 32px;
}

.legal-content h2 {
  margin-bottom: 8px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: #05080f;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-links a,
.footer-consent {
  color: var(--text-secondary);
  text-decoration: none;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

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

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

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

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

@keyframes grid-glow {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.4;
  }
}

@keyframes caret-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes grid-glow {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.4;
  }
}

/* Consent */
.consent[hidden] {
  display: none;
}

.consent {
  position: fixed;
  inset: 0;
  background: rgb(5 8 15 / 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 24px;
}

.consent-dialog {
  width: min(520px, 100%);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.consent-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.consent-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(7, 11, 18, 0.6);
  border-radius: var(--radius-md);
}

.consent-label {
  font-weight: var(--fw-medium);
}

.consent-desc {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.switch {
  position: relative;
  width: 50px;
  height: 26px;
  display: inline-block;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch span {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transition: background 0.3s ease;
}

.switch span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-primary);
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}

.switch input:checked + span {
  background: var(--primary);
}

.switch input:checked + span::after {
  transform: translateX(24px);
}

.consent-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.consent-actions button,
.consent-close {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
}

.consent-actions .primary {
  border: none;
  background: var(--primary);
}

.consent-close {
  align-self: flex-end;
}

@media (max-width: 768px) {
  .site-nav[data-nav] ul {
    position: fixed;
    inset: 72px 16px auto;
    flex-direction: column;
    padding: 32px;
    background: rgb(7 11 18 / 0.95);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .site-nav.open ul {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .skills-lab-window {
    height: 92vh;
  }

  .skills-lab-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 180px 1fr;
  }

  .skills-tree {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.contact-editor {
  display: flex;
  justify-content: center;
}

.editor-window {
  width: min(760px, 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 24px;
  background: #05080f;
  box-shadow: 0 18px 45px rgba(5, 8, 15, 0.5);
  overflow: hidden;
}

.editor-bar,
.editor-footer {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  background: #03060d;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: none;
}

.editor-footer span + span {
  margin-left: 12px;
}

.editor-body {
  padding: 16px 24px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.editor-body a {
  color: var(--accent-glow);
  text-decoration: none;
}

.editor-body a:hover {
  text-decoration: underline;
}

.editor-prompt {
  color: var(--cyan);
}
.text-center {
  text-align: center;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.tech-focus-list {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.tech-focus-list.muted {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
