:root {
  color-scheme: dark;
  --bg: #080b10;
  --surface: #111722;
  --surface-2: #171f2c;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f7fb;
  --muted: #a8b3c7;
  --dim: #748096;
  --accent: #47f4c2;
  --accent-2: #64a7ff;
  --accent-3: #f5c36b;
  --danger: #ff6f91;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% 8%, rgba(71, 244, 194, 0.18), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(100, 167, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #090c12 0%, #0c1119 46%, #070a0f 100%);
  color: var(--text);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(71, 244, 194, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(71, 244, 194, 0.2), rgba(100, 167, 255, 0.2));
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  position: relative;
  transition: color 160ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.resume-link,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.resume-link,
.secondary-action {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.primary-action {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #051016;
}

.primary-action,
.secondary-action,
.resume-link,
.modal-step {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.primary-action:hover,
.secondary-action:hover,
.resume-link:hover,
.modal-step:hover {
  transform: translateY(-1px);
}

.section-band {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 82px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.project-card p,
.timeline p,
.proof-grid p,
.capability-grid p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 700px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.status-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 23, 34, 0.72);
  box-shadow: var(--shadow);
  padding: 22px;
}

.status-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(71, 244, 194, 0.12) 42%, transparent 72%);
  transform: translateX(-120%);
  animation: panel-scan 6.5s ease-in-out infinite;
}

.status-panel > * {
  position: relative;
}

.status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.status-top strong {
  color: var(--accent);
}

.usage-spotlight {
  margin-top: 18px;
  border: 1px solid rgba(71, 244, 194, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(71, 244, 194, 0.12), rgba(100, 167, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.usage-spotlight span,
.usage-spotlight small {
  display: block;
  color: var(--muted);
}

.usage-spotlight span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.usage-spotlight strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--text);
  font-size: 38px;
  line-height: 1;
}

.usage-spotlight small {
  font-size: 13px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.metric-grid div,
.terminal-card,
.capability-grid article,
.timeline article,
.proof-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.metric-grid div {
  padding: 16px;
}

.metric-grid span {
  display: block;
  color: var(--dim);
  font-size: 12px;
}

.metric-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.1;
}

.terminal-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px var(--accent);
  flex: 0 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading.split p {
  max-width: 420px;
}

.interview-cta {
  box-shadow: 0 14px 34px rgba(71, 244, 194, 0.22);
}

.secondary-action.interview-cta {
  border-color: rgba(71, 244, 194, 0.38);
  background: rgba(71, 244, 194, 0.09);
}

.interview-agent {
  padding-top: 32px;
}

.interview-workbench {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 1px solid rgba(71, 244, 194, 0.28);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(71, 244, 194, 0.08), transparent 38%),
    rgba(12, 17, 25, 0.92);
  box-shadow: var(--shadow);
}

.agent-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid var(--line);
  padding: 28px;
  background: rgba(255, 255, 255, 0.025);
}

.agent-identity {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.agent-orbit {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(71, 244, 194, 0.5);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(100, 167, 255, 0.38), rgba(71, 244, 194, 0.12));
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(71, 244, 194, 0.14);
}

.agent-identity .eyebrow {
  margin-bottom: 4px;
}

.agent-identity h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.agent-sidebar > p {
  margin: 0;
  color: var(--muted);
}

.agent-guardrail {
  display: grid;
  gap: 5px;
  border-left: 2px solid var(--accent-3);
  padding-left: 12px;
}

.agent-guardrail strong {
  color: var(--accent-3);
  font-size: 13px;
}

.agent-guardrail span {
  color: var(--muted);
  font-size: 13px;
}

.agent-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.agent-mode,
.agent-topic,
.agent-suggestion,
.agent-reset,
.chat-message-meta button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.agent-mode {
  min-height: 40px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.agent-mode:hover,
.agent-mode.active {
  border-color: rgba(71, 244, 194, 0.5);
  background: rgba(71, 244, 194, 0.11);
  color: var(--text);
}

.agent-topic-list {
  display: grid;
  gap: 8px;
}

.agent-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--text);
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}

.agent-topic small {
  color: var(--accent-3);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.agent-topic:hover,
.agent-suggestion:hover,
.agent-reset:hover,
.chat-message-meta button:hover {
  border-color: rgba(100, 167, 255, 0.5);
  background: rgba(100, 167, 255, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.agent-chat-shell {
  display: grid;
  min-height: 620px;
  grid-template-rows: auto minmax(260px, 1fr) auto auto auto;
  padding: 22px;
}

.agent-chat-topline,
.agent-composer-footer,
.chat-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agent-chat-topline {
  border-bottom: 1px solid var(--line);
  padding: 0 0 16px;
}

.agent-chat-topline strong {
  font-size: 16px;
}

.agent-chat-topline small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.agent-online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.agent-reset {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.agent-transcript {
  display: grid;
  align-content: start;
  gap: 14px;
  max-height: 356px;
  overflow: auto;
  padding: 22px 2px;
  scrollbar-color: rgba(71, 244, 194, 0.45) transparent;
}

.chat-message {
  width: min(88%, 660px);
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 13px 14px;
}

.chat-message.user {
  justify-self: end;
  border-color: rgba(100, 167, 255, 0.3);
  border-radius: 14px 14px 4px 14px;
  background: rgba(100, 167, 255, 0.1);
}

.chat-message-label {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.chat-message.user .chat-message-label {
  color: #c9ddff;
}

.chat-message p {
  margin: 0;
  color: #e8edf7;
  font-size: 14px;
  white-space: pre-wrap;
}

.chat-message-meta {
  margin-top: 10px;
}

.chat-message-meta span {
  color: var(--accent-3);
  font-size: 11px;
  font-weight: 800;
}

.chat-message-meta button {
  min-height: 28px;
  padding: 0 8px;
  color: #c9ddff;
  font-size: 11px;
  font-weight: 800;
}

.agent-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  padding: 0 0 14px;
}

.agent-suggestion {
  min-height: 32px;
  padding: 0 10px;
  color: #c9ddff;
  font-size: 12px;
  font-weight: 700;
}

.agent-composer {
  border: 1px solid rgba(100, 167, 255, 0.28);
  border-radius: 12px;
  background: rgba(8, 11, 16, 0.72);
  padding: 10px 12px 12px;
}

.agent-composer textarea {
  width: 100%;
  resize: vertical;
  min-height: 50px;
  max-height: 140px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  line-height: 1.5;
}

.agent-composer textarea::placeholder {
  color: var(--dim);
}

.agent-composer-footer {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.agent-composer-footer > span,
.agent-privacy {
  color: var(--dim);
  font-size: 12px;
}

.agent-send {
  min-height: 36px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.agent-privacy {
  margin: 10px 0 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.capability-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.capability-grid article,
.proof-grid article {
  padding: 22px;
}

.proof-card {
  position: relative;
  cursor: pointer;
  padding-bottom: 46px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.proof-card::after {
  content: "点击查看";
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
}

.proof-card:hover,
.proof-card.active {
  border-color: rgba(71, 244, 194, 0.46);
  background: rgba(71, 244, 194, 0.07);
  transform: translateY(-2px);
}

.proof-card.active::after {
  color: var(--accent);
  content: "正在展示";
}

.proof-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.capability-grid span {
  color: var(--accent-3);
  font-weight: 800;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-tier + .project-tier {
  margin-top: 48px;
}

.tier-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.tier-heading h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.tier-heading p:last-child {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

.practice-tier {
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.compact-grid .project-card {
  background: rgba(17, 23, 34, 0.62);
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 23, 34, 0.8);
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(71, 244, 194, 0.42);
  background: rgba(22, 31, 45, 0.94);
}

.project-card:focus-visible,
.resume-link:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.video-actions a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.86;
}

.play-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(5, 12, 18, 0.78);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.open-hint {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.project-body {
  padding: 18px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  border: 1px solid rgba(100, 167, 255, 0.28);
  border-radius: 8px;
  padding: 4px 8px;
  color: #b7d2ff;
  font-size: 12px;
}

.project-status {
  border: 1px solid rgba(71, 244, 194, 0.32);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(71, 244, 194, 0.08);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  padding: 22px;
}

.timeline span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.usage-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.usage-copy,
.usage-images figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 23, 34, 0.8);
}

.usage-copy {
  padding: 24px;
}

.usage-copy p {
  color: var(--muted);
}

.usage-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.usage-metrics span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
}

.usage-metrics strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.usage-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.usage-images figure {
  margin: 0;
  overflow: hidden;
}

.usage-images figure:first-child:nth-last-child(1),
.usage-images figure:first-child:nth-last-child(1) ~ figure,
.usage-images figure:first-child:nth-last-child(2),
.usage-images figure:first-child:nth-last-child(2) ~ figure {
  grid-column: span 2;
}

.usage-images img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top left;
  cursor: zoom-in;
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.usage-images img:hover {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.01);
}

.usage-images figcaption {
  border-top: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 32px 0 46px;
}

.site-footer p {
  margin-bottom: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0c1119;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
}

.modal-video {
  background: #030506;
}

.modal-video video {
  width: 100%;
  max-height: 62vh;
  display: block;
  background: #000;
}

.video-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 10px 14px 0;
  background: rgba(255, 255, 255, 0.03);
}

.video-option {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0 12px;
}

.video-option.active,
.video-option:hover {
  border-color: rgba(71, 244, 194, 0.46);
  background: rgba(71, 244, 194, 0.1);
  color: var(--text);
}

.video-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
}

.video-actions a,
.video-actions button {
  border: 1px solid rgba(100, 167, 255, 0.38);
  border-radius: 8px;
  background: rgba(100, 167, 255, 0.1);
  color: #c9ddff;
  min-height: 34px;
  padding: 0 12px;
  font: inherit;
  font-weight: 700;
}

.video-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.video-placeholder {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(135deg, rgba(71, 244, 194, 0.08), rgba(100, 167, 255, 0.08));
}

.video-placeholder img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.video-placeholder strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.video-placeholder p {
  margin-bottom: 0;
  color: var(--muted);
}

.modal-content {
  padding: 26px;
}

.modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-nav span {
  color: var(--dim);
  font-size: 13px;
  font-weight: 800;
}

.modal-step {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0 14px;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.project-docs {
  border: 1px solid rgba(100, 167, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(100, 167, 255, 0.07);
  margin-top: 18px;
  padding: 16px;
}

.project-docs strong {
  display: block;
  color: #c9ddff;
  margin-bottom: 10px;
}

.project-docs div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-docs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(100, 167, 255, 0.38);
  border-radius: 8px;
  background: rgba(100, 167, 255, 0.1);
  color: #d8e7ff;
  font-size: 13px;
  font-weight: 800;
  padding: 0 12px;
}

.review-callout {
  border: 1px solid rgba(245, 195, 107, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245, 195, 107, 0.12), rgba(71, 244, 194, 0.05));
  margin-top: 18px;
  padding: 16px;
}

.review-callout strong {
  display: block;
  color: var(--accent-3);
  margin-bottom: 8px;
}

.review-callout p {
  color: #d8deeb;
  margin: 0;
}

.evidence-strip {
  border: 1px solid rgba(71, 244, 194, 0.22);
  border-radius: var(--radius);
  background: rgba(71, 244, 194, 0.05);
  margin-top: 18px;
  padding: 16px;
}

.evidence-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.evidence-heading strong {
  color: var(--accent);
}

.evidence-heading span {
  color: var(--muted);
  font-size: 13px;
}

.evidence-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.evidence-images img {
  width: 100%;
  max-height: 460px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  object-position: top;
  background: #fff;
  cursor: zoom-in;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    filter 160ms ease;
}

.evidence-images img:hover {
  border-color: rgba(71, 244, 194, 0.48);
  filter: saturate(1.05) contrast(1.02);
  transform: translateY(-2px);
}

.proof-grid .proof-card:nth-child(2) {
  border-color: rgba(100, 167, 255, 0.22);
}

.proof-grid .proof-card:nth-child(2).active,
.proof-grid .proof-card:nth-child(2):hover {
  background: rgba(100, 167, 255, 0.08);
  border-color: rgba(100, 167, 255, 0.42);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 36px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(96vw, 1480px);
  max-height: 86vh;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox p {
  width: min(96vw, 1480px);
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 26px;
}

.detail-list div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.detail-list dt {
  color: var(--accent);
  font-weight: 800;
}

.detail-list dd {
  margin: 6px 0 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .capability-grid,
  .timeline,
  .project-grid,
  .proof-grid,
  .usage-proof,
  .interview-workbench {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
  }

  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .capability-grid,
  .timeline,
  .project-grid,
  .proof-grid,
  .usage-proof,
  .interview-workbench,
  .section-heading.split,
  .tier-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-band {
    padding: 48px 0;
  }

  h1 {
    font-size: 40px;
  }

  .status-panel {
    padding: 16px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }

  .agent-chat-shell {
    min-height: 560px;
    padding: 18px;
  }

  .agent-transcript {
    max-height: 320px;
  }

  .chat-message {
    width: 94%;
  }

  .agent-chat-topline {
    align-items: flex-start;
  }

  .modal {
    padding: 10px;
  }

  .lightbox {
    padding: 12px;
  }

  .video-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .evidence-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .evidence-images {
    grid-template-columns: 1fr;
  }

  .usage-images {
    grid-template-columns: 1fr;
  }

  .usage-images figure:first-child:nth-last-child(1),
  .usage-images figure:first-child:nth-last-child(1) ~ figure,
  .usage-images figure:first-child:nth-last-child(2),
  .usage-images figure:first-child:nth-last-child(2) ~ figure {
    grid-column: span 1;
  }

  .usage-images img {
    height: auto;
    max-height: 420px;
  }

  .modal-nav {
    align-items: stretch;
  }

  .modal-step {
    flex: 1;
  }
}

@keyframes panel-scan {
  0%,
  38% {
    transform: translateX(-120%);
  }

  62%,
  100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}


.video-actions a.live-demo-action,
.project-docs a.project-live-link {
  border-color: rgba(71, 244, 194, 0.62);
  background: rgba(71, 244, 194, 0.14);
  color: var(--accent);
}

.video-actions a.live-demo-action {
  margin-left: auto;
}

.project-docs a.project-live-link {
  flex: 1 0 100%;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
}

.project-docs a.project-live-link span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

/* UI refresh: evidence-first developer portfolio. */
:root {
  --accent-2: #69c9b2;
  --accent-3: #b6c1cc;
  --shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(71, 244, 194, 0.12), transparent 30%),
    linear-gradient(180deg, #081014 0%, #0a1117 48%, #070b10 100%);
}

body::before {
  background: none;
  mask-image: none;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-video-layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #080d0b;
}

.hero-video-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 11, 0.94) 0%, rgba(8, 13, 11, 0.78) 37%, rgba(8, 13, 11, 0.38) 70%, rgba(8, 13, 11, 0.62) 100%),
    linear-gradient(0deg, rgba(8, 13, 11, 0.72), transparent 48%);
}

.hero-video-layer video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy,
.status-panel {
  position: relative;
  z-index: 1;
}

.status-panel {
  background: rgba(10, 16, 13, 0.74);
  backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-layer video {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-video-layer {
    opacity: 0.55;
  }

  .status-panel {
    backdrop-filter: none;
  }
}
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 64px;
}

h1 {
  max-width: 710px;
  font-size: clamp(42px, 5.7vw, 68px);
  line-height: 1.08;
}

.hero-text {
  max-width: 620px;
  font-size: 17px;
}

.status-panel {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(13, 22, 28, 0.86);
  box-shadow: none;
  padding: 16px;
}

.status-panel::before {
  display: none;
}

.hero-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 10px;
  margin-top: 16px;
}

.hero-media-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1218;
}

.hero-media-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top left;
}

.hero-media-grid figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-media-primary {
  grid-row: span 1;
}

.usage-spotlight {
  border-color: rgba(71, 244, 194, 0.32);
  background: rgba(71, 244, 194, 0.06);
  padding: 16px;
}

.usage-spotlight strong {
  font-size: 34px;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
}

.metric-grid div {
  padding: 12px 10px;
}

.metric-grid strong {
  font-size: 18px;
}

.section-heading.split,
.tier-heading {
  display: block;
}

.section-heading.split p,
.tier-heading p:last-child {
  max-width: 640px;
  margin-top: 10px;
}

.capability-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.capability-grid article:nth-child(1),
.capability-grid article:nth-child(4) {
  grid-column: span 5;
}

.capability-grid article:nth-child(2),
.capability-grid article:nth-child(3) {
  grid-column: span 7;
}

.capability-grid article,
.proof-grid article {
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

#featuredProjectGrid,
#practiceProjectGrid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

#featuredProjectGrid .project-card:nth-child(1),
#featuredProjectGrid .project-card:nth-child(2) {
  grid-column: span 6;
}

#featuredProjectGrid .project-card:nth-child(n + 3) {
  grid-column: span 4;
}

#practiceProjectGrid .project-card:nth-child(1) {
  grid-column: span 7;
}

#practiceProjectGrid .project-card:nth-child(2) {
  grid-column: span 5;
}

#practiceProjectGrid .project-card:nth-child(3),
#practiceProjectGrid .project-card:nth-child(4),
#practiceProjectGrid .project-card:nth-child(5) {
  grid-column: span 4;
}

#practiceProjectGrid .project-card:nth-child(6),
#practiceProjectGrid .project-card:nth-child(7) {
  grid-column: span 6;
}

#featuredProjectGrid .project-card:nth-child(-n + 2) .project-thumb {
  aspect-ratio: 16 / 10;
}

.project-card {
  box-shadow: none;
}

.project-card:hover {
  transform: translateY(-3px);
  background: rgba(20, 32, 40, 0.94);
}

.project-thumb img {
  opacity: 0.94;
  transition: transform 240ms ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.025);
}

.project-body {
  padding: 18px;
}

.project-card h3 {
  font-size: 20px;
}

.project-card p {
  display: -webkit-box;
  min-height: 4.8em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-meta {
  min-height: 26px;
  overflow: hidden;
}

.project-meta .tag:nth-child(n + 4) {
  display: none;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.open-hint {
  margin-top: 0;
}

.card-live-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(71, 244, 194, 0.48);
  border-radius: 8px;
  background: rgba(71, 244, 194, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
}

.card-live-action:hover {
  background: rgba(71, 244, 194, 0.18);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid article,
  .capability-grid article:nth-child(n) {
    grid-column: span 6;
  }

  #featuredProjectGrid .project-card:nth-child(n),
  #practiceProjectGrid .project-card:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .status-panel {
    width: 100%;
  }

  .hero-media-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid article,
  .capability-grid article:nth-child(n),
  #featuredProjectGrid .project-card:nth-child(n),
  #practiceProjectGrid .project-card:nth-child(n) {
    grid-column: span 12;
  }

  .project-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Portfolio refresh: editorial workbench with recruiter-first hierarchy. */
:root {
  --bg: #080b0a;
  --surface: #101613;
  --surface-2: #18201b;
  --line: rgba(232, 245, 231, 0.13);
  --text: #f1f5ed;
  --muted: #aab7ac;
  --dim: #718076;
  --accent: #d8ff64;
  --accent-2: #8da8ff;
  --accent-3: #ff9b6a;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
}

html {
  scroll-padding-top: 84px;
}

body {
  background: var(--bg);
  font-family: "Segoe UI", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
}

body::before {
  background-image:
    linear-gradient(rgba(216, 255, 100, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 255, 100, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 80%);
}

.page-shell {
  width: min(1240px, calc(100% - 48px));
}

.site-header {
  border-bottom: 1px solid rgba(232, 245, 231, 0.1);
  background: rgba(8, 11, 10, 0.82);
}

.brand-mark {
  border-color: rgba(216, 255, 100, 0.45);
  border-radius: 4px;
  background: var(--accent);
  color: #0b1009;
}

.brand small {
  color: var(--dim);
}

.nav-links {
  gap: 26px;
  color: #98a79b;
}

.resume-link,
.primary-action,
.secondary-action {
  min-height: 40px;
  border-radius: 4px;
}

.primary-action {
  background: var(--accent);
  color: #0a0e09;
}

.secondary-action,
.resume-link {
  background: rgba(255, 255, 255, 0.035);
}

.section-band {
  padding: 92px 0;
}

.hero {
  min-height: min(760px, calc(100vh - 84px));
  padding-top: 74px;
  padding-bottom: 74px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  gap: 72px;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.11em;
  font-size: 11px;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 6.4vw, 82px);
  line-height: 0.98;
}

h2 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.03;
}

.hero-text {
  max-width: 620px;
  color: #b7c4b9;
  font-size: 17px;
}

.hero-actions {
  gap: 10px;
  margin-top: 26px;
}

.status-panel,
.interview-workbench,
.modal-panel {
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.status-panel {
  border-color: rgba(216, 255, 100, 0.3);
  background: rgba(16, 22, 19, 0.9);
  padding: 20px;
}

.status-panel::before {
  background: linear-gradient(90deg, transparent 0%, rgba(216, 255, 100, 0.12) 48%, transparent 76%);
}

.usage-spotlight {
  border-radius: 4px;
  border-color: rgba(216, 255, 100, 0.34);
  background: rgba(216, 255, 100, 0.06);
}

.usage-spotlight strong {
  color: var(--accent);
}

.metric-grid div,
.terminal-card,
.capability-grid article,
.timeline article,
.proof-grid article {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.split {
  align-items: start;
}

.interview-agent {
  padding-top: 70px;
}

.interview-workbench {
  border-color: rgba(216, 255, 100, 0.28);
  background: rgba(12, 17, 14, 0.94);
}

.agent-sidebar {
  background: rgba(255, 255, 255, 0.018);
}

.agent-orbit {
  border-radius: 4px;
  background: var(--accent);
  color: #0a0e09;
  box-shadow: none;
}

.agent-mode,
.agent-topic,
.agent-suggestion,
.agent-reset,
.chat-message-meta button {
  border-radius: 4px;
}

.capability-grid,
.proof-grid {
  gap: 12px;
}

.capability-grid article,
.proof-grid article,
.timeline article {
  padding: 24px;
}

.capability-grid article:nth-child(1),
.capability-grid article:nth-child(4) {
  background: rgba(216, 255, 100, 0.055);
}

.capability-grid article:nth-child(2),
.capability-grid article:nth-child(3) {
  background: rgba(141, 168, 255, 0.045);
}

.timeline {
  position: relative;
  gap: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 8%;
  left: 8%;
  border-top: 1px solid rgba(216, 255, 100, 0.28);
}

.timeline article {
  position: relative;
  margin: 0 6px;
  border-radius: 4px;
  background: var(--surface);
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.timeline article > * {
  position: relative;
  z-index: 1;
  margin-left: 28px;
}

.projects-section {
  border-top: 1px solid rgba(232, 245, 231, 0.08);
  border-bottom: 1px solid rgba(232, 245, 231, 0.08);
  background: rgba(255, 255, 255, 0.012);
}

.project-tier + .project-tier {
  margin-top: 64px;
}

.tier-heading h3 {
  font-size: 26px;
}

.project-card {
  border-radius: 4px;
  border-color: rgba(232, 245, 231, 0.15);
  background: #101613;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.project-card:hover {
  border-color: rgba(216, 255, 100, 0.62);
  background: #151d18;
  transform: translateY(-6px);
}

.project-thumb {
  background: #202a23;
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 11, 10, 0.58));
}

.project-body {
  padding: 20px;
}

.tag {
  border-radius: 3px;
  border-color: rgba(141, 168, 255, 0.35);
  color: #bdcaff;
}

.project-status,
.card-live-action {
  border-radius: 3px;
}

.open-hint,
.card-live-action {
  color: var(--accent);
}

.proof-card:hover,
.proof-card.active {
  border-color: rgba(216, 255, 100, 0.55);
  background: rgba(216, 255, 100, 0.06);
}

.usage-copy,
.usage-images figure {
  border-radius: 4px;
  background: #101613;
}

.modal-close,
.modal-step,
.video-option {
  border-radius: 4px;
}

.site-footer {
  padding-top: 42px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    gap: 38px;
  }

  .timeline::before {
    display: none;
  }

  .timeline article {
    margin: 0;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 620px);
  }

  .site-header {
    gap: 12px;
    padding: 12px 0;
  }

  .nav-links {
    display: none;
  }

  .resume-link {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }

  .section-band {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    font-size: clamp(40px, 12vw, 62px);
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions > * {
    flex: 1 1 calc(50% - 8px);
  }

  .section-heading.split,
  .tier-heading {
    display: block;
  }

  .section-heading.split > p,
  .tier-heading p:last-child {
    margin-top: 16px;
  }

  .interview-workbench {
    grid-template-columns: 1fr;
  }

  .agent-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline article {
    margin-bottom: 10px;
  }

  .project-tier + .project-tier {
    margin-top: 48px;
  }

  .reveal-on-scroll {
    transform: translateY(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Final visual direction: a quiet, paper-like work archive. */
:root {
  --bg: #f2efe9;
  --surface: #fbfaf7;
  --surface-2: #e7e2da;
  --line: rgba(27, 29, 27, 0.16);
  --text: #1b1d1b;
  --muted: #5f655e;
  --dim: #878c83;
  --accent: #b6422c;
  --accent-2: #255c55;
  --accent-3: #c38a3a;
  --shadow: 0 16px 38px rgba(47, 43, 36, 0.09);
}
body { background: var(--bg); color: var(--text); font-family: "Microsoft YaHei", "Segoe UI", ui-sans-serif, system-ui, sans-serif; }
body::before { background-image: linear-gradient(rgba(27,29,27,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(27,29,27,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, rgba(0,0,0,.42), transparent 76%); }
.site-header { border-bottom-color: var(--line); background: rgba(242,239,233,.9); backdrop-filter: blur(12px); }
.brand-mark { border-color: var(--accent); border-radius: 50%; background: transparent; color: var(--accent); }
.brand strong, .site-footer strong, h1, h2, h3 { color: var(--text); }
.brand small, .nav-links { color: var(--muted); }
.nav-links a:hover { color: var(--accent); }
.resume-link { border-color: var(--text); color: var(--text); background: transparent; border-radius: 999px; }
.resume-link:hover { background: var(--text); color: var(--bg); }
.section-band { padding: 104px 0; }
.hero { min-height: min(720px, calc(100dvh - 84px)); padding-top: 88px; padding-bottom: 88px; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); gap: 84px; }
.eyebrow { color: var(--accent); letter-spacing: .08em; font-size: 11px; }
h1 { max-width: 730px; font-size: clamp(48px,6.7vw,88px); line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(32px,4vw,54px); line-height: 1.05; letter-spacing: -.035em; }
.hero-text { color: var(--muted); max-width: 590px; font-size: 18px; line-height: 1.85; }
.primary-action { background: var(--accent); color: #fff; border-radius: 999px; }
.primary-action:hover { background: #913522; }
.secondary-action { border-color: var(--line); color: var(--text); background: transparent; border-radius: 999px; }
.secondary-action:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.status-panel, .interview-workbench, .modal-panel { border-radius: 0; box-shadow: var(--shadow); }
.status-panel { border-color: var(--line); background: var(--surface); padding: 16px; }
.status-panel::before { display: none; }
.usage-spotlight { border-radius: 0; border-color: var(--line); background: var(--surface-2); }
.usage-spotlight strong { color: var(--accent); }
.metric-grid div, .terminal-card, .capability-grid article, .timeline article, .proof-grid article { border-radius: 0; background: var(--surface); border-color: var(--line); }
.interview-workbench { border-color: var(--line); background: var(--surface); }
.agent-sidebar { background: var(--surface-2); }
.agent-orbit { border-radius: 50%; background: var(--accent); color: #fff; }
.capability-grid article:nth-child(1), .capability-grid article:nth-child(4) { background: #f8e8e2; }
.capability-grid article:nth-child(2), .capability-grid article:nth-child(3) { background: #e8efeb; }
.timeline::before { border-top-color: var(--accent); }
.projects-section { border-top-color: var(--line); border-bottom-color: var(--line); background: rgba(255,255,255,.22); }
.project-card { border-radius: 0; border-color: var(--line); background: var(--surface); box-shadow: none; }
.project-card:hover { border-color: var(--accent); background: #fff; transform: translateY(-4px); }
.project-thumb { background: var(--surface-2); }
.tag { border-radius: 999px; border-color: rgba(37,92,85,.35); color: var(--accent-2); }
.proof-card:hover, .proof-card.active { border-color: var(--accent); background: #fff; }
.usage-copy, .usage-images figure { border-radius: 0; background: var(--surface); border-color: var(--line); }
.modal-close, .modal-step, .video-option { border-radius: 999px; }
.site-footer { border-top-color: var(--line); }

@media (max-width: 720px) {
  .section-band { padding: 72px 0; }
  .hero { padding-top: 54px; gap: 38px; }
  h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-text { font-size: 16px; }
}

/* Experiment v1: browse the same material through explicit workspaces. */
:root {
  --accent-2: var(--accent);
  --accent-3: var(--accent);
}

.view-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin-left: auto;
  margin-right: 12px;
  border-bottom: 1px solid var(--line);
}

.view-tab {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  transition: color 160ms ease, border-color 160ms ease;
}

.view-tab:hover,
.view-tab:focus-visible,
.view-tab.active {
  color: var(--text);
}

.view-tab.active { border-bottom-color: var(--accent); }

.view-tab:focus-visible,
.project-filter:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.view-tab:focus:not(:focus-visible),
.project-filter:focus:not(:focus-visible) {
  outline: none;
}

.view-tab:focus-visible,
.project-filter:focus-visible {
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

[data-workspace][hidden] { display: none !important; }

@media (prefers-reduced-motion: no-preference) {
  [data-workspace]:not([hidden]) { animation: workspace-enter 220ms ease-out both; }
}

@keyframes workspace-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  margin: 0 0 34px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-filter {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  transition: background 160ms ease, color 160ms ease;
}

.project-filter:last-child { border-right: 0; }
.project-filter:hover { color: var(--text); background: var(--surface-2); }
.project-filter.active { background: var(--text); color: var(--surface); }

.projects-section { background: transparent; }
.projects-section .section-heading { max-width: 820px; }
.projects-section .section-heading.split { display: block; }
.projects-section .section-heading.split > p { max-width: 620px; margin-top: 14px; }
.tier-heading { display: block; max-width: 760px; margin-bottom: 20px; }
.tier-heading > p { max-width: 650px; }

@media (max-width: 720px) {
  .site-header { align-items: center; flex-wrap: wrap; }
  .view-nav {
    order: 3;
    width: 100%;
    margin: 2px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .view-nav::-webkit-scrollbar { display: none; }
  .view-tab { flex: 1 0 auto; padding: 0 10px; }
  .resume-link { margin-left: auto; }
  .project-filters { width: 100%; }
  .project-filter { flex: 1 1 auto; padding: 0 10px; }
}

/* Hero media contrast: the background stays documentary, while copy remains legible. */
.hero-copy h1 {
  color: #f4f5ef;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.46);
}

.hero-copy .hero-text {
  color: rgba(238, 243, 235, 0.88);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.hero-copy .secondary-action {
  border-color: rgba(236, 243, 232, 0.45);
  background: rgba(7, 13, 10, 0.34);
  color: #f4f5ef;
}

.hero-copy .secondary-action:hover {
  border-color: rgba(236, 243, 232, 0.8);
  background: rgba(7, 13, 10, 0.64);
}

/* Full-bleed hero media with one softer frame instead of nested rectangles. */
.hero {
  margin: 12px 0 0;
  padding: clamp(56px, 8vw, 92px) clamp(22px, 5vw, 72px);
  border-radius: 22px;
  overflow: hidden;
}

.site-video-layer {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #111512;
}

.site-video-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(242, 239, 233, 0.64);
}

.site-video-layer video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: saturate(0.72) contrast(0.92);
}

.page-shell {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 13, 11, 0.72), rgba(8, 13, 11, 0.36) 64%, rgba(8, 13, 11, 0.48));
}

.hero-video-layer,
.hero-video-layer video {
  border-radius: inherit;
}

.hero-video-layer::after {
  background:
    linear-gradient(90deg, rgba(8, 13, 11, 0.97) 0%, rgba(8, 13, 11, 0.82) 42%, rgba(8, 13, 11, 0.32) 78%, rgba(8, 13, 11, 0.56) 100%),
    linear-gradient(0deg, rgba(8, 13, 11, 0.68), transparent 52%);
}

.status-panel {
  border: 1px solid rgba(242, 239, 233, 0.42);
  border-radius: 18px;
  background: rgba(251, 250, 247, 0.86);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.hero-media-grid figure {
  border-radius: 12px;
  overflow: hidden;
}

.usage-spotlight {
  border-radius: 12px;
}

.metric-grid div {
  border-radius: 10px;
}

@media (max-width: 720px) {
  .hero {
    margin-top: 8px;
    padding: 54px 18px 28px;
    border-radius: 16px;
  }

  .status-panel {
    border-radius: 14px;
    backdrop-filter: none;
  }

  .site-video-layer video {
    opacity: 0.46;
  }

  .site-video-layer::after {
    background: rgba(242, 239, 233, 0.74);
  }
}

/* Anti-template controls: authored utility actions instead of pill-heavy CTA chrome. */
.resume-link,
.primary-action,
.secondary-action,
.card-live-action,
.play-chip,
.video-option,
.video-actions a,
.video-actions button,
.modal-step {
  border-radius: 6px;
  box-shadow: none;
}

.primary-action {
  background: var(--accent);
  color: #fff;
}

.primary-action:hover {
  background: #913522;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.16);
}

.project-filters {
  gap: 22px;
  width: auto;
  border: 0;
  background: transparent;
}

.project-filter,
.project-filter.active,
.project-filter:hover {
  min-height: 34px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.project-filter.active {
  border-bottom-color: var(--accent);
  color: var(--text);
}

.project-filter:hover {
  color: var(--text);
}

.project-card {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: border-color 160ms ease;
}

.project-card:hover {
  border-color: var(--accent);
  background: transparent;
  transform: none;
}

.project-thumb {
  border-radius: 14px;
  background: rgba(27, 29, 27, 0.08);
}

.project-thumb img {
  opacity: 0.94;
}

.project-body {
  padding: 16px 2px 20px;
}

.project-meta {
  gap: 12px;
}

.tag {
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--accent-2);
}

.tag::before {
  content: "/";
  margin-right: 6px;
  color: var(--accent);
}

.project-status {
  border-radius: 4px;
}

.play-chip {
  background: rgba(27, 29, 27, 0.84);
}

.open-hint {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero-media-grid figure,
.evidence-images img,
.usage-images figure,
.usage-images img {
  border-radius: 14px;
}

@media (max-width: 720px) {
  .project-filters {
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    gap: 34px;
  }

  .hero-copy {
    min-width: 0;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(44px, 13vw, 62px);
  }
}

/* Layered archive canvas: separate the documentary video, navigation rail, hero
   workbench, and paper sections so the page reads as a composed environment. */
body {
  background: #d9d6cf;
}

.site-video-layer {
  opacity: 0.82;
}

.site-video-layer::after {
  background: rgba(224, 221, 213, 0.3);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin: 0 0 16px;
  padding: 10px 16px;
  border: 1px solid rgba(27, 29, 27, 0.14);
  border-radius: 10px;
  background: rgba(247, 245, 240, 0.78);
  box-shadow: 0 10px 28px rgba(47, 43, 36, 0.08);
  backdrop-filter: blur(14px) saturate(110%);
}

.page-shell {
  width: min(1240px, calc(100% - 40px));
}

main {
  display: grid;
  gap: 20px;
}

.section-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 104px) clamp(24px, 5vw, 72px);
  border: 1px solid rgba(27, 29, 27, 0.13);
  border-radius: 16px;
  background: rgba(244, 241, 235, 0.86);
  box-shadow: 0 18px 48px rgba(47, 43, 36, 0.08);
}

.section-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.32), transparent 34%);
}

.hero {
  margin: 0;
  min-height: min(720px, calc(100dvh - 118px));
  border-color: transparent;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(7, 12, 10, 0.4), rgba(7, 12, 10, 0.14) 46%, transparent 76%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
}

.hero::after {
  z-index: 0;
  background: linear-gradient(90deg, transparent 72%, rgba(7, 12, 10, 0.12));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-actions .primary-action,
.hero-actions .secondary-action {
  border-radius: 999px;
}

.status-panel {
  background: rgba(250, 248, 243, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.capability,
.workflow,
.projects-section,
.proof,
.interview-agent {
  background: rgba(245, 242, 236, 0.9);
}

.capability-grid article,
.timeline article,
.proof-grid article,
.usage-copy,
.usage-images figure,
.interview-workbench {
  box-shadow: none;
}

.capability-grid article,
.timeline article,
.proof-grid article {
  background: rgba(251, 249, 245, 0.64);
}

.projects-section,
.proof,
.interview-agent {
  border-top-color: rgba(27, 29, 27, 0.13);
  border-bottom-color: rgba(27, 29, 27, 0.13);
}

.site-footer {
  margin-top: 20px;
  padding: 34px 24px;
  border: 1px solid rgba(27, 29, 27, 0.13);
  border-radius: 12px;
  background: rgba(244, 241, 235, 0.82);
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 620px);
  }

  .site-header {
    top: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  main { gap: 12px; }

  .section-band {
    padding: 64px 18px;
    border-radius: 12px;
  }

  .hero {
    min-height: auto;
    border-radius: 0;
  }

  .site-video-layer::after {
    background: rgba(224, 221, 213, 0.48);
  }

  .site-footer {
    margin-top: 12px;
    border-radius: 10px;
  }
}

/* Interview workspace contrast pass: keep the warm paper system readable. */
.interview-workbench {
  border-color: rgba(27, 29, 27, 0.16);
  background: rgba(251, 249, 245, 0.9);
}

.agent-sidebar {
  background: rgba(231, 226, 218, 0.86);
  color: var(--text);
}

.agent-sidebar > p,
.agent-guardrail span,
.agent-chat-topline small,
.agent-privacy {
  color: var(--muted);
}

.agent-mode,
.agent-topic,
.agent-suggestion,
.agent-reset,
.chat-message-meta button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
}

.agent-mode:hover,
.agent-mode.active {
  border-color: rgba(182, 66, 44, 0.5);
  background: rgba(182, 66, 44, 0.1);
  color: var(--text);
}

.agent-topic:hover,
.agent-suggestion:hover,
.agent-reset:hover,
.chat-message-meta button:hover {
  border-color: rgba(182, 66, 44, 0.45);
  background: rgba(182, 66, 44, 0.08);
  color: var(--text);
}

.agent-chat-shell {
  background: rgba(251, 249, 245, 0.82);
}

.chat-message {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.chat-message.user {
  border-color: rgba(182, 66, 44, 0.28);
  background: rgba(182, 66, 44, 0.09);
}

.chat-message p {
  color: var(--text);
}

.chat-message.user .chat-message-label,
.chat-message-meta button,
.agent-suggestion {
  color: var(--accent);
}

.agent-composer {
  border-color: var(--line);
  background: rgba(231, 226, 218, 0.72);
}

.agent-composer textarea {
  color: var(--text);
}

.agent-composer textarea::placeholder,
.agent-composer-footer > span {
  color: var(--muted);
}

/* Layout pass: project-first hierarchy instead of equal card grids. */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(42px, 7vw, 104px);
}

.hero-copy {
  align-self: end;
  padding-bottom: clamp(10px, 3vw, 38px);
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(48px, 5.9vw, 78px);
  line-height: 1.03;
}

.hero-copy .hero-text {
  max-width: 35ch;
  font-size: 17px;
  line-height: 1.76;
}

.status-panel {
  align-self: end;
  max-width: 430px;
  margin-left: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2 {
  max-width: 16ch;
  line-height: 1.12;
}

.capability-grid {
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.capability-grid article,
.capability-grid article:nth-child(n) {
  min-height: 0;
  grid-column: auto;
  grid-row: auto;
  padding: 27px 0 28px 36px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.capability-grid .capability-lead {
  display: grid;
  grid-column: 1;
  align-content: end;
  grid-row: span 3;
  padding: 0 48px 28px 0;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.capability-grid article:nth-child(n + 2) {
  grid-column: 2;
}

.capability-grid .capability-lead h3 {
  max-width: 8ch;
  margin-top: auto;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.12;
}

.capability-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.capability-grid h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.capability-grid p {
  max-width: 54ch;
  margin-bottom: 0;
}

.timeline {
  display: block;
  border-top: 1px solid var(--line);
}

.timeline::before,
.timeline article::before {
  display: none;
}

.timeline article {
  display: grid;
  grid-template-columns: 100px minmax(160px, 0.7fr) minmax(0, 1.3fr);
  align-items: baseline;
  gap: 22px;
  margin: 0;
  padding: 25px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.timeline article > * {
  margin-left: 0;
}

.timeline article span {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.timeline article h3,
.timeline article p {
  margin-bottom: 0;
}

.timeline article h3 {
  font-size: 21px;
}

.timeline article p {
  max-width: 48ch;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 36px;
}

#featuredProjectGrid,
#practiceProjectGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#featuredProjectGrid .project-card:nth-child(n),
#practiceProjectGrid .project-card:nth-child(n) {
  grid-column: auto;
}

.project-card,
.compact-grid .project-card {
  display: block;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.project-card:hover,
.compact-grid .project-card:hover {
  border-color: var(--accent);
  background: transparent;
  transform: none;
}

.project-card .project-thumb {
  border-radius: 10px;
}

.project-card .project-body {
  padding: 15px 0 0;
}

.project-card.project-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(280px, 0.74fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: 0 0 34px;
  border-top: 0;
}

#featuredProjectGrid .project-card.project-lead {
  grid-column: 1 / -1;
}

.project-card.project-lead .project-thumb {
  aspect-ratio: 16 / 8;
}

.project-card.project-lead .project-body {
  padding: 0;
}

.project-card.project-lead h3 {
  max-width: 12ch;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.12;
}

.project-card.project-lead p {
  max-width: 42ch;
}

.project-card .project-meta {
  margin-bottom: 9px;
}

.project-card .tag {
  font-size: 11px;
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero-copy {
    align-self: auto;
    padding-bottom: 0;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(44px, 13vw, 62px);
  }

  .hero-copy .hero-text {
    max-width: 100%;
    font-size: 16px;
  }

  .status-panel {
    max-width: none;
    margin-left: 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .capability-grid {
    display: block;
  }

  .capability-grid .capability-lead,
  .capability-grid article,
  .capability-grid article:nth-child(n) {
    display: block;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-grid .capability-lead h3 {
    max-width: none;
    margin-top: 0;
    font-size: 28px;
  }

  .timeline article {
    display: block;
    padding: 24px 0;
  }

  .timeline article span,
  .timeline article h3 {
    display: block;
    margin-bottom: 9px;
  }

  .project-grid,
  .project-card.project-lead {
    display: block;
  }

  .project-card.project-lead {
    padding-bottom: 28px;
  }

  .project-card.project-lead .project-body {
    padding-top: 16px;
  }
}

/* Personal workbench direction: flat archive bands, one media field, and
   evidence treated as annotations instead of stacked UI cards. */
.site-header {
  top: 0;
  margin-bottom: 0;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(27, 29, 27, 0.18);
  border-radius: 0;
  background: rgba(242, 239, 233, 0.38);
  box-shadow: none;
  backdrop-filter: blur(10px) saturate(105%);
}

.page-shell {
  width: min(1320px, calc(100% - 48px));
}

main {
  gap: 0;
}

.section-band:not(.hero) {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: rgba(245, 242, 236, 0.78);
  box-shadow: none;
}

.section-band:not(.hero)::after {
  display: none;
}

.hero {
  min-height: min(780px, calc(100dvh - 72px));
  padding-top: clamp(74px, 10vw, 132px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(46px, 5.5vw, 76px);
}

.status-panel {
  max-width: 500px;
  padding: 8px 0 0 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.status-top {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(242, 239, 233, 0.42);
}

.usage-spotlight {
  margin-top: 18px;
  padding: 16px 0 18px;
  border: 0;
  border-top: 2px solid var(--accent);
  border-radius: 0;
  background: transparent;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(242, 239, 233, 0.42);
}

.metric-grid div {
  padding: 14px 10px 0 0;
  border: 0;
  border-right: 1px solid rgba(242, 239, 233, 0.32);
  border-radius: 0;
  background: transparent;
}

.metric-grid div:not(:first-child) {
  padding-left: 10px;
}

.metric-grid div:last-child {
  border-right: 0;
}

.capability,
.workflow,
.projects-section,
.proof,
.interview-agent {
  border-top: 1px solid rgba(27, 29, 27, 0.14);
  border-bottom: 0;
}

.interview-workbench {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.agent-sidebar,
.agent-chat-shell {
  background: transparent;
}

.agent-sidebar {
  border-right-color: var(--line);
}

.agent-composer {
  background: rgba(231, 226, 218, 0.58);
}

.site-footer {
  margin-top: 0;
  border: 0;
  border-top: 1px solid rgba(27, 29, 27, 0.14);
  border-radius: 0;
  background: rgba(245, 242, 236, 0.64);
  box-shadow: none;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 620px);
  }

  .site-header {
    padding: 12px 0;
    background: rgba(242, 239, 233, 0.54);
  }

  .section-band:not(.hero) {
    padding: 62px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 64px;
  }

  .status-panel {
    padding-left: 0;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
  }

  .metric-grid div:nth-child(2) {
    border-right: 0;
  }

  .metric-grid div:nth-child(3) {
    padding-left: 0;
  }

  .metric-grid div:nth-child(4) {
    border-right: 0;
  }

  .interview-workbench {
    border-top: 1px solid var(--line);
  }
}

/* Final selected option: MiSans for reading, Chinese brush face for headings. */
body {
  font-family: "MiSans", "MiSans-Regular", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

h1,
h2 {
  font-family: "STLiti", "华文隶书", "STXinwei", "华文新魏", serif;
  font-weight: 600;
  letter-spacing: 0;
}

h3,
.brand strong,
.site-footer strong,
.view-tab,
.resume-link,
.primary-action,
.secondary-action {
  font-family: "MiSans", "MiSans-Regular", "Microsoft YaHei UI", sans-serif;
}

/* Use soft corners for framed/touchable objects, while archive dividers stay sharp. */
.site-header {
  border-radius: 0 0 14px 14px;
}

.hero-media-grid figure,
.hero-media-grid img,
.project-thumb,
.usage-images figure,
.usage-images img {
  border-radius: 12px;
}

.primary-action,
.secondary-action {
  border-radius: 10px;
}

.status-panel,
.interview-workbench {
  border-radius: 0 16px 16px 0;
}

.project-card.project-lead {
  border-radius: 0 18px 0 18px;
}

.project-card:not(.project-lead) {
  border-radius: 12px;
}

.site-footer {
  border-radius: 16px 16px 0 0;
}

.hero-actions .primary-action,
.hero-actions .secondary-action {
  border-radius: 10px;
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 0 0 12px 12px;
  }

  .status-panel,
  .interview-workbench {
    border-radius: 0 12px 12px 0;
  }

  .site-footer {
    border-radius: 12px 12px 0 0;
  }
}

/* A restrained print-press motion keeps the generated mark alive without a video box. */
.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  transform-origin: 50% 62%;
  animation: brand-mark-press 8s ease-in-out infinite;
}

@keyframes brand-mark-press {
  0%,
  68%,
  100% {
    opacity: 0.96;
    transform: translateY(0) rotate(0deg) scale(1);
  }

  72% {
    opacity: 0.72;
    transform: translateY(1px) rotate(-1.2deg) scale(0.96);
  }

  78% {
    opacity: 1;
    transform: translateY(-1px) rotate(0.5deg) scale(1.015);
  }

  86% {
    opacity: 0.96;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark {
    animation: none;
  }
}

/* The hero action has a more specific legacy selector; keep it rounded, not pill-shaped. */
.hero-actions .primary-action,
.hero-actions .secondary-action {
  border-radius: 10px;
}

/* Readability and type pass: the footer sits on top of moving media, so it
   gets its own quiet surface; the type uses a newer Windows UI face. */
body {
  font-family: "Segoe UI Variable", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-weight: 450;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
.brand strong,
.site-footer strong {
  font-family: "Segoe UI Variable Display", "Segoe UI Variable", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-weight: 680;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  min-height: 132px;
  margin-top: 0;
  padding: 32px 28px 38px;
  border-top: 1px solid rgba(25, 27, 25, 0.24);
  background: rgba(242, 240, 234, 0.95);
  color: var(--text);
}

.site-footer strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 16px;
}

.site-footer p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer .resume-link {
  color: var(--text);
  white-space: nowrap;
}

.site-footer .resume-link:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
    min-height: 0;
    padding: 28px 18px 34px;
  }

  .site-footer > div {
    grid-column: 1 / -1;
  }

  .site-footer .resume-link {
    justify-self: start;
  }
}

/* Selected type direction: MiSans carries the reading text while a restrained
   Chinese brush face marks the authored headlines only. */
body {
  font-family: "MiSans", "MiSans-Regular", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

h1,
h2 {
  font-family: "STLiti", "华文隶书", "STXinwei", "华文新魏", serif;
  font-weight: 600;
  letter-spacing: 0;
}

h3,
.brand strong,
.site-footer strong,
.view-tab,
.resume-link,
.primary-action,
.secondary-action {
  font-family: "MiSans", "MiSans-Regular", "Microsoft YaHei UI", sans-serif;
}

/* Soft corners are reserved for objects that should feel touchable or
   framed; the archive dividers stay sharp to retain the industrial rhythm. */
.site-header {
  border-radius: 0 0 14px 14px;
}

.hero-media-grid figure,
.hero-media-grid img,
.project-thumb,
.usage-images figure,
.usage-images img {
  border-radius: 12px;
}

.primary-action,
.secondary-action {
  border-radius: 10px;
}

.status-panel,
.interview-workbench {
  border-radius: 0 16px 16px 0;
}

.project-card.project-lead {
  border-radius: 0 18px 0 18px;
}

.project-card:not(.project-lead) {
  border-radius: 12px;
}

.site-footer {
  border-radius: 16px 16px 0 0;
}

/* Small orange labels were reading like generated UI annotations. Keep the
   accent for meaningful values, and let metadata recede into the text system. */
.eyebrow,
.project-meta,
.project-card .project-meta,
.capability-grid span,
.timeline article span,
.open-hint,
.project-actions .open-hint,
.hero-media-grid figcaption,
.usage-spotlight > span,
.metric-grid span,
.proof-card .eyebrow {
  color: var(--muted) !important;
}

.project-filter {
  min-height: 42px;
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 0 0 12px 12px;
  }

  .status-panel,
  .interview-workbench {
    border-radius: 0 12px 12px 0;
  }

  .site-footer {
    border-radius: 12px 12px 0 0;
  }
}

/* Personal field-notes pass: the page should feel authored and observed,
   not assembled from a portfolio template. */
:root {
  --bg: #f7f6f3;
  --surface: #fbfbfa;
  --surface-2: #efeee9;
  --line: rgba(17, 17, 17, 0.1);
  --text: #14161a;
  --muted: #6b6f6a;
  --dim: #8b8f88;
  --accent: #7c3f2e;
  --shadow: none;
}

body {
  background: var(--bg);
  color: var(--text);
}

body::before {
  display: none;
}

.site-video-layer {
  background: var(--bg);
}

.site-video-layer video {
  opacity: 0.34;
  filter: grayscale(0.24) saturate(0.58) contrast(1.04);
}

.site-video-layer::after {
  background: rgba(225, 223, 216, 0.34);
}

.page-shell {
  width: min(1320px, calc(100% - 56px));
}

.site-header {
  top: 0;
  margin: 0;
  padding: 15px 0 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(225, 223, 216, 0.72);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.brand {
  gap: 10px;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  transform-origin: 50% 62%;
  animation: brand-mark-press 8s ease-in-out infinite;
}

.brand small {
  color: var(--muted);
}

.view-nav {
  gap: 24px;
  margin-right: 22px;
  border-bottom: 0;
}

.view-tab {
  min-height: 30px;
  padding: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 13px;
}

.view-tab.active {
  border-bottom-color: var(--text);
  color: var(--text);
}

.resume-link {
  min-height: auto;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

.resume-link:hover {
  background: transparent;
  color: var(--accent);
  border-bottom-color: var(--accent);
}

main {
  gap: 0;
}

.section-band {
  padding: clamp(78px, 9vw, 124px) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.section-band:not(.hero) {
  border-top: 1px solid var(--line);
  background: rgba(242, 240, 234, 0.72);
}

.section-band::after,
.section-band:not(.hero)::after {
  display: none;
}

.hero {
  min-height: min(720px, calc(100dvh - 64px));
  margin: 0;
  padding: clamp(92px, 11vw, 156px) 0 clamp(96px, 10vw, 144px);
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.64fr);
  gap: clamp(48px, 10vw, 152px);
  overflow: visible;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-copy {
  align-self: start;
  max-width: 690px;
  padding: 22px 0 0 28px;
  border-left: 3px solid var(--accent);
}

.hero-copy h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-shadow: none;
}

.hero-copy .hero-text {
  max-width: 42ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  text-shadow: none;
}

.hero-actions {
  gap: 18px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 13px;
}

.primary-action {
  background: var(--text);
  color: var(--surface);
}

.primary-action:hover {
  background: var(--accent);
}

.hero-copy .secondary-action {
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
  color: var(--text);
}

.hero-copy .secondary-action:hover {
  border-bottom-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.status-panel {
  align-self: start;
  max-width: 430px;
  margin-left: auto;
  padding: 20px 0 0 28px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.status-top {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.status-top strong,
.usage-spotlight strong {
  color: var(--accent);
}

.hero-media-grid {
  gap: 10px;
  margin-top: 16px;
}

.hero-media-grid figure,
.hero-media-grid img,
.project-thumb,
.usage-images figure,
.usage-images img {
  border-radius: 0;
}

.hero-media-grid figure {
  border: 0;
  background: transparent;
}

.hero-media-grid figcaption {
  padding-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.usage-spotlight {
  margin-top: 26px;
  padding: 17px 0 19px;
  border: 0;
  border-top: 2px solid var(--accent);
  border-radius: 0;
  background: transparent;
}

.usage-spotlight strong {
  font-size: 26px;
  line-height: 1.16;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.metric-grid div,
.metric-grid div:not(:first-child) {
  padding: 13px 10px 0 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.metric-grid div:not(:first-child) {
  padding-left: 10px;
}

.metric-grid div:last-child {
  border-right: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading h2 {
  max-width: 18ch;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.capability-grid article,
.timeline article,
.proof-grid article,
.project-card,
.interview-workbench,
.site-footer {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.capability-grid article:nth-child(1),
.capability-grid article:nth-child(2),
.capability-grid article:nth-child(3),
.capability-grid article:nth-child(4) {
  background: transparent;
}

.capability-grid span,
.timeline article span {
  color: var(--accent);
}

.project-card:hover,
.proof-card:hover,
.proof-card.active {
  background: transparent;
  transform: none;
}

.tag {
  border-radius: 0;
  color: var(--muted);
}

.interview-workbench {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agent-orbit {
  border-radius: 0;
  background: var(--text);
  color: var(--surface);
}

.site-footer {
  margin-top: 0;
  padding: 38px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 620px);
  }

  .site-header {
    padding: 12px 0;
    background: rgba(225, 223, 216, 0.86);
  }

  .view-nav {
    gap: 18px;
  }

  .section-band {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 78px;
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
  }

  .hero-copy {
    padding: 18px 0 0 18px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(42px, 12vw, 62px);
  }

  .hero-copy .hero-text {
    font-size: 16px;
  }

  .status-panel {
    max-width: none;
    margin-left: 0;
    padding-left: 18px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
  }

  .metric-grid div:nth-child(2),
  .metric-grid div:nth-child(4) {
    border-right: 0;
  }

  .metric-grid div:nth-child(3) {
    padding-left: 0;
  }

  .interview-workbench {
    border-top: 1px solid var(--line);
  }
}

/* Final selected option: MiSans for reading, Chinese brush face for headings. */
body {
  font-family: "MiSans", "MiSans-Regular", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

h1,
h2 {
  font-family: "STLiti", "华文隶书", "STXinwei", "华文新魏", serif;
  font-weight: 600;
  letter-spacing: 0;
}

h3,
.brand strong,
.site-footer strong,
.view-tab,
.resume-link,
.primary-action,
.secondary-action {
  font-family: "MiSans", "MiSans-Regular", "Microsoft YaHei UI", sans-serif;
}

/* Soft corners are reserved for framed/touchable objects; archive dividers
   stay sharp so the industrial rhythm remains intact. */
.eyebrow,
.project-meta,
.project-card .project-meta,
.capability-grid span,
.timeline article span,
.open-hint,
.project-actions .open-hint,
.hero-media-grid figcaption,
.usage-spotlight > span,
.metric-grid span,
.proof-card .eyebrow {
  color: var(--muted) !important;
}

.project-filter {
  min-height: 42px;
  font-size: 15px;
  line-height: 1.4;
}

.site-header {
  border-radius: 0 0 14px 14px;
}

.hero-media-grid figure,
.hero-media-grid img,
.project-thumb,
.usage-images figure,
.usage-images img {
  border-radius: 12px;
}

.primary-action,
.secondary-action {
  border-radius: 10px;
}

.status-panel,
.interview-workbench {
  border-radius: 0 16px 16px 0;
}

.project-card.project-lead {
  border-radius: 0 18px 0 18px;
}

.project-card:not(.project-lead) {
  border-radius: 12px;
}

.site-footer {
  border-radius: 16px 16px 0 0;
}

.hero-actions .primary-action,
.hero-actions .secondary-action {
  border-radius: 10px;
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 0 0 12px 12px;
  }

  .status-panel,
  .interview-workbench {
    border-radius: 0 12px 12px 0;
  }

  .site-footer {
    border-radius: 12px 12px 0 0;
  }
}

/* ---------------------------------------------------------------------------
   De-generic pass. The page had accumulated the visual signature of a
   generated template: an ambient background video, glowing accents, a metrics
   dashboard in the hero, uppercase English eyebrows, and evenly divided card
   grids. This layer removes those without touching markup or behaviour.
   --------------------------------------------------------------------------- */

/* The hand-assembled ping-pong loop stays, but as ambient light on paper
   rather than a full-bleed tech backdrop. It is anchored to the first screen
   only, so the archive sections below read as printed material. */
.site-video-layer {
  position: absolute;
  inset: 0 0 auto;
  height: min(88vh, 860px);
  display: block;
  overflow: hidden;
  background: var(--bg);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
}

.site-video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.15;
  filter: grayscale(0.55) contrast(1.02) brightness(1.06);
}

/* The old white wash existed to rescue legibility from an over-bright video.
   With the video this quiet, the veil only muddies the paper. */
.site-video-layer::after {
  background: linear-gradient(180deg, rgba(247, 246, 243, 0.22), rgba(247, 246, 243, 0.72));
}

body {
  background: var(--bg);
  font-family: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

/* The layer is absolute now, so the shell owns the stacking context. */
.page-shell {
  position: relative;
  isolation: isolate;
}

/* One editorial serif for authored headlines; the brush face read as costume. */
h1,
h2 {
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.14;
}

h2 {
  font-size: clamp(27px, 2.7vw, 37px);
  line-height: 1.18;
}

h3,
.brand strong,
.site-footer strong,
.view-tab,
.resume-link,
.primary-action,
.secondary-action {
  font-family: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", sans-serif;
}

h3 {
  font-size: 17px;
  font-weight: 600;
}

.metric-grid strong,
.usage-metrics strong,
.status-top strong,
#modalPosition,
#agentCounter {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* Labels: sentence case, no tracking theatre. */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* No glow anywhere. */
.terminal-dot,
.agent-online-dot,
.interview-cta,
.secondary-action.interview-cta,
.agent-orbit {
  box-shadow: none;
}

.agent-online-dot,
.terminal-dot {
  background: var(--muted);
}

.secondary-action.interview-cta {
  border-color: var(--line);
  background: transparent;
}

/* Hero: copy leads, the panel annotates. */
.hero {
  min-height: auto;
  padding: clamp(72px, 8vw, 116px) 0 clamp(60px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.6fr);
  gap: clamp(44px, 7vw, 96px);
}

.hero-copy {
  padding: 0;
  border-left: 0;
}

.hero-copy h1 {
  max-width: 20ch;
  margin-bottom: 22px;
  color: var(--text);
  font-weight: 600;
  text-shadow: none;
}

.hero-copy .hero-text {
  max-width: 46ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  text-shadow: none;
}

.status-panel {
  padding: 4px 0 0 24px;
  border-left: 1px solid var(--line);
}

.status-top {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.status-top strong,
.usage-spotlight strong {
  color: var(--text);
  font-weight: 600;
}

.usage-spotlight {
  margin-top: 20px;
  padding: 15px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.usage-spotlight strong {
  margin: 6px 0;
  font-size: 17px;
  line-height: 1.45;
}

.usage-spotlight small {
  font-size: 12.5px;
  line-height: 1.65;
}

/* The four-up counter row was the clearest dashboard tell. Make it a quiet
   inline footnote instead of a scoreboard. */
.metric-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.metric-grid div,
.metric-grid div:not(:first-child) {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 0;
  border: 0;
}

.metric-grid span {
  order: 2;
  color: var(--muted);
  font-size: 12px;
}

.metric-grid strong {
  order: 1;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

/* Section rhythm: no tinted bands, more air, one hairline between. */
.section-band {
  padding: clamp(68px, 7.5vw, 104px) 0;
}

.section-band:not(.hero) {
  border-top: 1px solid var(--line);
  background: transparent;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading h2 {
  max-width: 22ch;
}

.section-heading p,
.section-heading.split p {
  max-width: 60ch;
  font-size: 15.5px;
}

.capability-grid span,
.timeline article span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.capability-grid p,
.timeline article p {
  font-size: 15px;
}

/* Projects: unequal, quiet, no hover lift. */
.project-grid,
#featuredProjectGrid,
#practiceProjectGrid {
  gap: 34px 40px;
}

.project-card,
.compact-grid .project-card,
.project-card:not(.project-lead) {
  border-top: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 200ms ease;
}

.project-card:hover,
.compact-grid .project-card:hover {
  border-top-color: var(--text);
}

.project-card .project-thumb {
  border-radius: 2px;
  background: var(--surface-2);
}

.project-thumb::after {
  display: none;
}

.project-card .project-thumb img {
  opacity: 1;
}

.project-card:hover .project-thumb img {
  transform: none;
}

.project-card.project-lead {
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-top: 26px;
}

.project-card h3 {
  font-size: 18px;
}

.project-card.project-lead h3 {
  max-width: 16ch;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.project-card p {
  font-size: 14.5px;
  line-height: 1.7;
}

/* Metadata: slashes and pills both read as generated chrome. */
.project-meta {
  gap: 0 14px;
}

.tag,
.project-card .tag {
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
}

.tag::before {
  content: none;
}

.project-status {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.open-hint,
.project-actions .open-hint {
  color: var(--text) !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration-color: var(--line);
}

.card-live-action {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0 0 2px;
  background: transparent;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
}

.card-live-action:hover {
  border-bottom-color: var(--text);
  background: transparent;
}

.play-chip {
  border-radius: 3px;
  background: rgba(20, 22, 26, 0.8);
  font-size: 12px;
  font-weight: 500;
}

/* Actions: one solid, the rest as text. */
.primary-action,
.secondary-action,
.hero-actions .primary-action,
.hero-actions .secondary-action {
  min-height: 38px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
}

.primary-action {
  background: var(--text);
  color: var(--surface);
}

.primary-action:hover {
  background: var(--accent);
  transform: none;
}

.primary-action:active,
.secondary-action:active,
.resume-link:active {
  transform: scale(0.985);
}

.secondary-action:hover,
.resume-link:hover,
.modal-step:hover {
  transform: none;
}

/* Evidence: annotations on the record, not a wall of product cards. */
.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.proof-grid article,
.proof-card {
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.proof-card::after {
  position: static;
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  content: "查看这组材料";
}

.proof-card:hover,
.proof-card.active {
  border-top-color: var(--text);
  background: transparent;
  transform: none;
}

.proof-card.active::after {
  color: var(--text);
  content: "正在查看";
}

.proof-grid .proof-card:nth-child(2),
.proof-grid .proof-card:nth-child(2).active,
.proof-grid .proof-card:nth-child(2):hover {
  border-color: var(--line);
  background: transparent;
}

.proof-grid .proof-card:nth-child(2).active {
  border-top-color: var(--text);
}

.proof-grid p {
  font-size: 14.5px;
}

.usage-proof {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  margin-top: 44px;
}

.usage-copy {
  padding: 0;
  border: 0;
  background: transparent;
}

.usage-copy h3 {
  max-width: 26ch;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.usage-copy p {
  font-size: 14.5px;
}

.usage-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.usage-metrics span {
  display: flex;
  align-items: baseline;
  gap: 7px;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 12px;
}

.usage-metrics strong {
  display: inline;
  font-size: 14px;
  font-weight: 600;
}

.usage-images figure {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
}

.usage-images img,
.hero-media-grid figure,
.hero-media-grid img,
.evidence-images img,
.project-thumb {
  border-radius: 2px;
}

.usage-images img:hover,
.evidence-images img:hover {
  border-color: var(--line);
  filter: none;
  transform: none;
}

.usage-images figcaption {
  font-size: 12.5px;
}

/* Interview: a reading pane, not a chat product. */
.interview-workbench {
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  border-radius: 0;
  background: transparent;
}

.agent-orbit {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.agent-sidebar {
  background: transparent;
}

.agent-sidebar h3 {
  font-size: 16px;
  line-height: 1.5;
}

.agent-guardrail {
  border-left-color: var(--line);
}

.agent-guardrail strong {
  color: var(--text);
  font-weight: 600;
}

.agent-chat-shell {
  background: transparent;
}

.chat-message,
.chat-message.user {
  border-radius: 3px;
}

.chat-message-label,
.chat-message.user .chat-message-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.chat-message-meta span {
  color: var(--muted);
}

.agent-mode,
.agent-topic,
.agent-suggestion,
.agent-reset,
.chat-message-meta button,
.agent-composer,
.video-option,
.modal-step,
.video-actions a,
.video-actions button {
  border-radius: 3px;
}

.agent-mode:hover,
.agent-mode.active,
.video-option.active,
.video-option:hover {
  border-color: var(--text);
  background: transparent;
  color: var(--text);
}

.agent-topic:hover,
.agent-suggestion:hover,
.agent-reset:hover,
.chat-message-meta button:hover {
  border-color: var(--text);
  background: transparent;
  color: var(--text);
  transform: none;
}

.agent-suggestion,
.chat-message-meta button,
.video-actions a,
.video-actions button {
  color: var(--text);
}

.video-actions a,
.video-actions button {
  border-color: var(--line);
  background: transparent;
}

.video-switcher,
.video-actions {
  background: transparent;
}

.video-placeholder {
  background: var(--surface-2);
}

/* Modal: a document, not a product sheet. */
.modal-panel {
  border-radius: 2px;
  background: var(--surface);
}

.modal-backdrop {
  background: rgba(20, 22, 26, 0.55);
}

.modal-close {
  border-radius: 3px;
  background: var(--surface);
  color: var(--text);
}

.project-docs,
.review-callout,
.evidence-strip {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 0 0;
  background: transparent;
}

.project-docs strong,
.review-callout strong,
.evidence-heading strong {
  color: var(--text);
  font-weight: 600;
}

.project-docs a,
.project-docs a.project-live-link {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0 0 2px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.project-docs a:hover {
  border-bottom-color: var(--text);
}

.project-docs a.project-live-link {
  flex: 0 1 auto;
  justify-content: flex-start;
  min-height: 0;
  padding: 0 0 2px;
}

.project-docs a.project-live-link span,
.video-actions a.live-demo-action {
  color: var(--text);
}

.video-actions a.live-demo-action {
  border-color: var(--line);
  background: transparent;
}

.review-callout p {
  color: var(--muted);
}

.detail-list dt {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.detail-list dd {
  font-size: 14.5px;
}

.modal-nav span {
  font-weight: 500;
}

.lightbox {
  background: rgba(20, 22, 26, 0.82);
}

.lightbox img {
  border-radius: 2px;
}

.lightbox-close {
  border-radius: 3px;
  background: var(--surface);
  color: var(--text);
}

/* Header + footer: hairlines, not floating cards. */
.site-header {
  border-radius: 0;
  background: rgba(247, 246, 243, 0.92);
}

.brand-mark {
  animation: none;
  opacity: 0.9;
}

.brand small {
  font-size: 12px;
}

.view-tab {
  font-size: 13.5px;
}

.site-footer {
  border-radius: 0;
  background: transparent;
}

.project-filter {
  min-height: 38px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .usage-proof,
  .interview-workbench {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 56px 0 60px;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .status-panel {
    padding-left: 18px;
  }

  .proof-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .site-header,
  .site-footer,
  .status-panel,
  .interview-workbench {
    border-radius: 0;
  }
}

/* The video layer sits inside .page-shell, so the document content needs an
   explicit layer above it — otherwise a positioned backdrop paints over static
   text. */
main {
  position: relative;
  z-index: 1;
}

/* A loop this quiet still counts as motion. Honour the OS preference by
   holding the first frame instead of removing the image entirely. */
@media (prefers-reduced-motion: reduce) {
  .site-video-layer video {
    animation-play-state: paused;
    opacity: 0.1;
  }
}

@media (max-width: 720px) {
  /* On a phone the hero is short and the loop competes with the headline. */
  .site-video-layer {
    height: min(62vh, 480px);
  }

  .site-video-layer video {
    opacity: 0.1;
  }

  .site-video-layer::after {
    background: linear-gradient(180deg, rgba(247, 246, 243, 0.32), rgba(247, 246, 243, 0.8));
  }
}

/* Final video placement: use the loop as a viewport-wide ambient layer.
   Keeping it fixed removes the visible card-shaped crop around the hero while
   the page content remains in front of it. */
.site-video-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: -1;
  opacity: 1;
  overflow: hidden;
  -webkit-mask-image: none;
  mask-image: none;
}

.site-video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.26;
  filter: grayscale(0.62) contrast(1.04) brightness(1.03);
}

.site-video-layer::after {
  background: rgba(247, 246, 243, 0.58);
}

@media (max-width: 720px) {
  .site-video-layer video {
    opacity: 0.2;
  }

  .site-video-layer::after {
    background: rgba(247, 246, 243, 0.7);
  }
}
