:root {
  color-scheme: dark;
  --bg: #080a0c;
  --panel: rgba(17, 22, 25, 0.78);
  --panel-strong: #11161a;
  --line: rgba(219, 232, 229, 0.14);
  --text: #edf4f1;
  --muted: #99a7a6;
  --green: #55f2a5;
  --blue: #69a7ff;
  --coral: #ff7b5d;
  --amber: #f6bc5d;
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(85, 242, 165, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 167, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 0%, rgba(255, 123, 93, 0.14), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(85, 242, 165, 0.08), transparent 28rem),
    var(--bg);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.06), rgba(8, 10, 12, 0.68));
  z-index: -1;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--green);
  color: #07100c;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.status-pill,
.button,
.eyebrow,
.tag,
.console-strip,
.metric span,
.role-card span {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  background: rgba(85, 242, 165, 0.09);
  color: var(--green);
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.62);
}

.site-nav a {
  padding: 0.48rem 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.status-pill {
  border: 1px solid rgba(85, 242, 165, 0.45);
  color: var(--green);
  padding: 0.48rem 0.7rem;
  font-size: 0.74rem;
  background: rgba(85, 242, 165, 0.07);
}

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

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 4rem 0 3rem;
}

.eyebrow,
.tag {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.1rem;
  font-size: clamp(3.2rem, 9vw, 7.8rem);
  line-height: 0.92;
  font-weight: 760;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  font-weight: 720;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-line {
  max-width: 720px;
  margin-bottom: 1rem;
  color: var(--coral);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  line-height: 1.08;
  font-weight: 680;
}

.hero-text,
.section-head p,
.contact p,
.mindset p,
.prose p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 0.82rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(237, 244, 241, 0.38);
  background: rgba(255, 255, 255, 0.075);
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #06100c;
  font-weight: 800;
}

.button.ghost {
  color: var(--green);
}

.hero-visual {
  position: relative;
  border: 1px solid rgba(237, 244, 241, 0.18);
  background: var(--panel);
  box-shadow: 0 30px 90px var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(85, 242, 165, 0.2);
  margin: 0.8rem;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.console-strip {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.74);
}

.console-strip span {
  padding: 0.62rem 0.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  border-right: 1px solid var(--line);
}

.console-strip span:last-child {
  border-right: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.48);
}

.metric {
  min-height: 8rem;
  padding: 1.1rem;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.4rem, 2vw, 2.15rem);
  line-height: 1.05;
}

.metric span {
  display: block;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.split,
.section-shell:not(.hero):not(.metrics) {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.split {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.prose {
  max-width: 720px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.role-grid,
.project-grid,
.creative-grid,
.skills-grid {
  display: grid;
  gap: 1rem;
}

.role-grid {
  grid-template-columns: repeat(4, 1fr);
}

.project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.creative-grid,
.skills-grid,
.mindset-columns {
  grid-template-columns: repeat(2, 1fr);
}

.skills-grid {
  grid-template-columns: repeat(3, 1fr);
}

.role-card,
.project-card,
.creative-grid article,
.skill-panel,
.mindset-columns > div {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.2rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.role-card:hover,
.project-card:hover,
.creative-grid article:hover,
.skill-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(85, 242, 165, 0.36);
  background: rgba(19, 27, 29, 0.88);
}

.role-card span {
  color: var(--blue);
  font-size: 0.76rem;
}

.role-card p,
.project-card p,
.creative-grid p,
.skill-panel li,
.mindset-columns p,
.site-footer {
  color: var(--muted);
}

.project-card {
  min-height: 15rem;
}

.creative-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skill-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-panel li {
  padding: 0.58rem 0;
  border-top: 1px solid var(--line);
}

.mindset {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  align-items: stretch;
}

.mindset > div:first-child {
  border: 1px solid var(--line);
  padding: 1.4rem;
  background:
    linear-gradient(135deg, rgba(85, 242, 165, 0.12), transparent 55%),
    rgba(8, 10, 12, 0.58);
}

.mindset-columns {
  display: grid;
  gap: 1rem;
}

.contact {
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact .contact-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .split,
  .mindset {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }

  .metrics,
  .role-grid,
  .project-grid,
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2n),
  .metric:last-child {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .status-pill {
    display: none;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
  }

  .site-nav a {
    text-align: center;
    padding-right: 0.35rem;
    padding-left: 0.35rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2.8rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .metrics,
  .role-grid,
  .project-grid,
  .creative-grid,
  .skills-grid,
  .mindset-columns {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .button,
  .contact-actions .button {
    width: 100%;
  }

  .console-strip {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .console-strip span {
    font-size: 0.62rem;
  }

  .site-footer {
    flex-direction: column;
  }
}
