/* ===========================================================
   RESUME — screen matches the portfolio's art direction;
   print stays strictly professional and utilitarian.
=========================================================== */

.resume-page{
  max-width: 860px;
  margin-inline: auto;
  padding-block: clamp(120px, 18vh, 200px) clamp(60px, 10vh, 110px);
}

.resume-toolbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 7vh, 80px);
}

.r-head{
  border-bottom: 1px solid var(--ink);
  padding-bottom: 24px;
  margin-bottom: 34px;
}
.r-head h1{
  font-family: var(--display);
  font-variation-settings: 'wdth' 116, 'wght' 640;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: .9;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.r-head .r-title{
  margin-top: 12px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--ink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.r-subtitle{
  margin-top: 7px;
  color: var(--ink-70);
  font-size: var(--t-sm);
  line-height: 1.45;
}
.r-contact{
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 6px 4px;
  font-size: var(--t-sm);
  color: var(--ink-70);
}
.r-contact a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.r-section{ margin-top: 34px; }
.r-section h2{
  font-size: var(--t-meta);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
  margin-bottom: 18px;
}

.r-summary{ color: var(--ink-70); max-width: 68ch; line-height: 1.6; }

.r-role{ margin-bottom: 24px; }
.r-role:last-child{ margin-bottom: 0; }
.r-role__head{
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.r-role__title{ font-weight: 600; font-size: var(--t-body); }
.r-role__org{ color: var(--ink-70); }
.r-role__dates{ font-size: var(--t-sm); color: var(--ink-45); white-space: nowrap; }
.r-role__list{ margin-top: 10px; }
.r-role__list li{
  position: relative;
  padding-left: 18px;
  margin-top: 7px;
  color: var(--ink-70);
  font-size: var(--t-sm);
  line-height: 1.55;
}
.r-selected-work{
  margin-top: 10px;
  color: var(--ink-45);
  font-size: var(--t-xs);
}
.r-selected-work a{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.r-role__list li::before{
  content:''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 1px; background: var(--ink-25);
}

.r-capabilities{ color: var(--ink-70); font-size: var(--t-sm); line-height: 1.55; }
.r-tools{ margin-top: 9px; color: var(--ink-70); font-size: var(--t-sm); }

@media (max-width: 640px){ .r-skills{ grid-template-columns: 1fr; } }

/* -----------------------------------------------------------
   PRINT — utility first. Fits one US Letter page.
----------------------------------------------------------- */
@media print{
  @page{ size: letter; margin: 0.5in; }
  html{ font-size: 15px; }
  .nav, .menu, .resume-toolbar, .foot, .no-print{ display: none !important; }
  body{ background: #fff; color: #000; }
  .resume-page{ padding: 0; max-width: none; }
  a{ color: inherit !important; text-decoration: none !important; }

  .r-head{ border-bottom: 2px solid #000; padding-bottom: 14px; margin-bottom: 18px; }
  .r-head h1{ font-size: 2rem; letter-spacing: -.03em; }
  .r-head .r-title{ font-size: 1.03rem; margin-top: 4px; }
  .r-subtitle{ margin-top: 3px; font-size: .74rem; }
  .r-contact{ margin-top: 10px; font-size: .78rem; }

  .r-section{ margin-top: 13px; break-inside: avoid; }
  .r-section h2{ margin-bottom: 8px; padding-bottom: 4px; font-size: .66rem; }
  .r-summary{ font-size: .76rem; line-height: 1.36; }

  .r-role{ margin-bottom: 10px; break-inside: avoid; }
  .r-role__title{ font-size: .81rem; }
  .r-role__dates{ font-size: .71rem; }
  .r-role__list{ margin-top: 4px; }
  .r-role__list li{ margin-top: 2px; font-size: .715rem; line-height: 1.3; break-inside: avoid; }
  .r-selected-work{ margin-top: 5px; font-size: .68rem; }

  .r-capabilities, .r-tools{ font-size: .715rem; line-height: 1.35; }
  .r-tools{ margin-top: 5px; }
}
