/* Resume, title-card, dropdown, and accent refinements — 2026-07-29 */
:root {
  --portfolio-dark: #2d2d2d;
  --portfolio-white: #ffffff;
  --portfolio-red: #023fa1;
  --portfolio-green: #cccc33;
}

/* Homepage project title panels: larger heading, left aligned, vertically centered. */
.page-home .project-card__content {
  display: flex !important;
  min-height: clamp(62px, 5.2vw, 72px) !important;
  padding: 0 clamp(24px, 2.25vw, 32px) !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.page-home .project-card__title {
  width: 100%;
  margin: 0 !important;
  color: var(--portfolio-white) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: clamp(1rem, 1.08vw, 1.125rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

/* The project filter now visually belongs to the navigation system. */
.page-home .project-filter__toggle {
  display: inline-flex !important;
  min-width: 176px !important;
  min-height: 46px;
  padding: 11px 16px !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px !important;
  border: 1px solid var(--portfolio-dark) !important;
  border-radius: 0 !important;
  background: var(--portfolio-dark) !important;
  color: var(--portfolio-white) !important;
  box-shadow: none !important;
}

.page-home #project-filter-current {
  transform: none !important;
  color: var(--portfolio-white) !important;
}

.page-home .project-filter__arrow,
.page-home .project-filter__arrow::before {
  border-color: var(--portfolio-white) !important;
  color: var(--portfolio-white) !important;
  opacity: 1 !important;
}

.page-home .project-filter__toggle:hover,
.page-home .project-filter__toggle:focus-visible,
.page-home .project-filter__toggle[aria-expanded="true"] {
  background: #3a3a3a !important;
  border-color: #3a3a3a !important;
  color: var(--portfolio-white) !important;
}

.page-home .project-filter__menu {
  top: calc(100% + 7px) !important;
  width: 210px !important;
  padding: 6px 0 !important;
  border: 1px solid var(--portfolio-dark) !important;
  border-radius: 0 !important;
  background: var(--portfolio-white) !important;
  box-shadow: 0 14px 30px rgba(45, 45, 45, 0.16) !important;
}

.page-home .project-filter__menu button {
  padding: 11px 16px !important;
  background: var(--portfolio-white) !important;
  color: var(--portfolio-dark) !important;
  text-align: left !important;
}

.page-home .project-filter__menu button:hover,
.page-home .project-filter__menu button:focus-visible,
.page-home .project-filter__menu button.is-active {
  background: #f3f3f3 !important;
  color: var(--portfolio-red) !important;
}

/* Green is reserved for the project back control, home V, and up controls. */
.hero-scroll-indicator,
.hero-scroll-indicator::before,
.hero-scroll-indicator::after,
.project-nav__back,
.project-nav__back::before,
.project-nav__back::after,
.project-nav__back span::before,
.project-nav__back span::after,
.back-to-top,
.back-to-top::before,
.back-to-top::after,
.back-to-top span::before,
.back-to-top span::after {
  border-color: var(--portfolio-green) !important;
  color: var(--portfolio-green) !important;
}

.project-nav__back,
.project-nav__back:hover,
.project-nav__back:focus-visible,
.back-to-top,
.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--portfolio-white) !important;
  background: var(--portfolio-dark) !important;
}

/* Remove green from all other controls and accents. */
.source-carousel-arrow,
.source-carousel-arrow::before,
.source-carousel-arrow::after,
.source-browser-edge-arrow,
.source-browser-edge-arrow::before,
.source-browser-edge-arrow::after,
.contact-item__arrow,
.contact-item__arrow::before,
.contact-item__arrow::after {
  border-color: var(--portfolio-red) !important;
  color: var(--portfolio-red) !important;
}

.image-lightbox__arrow,
.image-lightbox__arrow::before,
.image-lightbox__arrow::after {
  border-color: var(--portfolio-white) !important;
  color: var(--portfolio-white) !important;
}

/* Resume page: present the resume itself as the primary experience. */
.page-resume .resume-page--showcase {
  width: 100%;
  min-height: calc(100svh - 62px);
  padding: clamp(44px, 6vw, 78px) clamp(18px, 4vw, 64px) clamp(76px, 9vw, 118px) !important;
  background: var(--portfolio-white) !important;
}

.page-resume .resume-showcase {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.page-resume .resume-showcase__header {
  display: flex;
  margin-bottom: clamp(28px, 4vw, 42px);
  padding-bottom: clamp(20px, 2.8vw, 30px);
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(45, 45, 45, 0.18);
}

.page-resume .resume-showcase__eyebrow {
  margin: 0 0 10px !important;
  color: var(--portfolio-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-showcase__title {
  margin: 0 !important;
  color: var(--portfolio-dark) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: clamp(3rem, 5.8vw, 4.75rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.02 !important;
}

.page-resume .resume-showcase__download {
  display: inline-flex;
  min-height: 50px;
  padding: 14px 18px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--portfolio-red);
  background: var(--portfolio-red);
  color: var(--portfolio-white) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.09em;
  line-height: 1 !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.page-resume .resume-showcase__download:hover,
.page-resume .resume-showcase__download:focus-visible {
  transform: translateY(-2px);
  border-color: var(--portfolio-dark);
  background: var(--portfolio-dark);
}

.page-resume .resume-showcase__download:focus-visible,
.page-resume .resume-document__link:focus-visible,
.page-resume .resume-document__open:focus-visible {
  outline: 3px solid var(--portfolio-red) !important;
  outline-offset: 5px;
}

.page-resume .resume-document {
  overflow: hidden;
  border: 1px solid rgba(45, 45, 45, 0.18);
  background: #f3f3f3;
  box-shadow: 0 24px 58px rgba(45, 45, 45, 0.14);
}

.page-resume .resume-document__toolbar {
  display: flex;
  min-height: 62px;
  padding: 15px clamp(18px, 2.5vw, 28px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 7px solid var(--portfolio-red);
  background: var(--portfolio-dark);
  color: var(--portfolio-white);
}

.page-resume .resume-document__name {
  color: var(--portfolio-white) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: clamp(0.875rem, 1.1vw, 1rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.025em;
  line-height: 1.2 !important;
}

.page-resume .resume-document__open {
  color: var(--portfolio-white) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.09em;
  line-height: 1.2 !important;
  text-decoration: none;
  text-transform: uppercase;
}

.page-resume .resume-document__open:hover {
  color: var(--portfolio-red) !important;
}

.page-resume .resume-document__link {
  display: block;
  width: min(100%, 900px);
  margin: clamp(20px, 3vw, 34px) auto;
  background: var(--portfolio-white);
  box-shadow: 0 14px 34px rgba(45, 45, 45, 0.12);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.page-resume .resume-document__link:hover,
.page-resume .resume-document__link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(45, 45, 45, 0.18);
}

.page-resume .resume-document__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 680px) {
  .page-home .project-card__content {
    min-height: 60px !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .page-home .project-card__title {
    font-size: 1rem !important;
  }

  .page-home .project-filter__toggle {
    width: min(100%, 220px);
    min-width: 168px !important;
  }

  .page-resume .resume-page--showcase {
    padding: 40px 14px 78px !important;
  }

  .page-resume .resume-showcase__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-resume .resume-showcase__download {
    width: 100%;
  }

  .page-resume .resume-document__toolbar {
    min-height: 58px;
  }

  .page-resume .resume-document__open {
    font-size: 0.66rem !important;
  }

  .page-resume .resume-document__link {
    margin: 14px auto;
  }
}
