:root {
  --ink: #02040a;
  --charcoal: #09111f;
  --cream: #050812;
  --paper: #02040a;
  --green: #00e5ff;
  --lime: #00e5ff;
  --orange: #ff2bd6;
  --line: rgba(0, 229, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: -0.08em;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.header-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 6vw;
  padding: 80px 5vw 70px;
  background:
    linear-gradient(rgba(20, 44, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 44, 39, 0.035) 1px, transparent 1px),
    var(--cream);
  background-size: 42px 42px;
}

.eyebrow,
.section-kicker {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.hero h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(58px, 7.4vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.065em;
  font-weight: 800;
}

.hero h1 em,
.contact h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 590px;
  margin: 36px 0 32px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: rgba(20, 44, 39, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: 180ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--lime);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero-status {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: end;
  margin-bottom: 18px;
}

.portrait-card {
  height: 300px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.82) contrast(1.02);
}

.portrait-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  background: rgba(20, 36, 58, 0.92);
  color: white;
  backdrop-filter: blur(8px);
}

.portrait-label span {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aabbd0;
}

.portrait-label strong {
  font-size: 13px;
}

.status-card,
.credential-card {
  border: 1px solid var(--line);
  background: rgba(250, 248, 241, 0.82);
}

.status-card {
  padding: 22px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 18px;
}

.status-grid div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.status-grid div + div {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.status-grid strong {
  font-size: 24px;
}

.status-grid span {
  font-size: 10px;
  color: rgba(20, 44, 39, 0.65);
}

.credential-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.credential-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--lime);
  color: white;
  font-family: "DM Mono", monospace;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50%;
  border: 7px solid #93b9f8;
  outline: 1px solid var(--lime);
}

.credential-card div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.credential-card div span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.credential-card strong {
  font-size: 14px;
}

.ticker {
  height: 64px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ticker-track {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 30px;
  animation: ticker 24s linear infinite;
}

.ticker-track b {
  color: var(--lime);
  font-size: 14px;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.about {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7vw;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.about-lead {
  margin: 34px 0 0;
  max-width: 580px;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.about-bio {
  margin: 34px 0 0;
  max-width: 620px;
  color: rgba(20, 44, 39, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.section {
  padding: 110px 5vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
  margin-bottom: 64px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-kicker {
  margin: 8px 0 0;
  color: rgba(20, 44, 39, 0.62);
}

.experience {
  background: var(--paper);
}

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline-item {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(20, 44, 39, 0.58);
}

.timeline-meta span:first-child {
  color: var(--ink);
}

.timeline-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.timeline-content h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.timeline-content .company {
  margin: 7px 0 0;
  color: var(--orange);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  grid-column: 1;
}

.timeline-content > p:not(.company) {
  grid-column: 1;
  margin: 24px 0 0;
  max-width: 520px;
  line-height: 1.65;
  color: rgba(20, 44, 39, 0.75);
}

.timeline-content ul {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  align-self: start;
}

.timeline-content li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.timeline-content li::before {
  content: "—";
  margin-right: 10px;
  color: var(--orange);
}

.projects {
  background: #edf2f7;
}

.projects-heading {
  grid-template-columns: 0.65fr 1.35fr;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-card {
  background: var(--paper);
  border: 1px solid rgba(20, 44, 39, 0.12);
}

.project-top {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.project-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  border: 1px solid var(--ink);
}

.project-visual {
  height: 360px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.stock-visual {
  background: var(--ink);
  color: #93b9f8;
  padding: 34px;
}

.terminal-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(216, 229, 154, 0.25);
  border-bottom: 0;
  padding-left: 12px;
}

.terminal-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #93b9f8;
  opacity: 0.65;
}

.chart {
  height: 260px;
  position: relative;
  border: 1px solid rgba(216, 229, 154, 0.25);
  background: linear-gradient(rgba(216, 229, 154, 0.025), transparent);
}

.chart-label {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.chart svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 90%;
}

.chart .grid {
  fill: none;
  stroke: rgba(147, 185, 248, 0.12);
  stroke-width: 1;
}

.chart .line-shadow {
  fill: none;
  stroke: rgba(147, 185, 248, 0.18);
  stroke-width: 12;
}

.chart .line {
  fill: none;
  stroke: #93b9f8;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: draw-chart 3s ease forwards;
}

@keyframes draw-chart {
  to { stroke-dashoffset: 0; }
}

.game-visual {
  background: #9cb7b1;
}

.game-sky {
  position: absolute;
  inset: 0 0 96px;
  background: linear-gradient(#9ebec2, #d5d8bb);
}

.sun {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  right: 14%;
  top: 45px;
  background: #efe6a7;
  box-shadow: 0 0 0 10px rgba(239, 230, 167, 0.12);
}

.cloud {
  position: absolute;
  width: 80px;
  height: 13px;
  border-radius: 20px;
  background: rgba(250, 248, 241, 0.72);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.cloud::before { width: 25px; height: 25px; left: 12px; bottom: 3px; }
.cloud::after { width: 36px; height: 36px; right: 12px; bottom: 2px; }
.cloud-one { left: 14%; top: 70px; }
.cloud-two { right: 30%; top: 120px; transform: scale(.7); }

.game-land {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: #718b5e;
  clip-path: polygon(0 34%, 16% 20%, 31% 32%, 48% 16%, 63% 28%, 81% 12%, 100% 27%, 100% 100%, 0 100%);
}

.mountain {
  position: absolute;
  bottom: 80px;
  width: 170px;
  height: 120px;
  background: #667b65;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.8;
}

.mountain-one { left: 4%; }
.mountain-two { right: 8%; transform: scale(.8); }

.hut {
  position: absolute;
  width: 74px;
  height: 48px;
  left: 45%;
  bottom: 24px;
  background: #a96f45;
  border: 3px solid #4d4b32;
}

.hut::before {
  content: "";
  position: absolute;
  width: 88px;
  height: 42px;
  left: -10px;
  top: -38px;
  background: #4d4b32;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hut span {
  position: absolute;
  width: 20px;
  height: 30px;
  left: 25px;
  bottom: 0;
  background: #39372b;
}

.tree {
  position: absolute;
  bottom: 28px;
  width: 8px;
  height: 52px;
  background: #4d4b32;
}

.tree::before {
  content: "";
  position: absolute;
  width: 48px;
  height: 55px;
  left: -20px;
  top: -38px;
  background: #4f704e;
  clip-path: polygon(50% 0, 100% 42%, 78% 42%, 100% 72%, 68% 72%, 85% 100%, 15% 100%, 32% 72%, 0 72%, 22% 42%, 0 42%);
}

.tree-one { left: 20%; }
.tree-two { right: 20%; transform: scale(.8); }

.project-info {
  padding: 28px;
}

.project-info h3 {
  margin: 0 0 12px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.project-info p {
  min-height: 66px;
  margin: 0 0 20px;
  color: rgba(20, 44, 39, 0.72);
  line-height: 1.55;
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.skills {
  background: var(--paper);
}

.skills-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}

.skill-list {
  border-top: 1px solid var(--ink);
}

.skill-list article {
  min-height: 106px;
  display: grid;
  grid-template-columns: 60px 0.55fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.skill-list article > span {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--orange);
}

.skill-list h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.skill-list p {
  margin: 0;
  line-height: 1.6;
  color: rgba(20, 44, 39, 0.68);
  font-size: 13px;
}

.education-card {
  min-height: 424px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--ink);
  color: var(--paper);
}

.education-card .section-kicker {
  color: rgba(250, 248, 241, 0.55);
}

.school-mark {
  width: 68px;
  height: 68px;
  margin: 38px 0 24px;
  border-radius: 50%;
  overflow: hidden;
}

.school-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.education-card h3 {
  max-width: 300px;
  margin: 0 0 10px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.education-card > p:not(.section-kicker) {
  max-width: 330px;
  margin: 0;
  color: rgba(250, 248, 241, 0.68);
  line-height: 1.55;
  font-size: 13px;
}

.education-footer {
  display: grid;
  grid-template-columns: 1fr 0.45fr;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(250, 248, 241, 0.18);
}

.education-footer div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.education-footer span {
  font-size: 9px;
  text-transform: uppercase;
  color: rgba(250, 248, 241, 0.55);
}

.education-footer strong {
  font-size: 13px;
}

.contact {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--lime);
  padding: 70px 5vw;
}

.contact .section-kicker {
  color: rgba(20, 44, 39, 0.65);
  margin-bottom: 24px;
}

.contact h2 {
  margin: 0 0 36px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.contact-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 16px;
  font-weight: 800;
}

footer {
  min-height: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 20px 5vw;
  background: var(--ink);
  color: var(--paper);
}

.footer-brand .brand-mark {
  border-color: var(--paper);
}

footer p {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(250, 248, 241, 0.58);
}

footer p:last-child {
  text-align: right;
}

/* Electric cyber theme */
body {
  color: #dffaff;
  background:
    radial-gradient(circle at 85% 12%, rgba(0, 229, 255, 0.08), transparent 24rem),
    var(--paper);
}

.noise {
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.025) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  background-size: 18px 18px, 18px 18px, auto;
}

.site-header {
  background: rgba(2, 4, 10, 0.92);
  border-bottom-color: rgba(0, 229, 255, 0.28);
  box-shadow: 0 1px 24px rgba(0, 229, 255, 0.05);
}

.brand-mark {
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.16);
}

.desktop-nav a::after,
.header-contact {
  background: transparent;
  border-bottom-color: var(--lime);
}

.desktop-nav a::after {
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

.header-contact {
  color: var(--lime);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}

.hero {
  background:
    radial-gradient(circle at 78% 48%, rgba(255, 43, 214, 0.08), transparent 16rem),
    linear-gradient(rgba(0, 229, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.055) 1px, transparent 1px),
    #050812;
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.hero h1 {
  color: #f2fdff;
  text-shadow: 0 0 28px rgba(0, 229, 255, 0.08);
}

.hero h1 em,
.contact h2 em {
  color: var(--lime);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.22);
}

.hero-intro,
.about-bio,
.timeline-content > p:not(.company),
.timeline-meta,
.project-info p,
.skill-list p,
.section-kicker {
  color: rgba(223, 250, 255, 0.68);
}

.eyebrow span,
.status-dot,
.ticker-track b,
.timeline-content li::before,
.skill-list article > span {
  background: var(--lime);
  color: var(--lime);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.55);
}

.eyebrow span {
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12), 0 0 12px var(--lime);
}

.button {
  border-color: rgba(0, 229, 255, 0.48);
  color: #dffaff;
}

.button-primary {
  background: var(--lime);
  color: #02040a;
  border-color: var(--lime);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.16);
}

.button-primary:hover,
.button-secondary:hover {
  background: #ff2bd6;
  color: #02040a;
  border-color: #ff2bd6;
  box-shadow: 0 0 22px rgba(255, 43, 214, 0.28);
}

.portrait-card,
.status-card,
.credential-card,
.project-card,
.education-card {
  border-color: rgba(0, 229, 255, 0.24);
  background: rgba(5, 8, 18, 0.94);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.035);
}

.portrait-card img {
  filter: none;
  mix-blend-mode: normal;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 65%, rgba(0, 229, 255, 0.12)),
    repeating-linear-gradient(0deg, rgba(0, 229, 255, 0.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}

.portrait-label {
  z-index: 2;
  background: rgba(2, 4, 10, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.22);
}

.status-card,
.credential-card {
  color: #dffaff;
}

.status-grid span,
.credential-card div span {
  color: rgba(223, 250, 255, 0.58);
}

.credential-icon {
  color: #02040a;
  border: 7px solid rgba(0, 229, 255, 0.18);
  outline-color: var(--lime);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.22);
}

.ticker {
  background: linear-gradient(90deg, #00a7bd, #02040a 25%, #02040a 75%, #ecfdff);
  color: #ecfdff;
  border-top: 1px solid var(--lime);
  border-bottom: 1px solid rgba(236, 253, 255, 0.6);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.12);
}

.about,
.experience,
.skills,
.project-card,
.skill-list,
.timeline,
.timeline-item,
.about-layout,
.tags span {
  background: var(--paper);
  border-color: var(--line);
}

.about-layout,
.timeline,
.timeline-item,
.skill-list {
  border-color: rgba(0, 229, 255, 0.32);
}

.about-lead,
.section-heading h2,
.timeline-content h3,
.project-info h3,
.skill-list h3,
.education-card h3,
.contact h2 {
  color: #ecfdff;
}

.timeline-meta span:first-child,
.timeline-content .company {
  color: var(--lime);
}

.projects {
  background:
    linear-gradient(rgba(0, 229, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.035) 1px, transparent 1px),
    #060914;
  background-size: 32px 32px;
}

.project-top {
  background: #02040a;
  color: #dffaff;
  border-bottom-color: var(--line);
}

.project-status::before {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.project-visual {
  border-bottom-color: var(--line);
}

.stock-visual {
  background:
    radial-gradient(circle at 50% 120%, rgba(0, 229, 255, 0.16), transparent 16rem),
    #02040a;
}

.terminal-bar,
.chart {
  border-color: rgba(0, 229, 255, 0.34);
}

.chart {
  background:
    linear-gradient(rgba(0, 229, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.035) 1px, transparent 1px);
  background-size: 20px 20px;
}

.chart .grid {
  stroke: rgba(0, 229, 255, 0.12);
}

.chart .line-shadow {
  stroke: rgba(0, 229, 255, 0.2);
}

.chart .line {
  stroke: var(--lime);
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.7));
}

.terminal-bar span {
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

.game-visual {
  background: #9cb7b1;
}

.tags span {
  color: #baf7ff;
  border-color: rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.035);
}

.education-card {
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.08), transparent 42%),
    #02040a;
  color: #ecfdff;
  border-color: rgba(0, 229, 255, 0.32);
}

.school-mark {
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.1);
}

.education-card .section-kicker,
.education-card > p:not(.section-kicker),
.education-footer span {
  color: rgba(223, 250, 255, 0.58);
}

.contact {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 14rem),
    linear-gradient(135deg, #00a7bd, #00e5ff 55%, #7dfff3);
  color: #02040a;
  box-shadow: inset 0 0 60px rgba(2, 4, 10, 0.24);
}

.contact h2,
.contact h2 em,
.contact .section-kicker,
.contact-link {
  color: #02040a;
  text-shadow: none;
  border-bottom-color: #02040a;
}

footer {
  background: #02040a;
  border-top: 1px solid rgba(0, 229, 255, 0.22);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr 1fr;
  }

  .desktop-nav {
    display: none;
  }

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

  .hero-status {
    width: min(440px, 100%);
  }

  .section-heading,
  .timeline-item,
  .about-layout,
  .skills-layout {
    grid-template-columns: 1fr;
  }

  .section-heading .section-kicker {
    margin-bottom: 28px;
  }

  .timeline-meta {
    margin-bottom: 24px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .education-card {
    margin-top: 18px;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 70px;
  }

  .brand-name {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero h1 {
    font-size: 51px;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading h2 {
    font-size: 46px;
  }

  .timeline-content {
    grid-template-columns: 1fr;
  }

  .timeline-content ul {
    grid-column: 1;
    grid-row: auto;
    margin-top: 28px;
  }

  .project-visual {
    height: 300px;
  }

  .stock-visual {
    padding: 20px;
  }

  .chart {
    height: 220px;
  }

  .skill-list article {
    grid-template-columns: 44px 1fr;
    padding: 18px 0;
  }

  .skill-list p {
    grid-column: 2;
  }

  .education-card {
    min-height: 390px;
  }

  .contact h2 {
    font-size: 48px;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p:first-of-type {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track,
  .chart .line {
    animation: none;
  }

  .chart .line {
    stroke-dashoffset: 0;
  }
}
