/* Web-native resume showcase in the portfolio visual system — 2026-07-29 */
:root {
  --resume-dark: #2d2d2d;
  --resume-red: #023fa1;
  --resume-white: #ffffff;
  --resume-gray-50: #f7f7f7;
  --resume-gray-100: #eeeeee;
  --resume-gray-500: #666666;
}

.page-resume {
  background: var(--resume-white) !important;
}

.page-resume .resume-page--editorial {
  width: 100%;
  min-height: calc(100svh - 62px);
  padding: clamp(42px, 5.5vw, 82px) clamp(18px, 5.5vw, 104px) clamp(92px, 10vw, 144px) !important;
  background: var(--resume-white) !important;
}

.page-resume .resume-editorial-shell {
  width: min(100%, 1460px);
  margin: 0 auto;
}

/* Intro and featured download */
.page-resume .resume-editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 64px);
}

.page-resume .resume-editorial-hero__copy {
  display: flex;
  min-height: clamp(340px, 36vw, 510px);
  padding: clamp(38px, 5.6vw, 82px);
  flex-direction: column;
  justify-content: flex-end;
  border-left: 9px solid var(--resume-red);
  background: var(--resume-gray-50);
}

.page-resume .resume-editorial-eyebrow,
.page-resume .resume-section-label,
.page-resume .resume-download-panel__label,
.page-resume .resume-contact-item__label {
  margin: 0 0 14px !important;
  color: var(--resume-red) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

.page-resume .resume-editorial-title {
  max-width: 900px;
  margin: 0 0 24px !important;
  color: var(--resume-dark) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: clamp(3.35rem, 7vw, 7rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.055em !important;
  line-height: 0.92 !important;
}

.page-resume .resume-editorial-summary {
  max-width: 820px;
  margin: 0 !important;
  color: var(--resume-dark) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: clamp(1rem, 1.28vw, 1.17rem) !important;
  font-weight: 400 !important;
  line-height: 1.68 !important;
}

.page-resume .resume-download-panel {
  position: relative;
  display: flex;
  min-height: clamp(340px, 36vw, 510px);
  padding: clamp(34px, 4vw, 58px);
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  background: var(--resume-dark);
  color: var(--resume-white);
}

.page-resume .resume-download-panel::after {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(204, 0, 51, 0.72);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(204, 0, 51, 0.10),
    0 0 0 68px rgba(204, 0, 51, 0.055);
  content: "";
  pointer-events: none;
}

.page-resume .resume-download-panel__content,
.page-resume .resume-download-panel__actions {
  position: relative;
  z-index: 1;
}

.page-resume .resume-download-panel__label {
  color: var(--resume-red) !important;
}

.page-resume .resume-download-panel__headline {
  max-width: 360px;
  margin: 0 0 18px;
  color: var(--resume-white) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: clamp(2rem, 3.2vw, 3.15rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.03 !important;
}

.page-resume .resume-download-panel__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.66) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 0.8125rem !important;
  line-height: 1.5 !important;
}

.page-resume .resume-download-panel__actions {
  display: grid;
  gap: 12px;
}

.page-resume .resume-primary-action,
.page-resume .resume-secondary-action {
  display: inline-flex;
  min-height: 54px;
  padding: 15px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--resume-red);
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.page-resume .resume-primary-action {
  background: var(--resume-red);
  color: var(--resume-white) !important;
}

.page-resume .resume-secondary-action {
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  color: var(--resume-white) !important;
}

.page-resume .resume-primary-action:hover,
.page-resume .resume-primary-action:focus-visible,
.page-resume .resume-secondary-action:hover,
.page-resume .resume-secondary-action:focus-visible {
  transform: translateY(-2px);
}

.page-resume .resume-primary-action:hover,
.page-resume .resume-primary-action:focus-visible {
  border-color: var(--resume-white);
  background: var(--resume-white);
  color: var(--resume-dark) !important;
}

.page-resume .resume-secondary-action:hover,
.page-resume .resume-secondary-action:focus-visible {
  border-color: var(--resume-red);
  background: var(--resume-red);
}

.page-resume .resume-primary-action:focus-visible,
.page-resume .resume-secondary-action:focus-visible,
.page-resume .resume-contact-item__value:focus-visible {
  outline: 3px solid var(--resume-red);
  outline-offset: 5px;
}

/* Contact information reads like a project metadata strip. */
.page-resume .resume-contact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(26px, 3vw, 42px) 0 clamp(78px, 8vw, 120px);
  border-top: 1px solid rgba(45, 45, 45, 0.18);
  border-bottom: 1px solid rgba(45, 45, 45, 0.18);
}

.page-resume .resume-contact-item {
  min-width: 0;
  padding: 22px clamp(12px, 2vw, 28px);
  border-right: 1px solid rgba(45, 45, 45, 0.14);
}

.page-resume .resume-contact-item:first-child {
  padding-left: 0;
}

.page-resume .resume-contact-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.page-resume .resume-contact-item__label {
  margin-bottom: 6px !important;
  font-size: 0.65rem !important;
}

.page-resume .resume-contact-item__value {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--resume-dark) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: clamp(0.82rem, 1vw, 0.94rem) !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-decoration: none;
}

.page-resume a.resume-contact-item__value:hover {
  color: var(--resume-red) !important;
}

/* Main resume content */
.page-resume .resume-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  align-items: start;
  gap: clamp(52px, 7vw, 112px);
}

.page-resume .resume-editorial-main,
.page-resume .resume-editorial-sidebar {
  min-width: 0;
}

.page-resume .resume-section {
  margin: 0 0 clamp(68px, 7vw, 104px);
}

.page-resume .resume-section-header {
  display: grid;
  grid-template-columns: minmax(100px, 0.28fr) minmax(0, 1fr);
  margin-bottom: clamp(28px, 3.5vw, 46px);
  align-items: baseline;
  gap: 24px;
  border-bottom: 1px solid rgba(45, 45, 45, 0.18);
}

.page-resume .resume-section-label {
  margin: 0 !important;
  padding-bottom: 18px;
}

.page-resume .resume-section-title {
  margin: 0 !important;
  padding-bottom: 16px;
  color: var(--resume-red) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: clamp(1.75rem, 3vw, 2.75rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.08 !important;
}

.page-resume .resume-experience-list {
  display: grid;
  gap: clamp(44px, 5vw, 68px);
}

.page-resume .resume-experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px clamp(24px, 4vw, 54px);
}

.page-resume .resume-experience__heading {
  min-width: 0;
}

.page-resume .resume-experience__role {
  margin: 0 0 7px !important;
  color: var(--resume-red) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: clamp(1.25rem, 1.75vw, 1.55rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.018em !important;
  line-height: 1.2 !important;
}

.page-resume .resume-experience__company {
  margin: 0 !important;
  color: var(--resume-dark) !important;
  font-size: 0.91rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.page-resume .resume-experience__date {
  margin: 2px 0 0 !important;
  color: var(--resume-gray-500) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.045em;
  line-height: 1.45 !important;
  text-align: right;
  white-space: nowrap;
}

.page-resume .resume-experience__details {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.page-resume .resume-experience__details li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 24px;
  color: var(--resume-dark) !important;
  font-size: 1rem !important;
  line-height: 1.66 !important;
}

.page-resume .resume-experience__details li:last-child {
  margin-bottom: 0;
}

.page-resume .resume-experience__details li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 11px;
  height: 2px;
  background: var(--resume-red);
  content: "";
}

/* Sidebar */
.page-resume .resume-editorial-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 22px;
}

.page-resume .resume-sidebar-card {
  padding: clamp(28px, 3vw, 40px);
  border-top: 7px solid var(--resume-red);
  background: var(--resume-gray-50);
}

.page-resume .resume-sidebar-card--dark {
  border-top-color: var(--resume-red);
  background: var(--resume-dark);
  color: var(--resume-white);
}

.page-resume .resume-sidebar-title {
  margin: 0 0 24px !important;
  color: var(--resume-red) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.1 !important;
}

.page-resume .resume-degree {
  margin-bottom: 24px;
}

.page-resume .resume-degree:last-child {
  margin-bottom: 0;
}

.page-resume .resume-degree__school,
.page-resume .resume-degree__name,
.page-resume .resume-skill-group__name {
  margin: 0 !important;
  color: var(--resume-dark) !important;
  font-family: "Inter", Arial, sans-serif !important;
}

.page-resume .resume-degree__school {
  margin-bottom: 9px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.page-resume .resume-degree__name {
  margin-bottom: 5px !important;
  color: var(--resume-gray-500) !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}

.page-resume .resume-skill-groups {
  display: grid;
  gap: 26px;
}

.page-resume .resume-skill-group__name {
  margin-bottom: 9px !important;
  color: var(--resume-red) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.page-resume .resume-skill-group__copy {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.91rem !important;
  line-height: 1.65 !important;
}

/* Final download remains the visual conclusion. */
.page-resume .resume-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: clamp(20px, 4vw, 54px);
  padding: clamp(34px, 5vw, 64px);
  align-items: center;
  gap: 32px;
  background: var(--resume-dark);
}

.page-resume .resume-final-cta__eyebrow {
  margin: 0 0 10px !important;
  color: var(--resume-red) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.page-resume .resume-final-cta__title {
  max-width: 700px;
  margin: 0 !important;
  color: var(--resume-white) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: clamp(1.75rem, 3.2vw, 3rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.08 !important;
}

.page-resume .resume-final-cta .resume-primary-action {
  min-width: 210px;
}

/* Approved green up control remains the only green element on this page. */
.page-resume .back-to-top {
  right: 22px !important;
  bottom: 20px !important;
  display: grid !important;
  width: 60px !important;
  height: 60px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 2px solid var(--resume-white) !important;
  border-radius: 50% !important;
  background: #cccc33 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: 0 10px 28px rgba(45, 45, 45, 0.18) !important;
}

.page-resume .back-to-top__icon {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  margin-top: 7px !important;
  border-top: 3px solid var(--resume-white) !important;
  border-left: 3px solid var(--resume-white) !important;
  transform: rotate(45deg) !important;
}

.page-resume .back-to-top__icon::before,
.page-resume .back-to-top__icon::after {
  content: none !important;
}

@media (max-width: 1050px) {
  .page-resume .resume-editorial-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }

  .page-resume .resume-contact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-resume .resume-contact-item:nth-child(2) {
    border-right: 0;
  }

  .page-resume .resume-contact-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(45, 45, 45, 0.14);
  }

  .page-resume .resume-contact-item:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .page-resume .resume-editorial-hero,
  .page-resume .resume-editorial-grid {
    grid-template-columns: 1fr;
  }

  .page-resume .resume-editorial-hero__copy,
  .page-resume .resume-download-panel {
    min-height: auto;
  }

  .page-resume .resume-download-panel {
    gap: 48px;
  }

  .page-resume .resume-editorial-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page-resume .resume-page--editorial {
    padding: 36px 16px 90px !important;
  }

  .page-resume .resume-editorial-hero__copy {
    min-height: 360px;
    padding: 34px 25px;
    border-left-width: 7px;
  }

  .page-resume .resume-editorial-title {
    font-size: clamp(3.1rem, 17vw, 5rem) !important;
  }

  .page-resume .resume-download-panel {
    padding: 32px 25px;
  }

  .page-resume .resume-contact-strip {
    grid-template-columns: 1fr;
  }

  .page-resume .resume-contact-item,
  .page-resume .resume-contact-item:first-child,
  .page-resume .resume-contact-item:nth-child(3),
  .page-resume .resume-contact-item:last-child {
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(45, 45, 45, 0.14);
  }

  .page-resume .resume-contact-item:last-child {
    border-bottom: 0;
  }

  .page-resume .resume-section-header {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-resume .resume-section-label {
    padding-bottom: 8px;
  }

  .page-resume .resume-experience {
    grid-template-columns: 1fr;
  }

  .page-resume .resume-experience__date {
    margin-top: 0 !important;
    text-align: left;
  }

  .page-resume .resume-editorial-sidebar {
    grid-template-columns: 1fr;
  }

  .page-resume .resume-final-cta {
    grid-template-columns: 1fr;
    padding: 32px 25px;
  }

  .page-resume .resume-final-cta .resume-primary-action {
    width: 100%;
    min-width: 0;
  }

  .page-resume .back-to-top {
    right: 16px !important;
    bottom: 16px !important;
    width: 52px !important;
    height: 52px !important;
  }

  .page-resume .back-to-top__icon {
    width: 12px !important;
    height: 12px !important;
    border-top-width: 2.5px !important;
    border-left-width: 2.5px !important;
  }
}
