:root {
  color-scheme: dark;
  --bg: #05080d;
  --panel: #08111b;
  --panel-alt: #0b1622;
  --text: #dce9f2;
  --muted: #7890a2;
  --dim: #40596b;
  --line: #183448;
  --line-bright: #2d6077;
  --cyan: #51d6ff;
  --green: #57e39c;
  --amber: #e5bd61;
  --header-height: 64px;
  --container: 1220px;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 9px 13px;
  color: var(--bg);
  background: var(--cyan);
  border: 1px solid var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(5, 8, 13, 0.94);
  border-bottom: 1px solid var(--line-bright);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--container));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.brand-prompt {
  color: var(--green);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text);
}

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

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 6px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}

.header-status span {
  width: 7px;
  height: 7px;
  background: currentColor;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  color: var(--cyan);
  border-color: var(--line-bright);
  background: var(--panel);
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  height: calc(100svh - 112px);
  min-height: 620px;
  max-height: 780px;
  overflow: hidden;
  background: var(--bg);
}

#packet-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--container));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 34px 0;
}

.terminal-shell {
  width: 100%;
  max-height: 100%;
  background: rgba(5, 10, 16, 0.9);
  border: 1px solid var(--line-bright);
  box-shadow: 12px 12px 0 rgba(11, 22, 34, 0.7);
}

.terminal-bar {
  min-height: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: var(--muted);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
}

.terminal-controls {
  display: flex;
  gap: 7px;
}

.terminal-controls span {
  width: 8px;
  height: 8px;
  border: 1px solid var(--dim);
}

.terminal-controls span:nth-child(1) { background: var(--cyan); }
.terminal-controls span:nth-child(2) { background: var(--green); }
.terminal-controls span:nth-child(3) { background: var(--amber); }

.terminal-clock {
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.terminal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.75fr);
}

.identity-pane {
  min-width: 0;
  padding: 44px 46px 38px;
  border-right: 1px solid var(--line);
}

.command-line {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.command-line span {
  color: var(--green);
  font-weight: 700;
}

.hero-role {
  margin: 34px 0 10px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 84px;
  line-height: 0.96;
  font-weight: 750;
}

.availability {
  margin: 22px 0 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
}

.availability span {
  color: var(--muted);
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: #a7bac7;
  font-size: 15px;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--line-bright);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.button svg {
  width: 16px;
  height: 16px;
}

.button-primary {
  color: var(--bg);
  background: var(--green);
  border-color: var(--green);
}

.button-primary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
}

.button-secondary {
  color: var(--text);
  background: var(--panel);
}

.button-secondary:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.runtime-pane {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: stretch;
}

.runtime-block {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}

.runtime-block:nth-child(2) {
  border-right: 0;
}

.runtime-wide {
  grid-column: 1 / -1;
  min-height: 82px;
  border-right: 0;
}

.runtime-block:last-child {
  border-bottom: 0;
}

.runtime-label {
  color: var(--muted);
  font-size: 9px;
}

.runtime-block strong {
  color: var(--text);
  font-size: 30px;
  line-height: 1;
}

.runtime-block > span:last-child,
.runtime-block code {
  color: var(--cyan);
  font-size: 10px;
}

.service-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
}

.service-line b {
  color: var(--green);
}

.packet-console {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  min-height: 92px;
  padding: 16px 20px;
  background: var(--panel);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
}

.packet-label {
  color: var(--amber);
  font-size: 9px;
}

.packet-output {
  min-width: 0;
  display: grid;
  gap: 3px;
  overflow: hidden;
}

.packet-output code {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.packet-output code span {
  color: var(--green);
}

.system-strip {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-bright);
  border-bottom: 1px solid var(--line-bright);
  background: var(--panel);
}

.system-strip > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-content: center;
  gap: 2px 14px;
  padding: 22px max(20px, calc((100vw - var(--container)) / 6));
  border-right: 1px solid var(--line);
  font-family: var(--mono);
}

.system-strip > div:last-child {
  border-right: 0;
}

.system-strip span {
  grid-row: 1 / 3;
  color: var(--green);
  font-size: 10px;
}

.system-strip strong {
  font-size: 14px;
}

.system-strip small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18px 54px;
  margin-bottom: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line-bright);
}

.section-heading .command-line {
  grid-row: 1 / 3;
}

.section-heading h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.capability-list {
  border-top: 1px solid var(--line);
}

.capability {
  display: grid;
  grid-template-columns: 42px 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 132px;
  padding: 24px 18px;
  border-bottom: 1px solid var(--line);
}

.capability:hover {
  background: var(--panel);
}

.line-number {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
}

.capability > svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
}

.capability h3 {
  margin: 0 0 6px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 17px;
}

.capability p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.capability > code {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
}

.projects-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--container)) / 2));
  padding-left: max(20px, calc((100% - var(--container)) / 2));
  background: var(--panel);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project {
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.project:hover {
  border-color: var(--line-bright);
}

.project-bar {
  min-height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 30px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: var(--muted);
  background: var(--panel-alt);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
}

.project-bar b {
  justify-self: end;
  color: var(--cyan);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  min-height: 310px;
  padding: 30px 26px 24px;
}

.project-path {
  margin: 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
}

.project h3 {
  margin: 12px 0 14px;
  font-size: 25px;
  line-height: 1.28;
}

.project-main > p:last-child,
.project ul {
  color: var(--muted);
  font-size: 12px;
}

.project-main > p:last-child {
  margin: 0;
}

.project ul {
  margin: 30px 0 0;
  padding-left: 18px;
}

.project li + li {
  margin-top: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 48px;
  align-items: center;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
}

.tag-list span {
  padding: 3px 7px;
  color: var(--cyan);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 9px;
}

.commit-list {
  position: relative;
  border-top: 1px solid var(--line);
}

.commit-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 1px;
  background: var(--line-bright);
}

.commit {
  position: relative;
  display: grid;
  grid-template-columns: 30px 200px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.commit-mark {
  z-index: 1;
  width: 11px;
  height: 11px;
  margin: 7px 0 0 9px;
  background: var(--green);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--green);
}

.commit-meta {
  display: grid;
  align-content: start;
  gap: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.commit-meta span {
  color: var(--cyan);
}

.commit-content {
  max-width: 760px;
}

.commit-content > p:first-child {
  margin: 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}

.commit-content h3 {
  margin: 8px 0 12px;
  font-size: 27px;
}

.commit-content > p:not(:first-child) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.commit-content code {
  display: block;
  margin-top: 18px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
}

.stack-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--container)) / 2));
  padding-left: max(20px, calc((100% - var(--container)) / 2));
  background: var(--panel);
}

.env-list {
  border: 1px solid var(--line);
  background: var(--bg);
}

.env-list > div {
  min-height: 82px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}

.env-list > div:last-child {
  border-bottom: 0;
}

.env-list span {
  color: var(--cyan);
  font-size: 10px;
}

.env-list strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.contact-section {
  padding: 104px 20px;
  background: var(--bg);
  border-top: 1px solid var(--line-bright);
}

.contact-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.contact-inner h2 {
  max-width: 860px;
  margin: 34px 0 36px;
  font-size: 56px;
  line-height: 1.1;
}

.contact-command {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--bg);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.contact-command:hover {
  background: var(--cyan);
  border-color: var(--cyan);
}

.contact-command svg {
  width: 17px;
  height: 17px;
}

.contact-inner > p:last-child {
  margin: 26px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.site-footer {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px max(20px, calc((100% - var(--container)) / 2));
  background: var(--panel);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.site-footer p {
  margin: 0;
}

.site-footer p span { color: var(--cyan); }
.site-footer p strong { color: var(--green); }

.site-footer button,
.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.site-footer a {
  justify-self: end;
}

.site-footer button:hover,
.site-footer a:hover {
  color: var(--cyan);
}

.site-footer svg {
  width: 14px;
  height: 14px;
}

.copy-status {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: var(--bg);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
}

.copy-status[hidden] {
  display: none;
}

.copy-status svg {
  width: 16px;
  height: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-button {
    display: inline-grid;
  }

  .mobile-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0 max(20px, calc((100% - var(--container)) / 2));
    background: var(--panel);
    border-bottom: 1px solid var(--line-bright);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    min-height: 76px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 10px 14px;
    border-right: 1px solid var(--line);
    color: var(--text);
    font-family: var(--mono);
    font-size: 11px;
  }

  .mobile-nav a:first-child {
    border-left: 1px solid var(--line);
  }

  .mobile-nav a span {
    color: var(--green);
    font-size: 9px;
  }

  .terminal-grid {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .identity-pane {
    padding: 36px 32px;
  }

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

  .runtime-block {
    padding: 16px;
  }

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

  .project-grid {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 60px;
  }

  .header-inner {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 11px;
  }

  .header-status,
  #print-resume {
    display: none;
  }

  .mobile-nav {
    grid-template-columns: repeat(2, 1fr);
    padding-right: 14px;
    padding-left: 14px;
  }

  .mobile-nav a:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .hero {
    height: calc(100svh - 104px);
    min-height: 620px;
    max-height: 720px;
  }

  .hero-inner {
    width: calc(100% - 24px);
    padding: 18px 0;
  }

  .terminal-shell {
    box-shadow: 6px 6px 0 rgba(11, 22, 34, 0.7);
  }

  .terminal-bar {
    grid-template-columns: auto 1fr auto;
    padding: 0 10px;
  }

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

  .identity-pane {
    padding: 28px 20px 24px;
    border-right: 0;
  }

  .hero-role {
    margin-top: 24px;
  }

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

  .hero-copy {
    margin-top: 16px;
    font-size: 13px;
  }

  .availability {
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .runtime-pane {
    display: none;
  }

  .packet-console {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: 88px;
    padding: 12px 16px;
  }

  .packet-output code:nth-child(3) {
    display: none;
  }

  .system-strip {
    grid-template-columns: 1fr;
  }

  .system-strip > div {
    min-height: 74px;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .system-strip > div:last-child {
    border-bottom: 0;
  }

  .section {
    width: calc(100% - 32px);
    padding: 76px 0;
  }

  .projects-section,
  .stack-section {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 38px;
  }

  .section-heading .command-line {
    grid-row: auto;
  }

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

  .capability {
    grid-template-columns: 28px 24px 1fr;
    gap: 14px;
    padding: 24px 4px;
  }

  .capability > code {
    grid-column: 3;
  }

  .capability h3 {
    font-size: 15px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 20px 20px;
  }

  .project h3 {
    font-size: 23px;
  }

  .project ul {
    margin-top: 10px;
  }

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

  .project-bar > span:first-child {
    display: none;
  }

  .commit {
    grid-template-columns: 28px 1fr;
    gap: 12px;
  }

  .commit-meta,
  .commit-content {
    grid-column: 2;
  }

  .commit-mark {
    grid-row: 1 / 3;
  }

  .commit-content h3 {
    font-size: 23px;
  }

  .env-list > div {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: 0;
    padding: 20px;
  }

  .contact-section {
    padding: 76px 16px;
  }

  .contact-inner h2 {
    font-size: 40px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 20px 16px;
  }

  .site-footer button {
    display: none;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 44px;
  }

  .button {
    width: 100%;
  }

  .terminal-clock {
    display: none;
  }

  .terminal-bar {
    grid-template-columns: auto 1fr;
  }

  .contact-inner h2 {
    font-size: 34px;
  }
}

@media (max-height: 670px) and (max-width: 720px) {
  .hero {
    height: calc(100svh - 78px);
    min-height: 520px;
  }

  .identity-pane {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .hero-role {
    margin-top: 18px;
  }

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

  .availability,
  .hero-copy {
    margin-top: 10px;
  }

  .hero-actions {
    margin-top: 14px;
  }

  .packet-console {
    min-height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  :root {
    --bg: #fff;
    --panel: #fff;
    --panel-alt: #f3f3f3;
    --text: #111;
    --muted: #444;
    --dim: #777;
    --line: #bbb;
    --line-bright: #333;
    --cyan: #145c72;
    --green: #17633a;
    --amber: #725a13;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 10pt;
  }

  .site-header,
  #packet-canvas,
  .hero-actions,
  .packet-console,
  .contact-section,
  .site-footer,
  .copy-status {
    display: none !important;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding: 26px 0;
  }

  .hero-inner,
  .section,
  .projects-section,
  .stack-section {
    width: 100%;
    padding: 22px 0;
  }

  .terminal-shell {
    border: 0;
    box-shadow: none;
  }

  .terminal-bar,
  .runtime-pane {
    display: none;
  }

  .terminal-grid {
    display: block;
  }

  .identity-pane {
    padding: 0;
    border: 0;
  }

  .hero h1 {
    font-size: 48pt;
  }

  .system-strip {
    min-height: 0;
  }

  .system-strip > div {
    padding: 10px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .section-heading h2 {
    font-size: 22pt;
  }

  .capability,
  .commit,
  .env-list > div {
    min-height: 0;
    break-inside: avoid;
    padding-top: 12px;
    padding-bottom: 12px;
  }

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

  .project {
    break-inside: avoid;
  }

  .project-grid {
    min-height: 0;
    padding: 16px;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
