/* Quiet surfaces, forest green, and a little Tennessee orange. */
:root {
  --bg: #f7f8f5;
  --surface: #fff;
  --sidebar: #f0f2ed;
  --text: #222a25;
  --muted: #717b73;
  --line: #e3e7df;
  --green: #24533e;
  --green-soft: #e7eee5;
  --lime: #d8efa5;
  --orange: #df7c39;
  --shadow: 0 16px 50px #203b2412;
  color-scheme: light;
  --font: "DM Sans", sans-serif;
}
[data-theme="dark"] {
  --bg: #141b17;
  --surface: #1c2520;
  --sidebar: #172019;
  --text: #ecf1e8;
  --muted: #a2b0a3;
  --line: #314036;
  --green: #a8d1aa;
  --green-soft: #2c4032;
  --shadow: 0 16px 50px #0003;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button svg,
a svg {
  flex-shrink: 0;
}
svg {
  vertical-align: middle;
}
img {
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: "Manrope", var(--font);
  line-height: 1.3;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.4px;
  font-weight: 750;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.7px;
  font-weight: 750;
}
h3 {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.4px;
}
::selection {
  background: #d8efa5;
  color: #1b3428;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 18px;
  background: var(--surface);
  padding: 10px;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 30px 20px 20px;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.7px;
  padding: 0 10px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: #24533e;
  color: #d8efa5;
  font-size: 18px;
}
.brand .dot {
  color: var(--orange);
}
.workspace-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--muted);
  padding: 34px 12px 11px;
  font-weight: 700;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav a {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 550;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav a:hover {
  background: var(--green-soft);
  color: var(--green);
}
.nav a.active {
  background: var(--surface);
  color: var(--green);
  box-shadow: 0 2px 5px #10271605;
}
.nav .count {
  margin-left: auto;
  background: var(--green-soft);
  font-size: 10px;
  border-radius: 5px;
  min-width: 21px;
  text-align: center;
  padding: 1px 4px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-note {
  margin: 28px 5px 22px;
  padding: 17px 14px;
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 12px;
  color: var(--muted);
}
.sidebar-note strong {
  display: block;
  color: var(--green);
  margin: 7px 0 5px;
  font-size: 13px;
}
.sidebar-note a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  margin-top: 12px;
  font-weight: 600;
}
.owner-small {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 19px 7px 0;
}
.avatar {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  object-position: 50% 38%;
}
.owner-small strong {
  display: block;
  font-size: 12px;
}
.owner-small small {
  font-size: 10px;
  color: var(--muted);
}
.owner-small .icon-btn {
  margin-left: auto;
}
.workspace {
  margin-left: 238px;
}
.topbar {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 43px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb strong {
  font-weight: 550;
  color: var(--text);
}
.topbar-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  min-width: 215px;
}
.search-trigger kbd {
  margin-left: auto;
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 0 4px;
  border-radius: 3px;
}
.icon-btn {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: var(--muted);
}
.icon-btn:hover {
  background: var(--green-soft);
  color: var(--green);
}
.topbar-avatar {
  width: 29px;
  height: 29px;
  border-radius: 50%;
}
.menu-toggle {
  display: none;
}
main {
  max-width: 1430px;
  min-height: calc(100vh - 140px);
  margin: 0 auto;
  padding: 37px 43px 20px;
}
.page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-intro p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 5px 10px;
  border-radius: 20px;
  color: var(--muted);
  white-space: nowrap;
}
.status-dot {
  height: 6px;
  width: 6px;
  background: #6f9955;
  border-radius: 50%;
  display: inline-block;
}
.hero {
  position: relative;
  background: #234b3b;
  border-radius: 15px;
  padding: 35px 37px;
  color: #fff;
  overflow: hidden;
  min-height: 273px;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 63%;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 650;
}
.hero .eyebrow {
  color: #d9e9c9;
}
.hero h2 {
  font-size: 38px;
  letter-spacing: -1.5px;
  line-height: 1.2;
  max-width: 520px;
  margin: 15px 0 14px;
  font-weight: 650;
}
.hero h2 em {
  font-style: normal;
  color: var(--lime);
}
.hero p {
  color: #bdcfc3;
  font-size: 13px;
  max-width: 415px;
  line-height: 1.8;
}
.hero .btn {
  margin-top: 24px;
  background: var(--lime);
  color: #234b3b;
  border-color: var(--lime);
  padding: 10px 17px;
}
.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  opacity: 0.95;
}
.hero-art svg {
  width: 100%;
  height: 100%;
}
.hero-art .art-label {
  position: absolute;
  right: 29px;
  bottom: 26px;
  letter-spacing: 2px;
  font-size: 9px;
  color: #b7cdb7;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 7px;
  border: 1px solid var(--line);
  padding: 9px 15px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    transform 0.15s,
    background 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
  background: var(--green-soft);
}
.btn-primary {
  background: var(--green);
  color: var(--surface);
  border-color: var(--green);
}
[data-theme="dark"] .btn-primary {
  color: #152c1c;
}
.btn-danger {
  color: #b45345;
}
.btn-small {
  padding: 6px 10px;
  font-size: 11px;
}
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  border: 0;
  background: none;
  padding: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 30px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  padding: 19px 21px;
}
.stat-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green);
}
.stat:nth-child(2) .stat-icon {
  background: #f7eee3;
  color: #ad7139;
}
.stat:nth-child(3) .stat-icon {
  background: #eceef8;
  color: #6f78a6;
}
.stat strong {
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  line-height: 1.2;
  display: block;
  letter-spacing: -0.7px;
}
.stat p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.stat .hint {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 12px;
}
.section-heading h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.project-art {
  height: 177px;
  overflow: hidden;
  position: relative;
  margin: 8px 8px 0;
  border-radius: 7px;
  background: #e9eee6;
  display: grid;
  place-items: center;
}
.project-art svg {
  width: 100%;
  height: 100%;
}
.project-art .art-tag {
  position: absolute;
  top: 13px;
  left: 13px;
  border: 1px solid #ffffff40;
  color: #e7f1e6;
  background: #15362660;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.project-art.terminal {
  background: #eae9e4;
}
.terminal-window {
  width: 75%;
  max-width: 300px;
  background: #26312b;
  box-shadow: 0 13px 23px #223c2325;
  border: 1px solid #405446;
  border-radius: 7px;
  transform: rotate(-3deg);
  color: #d5e6c9;
  font-family: monospace;
  font-size: 11px;
  padding: 12px 15px;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}
.terminal-bar i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #82947f;
}
.terminal-bar i:first-child {
  background: #d68966;
}
.terminal-bar i:nth-child(2) {
  background: #dcc384;
}
.terminal-bar small {
  margin-left: auto;
  color: #859687;
  font-size: 8px;
}
.terminal-window .line {
  display: block;
  line-height: 1.9;
}
.terminal-window .prompt {
  color: #bad58a;
}
.terminal-window .faded {
  color: #7d9484;
}
.project-body {
  padding: 19px 20px 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.project-title-row .icon-btn {
  width: 22px;
  height: 22px;
}
.project-body p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 16px;
  line-height: 1.7;
  flex: 1;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
}
.project-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 18px;
  font-size: 10px;
  color: var(--muted);
}
.lower-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 25px;
  margin: 29px 0;
}
.writing-list {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  overflow: hidden;
}
.writing-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.writing-row:last-child {
  border: 0;
}
.writing-row:hover {
  background: var(--green-soft);
}
.writing-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 39px;
  border-radius: 7px;
  background: var(--bg);
  color: var(--muted);
  flex-shrink: 0;
}
.writing-row h3 {
  font: 600 12px var(--font);
  line-height: 1.5;
  margin-bottom: 5px;
}
.writing-row p {
  font-size: 10px;
  color: var(--muted);
}
.writing-row > svg {
  margin-left: auto;
  color: var(--muted);
  flex-shrink: 0;
}
.toolkit {
  padding: 21px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  height: calc(100% - 37px);
}
.toolkit .tags {
  gap: 9px;
}
.toolkit .tag {
  padding: 6px 10px;
  font-size: 11px;
  background: var(--surface);
}
.skill-dot {
  width: 7px;
  height: 7px;
  background: #518966;
  border-radius: 2px;
  display: inline-block;
  margin-right: 5px;
}
.toolkit p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
}
.cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--green-soft);
  padding: 23px 26px;
  margin: 28px 0 5px;
}
.cta-strip h3 {
  font-size: 16px;
}
.cta-strip p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.footer {
  max-width: 1430px;
  margin: auto;
  padding: 25px 43px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: var(--muted);
}
.footer a:hover {
  color: var(--green);
}
.toolbar {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.filter {
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--line);
}
.filter.active {
  background: var(--green);
  color: var(--surface);
  border-color: var(--green);
}
.toolbar .search-input {
  margin-left: auto;
  max-width: 260px;
}
.search-input {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px;
  padding: 7px 11px;
  color: var(--muted);
}
.search-input input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%;
  color: var(--text);
  min-width: 0;
}
.search-input:focus-within {
  outline: 2px solid var(--green);
}
.empty-state {
  padding: 45px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
  grid-column: 1/-1;
  color: var(--muted);
}
.empty-state h3 {
  color: var(--text);
  margin-bottom: 8px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.section-gap {
  margin-top: 26px;
}
.muted {
  color: var(--muted);
}
.prose {
  font-size: 14px;
  line-height: 1.9;
  max-width: 760px;
}
.prose p {
  margin-bottom: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.prose h2,
.prose h3 {
  margin: 27px 0 13px;
}
.prose ul {
  padding-left: 24px;
  margin: 15px 0;
}
.prose li {
  margin: 6px 0;
}
.prose code {
  background: var(--green-soft);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 12px;
}
.prose pre {
  background: var(--sidebar);
  padding: 18px;
  border-radius: 8px;
  overflow: auto;
  line-height: 1.7;
}
.prose pre code {
  background: none;
  padding: 0;
}
.prose a {
  color: var(--green);
  text-decoration: underline;
}
.article-header {
  max-width: 790px;
  margin: 25px 0 32px;
}
.article-header h1 {
  font-size: 38px;
  margin: 16px 0;
}
.article-header .excerpt {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin: 17px 0;
}
.detail-art {
  height: 280px;
  margin: 20px 0 30px;
  border-radius: 13px;
}
.detail-art .terminal-window {
  transform: none;
  font-size: 15px;
  max-width: 460px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.comments {
  max-width: 760px;
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 25px;
}
.comments h2 {
  margin-bottom: 8px;
}
.comment-row {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.comment-row small {
  color: var(--muted);
  font-size: 11px;
}
.comment-row p {
  margin-top: 9px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.notice {
  background: var(--green-soft);
  border: 1px solid var(--line);
  padding: 12px 15px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  margin: 15px 0;
  line-height: 1.8;
}
.notice a {
  color: var(--green);
  text-decoration: underline;
}
.error {
  color: #b45042 !important;
}
.form {
  display: grid;
  gap: 17px;
}
.form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--text);
  font-weight: 400;
}
.form textarea {
  resize: vertical;
  min-height: 112px;
}
.form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form .check-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form .check-label input {
  width: auto;
}
.form small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.form-status {
  min-height: 20px;
  font-size: 12px;
  color: var(--green);
}
.form .honeypot {
  position: absolute;
  left: -9999px;
}
.contact-intro h2 {
  font-size: 32px;
  margin: 15px 0;
}
.contact-intro p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  max-width: 380px;
}
.contact-links {
  margin-top: 35px;
  display: grid;
  gap: 18px;
}
.contact-link {
  display: flex;
  gap: 15px;
  align-items: center;
}
.contact-link .stat-icon {
  flex-shrink: 0;
}
.contact-link small {
  color: var(--muted);
  font-size: 11px;
}
.contact-link strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.resume-summary {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}
.education {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ut-mark {
  background: #fff1df;
  color: #c6671c;
  font:
    bold 23px "Manrope",
    sans-serif;
  border-radius: 10px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.education p {
  color: var(--muted);
  font-size: 12px;
  margin: 5px 0;
}
.resume-preview {
  width: 100%;
  height: 760px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 24px;
}
.stack-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.stack-groups h2 {
  font-size: 17px;
  margin-bottom: 18px;
}
.skill-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.skill-item:last-child {
  border: 0;
}
.skill-mark {
  display: grid;
  place-items: center;
  border-radius: 7px;
  width: 34px;
  height: 34px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}
.skill-item span:last-child {
  font-weight: 550;
  font-size: 13px;
}
.about-panel {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 23px;
}
.about-panel img {
  width: 120px;
  height: 135px;
  border-radius: 12px;
}
.about-panel h2 {
  margin-bottom: 12px;
}
.studio-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.studio-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 24px;
}
.studio-list {
  display: grid;
  gap: 8px;
  align-content: start;
}
.studio-item {
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  border-radius: 7px;
  padding: 12px;
  font-size: 12px;
}
.studio-item.selected {
  background: var(--green-soft);
  border-color: var(--green);
}
.studio-item small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 10px;
}
.studio-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.studio-login {
  max-width: 620px;
  margin: 45px auto;
}
.studio-login h2 {
  margin-bottom: 12px;
}
.studio-login > p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 13px;
}
.studio-session {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.markdown-preview {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 450px;
  overflow: auto;
}
.preview-label {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.toast {
  position: fixed;
  bottom: 23px;
  left: 50%;
  transform: translate(-50%, 30px);
  padding: 12px 20px;
  background: var(--text);
  color: var(--surface);
  border-radius: 9px;
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 50;
  pointer-events: none;
  max-width: 90vw;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  padding: 0;
  width: min(620px, calc(100% - 30px));
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: #172d2266;
  backdrop-filter: blur(4px);
}
.search-dialog-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.search-dialog-head input {
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 16px;
  background: transparent;
  color: var(--text);
  min-width: 0;
}
.search-results {
  max-height: 430px;
  overflow: auto;
  padding: 10px;
}
.search-results a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px;
  border-radius: 7px;
}
.search-results a:hover {
  background: var(--green-soft);
}
.search-results small {
  color: var(--muted);
  font-size: 10px;
}
.loading-state {
  padding: 100px;
  text-align: center;
  color: var(--muted);
}
.hidden {
  display: none !important;
}
.modal-confirm {
  max-width: 420px;
  padding: 26px;
}
.modal-confirm h2 {
  margin-bottom: 12px;
}
.modal-confirm p {
  color: var(--muted);
  margin-bottom: 22px;
}
.modal-confirm .studio-actions {
  justify-content: flex-end;
}
.privacy-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.stack-description {
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
main:focus {
  outline: none;
}
.project-art img {
  width: 100%;
  height: 100%;
}
@media (min-width: 1600px) {
  main {
    padding-top: 43px;
  }
  .hero {
    min-height: 305px;
  }
  .hero h2 {
    font-size: 45px;
    max-width: 580px;
  }
  .project-art {
    height: 205px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 205px;
    padding: 25px 13px;
  }
  .workspace {
    margin-left: 205px;
  }
  main {
    padding: 30px 28px 15px;
  }
  .topbar {
    padding: 0 28px;
  }
  .footer {
    padding: 23px 28px;
  }
  .hero {
    padding: 28px;
  }
  .hero h2 {
    font-size: 33px;
  }
  .stat {
    padding: 16px 14px;
  }
  .stat .hint {
    display: none;
  }
  .lower-grid {
    grid-template-columns: 1.15fr 1fr;
  }
  .studio-layout {
    grid-template-columns: 200px 1fr;
  }
  .topbar-actions {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 182px;
  }
  .workspace {
    margin-left: 182px;
  }
  .brand {
    font-size: 16px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
  }
  .sidebar-note {
    padding: 14px 10px;
  }
  .hero-copy {
    width: 72%;
  }
  .hero-art {
    opacity: 0.5;
    width: 38%;
  }
  .hero h2 {
    font-size: 30px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    gap: 10px;
    align-items: flex-start;
  }
  .stat-icon {
    width: 31px;
    height: 31px;
  }
  .stat strong {
    font-size: 20px;
  }
  .stat p {
    font-size: 10px;
  }
  .project-grid {
    gap: 15px;
  }
  .project-art {
    height: 145px;
  }
  .project-body {
    padding: 16px;
  }
  .project-body h3 {
    font-size: 15px;
  }
  .lower-grid,
  .two-column {
    grid-template-columns: 1fr;
  }
  .toolkit {
    height: auto;
  }
  .search-trigger {
    min-width: 175px;
  }
  .resume-summary {
    grid-template-columns: 1fr;
  }
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .studio-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-strip {
    padding: 20px;
  }
  .footer span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 650px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 235px;
    box-shadow: var(--shadow);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 61px;
    padding: 0 18px;
  }
  .menu-toggle {
    display: grid;
  }
  .breadcrumb > svg,
  .breadcrumb > span {
    display: none;
  }
  .topbar .breadcrumb {
    gap: 5px;
  }
  .topbar-actions {
    gap: 6px;
  }
  .search-trigger {
    min-width: 0;
    width: 32px;
    height: 32px;
    justify-content: center;
    padding: 0;
    background: none;
    border: 0;
  }
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .topbar-avatar {
    width: 26px;
    height: 26px;
  }
  main {
    padding: 25px 18px 12px;
  }
  h1 {
    font-size: 29px;
  }
  .page-intro {
    margin-bottom: 22px;
    gap: 9px;
  }
  .page-intro .pill {
    font-size: 9px;
    padding: 5px 8px;
  }
  .page-intro p {
    font-size: 12px;
  }
  .hero {
    padding: 27px 23px;
    min-height: 305px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero h2 {
    font-size: 33px;
    max-width: 300px;
  }
  .hero p {
    max-width: 280px;
    font-size: 12px;
  }
  .hero-art {
    width: 55%;
    opacity: 0.18;
  }
  .hero .btn {
    margin-top: 20px;
  }
  .stats {
    gap: 8px;
    margin: 16px 0 25px;
  }
  .stat {
    flex-direction: column;
    gap: 10px;
    padding: 14px 12px;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
  }
  .stat strong {
    font-size: 21px;
  }
  .stat p {
    font-size: 10px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .project-art {
    height: 185px;
  }
  .project-body {
    padding: 19px;
  }
  .project-body h3 {
    font-size: 17px;
  }
  .lower-grid {
    gap: 24px;
    margin-top: 25px;
  }
  .writing-row {
    padding: 16px;
  }
  .cta-strip {
    align-items: flex-start;
    flex-direction: column;
    padding: 21px;
  }
  .footer {
    padding: 20px 18px;
    font-size: 9px;
  }
  .toolbar .search-input {
    width: 100%;
    max-width: none;
    margin: 7px 0 0;
    order: 2;
  }
  .filter {
    padding: 6px 10px;
    font-size: 10px;
  }
  .two-column {
    gap: 22px;
  }
  .panel {
    padding: 21px;
  }
  .form .form-row {
    grid-template-columns: 1fr;
  }
  .stack-groups {
    grid-template-columns: 1fr;
  }
  .about-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-panel img {
    width: 80px;
    height: 90px;
  }
  .article-header h1 {
    font-size: 30px;
  }
  .article-header .excerpt {
    font-size: 14px;
  }
  .detail-art {
    height: 210px;
  }
  .studio-session {
    flex-wrap: wrap;
  }
  .studio-list {
    grid-template-columns: 1fr;
  }
  .studio-login {
    margin: 20px auto;
  }
  .resume-preview {
    height: 560px;
  }
  .topbar-avatar-link {
    display: none;
  }
  .loading-state {
    padding: 75px 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Terminal redesign: the same tools, a completely different interface. */
:root,
[data-theme="dark"] {
  --bg: #030805;
  --surface: rgba(6, 15, 10, 0.96);
  --sidebar: #050b07;
  --text: #d9e9dd;
  --muted: #8aa391;
  --line: #1e3b29;
  --green: #74fb98;
  --green-soft: #0a2011;
  --lime: #74fb98;
  --orange: #92ffc0;
  --shadow: 0 14px 60px #0009;
  --font: "IBM Plex Mono", monospace;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #0b150e;
  --surface: rgba(14, 27, 18, 0.97);
  --sidebar: #0a130d;
  --text: #edfff2;
  --muted: #9cb8a3;
  --line: #34513e;
  --green: #b2ffca;
  --green-soft: #163221;
  --lime: #b2ffca;
  --orange: #d0ffe0;
  color-scheme: dark;
}
body {
  background: var(--bg);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.7;
  isolation: isolate;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    #0000000a 3px,
    #0000000a 4px
  );
  opacity: 0.45;
}
#matrix-rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.43;
  pointer-events: none;
}
.matrix-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    ellipse at 50% 45%,
    #03080566 10%,
    #03080522 60%,
    #03080588 100%
  );
  pointer-events: none;
}
h1,
h2,
h3 {
  font-family: var(--font);
  letter-spacing: -0.7px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
h1 {
  font-size: 31px;
  line-height: 1.4;
}
h2 {
  font-size: 19px;
}
h3 {
  font-size: 16px;
}
::selection {
  background: var(--green);
  color: #020805;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.sidebar {
  position: sticky;
  top: 0;
  inset: auto;
  height: 74px;
  width: 100%;
  padding: 0 max(28px, calc((100vw - 1380px) / 2));
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  background: #030805f5;
  backdrop-filter: blur(15px);
  box-shadow: none;
  transform: none;
}
.brand {
  font: 600 14px var(--font);
  letter-spacing: 0;
  padding: 0;
  gap: 12px;
  white-space: nowrap;
}
.brand-mark {
  width: 29px;
  height: 29px;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 2px;
  font: 500 15px var(--font);
}
.brand .dot {
  color: var(--green);
}
.nav {
  display: flex;
  gap: 3px;
  align-items: center;
}
.nav a {
  padding: 9px 10px;
  font-size: 11px;
  gap: 7px;
  color: var(--muted);
  border-radius: 2px;
  border: 1px solid transparent;
  font-weight: 400;
  white-space: nowrap;
}
.nav a.active {
  background: #0e2316;
  color: var(--green);
  border: 1px solid #31593c;
  box-shadow: none;
}
.nav a:hover {
  color: var(--green);
  background: #0b1c11;
}
.nav .count {
  background: transparent;
  color: var(--muted);
  border-left: 1px solid var(--line);
  border-radius: 0;
  min-width: 12px;
  padding: 0 0 0 7px;
  font-size: 10px;
  margin: 0;
}
.terminal-links {
  display: flex;
  gap: 19px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.terminal-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.terminal-links a:hover,
.terminal-links a.active {
  color: var(--green);
}
.workspace-label,
.sidebar-bottom {
  display: none;
}
.workspace {
  margin: 0;
}
.topbar {
  height: 55px;
  max-width: none;
  margin: 0;
  padding: 0 max(24px, calc((100% - 1280px) / 2));
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 10px;
  gap: 5px;
  color: var(--muted);
}
.breadcrumb strong {
  color: var(--text);
  font-weight: 400;
}
.shell-prompt {
  color: var(--green);
}
.terminal-cursor {
  color: var(--green);
  animation: terminal-blink 1.1s step-end infinite;
}
@keyframes terminal-blink {
  50% {
    opacity: 0;
  }
}
.topbar-actions {
  gap: 13px;
}
.search-trigger {
  background: #050f08bb;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  border-radius: 2px;
  min-width: 190px;
  padding: 5px 9px;
}
.search-trigger kbd {
  font: 9px var(--font);
  border: 0;
  color: #7caf8b;
}
.icon-btn {
  border-radius: 2px;
  width: 29px;
  height: 29px;
  color: var(--muted);
}
.icon-btn:hover {
  color: var(--green);
  background: #103119;
}
.rain-toggle {
  font: 9px var(--font);
  color: var(--green);
  background: none;
  border: 0;
  padding: 4px;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
}
main {
  max-width: 1328px;
  padding: 35px 24px 22px;
  min-height: calc(100vh - 190px);
  position: relative;
}
.page-intro {
  margin-bottom: 25px;
  gap: 20px;
}
.page-intro h1 {
  font-size: 30px;
}
.page-intro p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 1px;
}
.pill {
  font-size: 9px;
  border: 1px solid var(--line);
  background: #05150abc;
  color: var(--green);
  border-radius: 2px;
  padding: 6px 10px;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  box-shadow: 0 0 7px #74fb9840;
}
.hero {
  padding: 0;
  display: block;
  min-height: 0;
  background: #06100be8;
  border: 1px solid #315e3e;
  border-radius: 3px;
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 0 40px #20d85205;
}
.terminal-window-title {
  height: 36px;
  background: #08180e;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 17px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}
.terminal-window-title > span:first-child {
  display: flex;
  gap: 6px;
}
.terminal-window-title i {
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid #427b50;
  border-radius: 50%;
}
.terminal-window-title i:first-child {
  background: #55cb77;
  border-color: #55cb77;
}
.terminal-window-title > span:last-child {
  font-size: 8px;
  letter-spacing: 0.5px;
  color: #6c9579;
}
.terminal-hero-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 65px;
  padding: 35px 39px 33px;
}
.hero-copy {
  width: auto;
}
.hero .eyebrow {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
  gap: 8px;
}
.hero h2 {
  font-family: var(--font);
  font-size: 39px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -1.5px;
  max-width: 600px;
  color: #e5f4e9;
  margin: 22px 0 18px;
}
.hero h2 em {
  color: var(--green);
  font-style: normal;
  text-shadow: 0 0 20px #54ff8120;
}
.hero h2 .terminal-cursor {
  font-size: 32px;
  margin-left: 7px;
}
.hero p {
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 550px;
}
.hero .btn {
  margin: 0;
  background: #07130b;
  color: var(--green);
  border-color: #356e46;
  padding: 9px 13px;
}
.hero .btn-primary {
  background: var(--green);
  color: #04110a;
  border-color: var(--green);
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.session-console {
  align-self: center;
  border-left: 1px solid var(--line);
  padding: 0 0 0 28px;
  min-width: 0;
}
.console-title {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #749b80;
  margin-bottom: 16px;
}
.identity-top {
  display: flex;
  gap: 13px;
  align-items: center;
}
.identity-top img {
  width: 42px;
  height: 47px;
  border: 1px solid #365743;
  border-radius: 1px;
  filter: grayscale(1);
  opacity: 0.85;
}
.identity-top strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
}
.identity-top span {
  display: block;
  font-size: 9px;
  margin-top: 4px;
  color: var(--muted);
}
.session-console dl {
  margin: 18px 0;
  font-size: 10px;
}
.session-console dl > div {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #1c3826;
}
.session-console dt {
  color: #638c70;
}
.session-console dd {
  margin: 0;
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
}
.session-console .btn-text {
  font-size: 10px;
}
.terminal-window-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 10px 17px;
  background: #07170bc0;
  font-size: 8px;
  letter-spacing: 1px;
  color: #77a486;
}
.terminal-window-footer .status-dot {
  margin-right: 7px;
}
.btn {
  border-radius: 2px;
  border: 1px solid #31583c;
  background: #07150d;
  color: var(--green);
  font: 400 11px var(--font);
  padding: 8px 12px;
  line-height: 1.6;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.btn:hover {
  transform: none;
  background: #0e2918;
  border-color: var(--green);
}
.btn-primary {
  background: var(--green);
  color: #06120a;
  border-color: var(--green);
}
[data-theme="dark"] .btn-primary {
  color: #06120a;
}
.btn-primary:hover {
  background: #afffc7;
  color: #06120a;
}
.btn-small {
  font-size: 9px;
  padding: 5px 9px;
}
.btn-danger {
  color: #f5a090;
  border-color: #643c35;
}
.btn-text {
  color: var(--green);
  font-size: 10px;
  font-weight: 400;
  gap: 7px;
}
.btn-text:hover {
  text-decoration: underline;
}
.stats {
  gap: 0;
  border: 1px solid var(--line);
  background: #05100ade;
  margin: 18px 0 29px;
  border-radius: 2px;
}
.stat {
  padding: 15px 20px;
  gap: 13px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}
.stat:last-child {
  border: 0;
}
.stat-icon {
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--green);
  background: #0a1c10;
  width: 32px;
  height: 32px;
}
.stat:nth-child(2) .stat-icon,
.stat:nth-child(3) .stat-icon {
  background: #0a1c10;
  color: var(--green);
}
.stat strong {
  font-family: var(--font);
  font-weight: 500;
  font-size: 21px;
  color: var(--green);
  letter-spacing: 0;
}
.stat p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.stat .hint {
  font-size: 8px;
  color: #779780;
}
.section-heading {
  margin-bottom: 13px;
}
.section-heading h2 {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 500;
}
.section-heading h2::before {
  content: "// ";
  color: var(--green);
}
.section-heading p {
  font-size: 11px;
}
.project-grid {
  gap: 17px;
}
.project-card {
  background: #06100cf2;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: none;
}
.project-card:hover {
  transform: none;
  box-shadow: 0 0 26px #36f57308;
  border-color: #448858;
}
.project-art {
  height: 144px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #07180d;
}
.project-art svg {
  filter: saturate(0.85);
}
.project-art.terminal {
  background: #07120b;
}
.project-art .art-tag {
  border-radius: 0;
  background: #041508;
  color: var(--green);
  border-color: #2b5134;
  top: 12px;
  left: 14px;
  font-size: 8px;
}
.terminal-window {
  max-width: 340px;
  width: 78%;
  padding: 12px 15px;
  transform: none;
  background: #030b06;
  border: 1px solid #294e34;
  box-shadow: none;
  border-radius: 2px;
  color: #c5e7ce;
  font-size: 10px;
}
.terminal-bar small {
  color: #769b80;
}
.terminal-bar i,
.terminal-bar i:first-child,
.terminal-bar i:nth-child(2) {
  background: #539463;
  border-radius: 0;
}
.terminal-window .prompt {
  color: var(--green);
}
.terminal-window .faded {
  color: #70927a;
}
.project-body {
  padding: 17px 20px;
}
.project-body h3 {
  font-size: 16px;
  letter-spacing: -0.4px;
  font-weight: 500;
}
.project-body p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 10px 0 15px;
}
.tag {
  font: 400 9px var(--font);
  color: #9fbbab;
  border: 1px solid #24432e;
  background: #09190f;
  border-radius: 1px;
  padding: 3px 7px;
}
.tags {
  gap: 6px;
}
.project-bottom {
  margin-top: 15px;
  padding-top: 12px;
  font-size: 9px;
}
.project-bottom .btn-text {
  font-size: 9px;
}
.project-title-row .icon-btn {
  color: var(--green);
}
.lower-grid {
  gap: 24px;
  margin: 27px 0;
}
.writing-list,
.toolkit,
.panel {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
}
.writing-row {
  padding: 15px 17px;
  gap: 11px;
}
.writing-row:hover {
  background: #0a2112;
}
.writing-icon {
  background: #091c10;
  color: #82b68e;
  border: 1px solid var(--line);
  border-radius: 2px;
  width: 30px;
  height: 33px;
}
.writing-row h3 {
  font: 400 11px var(--font);
  line-height: 1.7;
}
.writing-row p {
  font-size: 9px;
  line-height: 1.7;
}
.writing-row > svg {
  color: var(--green);
}
.toolkit {
  padding: 20px;
  height: calc(100% - 34px);
}
.toolkit .tag {
  font-size: 10px;
  padding: 5px 8px;
  background: #071a0e;
}
.toolkit .tags {
  gap: 8px;
}
.skill-dot {
  height: 5px;
  width: 5px;
  border-radius: 0;
  background: var(--green);
}
.toolkit p {
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 18px;
}
.cta-strip {
  background: #07190ddb;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 19px 23px;
  margin: 27px 0 6px;
}
.cta-strip h3 {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
.cta-strip p {
  font-size: 10px;
  margin-top: 7px;
}
.footer {
  max-width: 1328px;
  padding: 23px 24px;
  font-size: 9px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  letter-spacing: 0.4px;
}
.footer span:nth-child(2) {
  font-size: 8px;
  color: #678e72;
}
.footer a {
  color: var(--green);
}
.filter {
  font-family: var(--font);
  font-size: 10px;
  border-radius: 2px;
  background: #06130b;
  border-color: var(--line);
  color: var(--muted);
  font-weight: 400;
}
.filter.active {
  background: #15351f;
  color: var(--green);
  border-color: #4a8d5b;
}
.filter:hover {
  color: var(--green);
  border-color: #4a8d5b;
}
.search-input {
  border-radius: 2px;
  background: #06130b;
  font-size: 11px;
  color: var(--green);
}
.search-input input {
  font-family: var(--font);
  font-size: 11px;
}
.panel {
  padding: 25px;
}
.form {
  gap: 17px;
}
.form label {
  font-weight: 400;
  font-size: 11px;
  color: #b9d3c0;
}
.form input,
.form textarea,
.form select {
  border-radius: 2px;
  border-color: #294634;
  background: #030d07;
  color: var(--text);
  font: 400 12px var(--font);
  padding: 10px 12px;
}
.form input::placeholder,
.form textarea::placeholder {
  color: #5e8068;
}
.form small {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.9;
}
.form-status {
  font: 400 11px var(--font);
  min-height: 18px;
}
.privacy-note {
  font-size: 9px;
  line-height: 1.9;
}
.notice {
  border-radius: 2px;
  background: #0b2213;
  color: #a1baa7;
  border-color: #2b5035;
  font-size: 11px;
  line-height: 1.9;
}
.error {
  color: #ffa394 !important;
}
.empty-state {
  border-radius: 2px;
  background: #06100cd9;
  font-size: 11px;
}
.empty-state h3 {
  font-size: 15px;
}
.studio-tabs {
  gap: 7px;
}
.studio-login {
  margin: 30px auto;
}
.studio-session {
  font-size: 10px;
  flex-wrap: wrap;
}
.studio-item {
  font-family: var(--font);
  border-radius: 2px;
  background: #06130b;
  font-size: 11px;
}
.studio-item.selected {
  color: var(--green);
  background: #0b2714;
  border-color: #4c8e5c;
}
.studio-item small {
  font-size: 9px;
}
.markdown-preview {
  border-radius: 2px;
  background: #030d07;
}
.prose {
  font-size: 13px;
  line-height: 2;
}
.prose p {
  font-size: 13px;
}
.prose h2 {
  font-size: 20px;
}
.prose h3 {
  font-size: 17px;
}
.prose code,
.prose pre {
  border-radius: 2px;
  font-family: var(--font);
}
.prose pre {
  background: #041009;
  border: 1px solid var(--line);
}
.article-header h1 {
  font-size: 32px;
  letter-spacing: -0.8px;
}
.article-header .excerpt {
  font-size: 14px;
  line-height: 1.9;
}
.article-back {
  font-size: 10px;
  color: var(--green);
}
.detail-art {
  height: 225px;
  margin: 25px 0;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.contact-intro h2 {
  font-size: 29px;
  letter-spacing: -1px;
}
.contact-intro p {
  font-size: 12px;
}
.contact-link strong {
  font-size: 12px;
  font-weight: 400;
  color: var(--green);
}
.contact-link small {
  font-size: 10px;
}
.ut-mark {
  border-radius: 2px;
  font: 500 21px var(--font);
  color: var(--green);
  background: #0c2815;
  border: 1px solid var(--line);
}
.education p {
  font-size: 11px;
}
.about-panel img {
  border-radius: 2px;
  filter: grayscale(1);
  border: 1px solid var(--line);
}
.avatar,
.topbar-avatar {
  filter: grayscale(1);
}
.resume-preview {
  border-radius: 2px;
  border-color: var(--line);
}
.skill-mark {
  border: 1px solid #284b32;
  border-radius: 2px;
  background: #092410;
  color: var(--green);
  font-family: var(--font);
  font-weight: 400;
}
.skill-item span:last-child {
  font-size: 12px;
  font-weight: 400;
}
.stack-groups h2 {
  font-size: 16px;
}
.stack-description {
  font-size: 11px;
  background: #05120ae0;
  padding: 17px;
  border: 1px solid var(--line);
}
.toast {
  border-radius: 2px;
  background: #092413;
  color: #c7ffd6;
  border: 1px solid #538a61;
  font-size: 11px;
}
.toast.visible {
  box-shadow: 0 5px 30px #000a;
}
dialog {
  border-radius: 3px;
  border-color: #42634d;
  background: #06100b;
}
dialog::backdrop {
  background: #020803b0;
  backdrop-filter: blur(5px);
}
.search-dialog-head input {
  font: 400 14px var(--font);
}
.search-results a {
  border-radius: 2px;
  font-size: 11px;
}
.search-results a:hover {
  background: #0d2c18;
}
.search-results small {
  font-size: 9px;
}
.modal-confirm h2 {
  font-size: 19px;
}
.modal-confirm p {
  font-size: 12px;
}
.loading-state {
  font-size: 12px;
  color: var(--green);
}
.skip-link {
  background: #05150a;
  color: var(--green);
}
@media (min-width: 1600px) {
  main {
    padding-top: 38px;
  }
  .hero {
    min-height: 0;
  }
  .hero h2 {
    font-size: 43px;
  }
  .project-art {
    height: 156px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    padding: 0 22px;
    gap: 13px;
  }
  .brand {
    font-size: 12px;
    gap: 8px;
  }
  .nav a {
    font-size: 10px;
    padding: 8px;
  }
  .nav a svg {
    display: none;
  }
  .terminal-links {
    gap: 12px;
    font-size: 9px;
  }
  .terminal-hero-body {
    gap: 30px;
    padding: 30px;
  }
  .hero h2 {
    font-size: 34px;
  }
  .session-console {
    padding-left: 20px;
  }
  .stat .hint {
    display: none;
  }
}
@media (max-width: 900px) {
  .sidebar {
    height: 65px;
  }
  .brand {
    font-size: 11px;
  }
  .nav a {
    font-size: 9px;
    padding: 7px;
  }
  .nav .count {
    display: none;
  }
  .terminal-links > a:first-child {
    display: none;
  }
  .terminal-links .owner-link {
    font-size: 9px;
  }
  .brand-mark {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  .terminal-hero-body {
    gap: 25px;
    grid-template-columns: 1.15fr 1fr;
    padding: 27px;
  }
  .hero h2 {
    font-size: 29px;
  }
  .hero p {
    font-size: 11px;
  }
  .session-console dl {
    font-size: 9px;
  }
  .session-console dl > div {
    gap: 12px;
  }
  .lower-grid {
    grid-template-columns: 1fr 1fr;
  }
  .toolkit {
    height: calc(100% - 34px);
  }
  .topbar-actions {
    gap: 10px;
  }
  .project-art {
    height: 142px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    height: 61px;
    padding: 0 18px;
    gap: 10px;
    z-index: 6;
  }
  .brand {
    font-size: 12px;
  }
  .brand-mark {
    width: 26px;
    height: 26px;
  }
  .sidebar .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 12px 18px;
    background: #040d07f9;
    border-bottom: 1px solid #32583c;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    box-shadow: 0 20px 35px #0009;
  }
  .sidebar.open .nav {
    display: grid;
  }
  .nav a {
    font-size: 11px;
    padding: 10px;
  }
  .nav a svg {
    display: block;
  }
  .terminal-links .owner-link {
    font-size: 9px;
  }
  .terminal-links .owner-link svg {
    width: 12px;
    height: 12px;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 49px;
    padding: 0 18px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 4px;
  }
  .breadcrumb > span {
    display: inline;
  }
  .breadcrumb > svg {
    display: none;
  }
  .menu-toggle {
    display: grid;
    margin-right: 4px;
  }
  .topbar-actions {
    gap: 6px;
  }
  .search-trigger {
    height: 28px;
    width: 28px;
    padding: 0;
    min-width: 0;
    background: none;
    border: 0;
    justify-content: center;
  }
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .rain-toggle {
    font-size: 8px;
  }
  .topbar-actions .icon-btn {
    width: 24px;
  }
  .breadcrumb .terminal-cursor {
    display: none;
  }
  main {
    padding: 25px 18px 18px;
  }
  .page-intro {
    gap: 13px;
    align-items: flex-start;
  }
  .page-intro h1 {
    font-size: 25px;
  }
  .page-intro p {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .page-intro .pill {
    font-size: 8px;
    padding: 5px 7px;
    white-space: normal;
    max-width: 135px;
  }
  .hero {
    padding: 0;
    min-height: 0;
  }
  .terminal-window-title {
    height: 32px;
    padding: 0 13px;
    font-size: 8px;
  }
  .terminal-window-title > span:last-child {
    font-size: 7px;
  }
  .terminal-hero-body {
    grid-template-columns: 1fr;
    padding: 26px 23px;
    gap: 27px;
  }
  .hero-copy {
    width: auto;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero h2 {
    font-size: 33px;
    line-height: 1.2;
    margin: 19px 0 17px;
    max-width: none;
  }
  .hero h2 .terminal-cursor {
    font-size: 26px;
  }
  .hero p {
    max-width: none;
    font-size: 11px;
  }
  .hero-actions {
    gap: 9px;
    margin-top: 22px;
  }
  .hero .btn {
    font-size: 9px;
    padding: 8px 10px;
    margin: 0;
  }
  .session-console {
    padding: 20px 0 0;
    border: 0;
    border-top: 1px dashed var(--line);
  }
  .console-title {
    margin-bottom: 13px;
    font-size: 8px;
  }
  .identity-top img {
    width: 34px;
    height: 38px;
  }
  .identity-top strong {
    font-size: 12px;
  }
  .identity-top span {
    font-size: 8px;
  }
  .session-console dl {
    font-size: 10px;
    margin: 14px 0;
  }
  .session-console dl > div {
    padding: 5px 0;
  }
  .session-console .btn-text {
    font-size: 9px;
  }
  .terminal-window-footer {
    font-size: 7px;
    padding: 9px 12px;
    letter-spacing: 0.4px;
  }
  .stats {
    gap: 0;
    margin: 15px 0 26px;
    grid-template-columns: repeat(3, 1fr);
  }
  .stat {
    padding: 13px 12px;
    gap: 7px;
    flex-direction: column;
    align-items: flex-start;
  }
  .stat-icon {
    width: 27px;
    height: 27px;
  }
  .stat strong {
    font-size: 20px;
  }
  .stat p {
    font-size: 8px;
    line-height: 1.7;
    margin-top: 5px;
  }
  .section-heading h2 {
    font-size: 13px;
  }
  .section-heading .btn-text {
    font-size: 9px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .project-art {
    height: 149px;
  }
  .project-body {
    padding: 18px;
  }
  .project-body h3 {
    font-size: 16px;
  }
  .project-body p {
    font-size: 11px;
  }
  .project-bottom .btn-text {
    font-size: 9px;
  }
  .lower-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 25px;
  }
  .toolkit {
    height: auto;
  }
  .writing-row h3 {
    font-size: 10px;
  }
  .writing-row p {
    font-size: 8px;
  }
  .writing-row {
    padding: 15px 13px;
  }
  .cta-strip {
    padding: 20px;
    gap: 16px;
  }
  .cta-strip h3 {
    font-size: 12px;
  }
  .cta-strip p {
    font-size: 9px;
  }
  .footer {
    padding: 19px 18px;
    font-size: 8px;
    max-width: none;
  }
  .footer span:nth-child(2) {
    display: none;
  }
  .toolbar .search-input {
    max-width: none;
    width: 100%;
    margin: 7px 0 0;
  }
  .filter {
    font-size: 9px;
    padding: 6px 9px;
  }
  .panel {
    padding: 20px;
  }
  .studio-layout,
  .two-column,
  .resume-summary,
  .stack-groups {
    grid-template-columns: 1fr;
  }
  .studio-tabs {
    gap: 6px;
  }
  .studio-list {
    grid-template-columns: 1fr;
  }
  .studio-session {
    font-size: 9px;
    max-width: 150px;
    justify-content: flex-end;
  }
  .studio-session .status-dot {
    display: none;
  }
  .form .form-row {
    grid-template-columns: 1fr;
  }
  .studio-login {
    margin: 20px auto;
  }
  .article-header h1 {
    font-size: 27px;
  }
  .article-header .excerpt {
    font-size: 12px;
  }
  .detail-art {
    height: 190px;
  }
  .contact-intro h2 {
    font-size: 26px;
  }
  .contact-link strong {
    font-size: 11px;
  }
  .about-panel {
    grid-template-columns: 1fr;
  }
  .about-panel img {
    width: 75px;
    height: 85px;
  }
  .about-panel .prose {
    font-size: 12px;
  }
  .resume-preview {
    height: 560px;
  }
  dialog {
    width: calc(100% - 24px);
  }
  .search-dialog-head input {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 10px;
    gap: 7px;
  }
  .terminal-links .owner-link {
    font-size: 8px;
  }
  .page-intro {
    flex-wrap: wrap;
  }
  .page-intro .pill {
    max-width: none;
  }
  .hero h2 {
    font-size: 29px;
  }
  .breadcrumb .shell-prompt {
    display: none;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .terminal-window-footer span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .terminal-cursor {
    animation: none;
  }
}
