/*
 * Resume – single-column layout in the spirit of
 * https://blog.markvincze.com/how-i-created-my-cv-with-modern-html-and-css/
 * All sizes in rem for consistency and easy PDF scaling via root font-size.
 */

/* ----- Job page: all h2 headings use text-heading-l token ----- */
.job-heading,
.job-page h2 {
  font: var(--text-heading-xl);
  color: var(--text-heading-l-color);
}

/* ----- Minimal resume (combined resume + clients-style layout) ----- */
.resume-minimal {
  margin: 8rem 0;
}

.resume-minimal__heading {
  margin-bottom: 0.5rem;
  padding: 1rem 0 0;
}

.resume-minimal__subheading .resume-minimal__subheading-icon {
  margin-right: 0.35em;
  vertical-align: -0.15em;
  color: var(--text-color-link);
}

.resume-minimal__subheading-accent {
  color: var(--text-color-link);
}

.resume-minimal__pdf-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-color-link);
  text-decoration: underline;
}

.resume-minimal__pdf-link:hover,
.resume-minimal__pdf-link:focus {
  color: var(--text-color-link);
  text-decoration: underline;
}

.job-page .resume-minimal__pdf-link,
.job-page .resume-minimal__subheading {
  font: var(--text-body-small);
  color: var(--text-color-link);
}

.resume-minimal__pdf-link .resume-minimal__subheading-icon {
  margin-right: 0.35em;
  flex-shrink: 0;
}

.resume-minimal__content {
  max-width: 48rem;
  color: #333;
}

.job-page .resume-minimal {
  align-items: start;
  margin-block-start: 0;
  margin-inline: 0;
  padding: 0;
}


.job-page .resume-minimal__content {
  grid-column: 5 / -1;
  max-width: none;
}

.resume-minimal__summary {
  margin-bottom: 3rem;
}

.resume-minimal__summary p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: #333;
}

.job-page .resume-minimal__summary p {
  font: var(--text-body-small);
  color: var(--text-body-small-color);
}

.resume-minimal__list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 3rem 0;
}

.resume-minimal__item {
  margin-bottom: 4rem;
}

.resume-minimal__company {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #333;
}

.job-page .resume-minimal__company {
  font: var(--text-heading-l);
  color: var(--text-heading-l-color);
}

.resume-minimal__role {
  font-size: 4rem;
  font-weight: 100;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #333;
  letter-spacing: -0.01em;
}

.job-page .resume-minimal__role {
  font: var(--text-display-large);
  color: var(--text-display-large-color);
  letter-spacing: var(--text-display-large-letter-spacing);
  margin-left: var(--text-display-large-margin-left);
}

.resume-minimal__meta {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.job-page .resume-minimal__meta {
  font: var(--text-body-small-bold);
  color: var(--text-body-small-bold-color);
}

.resume-minimal__description {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: #333;
}

.job-page .resume-minimal__description {
  font: var(--text-body-small);
  color: var(--text-body-small-color);
  max-width: 50%;
}

@media (min-width: 769px) {
  .job-page .resume-minimal__item {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.25rem 0;
  }
  .job-page .resume-minimal__company,
  .job-page .resume-minimal__role,
  .job-page .resume-minimal__meta {
    grid-column: 1 / -1;
  }
  .job-page .resume-minimal__description {
    grid-column: span 6;
    max-width: none;
  }
  .job-page .resume-minimal__bullets {
    grid-column: span 6;
    max-width: none;
  }
}

@media (min-width: 1700px) {
  .job-page .resume-minimal__description {
    grid-column: span 4;
  }
  .job-page .resume-minimal__bullets {
    grid-column: span 4;
  }
}

.resume-minimal__bullets {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.job-page .resume-minimal__bullets {
  max-width: 50%;
}

.job-page .resume-minimal__bullets,
.job-page .resume-minimal__bullets li {
  font: var(--text-body-small);
  color: var(--text-body-small-color);
}

.resume-minimal__bullets li {
  margin-bottom: 0.3rem;
}

/* Methods + Leadership + Tools sections (job-specific expertise keywords) */
.resume-minimal__expertise-sections {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3rem 2rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.resume-minimal__expertise-section--methods {
  grid-column: span 2;
}

.resume-minimal__expertise-section--leadership {
  grid-column: span 2;
}

.resume-minimal__expertise-section--tools {
  grid-column: span 2;
}

.resume-minimal__tools-icons {
  display: grid;
  grid-template-columns: repeat(2, 48px);
  gap: 2rem;
}

.resume-minimal__tools-icon-wrap {
  display: inline-flex;
  cursor: default;
  position: relative;
}

.resume-minimal__tools-icon-wrap:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-0.5rem);
  padding: 0.35rem 0.6rem;
  font: var(--text-body-small);
  color: #fff;
  background: var(--text-color);
  border-radius: 0.25rem;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.resume-minimal__tools-icon-wrap:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-0.25rem);
  border: 0.35rem solid transparent;
  border-top-color: var(--text-color);
  z-index: 10;
  pointer-events: none;
}

.resume-minimal__tools-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.resume-minimal__expertise-section-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #333;
}

.job-page .resume-minimal__expertise-section-heading {
  font: var(--text-heading-l);
  color: var(--text-heading-l-color);
}

.resume-minimal__expertise-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #333;
}

.job-page .resume-minimal__expertise-list {
  font: var(--text-body-regular);
  color: var(--text-body-regular-color);
}

.resume-minimal__expertise-list li {
  margin-bottom: 0.25rem;
}

.resume-minimal__expertise,
.resume-minimal__education {
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #333;
}

.resume-minimal__expertise-line {
  margin-bottom: 0.35rem;
}

.resume-minimal__education-school {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.resume-minimal__education-degrees {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.resume-minimal__education-degrees li {
  margin-bottom: 0.2rem;
}

.resume-minimal__page-break-before {
  break-before: page;
  page-break-before: always;
}

.resume-minimal__actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.resume-minimal__download-pdf {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-color-link);
  background: transparent;
  border: 2px solid var(--text-color-link);
  border-radius: 0.25rem;
  cursor: pointer;
  font-family: inherit;
}

.job-page .resume-minimal__download-pdf {
  font: var(--text-label);
  color: var(--text-link-color);
}

.resume-minimal__download-pdf:hover {
  background: rgba(33, 59, 156, 0.08);
}

/* ----- Principles section (love letter page) – striped background, two-column layout ----- */
.values {
  margin: 8rem 0;
  /* padding: 4rem max(1.5rem, env(safe-area-inset-right)) 4rem max(1.5rem, env(safe-area-inset-left)); */
  color: #6f6f81;
}

.job-page .values {
  margin-block-start: 0;
  margin-inline: 0;
  padding: 0;
}


.values__inner {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem 4rem;
  align-items: start;
}

.job-page .values__inner {
  max-width: 100%;
  grid-column: 5 / -1;
  grid-template-columns: subgrid;
  align-self: start;
}

.values__header {
  min-width: 0;
}

.values .values__heading {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  padding: 0;
  color: var(--text-heading-l-color);
}

.job-page .values__heading.job-section-heading {
  font: var(--text-heading-xl);
  color: var(--text-heading-l-color);
}

.values__intro {
  font-size: 1.1875rem;
  line-height: 1.5;
  margin: 0;
  color: #6f6f81;
  font-weight: 400;
}

.job-page .values__intro {
  font: 400 1.1875rem/1.5 "DM Sans", sans-serif;
  color: #6f6f81;
}

.values__list {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  gap: 4rem 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.job-page .values__list {
  grid-template-columns: subgrid;
}

.job-page .values__item {
  grid-column: span 4;
}

.values__item {
  margin: 0;
}

.values__content {
  min-width: 0;
}

.values__icon {
  font-size: 3rem;
  color: var(--text-body-small-color);
  margin-bottom: 0.75rem;
  display: block;
}

.values__title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: #403a5a;
}

.job-page .values__title {
  font: var(--text-heading-l);
  color: var(--text-heading-l-color);
}

.values__description {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: #6f6f81;
  font-weight: 400;
}

/* ----- References section (12-col grid: 4 + 4 + 4) ----- */
.references {
  margin: 8rem 0;
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
}

.job-page .references {
  margin-block-start: 0;
  margin-inline: 0;
  padding: 0;
}

.references__col-titles {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.references__col-content {
  grid-column: 5 / 13;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.references__quotes-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.references__quote-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  overflow: visible;
}

.references__subsections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.references__heading {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
}

.job-page .references__heading.job-section-heading {
  font: var(--text-heading-xl);
  color: var(--text-heading-l-color);
}

.references__subtitle {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: #64748b;
}

.job-page .references__subtitle {
  font: var(--text-body-small);
  color: var(--text-body-small-color);
}

.references__subtitle a {
  color: var(--text-color-link);
  text-decoration: underline;
}

.references__subtitle .resume-minimal__subheading-icon {
  margin-right: 0.35em;
  vertical-align: -0.15em;
  color: var(--text-color-link);
}

.references__subtitle a:hover {
  text-decoration: underline;
}

.references__quote {
  margin: 0;
  padding: 0;
  padding-left: 0.35em;
  border: none;
  position: relative;
  overflow: visible;
}

.references__quote-mark {
  position: absolute;
  left: -0.15em;
  font: var(--text-body-medium);
  color: var(--text-body-medium-color);
  line-height: inherit;
}

.references__quote-text {
  font: var(--text-body-medium);
  color: var(--text-body-medium-color);
  margin: 0 0 0.5rem 0;
}


.references__quote-link {
  color: var(--text-color-link);
  text-decoration: underline;
}

.references__quote-link:hover {
  text-decoration: underline;
}

.references__quote-role {
  font-size: 0.875rem;
  font-style: normal;
  color: #64748b;
}

.job-page .references__quote-role {
  font: var(--text-label);
  color: var(--text-label-color);
}

.references__subsection {
  margin-top: 1rem;
}

.references__subsection-heading {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  color: var(--text-color);
}

.job-page .references__subsection-heading {
  font: var(--text-heading-l);
  color: var(--text-heading-l-color);
}

.references__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.references__list li {
  margin-bottom: 1.5rem;
}

.references__link {
  font: var(--text-body-regular);
  color: var(--text-color-link);
  text-decoration: underline;
}

.references__link:hover {
  text-decoration: underline;
}

@media (max-width: 48rem) {
  .references__col-titles,
  .references__col-content {
    grid-column: 1 / -1;
  }

  .references__col-titles {
    gap: 2rem;
  }

  .references__quote-row {
    grid-template-columns: 1fr;
  }

  .references__subsections {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 1024px) {
  .job-page .references__heading.job-section-heading {
    /* Fluid scaling – inherits from token */
    color: var(--text-heading-l-color);
  }
}

.job-page .values__description {
  font: var(--text-body-small);
  color: var(--text-body-small-color);
}

@media (max-width: 48rem) {
  .values__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .values__list {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ----- Job page: mobile-responsive (screen only) ----- */
@media screen and (max-width: 1024px) {
  .job-page .job-heading,
  .job-page h2 {
    /* Fluid scaling – inherits from token */
    color: var(--text-heading-l-color);
  }

  .job-page .resume-minimal {
    margin-block-start: 4rem;
    margin-inline: 0;
  }

  .job-page .resume-minimal__role {
    font: 500 3rem/1.1 "Poppins", sans-serif;
    color: var(--text-display-large-color);
    letter-spacing: -0.04em;
    /* margin-left: 0; */
  }

  .job-page .resume-minimal__company {
    /* Fluid scaling – inherits from token */
    color: var(--text-heading-l-color);
  }

  .job-page .resume-minimal__item {
    margin-bottom: 3rem;
  }

  .job-page .resume-minimal__description,
  .job-page .resume-minimal__bullets {
    max-width: 100%;
  }

  .resume-minimal__expertise-sections {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }

  .resume-minimal__expertise-section--methods,
  .resume-minimal__expertise-section--leadership {
    grid-column: span 1;
  }

  .resume-minimal__expertise-section--tools {
    grid-column: 1 / -1;
  }

  .job-page .resume-minimal__expertise-list {
    font: var(--text-body-small);
    color: var(--text-body-small-color);
  }

  .resume-minimal__tools-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .job-page .resume-minimal__expertise-section-heading,
  .job-page .references__subsection-heading {
    /* Fluid scaling – inherits from token */
    color: var(--text-heading-l-color);
  }

  .job-page .values__heading.job-section-heading {
    /* Fluid scaling – inherits from token */
    color: var(--text-heading-l-color);
  }

  .values__title,
  .job-page .values__title {
    /* Fluid scaling – inherits from token */
    color: var(--text-heading-l-color);
  }

  .values__list {
    grid-template-columns: 1fr;
  }

  /* Job page: 2 principles per row until 640px */
  .job-page .values__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .job-page .values__item {
    grid-column: span 1;
  }
}

@media screen and (max-width: 640px) {
  .job-page .values__list {
    grid-template-columns: 1fr;
  }

  .job-page .values__item {
    grid-column: span 1;
  }
}

@media screen and (max-width: 480px) {
  .job-page .job-heading,
  .job-page h2 {
    /* Fluid scaling – inherits from token */
    color: var(--text-heading-l-color);
  }

  .job-page .resume-minimal__role {
    font: 500 2.5rem/1.1 "Poppins", sans-serif;
    color: var(--text-display-large-color);
    letter-spacing: -0.04em;
    margin-left: 0;
  }

  .job-page .values__heading.job-section-heading {
    /* Fluid scaling – inherits from token */
    color: var(--text-heading-l-color);
  }

  .values__title,
  .job-page .values__title {
    /* Fluid scaling – inherits from token */
    color: var(--text-heading-l-color);
  }

  .values__list {
    grid-template-columns: 1fr;
  }
}

/* ----- Job intro (shared with job layout) ----- */
.job-intro__title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.job-intro__body {
  margin-bottom: 0.75rem;
}

.job-intro__body.prose {
  max-width: 65ch;
}

.job-intro__email {
  font-size: 0.9375rem;
}

/* ----- Resume section heading ----- */
.resume-section .technologies__heading {
  margin-bottom: 1rem;
}

/* ----- Resume document (single column) ----- */
/* Color scheme: white bg, dark charcoal (#333) name/body, accent var(--text-color-link) title/contact/headers */
.resume {
  /* Document-style container on screen */
  max-width: 50rem;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #333333;
  background: #fff;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.resume__header {
  margin-bottom: 1.5rem;
}

.resume__name {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 0;
  color: #333333;
  letter-spacing: -0.02em;
}

.resume__title {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-color-link);
}

.resume__contact {
  font-size: 0.875rem;
  /* color: var(--amber-700, #213b9c); */
}

.resume__contact a {
  text-decoration: none;
  color: var(--text-color-link);
}

.resume__contact a:hover {
  text-decoration: underline;
}

/* ----- Sections ----- */
.resume__section {
  margin-bottom: 2.5rem;
}

.resume__section-title {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  /* letter-spacing: 0.08em; */
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: #333333;
  border-bottom: 1px solid rgba(33, 59, 156, 0.25);
  padding-bottom: 0.25rem;
}

/* ----- Summary ----- */
.resume__summary {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.resume__summary li {
  margin-bottom: 0.4rem;
}

.resume__summary li::marker {
  color: #333333;
}

/* ----- Experience ----- */
.resume__job {
  margin-bottom: 2.25rem;
}

.resume__job-company {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.resume__job-role {
  color: var(--text-color-link);
}

.resume__job-dates {
  font-size: 0.8125rem;
  color: #333333;
  margin-bottom: 0.4rem;
}

.resume__job-description {
  font-size: 0.8125rem;
  margin-bottom: 0.4rem;
}

.resume__bullets {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.35rem;
}

.resume__bullets li {
  margin-bottom: 0.35rem;
}

.resume__bullets li::marker {
  color: #333333;
}

/* ----- Expertise ----- */
.resume__expertise {
  font-size: 0.8125rem;
}

.resume__expertise-line {
  margin-bottom: 0.1rem;
}

.resume__expertise-line strong {
  /* color: var(--amber-700, #213b9c); */
}

/* ----- Education ----- */
.resume__education-school {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.resume__education-degrees {
  list-style: none;
  padding-left: 0;
  font-size: 0.8125rem;
}

.resume__education-degrees li {
  margin-bottom: 0.25rem;
}

/* ----- Page break (print/PDF) ----- */
.resume__page-break-before {
  break-before: page;
  page-break-before: always;
}

/* ----- Download PDF (screen only) ----- */
.resume__actions {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(33, 59, 156, 0.2);
}

.resume__download-pdf {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-color-link);
  background: transparent;
  border: 2px solid var(--text-color-link);
  border-radius: 0.25rem;
  cursor: pointer;
  font-family: inherit;
}

.resume__download-pdf:hover {
  background: rgba(33, 59, 156, 0.08);
}

.no-print {
  /* Screen only */
}

/* ----- Cover letter (PDF) – same format as resume ----- */
.cover-letter__content {
  margin-top: 4rem;
  white-space: pre-wrap;
  font-size: 1rem;
  line-height: 1.5;
}

/* ----- Love Letter Dark Theme ----- */
[data-theme="dark"] .profile-hero_job {
  position: relative;
}

[data-theme="dark"] .profile-hero_job::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.85));
  z-index: 1;
  pointer-events: none;
}

[data-theme="dark"] .profile-hero__content,
[data-theme="dark"] .profile-hero__content h1,
[data-theme="dark"] .profile-hero__content h2,
[data-theme="dark"] .profile-hero__content .profile__text,
[data-theme="dark"] .profile-hero__content .profile__text--lead0 {
  color: #f1f5f9;
}

[data-theme="dark"] .profile-hero__content a {
  color: #60a5fa;
}

[data-theme="dark"] .profile-hero__content a:hover {
  color: #93c5fd;
}

[data-theme="dark"] .resume-minimal__content,
[data-theme="dark"] .resume-minimal__summary p,
[data-theme="dark"] .resume-minimal__company,
[data-theme="dark"] .resume-minimal__role,
[data-theme="dark"] .resume-minimal__description,
[data-theme="dark"] .resume-minimal__bullets,
[data-theme="dark"] .resume-minimal__bullets li,
[data-theme="dark"] .resume-minimal__expertise-section-heading,
[data-theme="dark"] .resume-minimal__expertise-list,
[data-theme="dark"] .resume-minimal__expertise-list li,
[data-theme="dark"] .resume-minimal__expertise,
[data-theme="dark"] .resume-minimal__education,
[data-theme="dark"] .resume-minimal__education-degrees li {
  color: #e2e8f0;
}

[data-theme="dark"] .resume-minimal__meta {
  color: #94a3b8;
}

[data-theme="dark"] .resume-minimal__subheading .resume-minimal__subheading-icon,
[data-theme="dark"] .resume-minimal__subheading-accent,
[data-theme="dark"] .resume-minimal__pdf-link {
  color: #60a5fa;
}

[data-theme="dark"] .resume-minimal__pdf-link:hover,
[data-theme="dark"] .resume-minimal__pdf-link:focus {
  color: #93c5fd;
}

[data-theme="dark"] .resume-minimal__actions {
  border-top-color: rgba(148, 163, 184, 0.3);
}

[data-theme="dark"] .resume-minimal__download-pdf {
  color: #60a5fa;
  border-color: #60a5fa;
}

[data-theme="dark"] .resume-minimal__download-pdf:hover {
  background: rgba(96, 165, 250, 0.15);
}

[data-theme="dark"] .values {
  color: #e2e8f0;
}

[data-theme="dark"] .values__intro,
[data-theme="dark"] .values__description {
  color: #cbd5e1;
}

[data-theme="dark"] .values__title {
  color: #f1f5f9;
}

[data-theme="dark"] .other-work,
[data-theme="dark"] .job-heading,
[data-theme="dark"] .job-page h2,
[data-theme="dark"] .values__heading {
  color: #e2e8f0;
}

[data-theme="dark"] .other-work .profile__text--lead1 {
  color: #cbd5e1;
}

/* ----- Mobile: simplify document look (Vincze-style) ----- */
@media screen and (max-width: 65rem) {
  .resume {
    padding: 3.5rem 1.25rem;
    margin: 0 auto;
    box-shadow: none;
  }
}

/* ----- Print: only resume visible (browser Print → Save as PDF) ----- */
@media print {
  /* Hide everything, then show only the resume (Mark Vincze approach) */
  body * {
    visibility: hidden;
  }
  #resume-content,
  #resume-content * {
    visibility: visible;
  }
  #resume-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .no-print,
  .resume__actions {
    display: none !important;
    visibility: hidden !important;
  }

  .resume {
    box-sizing: border-box;
    padding: 0 1.2cm;
    margin: 0;
    max-width: none;
    box-shadow: none;
  }

  /* Match margin-bottom from web (lines above) so print/PDF matches screen */
  /* Reset header block margins so browser defaults (p/h1) don’t add extra space */
  .resume__header {
    margin-bottom: 1.5rem;
  }
  .resume__header .resume__name,
  .resume__header .resume__title,
  .resume__header .resume__contact {
    margin-top: 0;
  }
  .resume__header .resume__contact {
    margin-bottom: 0.2rem;
  }
  .resume__name {
    margin-bottom: 0.05rem;
  }
  .resume__title {
    margin-bottom: 1rem;
  }
  .resume__section {
    margin-bottom: 2.5rem;
  }
  .resume__section-title {
    margin-bottom: 0.6rem;
  }
  .resume__summary li {
    margin-bottom: 0.4rem;
  }
  /* Reset job block p margins so browser defaults don’t add extra space */
  .resume__job .resume__job-company,
  .resume__job .resume__job-dates,
  .resume__job .resume__job-description {
    margin-top: 0;
  }
  .resume__job {
    margin-bottom: 2rem;
  }
  .resume__job-company {
    margin-bottom: 0.2rem;
  }
  .resume__job-dates {
    margin-bottom: 0.4rem;
  }
  .resume__job-description {
    margin-bottom: 0.4rem;
  }
  .resume__bullets li {
    margin-bottom: 0.15rem;
  }
  .resume__expertise-line {
    margin-bottom: 0.4rem;
  }
  .resume__education-school {
    margin-bottom: 0.35rem;
  }
  .resume__education-degrees li {
    margin-bottom: 0.25rem;
  }

  /* Minimal resume print */
  .resume-minimal__content {
    padding: 0;
    max-width: none;
  }
  .resume-minimal__heading {
    margin-bottom: 1.5rem;
  }
  .resume-minimal__item {
    margin-bottom: 2rem;
  }
  .resume-minimal__role {
    font-size: 2.25rem;
  }

  /* Scale content so it fits pages neatly (rem-based = one knob). 10pt fits 2 Letter pages. */
  html {
    font-size: 11pt;
  }

  @page {
    size: letter;
    margin: 1.2cm;
  }

  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
