/* Styles of /resume/ only (moved out of its <style> block on 2026-11-10).
   Loaded after the shared sheets, at the same place the block was, so the
   cascade is unchanged. Rules shared by several pages go in /css. */

/* Page-specific: the resume uses a native <details> accordion for job
   history. No Bootstrap JS. Everything else uses shared .case__* classes. */
.resume-portrait {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: rgba(31, 31, 41, 0.04);
}
.resume-meta {
  font-family: 'Galatea', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft, #2a3651);
  margin: 0;
}
.resume-subtitle {
  display: block;
  font-family: 'Galatea', 'Times New Roman', serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft, #2a3651);
  margin-top: 14px;
}
.resume-group h3 {
  font-family: 'Galatea', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink, var(--black, #1f1f29));
  margin: 20px 0 8px;
}
.resume-group p { max-width: none; }
.resume-group .company {
  font-family: 'Galatea', 'Times New Roman', serif;
  color: var(--ink, var(--black, #1f1f29));
}
.resume-group .location {
  font-family: 'Galatea', 'Times New Roman', serif;
  font-size: 0.9rem;
  color: var(--case-accent);
  letter-spacing: 0.02em;
}
.resume-job {
  border-bottom: 1px solid var(--case-rule);
}
.resume-job[open] {
  padding-bottom: 12px;
}
.resume-job summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: 'Galatea', 'Times New Roman', serif;
}
.resume-job summary::-webkit-details-marker { display: none; }
.resume-job summary::after {
  content: '+';
  font-family: 'Galatea', 'Times New Roman', serif;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink-soft, #2a3651);
  transition: transform 180ms ease;
}
.resume-job[open] summary::after { content: '-'; }
.resume-job .job-title {
  font-family: 'Galatea', 'Times New Roman', serif;
  font-size: clamp(1.05rem, 1vw + 0.6rem, 1.3rem);
  color: var(--ink, var(--black, #1f1f29));
  flex: 1;
}
.resume-job .job-date {
  font-family: 'Galatea', 'Times New Roman', serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft, #2a3651);
  white-space: nowrap;
}
.resume-job .job-body {
  padding: 0 0 12px;
}
.resume-job .job-body p,
.resume-job .job-body ul,
.resume-job .job-body li {
  font-family: 'Galatea', 'Times New Roman', serif;
  color: var(--ink-soft, #2a3651);
  line-height: 1.6;
  max-width: none;
}
.resume-job .job-body h4 {
  font-family: 'Galatea', 'Times New Roman', serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink, var(--black, #1f1f29));
  margin: 18px 0 8px;
}
.resume-job .job-tag {
  display: inline-block;
  font-family: 'Galatea', 'Times New Roman', serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink, var(--black, #1f1f29));
  color: #fff;
  margin-left: 10px;
  vertical-align: middle;
}
.resume-job .job-meta {
  font-family: 'Galatea', 'Times New Roman', serif;
  font-size: 0.9rem;
  color: var(--case-accent);
  margin-bottom: 10px;
}

/* Phone: the type is bigger here (16px body, 18px accessible), so the title
   takes its own line and the date, which may wrap, shares the next one with
   the +/- marker. */
@media (max-width: 39.99em) {
  .resume-job summary { flex-wrap: wrap; row-gap: 4px; }
  .resume-job .job-title { flex: 1 1 100%; }
  .resume-job .job-date { flex: 1 1 0; min-width: 0; white-space: normal; letter-spacing: 0.12em; }
}

/* Desktop: each job row sits on the main grid (css/grid.css): title on
   columns 1-6, dates from column 7, the +/- marker on the last column. */
@media (min-width: 821px) {
  .resume-job summary {
    display: grid;
    grid-template-columns: repeat(var(--g-cols), minmax(0, 1fr));
    column-gap: var(--g-gutter);
    justify-content: normal;
    gap: 0 var(--g-gutter);
  }
  .resume-job .job-title { grid-column: 1 / span 6; }
  .resume-job .job-date { grid-column: 7 / span 5; }
  .resume-job summary::after { grid-column: -2 / -1; justify-self: end; }
}
