@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --ink: #171a1d;
  --paper: #f3f0e9;
  --paper-bright: #fffdf8;
  --line: #c9c6bd;
  --signal: #13a8a2;
  --coral: #ef624f;
  --yellow: #f2b84b;
  --terminal: #111517;
  --terminal-text: #d9f99d;
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', sans-serif;
}

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body.theme-purple {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(23, 26, 29, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 26, 29, .055) 1px, transparent 1px);
  background-size: 28px 28px;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
}

body.is-booting { overflow: hidden; }
body.is-booting .page-home .navbar, body.is-booting .hero-meta { opacity: 0; pointer-events: none; }

a { color: #087d79; transition: color .2s ease; }
a:hover, a:focus { color: var(--coral); text-decoration: none; }
.vg-page { width: 100%; overflow: visible; background: transparent; }
.page-home { min-height: 100vh; height: auto; background: var(--paper); }
.page-home::before {
  z-index: 0;
  background-color: transparent;
  background-image: linear-gradient(rgba(19, 168, 162, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 168, 162, .08) 1px, transparent 1px);
  background-size: 36px 36px;
}

.page-home .navbar, .page-home .navbar.floating {
  top: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(17, 21, 23, .97) !important;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity .25s ease, transform .25s ease;
}

body.show-site-nav .page-home .navbar { opacity: 1; pointer-events: auto; transform: translateY(0); }

.navbar-brand img { filter: grayscale(1) brightness(4); }
.navbar-dark .navbar-nav .nav-link { padding: 8px 14px; color: #d8dedf; font: 13px var(--mono); }
.navbar-dark .navbar-nav .nav-link::before { content: './'; color: var(--signal); }
.navbar-dark .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link:hover { color: #fff; }

.page-home .hero-shell {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100vh;
  height: auto;
  margin: 0 auto;
  padding: 0;
  color: var(--ink);
}

.terminal-window {
  width: 100%;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--terminal);
  box-shadow: none;
}

.terminal-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #333b3e;
  color: #9aa4a7;
  background: #22282b;
  font: 11px var(--mono);
}

.window-controls { display: flex; gap: 7px; }
.window-controls span { width: 11px; height: 11px; border-radius: 50%; background: var(--coral); }
.window-controls span:nth-child(2) { background: var(--yellow); }
.window-controls span:nth-child(3) { background: #31c854; }
.terminal-status { justify-self: end; color: #31c854; }
.terminal-status::before { content: '[+] '; }

.terminal-body {
  position: relative;
  height: calc(100vh - 42px);
  min-height: 0;
  overflow-y: auto;
  padding: clamp(28px, 5vw, 58px);
  background-image:
    linear-gradient(rgba(19, 168, 162, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 168, 162, .035) 1px, transparent 1px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0, rgba(255, 255, 255, .018) 1px, transparent 1px, transparent 4px);
  background-size: 42px 42px, 42px 42px, auto;
}

.terminal-body::after { position: absolute; inset: 0; z-index: 0; content: ''; pointer-events: none; opacity: .16; background: linear-gradient(transparent, rgba(217, 249, 157, .18), transparent) center -90px / 100% 90px no-repeat; animation: terminal-scan 8s linear infinite; }

.boot-screen { position: relative; z-index: 1; display: grid; align-content: center; width: min(1050px, 100%); min-height: 100%; margin: 0 auto; color: #cfd7d8; font-family: var(--mono); }
.boot-mark { margin-bottom: 24px; color: var(--signal); font: 500 clamp(44px, 8vw, 72px)/1 var(--mono); }
.boot-mark span { color: var(--terminal-text); animation: blink 1s steps(1) infinite; }
.boot-title { margin: 0 0 36px; color: #fff; font: 500 clamp(18px, 3vw, 24px) var(--mono); }
.boot-title span { color: #748084; font-size: 12px; }
.boot-log { min-height: 22px; margin-bottom: 12px; color: #9ca7aa; font: 12px/1.6 var(--mono); }
.boot-progress { width: 100%; height: 14px; padding: 2px; border: 1px solid #526064; background: #090c0d; }
.boot-progress span { display: block; width: 0; height: 100%; background: repeating-linear-gradient(90deg, var(--signal) 0, var(--signal) 12px, transparent 12px, transparent 15px); transition: width .14s linear; }
.boot-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: var(--terminal-text); font: 11px var(--mono); }
.boot-meta button { min-height: 44px; padding: 4px 0 4px 12px; border: 0; color: #7f8b8e; background: transparent; font: 11px var(--mono); cursor: pointer; }
.boot-meta button:hover, .boot-meta button:focus { color: var(--terminal-text); outline: 0; }
.terminal-main { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: clamp(34px, 5vw, 70px); align-items: center; width: min(1100px, 100%); min-height: 100%; margin: 0 auto; opacity: 1; transition: opacity .35s ease; }
body.is-booting .terminal-main { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
body:not(.is-booting) .boot-screen { display: none; }
body:not(.is-booting) .page-home .navbar, body:not(.is-booting) .hero-meta { transition: opacity .4s ease; }

.terminal-primary { min-width: 0; }
.terminal-command { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: #9aa4a7; font: clamp(13px, 2vw, 16px) var(--mono); }
.terminal-command::after { width: 48px; height: 1px; content: ''; background: #344044; }
.terminal-command span, .terminal-cursor span { color: var(--signal); }
.page-home .terminal-body h1 { margin: 0 0 8px; color: #f7f5ef; font: 800 clamp(42px, 8vw, 84px)/1 var(--sans); letter-spacing: 0; }
.hero-role { margin: 0 0 38px; color: var(--terminal-text); font: clamp(16px, 2.5vw, 22px) var(--mono); }
.hero-summary { max-width: 700px; margin: 0; color: #d2d9da; font-size: clamp(17px, 2.1vw, 21px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-terminal { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #637074; color: #f7f5ef; font: 13px var(--mono); }
.btn-terminal::before { margin-right: 8px; content: '> '; color: var(--signal); }
.btn-terminal.primary { border-color: var(--signal); color: var(--terminal); background: var(--signal); }
.btn-terminal.primary::before { color: var(--terminal); }
.btn-terminal:hover { border-color: var(--coral); color: var(--terminal); background: var(--coral); }
.terminal-session { margin-top: 28px; padding-top: 18px; border-top: 1px solid #30383b; font-family: var(--mono); }
.terminal-output { max-height: 260px; overflow-y: auto; scrollbar-color: #465155 transparent; scrollbar-width: thin; }
.terminal-line { margin: 0 0 6px; color: #d2d9da; font: 12px/1.55 var(--mono); white-space: pre-wrap; }
.terminal-invocation { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; margin: 12px 0 8px; padding: 5px 8px 7px; overflow: hidden; border-bottom: 1px solid #283236; font: 10px var(--mono); }
.terminal-invocation:first-child { margin-top: 0; }
.terminal-invocation::after { position: absolute; bottom: -1px; left: 0; width: 36%; height: 1px; content: ''; background: linear-gradient(90deg, var(--signal), transparent); animation: invocation-scan .7s ease-out both; }
.terminal-invocation span { color: #657174; }
.terminal-invocation code { min-width: 0; overflow: hidden; color: #e1e6e4; font: inherit; text-overflow: ellipsis; white-space: nowrap; }
.terminal-invocation b { padding: 2px 5px; border: 1px solid #3c4a4e; color: var(--signal); font-size: 8px; font-weight: 500; }
@keyframes invocation-scan { from { width: 0; opacity: 1; } to { width: 100%; opacity: .18; } }
.terminal-line.section-title { margin-top: 10px; color: var(--yellow); font-weight: 500; }
.terminal-line.success { color: var(--terminal-text); }
.terminal-line.error { color: #ff7d70; }
.terminal-line.muted { color: #8f9a9d; }
.byte-pet { display: grid; grid-template-columns: 102px minmax(0, 1fr); min-height: 88px; margin-top: 10px; overflow: hidden; border: 1px solid #354044; color: #cfd7d8; background: rgba(6, 10, 11, .9); box-shadow: inset 3px 0 0 var(--terminal-text); font-family: var(--mono); }
.byte-pet[hidden] { display: none; }
.byte-stage { position: relative; display: grid; place-items: center; border-right: 1px solid #354044; background: repeating-linear-gradient(0deg, rgba(217, 249, 157, .03) 0, rgba(217, 249, 157, .03) 1px, transparent 1px, transparent 4px); }
.byte-stage pre { margin: 0; color: var(--terminal-text); font: 11px/1.15 var(--mono); text-align: center; white-space: pre; }
.byte-snack { position: absolute; top: 50%; right: 7px; color: var(--yellow); font-size: 7px; opacity: 0; transform: translateY(-50%); }
.byte-console { min-width: 0; padding: 8px 10px 7px; }
.byte-heading { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; font-size: 9px; }
.byte-heading strong { color: var(--terminal-text); font-weight: 500; }
.byte-heading span { color: #7e8a8d; }
.byte-meter { display: grid; grid-template-columns: 38px minmax(0, 1fr) 30px; gap: 7px; align-items: center; margin-top: 4px; color: #697578; font-size: 7px; }
.byte-meter i { height: 4px; overflow: hidden; background: #242d30; }
.byte-meter i b { display: block; width: 0; height: 100%; background: var(--terminal-text); transition: width .45s ease, background-color .3s ease; }
.byte-meter output { color: #9aa4a7; font: inherit; text-align: right; }
.byte-console p { margin: 5px 0 0; overflow: hidden; color: #9aa4a7; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.byte-pet.is-eating .byte-stage pre { animation: byte-chomp .24s steps(2) 4; }
.byte-pet.is-eating .byte-snack { animation: byte-snack .9s ease-in both; }
.byte-pet.is-petted .byte-stage pre { animation: byte-happy .35s ease-in-out 3; }
.byte-pet.is-sleepy .byte-stage pre { opacity: .72; }
.byte-pet.is-stuffed { box-shadow: inset 3px 0 0 var(--yellow); }
@keyframes byte-chomp { 50% { transform: translateY(2px) scaleY(.88); } }
@keyframes byte-snack { 0% { opacity: 1; transform: translate(0, -50%); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-35px, -50%); } }
@keyframes byte-happy { 50% { transform: translateY(-3px) rotate(2deg); } }
.microsoft-ascii { display: grid; grid-template-columns: repeat(2, max-content); gap: 3px 8px; width: max-content; margin: 12px 0 8px; padding: 12px 14px; border: 1px solid #354044; background: rgba(6, 10, 11, .86); font-family: var(--mono); }
.microsoft-ascii-tile { font-size: 9px; font-weight: 500; line-height: .8; white-space: pre; }
.microsoft-ascii-tile.red { color: #f25022; }
.microsoft-ascii-tile.green { color: #7fba00; }
.microsoft-ascii-tile.blue { color: #00a4ef; }
.microsoft-ascii-tile.yellow { color: #ffb900; }
.microsoft-ascii strong { grid-column: 1 / -1; margin-top: 7px; color: #d2d9da; font-size: 10px; font-weight: 500; letter-spacing: 2px; text-align: center; }
.experience-terminal { margin: 9px 0 4px; border-top: 1px solid #354044; }
.experience-terminal-entry { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 82px; padding: 11px 0; border-bottom: 1px solid #2d373a; }
.company-ascii { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; overflow: visible; background: transparent; font: 500 9px/1 var(--mono); text-align: left; }
.company-ascii-line { display: block; min-height: 9px; white-space: pre; }
.ascii-ms-red { color: #f25022; }
.ascii-ms-green { color: #7fba00; }
.ascii-ms-blue { color: #00a4ef; }
.ascii-ms-yellow { color: #ffb900; }
.ascii-ellu-purple { color: #7100eb; }
.ascii-vt-maroon { color: #7e2f4b; text-shadow: 1px 0 #dfa43b; }
.ascii-philips-blue { color: #1474e5; }
.ascii-philips-cyan { color: #5ed9ff; }
.ascii-philips-light { color: #d9f3ff; }
.company-ascii.philips { align-items: center; color: #1474e5; font-size: 4px; }
.company-ascii.philips .company-ascii-line { min-height: 6px; }
.experience-terminal-entry.microsoft .experience-terminal-copy strong { color: #7fba00; }
.experience-terminal-entry.ellucian .experience-terminal-copy strong { color: #9b57ff; }
.experience-terminal-entry.virginia-tech .experience-terminal-copy strong { color: #dfa43b; }
.experience-terminal-entry.philips .experience-terminal-copy strong { color: #5ed9ff; }
.experience-terminal-copy { min-width: 0; }
.experience-terminal-copy time, .experience-terminal-copy strong, .experience-terminal-copy span { display: block; }
.experience-terminal-copy time { margin-bottom: 2px; color: #697578; font-size: 8px; }
.experience-terminal-copy strong { color: #f0f2ed; font-size: 11px; font-weight: 500; }
.experience-terminal-copy span { margin-top: 3px; color: #9aa4a7; font-size: 9px; line-height: 1.35; }
.terminal-prompt { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; min-height: 48px; margin: 10px 0 0; padding: 0 13px; border: 1px solid #354044; color: var(--signal); background: rgba(6, 10, 11, .72); box-shadow: inset 3px 0 0 var(--signal); font: 13px var(--mono); cursor: text; transition: border-color .2s ease, background-color .2s ease; }
.byte-cursor-companion { position: absolute; top: 2px; left: 0; z-index: 2; color: var(--yellow); font: 7px/1 var(--mono); text-shadow: 0 0 5px rgba(255, 212, 92, .55); pointer-events: none; transform: translateX(-50%); transition: left .09s linear, color .25s ease; }
.byte-cursor-companion[hidden] { display: none; }
.byte-cursor-companion.is-walking { animation: byte-walk .24s steps(2) infinite; }
.byte-cursor-companion.is-eating { animation: byte-cursor-chomp .2s steps(2) 5; }
.byte-cursor-companion.is-petted { animation: byte-cursor-happy .3s ease-in-out 3; }
@keyframes byte-walk { 50% { margin-top: 1px; } }
@keyframes byte-cursor-chomp { 50% { transform: translateX(-50%) scaleY(.72); } }
@keyframes byte-cursor-happy { 50% { transform: translate(-50%, -2px) rotate(4deg); } }
.terminal-prompt:focus-within { border-color: var(--signal); background: #080d0f; }
.terminal-prompt input { width: 100%; min-width: 0; padding: 4px 0; border: 0; border-radius: 0; outline: 0; color: var(--terminal-text); caret-color: var(--terminal-text); background: transparent; font: 13px var(--mono); box-shadow: none; }
.terminal-prompt input:focus { outline: 0; }
.terminal-window.matrix-mode .terminal-body { background-color: #031407; }
.terminal-window.matrix-mode .terminal-line, .terminal-window.matrix-mode .hero-summary { color: #68ff7e; }
.rickroll-dialog { width: min(880px, calc(100vw - 32px)); max-width: none; padding: 0; overflow: hidden; border: 1px solid #506064; border-radius: 0; color: #d2d9da; background: #070b0c; box-shadow: 0 24px 80px rgba(0, 0, 0, .72); font-family: var(--mono); }
.rickroll-dialog::backdrop { background: rgba(3, 7, 8, .86); backdrop-filter: blur(3px); }
.rickroll-bar { display: flex; justify-content: space-between; align-items: center; min-height: 42px; padding-left: 14px; border-bottom: 1px solid #354044; color: var(--terminal-text); background: #171d1f; font-size: 11px; }
.rickroll-bar button { width: 44px; height: 42px; padding: 0; border: 0; border-left: 1px solid #354044; color: #d2d9da; background: transparent; font: 24px/1 var(--mono); cursor: pointer; }
.rickroll-bar button:hover, .rickroll-bar button:focus { color: #070b0c; background: var(--coral); outline: 0; }
.rickroll-screen { aspect-ratio: 16 / 9; overflow: hidden; background: #020506; }
.rickroll-player { position: relative; width: 100%; height: 100%; overflow: hidden; background: #081113; isolation: isolate; }
.rickroll-player::before { position: absolute; inset: 0; z-index: 2; content: ''; pointer-events: none; background: linear-gradient(90deg, transparent 47%, rgba(8, 17, 19, .86) 57%, #081113 74%), repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(217, 249, 157, .055) 3px, rgba(217, 249, 157, .055) 4px); }
.rickroll-player::after { position: absolute; top: 0; right: 0; z-index: 3; width: 8px; height: 100%; content: ''; background: linear-gradient(var(--coral) 0 33%, var(--yellow) 33% 66%, var(--signal) 66%); }
.rickroll-player > img { position: absolute; inset: -8% auto -8% -3%; z-index: 1; width: 62%; height: 116%; object-fit: cover; object-position: 50% 50%; filter: saturate(.78) contrast(1.12) brightness(.74); }
.rickroll-channel { position: absolute; top: 6%; left: 4%; z-index: 4; display: flex; align-items: center; gap: 8px; color: #fff; font-size: clamp(7px, 1.2vw, 11px); }
.rickroll-channel span { padding: 3px 6px; color: #081113; background: var(--coral); font-weight: 500; }
.rickroll-channel strong { font-weight: 500; letter-spacing: 0; }
.rickroll-channel a { padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: .8em; opacity: .72; }
.rickroll-channel a:hover, .rickroll-channel a:focus { color: var(--yellow); opacity: 1; }
.rickroll-copy { position: absolute; top: 24%; right: 5%; z-index: 4; width: 46%; min-width: 0; }
.rickroll-copy > span { display: block; margin-bottom: 10px; color: var(--yellow); font-size: clamp(7px, 1vw, 10px); }
.rickroll-copy strong { display: block; color: #fff; font: 800 clamp(21px, 4.2vw, 46px)/.97 var(--sans); }
.rickroll-copy small { display: block; margin-top: 15px; color: var(--coral); font: clamp(7px, 1vw, 10px) var(--mono); }
.rickroll-equalizer { position: absolute; right: 6%; bottom: 15%; z-index: 4; display: flex; align-items: end; gap: 4px; width: 38%; height: 24px; }
.rickroll-equalizer i { flex: 1; height: 20%; background: var(--signal); transform-origin: bottom; }
.rickroll-player.is-playing .rickroll-equalizer i { animation: rickroll-level .7s ease-in-out infinite alternate; }
.rickroll-player.is-playing .rickroll-equalizer i:nth-child(2n) { animation-duration: .45s; }
.rickroll-player.is-playing .rickroll-equalizer i:nth-child(3n) { animation-duration: .85s; }
.rickroll-player.is-playing > img { animation: rickroll-camera 9s ease-in-out infinite alternate; }
.rickroll-ticker { position: absolute; right: 0; bottom: 0; left: 0; z-index: 5; height: 24px; overflow: hidden; color: #081113; background: var(--terminal-text); font: 9px/24px var(--mono); white-space: nowrap; }
.rickroll-ticker span { display: inline-block; min-width: max-content; }
.rickroll-player.is-playing .rickroll-ticker span { animation: rickroll-ticker 9s linear infinite; }
.rickroll-controls { display: grid; grid-template-columns: 42px minmax(0, 1fr) 48px; align-items: center; min-height: 42px; border-top: 1px solid #293336; border-bottom: 1px solid #293336; }
.rickroll-controls button { width: 42px; height: 42px; border: 0; border-right: 1px solid #293336; color: var(--terminal-text); background: transparent; font: 14px var(--mono); cursor: pointer; }
.rickroll-controls > span { height: 4px; margin: 0 12px; overflow: hidden; background: #20292c; }
.rickroll-controls > span i { display: block; width: 0; height: 100%; background: var(--coral); }
.rickroll-controls output { color: #829093; font: 9px var(--mono); }
.rickroll-dialog > p { margin: 0; padding: 9px 14px 10px; color: #ffb86b; font-size: 9px; }
@keyframes rickroll-level { from { height: 16%; } to { height: 100%; } }
@keyframes rickroll-camera { from { transform: scale(1); } to { transform: scale(1.06) translateX(-1.5%); } }
@keyframes rickroll-ticker { to { transform: translateX(-50%); } }

.system-panel { align-self: center; padding-left: 26px; border-left: 1px solid #354044; color: #cbd2d3; font-family: var(--mono); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: #899497; font-size: 10px; letter-spacing: 0; }
.panel-heading::before { margin-right: 8px; content: '::'; color: var(--signal); }
.panel-heading span { margin-right: auto; }
.panel-heading b { color: var(--terminal-text); font-weight: 400; }
.context-stack { margin: 0 0 22px; border-top: 1px solid #354044; }
.context-stack div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid #2d373a; }
.context-stack dt { margin: 0; color: #697578; font-size: 9px; font-weight: 400; }
.context-stack dd { min-width: 0; margin: 0; color: #e1e6e4; font-size: 11px; line-height: 1.35; }
.context-stack div:nth-child(2) dd { color: var(--terminal-text); }
.context-stack div:nth-child(3) dd { color: var(--yellow); }
.build-state { position: relative; padding-left: 10px; }
.build-state::before { position: absolute; top: 50%; left: 0; width: 5px; height: 5px; border-radius: 50%; content: ''; background: #31c854; box-shadow: 0 0 7px #31c854; transform: translateY(-50%); animation: blink 1.8s steps(1) infinite; }
.build-card { margin-bottom: 22px; padding: 13px; border: 1px solid #354044; border-left: 2px solid var(--coral); background: rgba(9, 14, 16, .8); }
.build-card > strong { display: block; color: #f0f2ed; font-size: 12px; font-weight: 500; }
.build-card p { margin: 7px 0 12px; color: #899497; font-size: 10px; line-height: 1.55; }
.build-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 5px; align-items: center; }
.build-flow span { padding: 5px 3px; border: 1px solid #354044; color: var(--signal); font-size: 8px; text-align: center; text-transform: uppercase; }
.build-flow i { color: #697578; font-size: 9px; font-style: normal; }
.quick-commands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 22px; }
.quick-commands button { min-height: 44px; padding: 0 9px; border: 1px solid #354044; border-radius: 0; color: #aeb8ba; background: rgba(9, 14, 16, .8); font: 10px var(--mono); text-align: left; cursor: pointer; transition: border-color .18s ease, color .18s ease, background-color .18s ease; }
.quick-commands button:hover, .quick-commands button:focus { border-color: var(--signal); outline: 0; color: #071011; background: var(--signal); }

@keyframes terminal-scan { from { background-position: center -90px; } to { background-position: center calc(100% + 90px); } }

.hero-meta { display: none; grid-template-columns: repeat(3, 1fr); width: min(880px, 100%); margin: 38px auto 0; border: 1px solid var(--ink); background: var(--paper-bright); }
.hero-meta span { padding: 16px 18px; border-right: 1px solid var(--ink); font: 12px var(--mono); text-transform: uppercase; }
.hero-meta span:last-child { border-right: 0; }
.hero-meta b { margin-right: 8px; color: var(--coral); }
.page-home .floating-button { display: none; }

.page-about, .page-service, .page-blog { background: transparent; }
.page-about { padding-top: 40px; }
.container { max-width: 1120px; }
.badge-subhead { margin-bottom: 14px; padding: 5px 9px; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--yellow); font: 500 12px var(--mono); text-transform: uppercase; }
.fw-normal, .fw-light { color: var(--ink); font-weight: 700; }
h1.fw-normal, .page-blog > .container > h1, .page-service h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: 0; }

.page-about .img-place { width: 100%; max-width: 320px; height: 420px; border: 1px solid var(--ink); background: var(--signal); box-shadow: 12px 12px 0 var(--ink); overflow: hidden; }
.page-about .img-place::before { display: none; }
.page-about .img-place img { width: 100%; height: 100% !important; object-fit: cover; filter: saturate(.82) contrast(1.04); }
.profile-status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #087d79; font: 500 12px var(--mono); text-transform: uppercase; }
.profile-status::before { width: 8px; height: 8px; border-radius: 50%; content: ''; background: #22a447; box-shadow: 0 0 0 4px rgba(34, 164, 71, .13); }
.lead-copy { color: #444b4e; font-size: 18px; line-height: 1.8; }
.theme-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; border: 0; background: var(--ink); }
.theme-list li { margin: 0; padding: 12px; color: #30363b; background: var(--paper-bright); font: 13px var(--mono); }
.theme-list li::before { display: none; }
.btn-theme-outline { border: 1px solid var(--ink) !important; border-radius: 0; color: var(--paper-bright) !important; background: var(--ink) !important; font-family: var(--mono); }
.btn-theme-outline:hover { border-color: var(--coral) !important; background: var(--coral) !important; }

.skills-console { padding: 0; border: 1px solid var(--ink); background: var(--paper-bright); }
.skills-console h4 { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--ink); background: #dfe4e1; font: 14px var(--mono); }
.skills-console ul { padding: 18px; }
.badge-skills { margin: 4px 3px; padding: 8px 11px; border: 1px solid #aeb4b1; border-radius: 2px; color: var(--ink); background: transparent; font: 12px var(--mono); }

.timeline::before { left: 5px; width: 1px; background: var(--ink); }
.timeline li { padding-left: 28px; margin-bottom: 24px; }
.timeline li::before, .theme-purple .timeline li:first-child::before { top: 8px; left: 0; width: 11px; height: 11px; border: 2px solid var(--paper); border-radius: 0; background: var(--coral); box-shadow: 0 0 0 1px var(--ink); }
.timeline li .title, .theme-purple .timeline li:first-child .title { width: max-content; padding: 5px 9px; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--yellow); font: 11px var(--mono); }
.timeline li .details { margin-top: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 0; background: var(--paper-bright); box-shadow: 5px 5px 0 #d8d4ca; }
.timeline li .details h5 { color: var(--ink); font-size: 18px; font-weight: 800; }
.timeline li .details small, .fg-theme { color: #087d79 !important; font-family: var(--mono); }
.timeline li .details p, .timeline li .details li { color: #4a5052; font-size: 14px; line-height: 1.7; }
.timeline li .details ul { margin: 10px 0 0; padding-left: 18px; }

.page-service { padding: 90px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: #dfe6e2; }
.page-service .row { row-gap: 30px; }
.card-service { width: 100%; height: 100%; min-height: 220px; margin: 0; padding: 24px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper-bright); box-shadow: 7px 7px 0 var(--ink); }
.card-service .icon { width: 58px; height: 58px; margin: 0; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--yellow); font-size: 23px; line-height: 58px; }
.card-service .caption { margin-top: 24px; text-align: left; }
.card-service .caption h4 { color: var(--ink) !important; font-size: 17px; font-weight: 800; }
.card-service .caption p { color: #596063; font-size: 13px; line-height: 1.6; }

.page-blog { padding: 95px 0; }
.impact-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: 34px 0 44px; border: 1px solid var(--ink); background: var(--ink); gap: 1px; }
.impact-strip div { min-height: 132px; padding: 20px; background: var(--paper-bright); }
.impact-strip strong { display: block; margin-bottom: 8px; color: var(--coral); font: 800 28px var(--sans); }
.impact-strip span { color: #52595c; font: 12px/1.55 var(--mono); }
.post-grid > div { margin-bottom: 28px; }
.post-grid .card { width: 100%; height: 100%; overflow: hidden; border: 1px solid var(--ink); border-radius: 0; background: var(--paper-bright); box-shadow: 7px 7px 0 #cac6bc; }
.post-grid .card .img-place { height: 180px; border-bottom: 1px solid var(--ink); background: #d8dfdc; }
.post-grid .card .img-place img { height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.05); }
.post-grid .card .research-signal { position: relative; display: grid; place-items: end start; overflow: hidden; padding: 18px; background-color: var(--terminal); background-image: linear-gradient(rgba(19, 168, 162, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 168, 162, .2) 1px, transparent 1px); background-size: 22px 22px; }
.post-grid .research-signal::before { position: absolute; width: 92px; height: 92px; border: 1px solid var(--signal); content: ''; transform: rotate(45deg); }
.post-grid .signal-graph::before { width: 120px; height: 60px; border-color: var(--yellow); border-radius: 50%; transform: rotate(-18deg); }
.post-grid .signal-network::before { width: 130px; height: 130px; border: 1px dashed var(--coral); border-radius: 50%; transform: none; }
.post-grid .research-signal span { position: relative; z-index: 1; padding: 5px 8px; color: var(--terminal-text); background: var(--terminal); font: 11px var(--mono); }
.post-grid .card .caption { height: auto !important; min-height: 250px; padding: 22px; }
.post-title { color: var(--ink); font-size: 16px; font-weight: 800; line-height: 1.45; }
.post-date { color: #087d79; font: 11px var(--mono); }

.vg-footer { padding: 78px 0 55px; border-top: 1px solid #4d565a; color: #d8dedf; background: var(--terminal); }
.vg-footer h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.vg-footer p { color: var(--terminal-text); font: 12px var(--mono); text-transform: uppercase; }
.social-icons a { border: 1px solid #536064; border-radius: 2px; color: #fff; background: transparent; }
.social-icons a:hover { border-color: var(--signal); color: var(--terminal); background: var(--signal); }
.btn-back_to_top { border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); background: var(--yellow); }

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 991px) {
  .page-home .navbar .container { margin: 0 15px !important; }
  .navbar-collapse { margin-top: 10px; border-top: 1px solid #3f484b; }
  .page-about .img-place { margin-bottom: 55px; }
  .terminal-main { grid-template-columns: minmax(0, 1fr) 235px; gap: 28px; }
}

@media (max-width: 700px) {
  .page-home, .page-home .hero-shell { min-height: 100vh; min-height: 100svh; }
  .page-home .hero-shell { width: 100%; padding-top: 0; }
  .terminal-window { height: auto; min-height: 100vh; min-height: 100svh; overflow: visible; box-shadow: none; }
  .terminal-bar { grid-template-columns: auto 1fr; }
  .terminal-bar > span:nth-child(2) { display: none; }
  .terminal-body { height: auto; min-height: calc(100vh - 42px); min-height: calc(100svh - 42px); overflow: visible; padding: 30px 22px; }
  .terminal-output { max-height: 220px; }
  .byte-pet { grid-template-columns: 84px minmax(0, 1fr); min-height: 94px; }
  .byte-stage pre { font-size: 10px; }
  .byte-console { padding-right: 8px; }
  .terminal-prompt { grid-template-columns: auto minmax(0, 1fr); font-size: 11px; }
  .terminal-prompt input { font-size: 12px; }
  .terminal-main { display: block; min-height: 0; }
  .terminal-primary { display: flex; flex-direction: column; min-height: calc(100vh - 102px); min-height: calc(100svh - 102px); }
  .terminal-session { margin-top: auto; }
  .system-panel { margin-top: 34px; padding: 28px 0 0; border-top: 1px solid #354044; border-left: 0; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta span { border-right: 0; border-bottom: 1px solid var(--ink); }
  .hero-meta span:last-child { border-bottom: 0; }
  .theme-list { grid-template-columns: 1fr; }
  .impact-strip { grid-template-columns: repeat(2, 1fr); }
  .page-service, .page-blog { padding: 70px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
  