/* Brianna Godfrey: resume page. Builds on card/card.css for tokens, glow, sparkles and the header */

.sheet {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Top bar: back to the portfolio and the card */

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  text-decoration: none;
}
.topbar a:hover { color: var(--accent); }

.card-head { margin-bottom: 8px; }

/* Download plus quick contact */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 8px;
}
.actions .save { flex: 0 0 auto; }

.reach {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-family: var(--mono);
  font-size: 14px;
}
.reach a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  text-decoration: none;
}
.reach a:hover { color: var(--accent); text-decoration: underline; }

/* Sections: the same frosted panel as the card's link list */

.panel {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
}

.panel h2 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
}

.summary { margin: 0; font-size: 17px; line-height: 1.6; }

.skills {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  margin: 0;
}
.skills dt { font-weight: 600; }
.skills dd { margin: 0; color: var(--ink-2); }

.item + .item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  flex-wrap: wrap;
}
.row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { color: var(--accent); text-decoration: underline; }

.meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}

.sub { margin: 2px 0 0; color: var(--ink-2); }

.item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 13px;
}
.item-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: none;
}
.item-links a[href^="http"]::after { content: " ↗"; white-space: pre; opacity: 0.7; }
.item-links a:hover { text-decoration: underline; }

.item ul { margin: 8px 0 0; padding-left: 18px; }
.item li { margin: 6px 0; }
.item li::marker { color: var(--accent); }

.earlier {
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.earlier b { color: var(--ink); font-weight: 600; }

.foot {
  margin: 8px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 14px;
}
.foot a { display: inline-flex; align-items: center; min-height: 44px; }

.topbar-end { display: flex; align-items: center; gap: 8px 16px; }

/* Copy email */

.reach .email { display: inline-flex; align-items: center; gap: 8px; }
.copy {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 12px var(--mono);
  cursor: pointer;
}
.copy:hover { color: var(--accent); border-color: var(--accent); }
.copy.is-done { color: var(--cyan); border-color: var(--cyan); }

/* Skill finder */

.finder {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.finder-q { margin: 0 0 12px; font-family: var(--serif); font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 14px var(--sans);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.chips button:hover { border-color: var(--accent); color: var(--accent); }
.chips button:active { transform: scale(0.96); }
.chips button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.finder-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  min-height: 28px;
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}
.finder-status:has(span:empty) { margin-top: 0; min-height: 0; }
.finder-status button {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.finder-status button[hidden] { display: none; }

.item li { transition: opacity 0.3s ease; }
.is-finding [data-searchable] .item li:not(.is-hit),
.is-finding [data-searchable] .item:not(.is-hit) { opacity: 0.35; }
.item { transition: opacity 0.3s ease; }
.item mark {
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 4px;
  padding: 0 3px;
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* Spotlight: a soft light follows the mouse across each panel */

.has-spotlight .panel {
  background-image: radial-gradient(320px circle at var(--mx, -400px) var(--my, -400px), color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%);
}

/* Entrance: the header words rise (card.css), then the actions and panels follow */

.topbar,
.actions,
.panel,
.foot {
  animation: fade-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.topbar { animation-delay: 0ms; }
.actions { animation-delay: 900ms; }
.panel:nth-of-type(1) { animation-delay: 980ms; }
.panel:nth-of-type(2) { animation-delay: 1040ms; }
.panel:nth-of-type(3) { animation-delay: 1100ms; }
.panel:nth-of-type(4) { animation-delay: 1160ms; }
.panel:nth-of-type(5) { animation-delay: 1220ms; }
.foot { animation-delay: 1280ms; }

/* Phones: tighter panels, skills stack */

@media (max-width: 560px) {
  .panel { padding: 20px; }
  .skills { grid-template-columns: 1fr; gap: 2px; }
  .skills dd + dt { margin-top: 10px; }
  .actions .save { width: 100%; }
  .actions { gap: 4px; }
  .reach { gap: 0 18px; font-size: 13px; }
  .summary { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .topbar, .actions, .panel, .foot { animation: none; }
}

/* Printing the page: plain sheet, no background or buttons */

@media print {
  :root {
    --ink: #141418 !important;
    --ink-2: #55535E !important;
    --line: rgba(20, 20, 24, 0.10) !important;
    --accent: #5A3FE8 !important;
    --cyan: #0E8C96 !important;
  }
  .glow, .sparkles, .topbar, .actions, .foot, .finder { display: none; }
  [data-searchable] li { opacity: 1 !important; }
  body { background: #fff; color: #141418; font-size: 11pt; }
  .w, .eyebrow, .role, .panel { animation: none; opacity: 1; transform: none; filter: none; }
  .panel {
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    margin-top: 12px;
    break-inside: avoid-page;
  }
  .item-links a[href^="http"]::after { content: ""; }
}
