.resume-body {
  min-height: 100vh;
  background: #080a08;
}

#resume-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: #080a08;
}

.resume-shell {
  width: min(1080px, calc(100% - 40px));
  opacity: 0;
  transform: translateY(9px);
  transition: opacity .35s linear, transform .5s steps(7);
}

.resume-ready .resume-shell {
  opacity: 1;
  transform: none;
}

.resume-boot {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  background: #080a08;
  transition: opacity .24s linear, visibility .24s;
}

.resume-ready .resume-boot {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-terminal {
  width: min(340px, calc(100% - 40px));
  color: var(--muted);
  font: 11px/1.8 var(--mono);
}

.boot-prompt { color: var(--accent); }
.boot-line { margin: 0; opacity: 0; transform: translateX(-4px); }
.boot-line.visible { opacity: 1; transform: none; }

.resume-nav { min-height: 92px; }
.resume-nav-actions { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 10px; }
.resume-nav-actions span { display: flex; align-items: center; gap: 7px; }
.resume-nav-actions i, .analytics-ready i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), .65);
}
.resume-nav-actions a:hover { color: var(--accent); }

.resume-main { display: grid; gap: 22px; margin-top: 22px; }

.eyebrow {
  margin: 0 0 7px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.resume-card h2, .resume-archive h2 {
  margin: 0;
  color: var(--accent);
  font: 500 22px/1.1 var(--pixel);
}

.resume-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}
.resume-card { overflow: hidden; }
.resume-card-header {
  min-height: 76px;
  padding: 17px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.resume-card-header > div { display: flex; align-items: center; gap: 12px; }
.resume-card h2 { color: var(--text); font-size: 17px; }
.document-index { color: var(--accent); font-size: 9px; }
.page-count { color: var(--faint); font-size: 9px; }
.document-window {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 100% 18px,
    #0b0e0b;
}
.document-window iframe { width: 100%; height: 620px; border: 0; background: #f1f0ea; }
.resume-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: 30px;
  color: var(--muted);
  text-align: center;
}
.resume-empty p { margin: 0; font-size: 11px; }
.resume-empty small { color: var(--faint); font-size: 8px; overflow-wrap: anywhere; }
.empty-glyph { color: var(--accent); font: 32px/1 var(--pixel); animation: pulse 1.4s steps(2) infinite; }
.resume-card-actions {
  min-height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}
.resume-card-actions a:not([aria-disabled="true"]):hover { color: var(--accent); }
.resume-card-actions a[aria-disabled="true"] { opacity: .35; cursor: not-allowed; }

.resume-archive { padding: 26px 24px; }
.resume-archive .section-title { align-items: end; }
.archive-list { border-top: 1px solid var(--line); }
.archive-item {
  min-height: 72px;
  padding: 13px 4px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.archive-item time, .archive-item span { color: var(--faint); font-size: 9px; }
.archive-item h3 { margin: 0; color: var(--text); font: 500 15px var(--pixel); }
.archive-item p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.archive-item:hover h3, .archive-item:hover > span { color: var(--accent); }
.archive-empty {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.archive-empty span { color: var(--accent); font: 24px var(--pixel); }
.archive-empty p { margin: 0; font-size: 10px; }

.resume-footer {
  min-height: 72px;
  padding: 0 4px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: var(--faint);
  font-size: 9px;
}
.resume-footer b { font-weight: 400; }
.resume-footer > a { justify-self: end; }
.resume-footer > a:hover { color: var(--accent); }
.analytics-ready { display: flex; align-items: center; gap: 7px; }
.analytics-ready i { width: 5px; height: 5px; }

.resume-leaving .resume-shell { opacity: 0; transform: translateY(-10px); }

@media (max-width: 780px) {
  .resume-shell { width: min(640px, calc(100% - 24px)); padding-top: 12px; }
  .resume-featured { grid-template-columns: 1fr; }
  .document-window { min-height: 500px; }
  .document-window iframe { height: 580px; }
}

@media (max-width: 500px) {
  .resume-nav { flex-direction: column; align-items: stretch; }
  .resume-nav-actions { justify-content: space-between; }
  .resume-archive { padding: 21px 16px; }
  .document-window { min-height: 440px; }
  .document-window iframe { height: 520px; }
  .archive-item { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .archive-item time { grid-column: 1 / -1; }
  .resume-footer { grid-template-columns: 1fr auto; }
  .analytics-ready { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .resume-shell { opacity: 1; transform: none; }
  .resume-boot { display: none; }
}
