@charset "UTF-8";

:root {
  color-scheme: dark;
  --background: #060a09;
  --ink: #edf3ee;
  --muted: #a0afa6;
  --accent: #b4ff39;
  --cyan: #55e5df;
  --border: #29382e;
  --panel: #0c1410;
  --mono: "Cascadia Code", "Consolas", "Courier New", monospace;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
p, h1, h2, h3, h4 { margin: 0; }
::selection { background: var(--accent); color: var(--background); }
.container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 20px; background: var(--accent); color: var(--background); z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; border-bottom: 1px solid var(--border); }
.wordmark { display: inline-flex; align-items: center; gap: 13px; font-family: var(--mono); font-size: 16px; font-weight: 700; letter-spacing: -.5px; }
.monogram { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--accent); background: #b4ff390a; color: var(--accent); font-family: var(--mono); font-size: 19px; box-shadow: inset 0 0 18px #b4ff3908; }
nav { display: flex; flex-wrap: wrap; gap: 30px; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
nav a { padding-block: 8px; color: var(--muted); }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
nav a[aria-current="page"]::before { content: "> "; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; column-gap: 64px; row-gap: 48px; align-items: center; padding-block: 64px 28px; }
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 1.7px; text-transform: uppercase; color: var(--accent); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--accent); box-shadow: 0 0 10px #b4ff3980; }
h1 { font-size: clamp(40px, 4.5vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -2.5px; margin-block: 28px; }
h1 em { font-style: normal; font-weight: inherit; color: var(--accent); text-shadow: 0 0 40px #b4ff3919; }
.hero-intro { font-size: 18px; line-height: 1.7; margin-bottom: 14px; }
.muted { color: var(--muted); font-size: 14px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; font-family: var(--mono); font-size: 12px; font-weight: 600; transition: background .15s, border-color .15s, box-shadow .15s; }
.button-primary { background: var(--accent); color: var(--background); box-shadow: 4px 4px 0 #b4ff3920; }
.button-primary:hover { background: #d0ff87; box-shadow: 0 0 28px #b4ff3930; }
.button-outline { border-color: var(--border); }
.button-outline:hover { background: var(--panel); border-color: var(--accent); }
.text-link { font-family: var(--mono); font-size: 12px; }
.text-link span { margin-left: 12px; }
.text-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.profile-card { position: relative; border: 1px solid #536a39; background: #09100ded; box-shadow: 8px 8px 0 #b4ff3907, 0 0 60px #b4ff3906; }
.profile-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--border); background: #121b13; }
.profile-card h2 { font-family: var(--mono); font-size: 25px; font-weight: 700; letter-spacing: -1px; margin-top: 12px; }
.profile-role { color: var(--muted); font-size: 13px; margin-top: 3px; }
.profile-details { margin: 23px 0; padding-block: 16px; border-block: 1px solid var(--border); font-family: var(--mono); font-size: 11px; }
.profile-details div { display: grid; grid-template-columns: 85px 1fr; gap: 16px; padding-block: 6px; }
.profile-details dt { color: var(--muted); }
.profile-details dd { margin: 0; overflow-wrap: anywhere; }
.section { padding-block: 58px 64px; border-top: 1px solid var(--border); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 40px; }
.section-heading h2, .contact-section h2 { font-size: 34px; font-weight: 650; letter-spacing: -1.2px; margin-top: 9px; line-height: 1.3; }
.resume-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 64px; }
.column-heading { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 1.3px; text-transform: uppercase; margin-bottom: 26px; color: var(--cyan); }
.column-heading::before { content: "[ "; color: var(--accent); }
.column-heading::after { content: " ]"; color: var(--accent); }
.experience-item { padding: 0 0 25px 20px; border-left: 1px solid var(--border); position: relative; }
.experience-item::before { content: ""; position: absolute; top: 9px; left: -4px; width: 7px; height: 7px; background: var(--accent); border-radius: 1px; }
.experience-item:last-child { padding-bottom: 0; }
.entry-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 15px; }
h4 { font-size: 16px; font-weight: 600; line-height: 1.5; }
.date { font-family: var(--mono); font-size: 10px; color: var(--muted); white-space: nowrap; }
.organization { font-size: 13px; margin-top: 5px; color: var(--accent); }
.organization span { color: var(--muted); }
.experience-item ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.experience-item li { padding-left: 3px; margin-bottom: 5px; }
.resume-sidebar { border: 1px solid var(--border); background: var(--panel); padding: 26px; align-self: start; }
.resume-sidebar .muted { font-size: 13px; margin-top: 10px; }
.education-date { color: var(--accent); font-size: 12px; margin-top: 12px; }
.resume-sidebar section + section { margin-top: 34px; }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.skill-list li { border: 1px solid var(--border); background: var(--background); color: var(--cyan); padding: 5px 10px; font-family: var(--mono); font-size: 11px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); background: linear-gradient(135deg, #132015, #0b110e 65%); padding: 25px; transition: border-color .2s, background .2s, transform .2s; }
.project-card:hover { border-color: var(--accent); background: #132015; transform: translateY(-4px); box-shadow: 0 8px 30px #b4ff3908; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.project-meta > span:last-child { font-size: 18px; line-height: 1; }
.project-card h3 { margin-top: 28px; font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -.5px; }
.project-card p { font-size: 13px; margin-block: 16px 28px; color: var(--muted); }
.project-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.section-note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 17px; }
.contact-section { display: flex; justify-content: space-between; align-items: center; gap: 40px; background: linear-gradient(110deg, #172410, #0b130f); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 38px; margin-bottom: 64px; }
.contact-section p:not(.eyebrow) { font-size: 13px; color: var(--muted); margin-top: 10px; }
.contact-links { min-width: 200px; }
.contact-links a { display: flex; justify-content: space-between; gap: 30px; padding-block: 9px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 12px; }
.contact-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 25px 30px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 10px; color: var(--muted); }
.page-intro { padding-block: 68px 44px; max-width: 680px; }
.page-intro h1 { margin-block: 15px 22px; }
.page-intro > p:last-child { color: var(--muted); }
.project-list { padding-bottom: 76px; }
.back-link { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 35px; }
.back-link:hover { text-decoration: underline; }
.project-placeholder { min-height: 65vh; padding-block: 58px 100px; }
.project-placeholder h1 { max-width: 800px; }
.coming-soon { color: var(--muted); font-size: 17px; }


/* Circuit grid and terminal details. */
body { isolation: isolate; }
body::before { content: ""; position: absolute; inset: 0 0 auto; height: 1000px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, transparent 40%, var(--background)), radial-gradient(ellipse at 80% 20%, #b4ff3912, transparent 60%), linear-gradient(#b4ff390a 1px, transparent 1px), linear-gradient(90deg, #b4ff390a 1px, transparent 1px); background-size: auto, auto, 56px 56px, 56px 56px; }
.site-header { position: relative; }
.site-header::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 72px; height: 2px; background: var(--accent); box-shadow: 0 0 12px #b4ff3950; }
.hero-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); padding-top: 18px; font-family: var(--mono); font-size: 9px; letter-spacing: 1.3px; color: var(--muted); }
.scroll-cue { color: var(--accent); }
.profile-card::before, .profile-card::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 1; }
.profile-card::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.profile-card::after { right: -1px; bottom: -1px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.security-visual { display: grid; grid-template-rows: auto 144px auto; gap: 8px; padding: 12px 16px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at center, #b4ff3910, transparent 65%), repeating-linear-gradient(0deg, transparent 0 3px, #b4ff3903 3px 4px); }
.visual-label, .visual-caption { font-family: var(--mono); font-size: 8px; letter-spacing: 1.5px; color: var(--muted); }
.visual-caption { justify-self: end; color: var(--cyan); }
.security-network { display: block; width: 100%; height: 144px; }
.network-orbits { stroke: var(--accent); stroke-opacity: .18; stroke-dasharray: 3 5; }
.network-traces { stroke: var(--accent); stroke-opacity: .55; }
.network-nodes { fill: var(--accent); filter: drop-shadow(0 0 4px #b4ff3980); }
.network-shield { stroke: var(--accent); stroke-width: 1.5; fill: #132513; filter: drop-shadow(0 0 8px #b4ff3925); }
.network-check { stroke: var(--accent); stroke-width: 3; stroke-linecap: square; }
.terminal-dots { display: inline-flex; gap: 6px; }
.terminal-dots i { width: 6px; height: 6px; border: 1px solid #607b52; }
.terminal-dots i:first-child { background: var(--accent); border-color: var(--accent); }
.terminal-title { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.terminal-body { padding: 27px 25px 24px; }
.terminal-command { font-family: var(--mono); font-size: 12px; color: var(--cyan); }
.terminal-command .prompt { color: var(--accent); margin-right: 9px; }
.focus-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 13px 0 0; }
.focus-list li { font-family: var(--mono); font-size: 10px; color: var(--accent); border: 1px solid #b4ff3933; background: #b4ff3908; padding: 4px 8px; }
.terminal-prompt { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.terminal-cursor { display: inline-block; width: 7px; height: 13px; vertical-align: -2px; margin-left: 5px; background: var(--accent); animation: cursor-blink 1.4s step-end infinite; }
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.project-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 34px; height: 3px; background: var(--accent); }
.project-card::after { content: ""; position: absolute; right: 7px; bottom: 7px; width: 9px; height: 9px; border-right: 1px solid #b4ff3950; border-bottom: 1px solid #b4ff3950; }
.section-note::before { content: "// "; color: var(--accent); }
.contact-links a span, .text-link span { color: var(--accent); }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 35px; }
  .resume-layout { gap: 32px; }
  .project-grid { gap: 12px; }
  .project-card { padding: 20px; }
  .project-card h3 { font-size: 20px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 100px; padding-block: 20px; flex-wrap: wrap; gap: 12px; }
  nav { gap: 20px; font-size: 10px; letter-spacing: .5px; }
  .hero { grid-template-columns: 1fr; padding-block: 52px; gap: 35px; }
  h1 { font-size: clamp(36px, 7.8vw, 54px); letter-spacing: -1.5px; }
  .hero-intro { font-size: 17px; }
  .profile-card { width: 100%; }
  .section { padding-block: 40px; }
  .section-heading { flex-wrap: wrap; margin-bottom: 30px; }
  .section-heading h2, .contact-section h2 { font-size: 29px; }
  .resume-layout { grid-template-columns: 1fr; gap: 35px; }
  .resume-sidebar { padding: 24px; }
  .hero-footer { font-size: 8px; letter-spacing: 1px; }
  .hero-footer > span:nth-child(2) { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card { padding: 25px; }
  .project-card h3 { font-size: 24px; margin-top: 20px; }
  .contact-section { flex-direction: column; align-items: stretch; padding: 28px; gap: 20px; margin-bottom: 40px; }
  .site-footer > span:nth-child(2) { display: none; }
  .page-intro { padding-top: 45px; }
  .project-placeholder { padding-block: 40px 70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
