/* Ruben professional profile — a spacious, field-journal variation of the Ruben district. */
.ruben-professional-page {
  --rp-paper: #eeeae0;
  --rp-paper-bright: #f8f6ef;
  --rp-ink: #17362a;
  --rp-soft: #5c6d64;
  --rp-forest: #214538;
  --rp-deep: #102a21;
  --rp-gold: #b78a4d;
  --rp-shell: min(1180px, calc(100vw - 96px));
  --rp-section: clamp(100px, 10vw, 154px);
  background: var(--rp-paper);
  color: var(--rp-ink);
}

.ruben-professional-page .site-header.scrolled,
.ruben-professional-page .site-header.menu-open {
  background: color-mix(in srgb, var(--rp-paper-bright) 94%, transparent);
}

.ruben-professional-page .hero {
  min-height: min(860px, 100svh);
}

.ruben-professional-page .hero-media img {
  object-position: center 45%;
}

.ruben-professional-page .hero-shade {
  background: linear-gradient(90deg, rgba(7, 24, 18, .9) 0%, rgba(7, 24, 18, .67) 41%, rgba(7, 24, 18, .15) 78%, rgba(7, 24, 18, .08) 100%), linear-gradient(0deg, rgba(7, 24, 18, .5), transparent 62%);
}

.ruben-professional-page .hero-copy {
  max-width: 830px;
}

.ruben-professional-page .hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 6.4vw, 86px);
  line-height: 1.01;
  text-wrap: balance;
}

.ruben-professional-page .hero-lead {
  max-width: 680px;
}

.rp-signature {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .76);
  font-family: var(--display);
  font-size: clamp(17px, 1.5vw, 21px);
  font-style: italic;
  line-height: 1.45;
}

.ruben-professional-page .shell,
.ruben-professional-page .footer-grid,
.ruben-professional-page .footer-base {
  width: var(--rp-shell);
}

.rp-section {
  padding: var(--rp-section) 0;
}

.rp-profile {
  background: var(--rp-paper-bright);
}

.rp-section-heading {
  margin-bottom: clamp(52px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(170px, .3fr) minmax(0, .7fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.rp-section-heading > .eyebrow {
  margin-top: 10px;
}

.rp-section-heading h2 {
  max-width: 850px;
  color: var(--rp-ink);
  font-size: clamp(38px, 4.7vw, 66px);
  line-height: 1.07;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.rp-section-heading .lead {
  max-width: 740px;
  margin-top: 24px;
  color: var(--rp-soft);
  font-size: clamp(18px, 1.45vw, 21px);
}

.rp-at-a-glance,
.rp-journey-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(340px, .28fr);
  gap: clamp(54px, 9vw, 132px);
  align-items: start;
}

.rp-profile-statement {
  max-width: 680px;
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.62;
}

.rp-profile-statement p {
  margin: 0 0 28px;
}

.rp-role-list {
  margin: 0;
  border-top: 1px solid var(--rp-ink);
}

.rp-role-list > div {
  padding: 17px 0 18px;
  display: grid;
  grid-template-columns: minmax(110px, .42fr) minmax(0, .58fr);
  gap: 18px;
  border-bottom: 1px solid rgba(23, 54, 42, .2);
}

.rp-role-list dt {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.rp-role-list dd {
  margin: 0;
  color: var(--rp-soft);
  font-size: 13px;
  line-height: 1.5;
}

.rp-fields {
  background: #e5e0d4;
}

.rp-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 54, 42, .24);
}

.rp-field {
  min-width: 0;
  min-height: 248px;
  padding: 26px 28px 30px 0;
  border-bottom: 1px solid rgba(23, 54, 42, .24);
}

.rp-field:nth-child(3n + 2),
.rp-field:nth-child(3n + 3) {
  padding-left: 28px;
  border-left: 1px solid rgba(23, 54, 42, .24);
}

.rp-field > span,
.rp-framework > span,
.rp-timeline article > span {
  color: var(--rp-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
}

.rp-field h3 {
  margin-top: 44px;
  font-size: clamp(22px, 1.9vw, 29px);
  overflow-wrap: anywhere;
}

.rp-field p {
  max-width: 320px;
  margin: 14px 0 0;
  color: var(--rp-soft);
  font-size: 14px;
  line-height: 1.65;
}

.rp-framework-band {
  color: #f7f3e9;
  background: var(--rp-deep);
}

.rp-section-heading--light h2,
.rp-section-heading--light .lead {
  color: #f7f3e9;
}

.rp-section-heading--light .lead {
  color: rgba(247, 243, 233, .72);
}

.rp-framework-list {
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.rp-framework {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 26px;
  padding: 25px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.rp-framework h3 {
  font-size: clamp(21px, 1.9vw, 29px);
  overflow-wrap: anywhere;
}

.rp-framework p {
  max-width: 720px;
  margin: 11px 0 0;
  color: rgba(247, 243, 233, .72);
  font-size: 15px;
  line-height: 1.65;
}

.rp-experience {
  background: var(--rp-paper-bright);
}

.rp-experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(210px, .4fr) minmax(240px, .5fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.rp-experience-image {
  min-height: 440px;
  overflow: hidden;
}

.rp-experience-image img,
.rp-journey-image img,
.rp-contact-image img,
.rp-wild-hearts-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-experience-image--wide {
  border-radius: 18px 68px 26px 48px / 34px 22px 64px 26px;
}

.rp-experience-image--wide img {
  object-position: center 52%;
}

.rp-experience-image--tall {
  min-height: 520px;
  border-radius: 62px 18px 42px 24px / 24px 36px 20px 66px;
}

.rp-experience-image--tall img {
  object-position: center 42%;
}

.rp-experience-copy {
  padding: 28px 0 0 12px;
}

.rp-experience-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23, 54, 42, .24);
}

.rp-experience-copy li {
  padding: 14px 0;
  color: var(--rp-soft);
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(23, 54, 42, .2);
}

.rp-wild-hearts {
  position: relative;
  overflow: hidden;
  color: #f7f3e9;
  background: var(--rp-deep);
}

.rp-wild-hearts-media {
  position: absolute;
  inset: 0;
}

.rp-wild-hearts-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 18, .94), rgba(7, 24, 18, .76) 46%, rgba(7, 24, 18, .52)), linear-gradient(0deg, rgba(7, 24, 18, .86), rgba(7, 24, 18, .2));
}

.rp-wild-hearts-media img {
  filter: saturate(.72) contrast(.96);
  object-position: center 52%;
}

.rp-wild-hearts-inner {
  position: relative;
  z-index: 1;
  padding-top: var(--rp-section);
  padding-bottom: var(--rp-section);
}

.rp-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .2);
}

.rp-ecosystem {
  min-width: 0;
  min-height: 270px;
  padding: 26px 28px 30px;
  color: #f7f3e9;
  background: rgba(16, 42, 33, .78);
  backdrop-filter: blur(4px);
}

.rp-ecosystem--brotherhood {
  grid-row: span 2;
  min-height: 542px;
  background: rgba(20, 58, 45, .83);
}

.rp-ecosystem--distinct {
  background: rgba(72, 61, 39, .78);
}

.rp-ecosystem h3 {
  margin-top: 40px;
  font-size: clamp(23px, 2.2vw, 33px);
  overflow-wrap: anywhere;
}

.rp-ecosystem p:not(.eyebrow) {
  max-width: 430px;
  margin: 14px 0 0;
  color: rgba(247, 243, 233, .78);
  font-size: 14px;
  line-height: 1.6;
}

.rp-ecosystem ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.rp-ecosystem li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.rp-ecosystem li a,
.text-link {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.rp-ecosystem li span {
  display: block;
  margin-top: 4px;
  color: rgba(247, 243, 233, .64);
  font-size: 12px;
  line-height: 1.45;
}

.rp-ecosystem .text-link {
  display: inline-block;
  margin-top: 24px;
}

.rp-ecosystem a:hover,
.rp-ecosystem a:focus-visible {
  color: #f0c37f;
}

.rp-journey {
  background: var(--rp-paper);
}

.rp-timeline {
  border-top: 1px solid rgba(23, 54, 42, .24);
}

.rp-timeline article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  padding: 21px 0 25px;
  border-bottom: 1px solid rgba(23, 54, 42, .2);
}

.rp-timeline h3 {
  font-size: clamp(20px, 1.8vw, 27px);
  overflow-wrap: anywhere;
}

.rp-timeline p {
  max-width: 700px;
  margin: 9px 0 0;
  color: var(--rp-soft);
  font-size: 14px;
  line-height: 1.6;
}

.rp-journey-image {
  min-height: 680px;
  overflow: hidden;
  border-radius: 68px 20px 52px 24px / 28px 42px 24px 76px;
}

.rp-journey-image img {
  object-position: center 53%;
}

.rp-languages {
  margin: 40px 0 0;
  padding-top: 20px;
  color: var(--rp-soft);
  font-size: 13px;
  border-top: 1px solid rgba(23, 54, 42, .22);
}

.rp-languages strong {
  color: var(--rp-ink);
}

.rp-collaboration {
  background: #e5e0d4;
}

.rp-collab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 54, 42, .24);
}

.rp-collab-item {
  min-width: 0;
  min-height: 205px;
  padding: 24px 24px 26px 0;
  border-bottom: 1px solid rgba(23, 54, 42, .24);
}

.rp-collab-item:nth-child(3n + 2),
.rp-collab-item:nth-child(3n + 3) {
  padding-left: 24px;
  border-left: 1px solid rgba(23, 54, 42, .24);
}

.rp-collab-item h3 {
  font-size: clamp(20px, 1.7vw, 26px);
  overflow-wrap: anywhere;
}

.rp-collab-item p {
  margin: 12px 0 0;
  color: var(--rp-soft);
  font-size: 14px;
  line-height: 1.6;
}

.rp-ethics {
  background: var(--rp-paper-bright);
}

.rp-contact-image {
  width: min(230px, 70%);
  aspect-ratio: 1 / 1;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 46% 54% 58% 42% / 42% 46% 54% 58%;
}

.ruben-professional-page .footer-column h2 {
  max-width: none;
  margin: 0 0 8px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-wrap: initial;
}

.ruben-professional-page .footer-column,
.ruben-professional-page .footer-column a,
.ruben-professional-page .footer-brand,
.ruben-professional-page .footer-base span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1020px) {
  .rp-at-a-glance,
  .rp-journey-grid {
    grid-template-columns: 1fr;
  }

  .rp-role-list {
    max-width: 700px;
  }

  .rp-journey-image {
    min-height: 560px;
    max-height: 700px;
  }

  .rp-experience-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .62fr);
  }

  .rp-experience-copy {
    grid-column: 1 / -1;
    padding: 20px 0 0;
  }

  .rp-experience-copy ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }
}

@media (max-width: 760px) {
  .ruben-professional-page {
    --rp-shell: calc(100vw - 40px);
    --rp-section: clamp(76px, 18vw, 110px);
  }

  .ruben-professional-page .hero {
    min-height: 760px;
  }

  .ruben-professional-page .hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .ruben-professional-page .hero-lead {
    font-size: 18px;
  }

  .rp-section-heading {
    display: block;
    margin-bottom: 48px;
  }

  .rp-section-heading > .eyebrow {
    margin-bottom: 24px;
  }

  .rp-section-heading h2 {
    font-size: clamp(35px, 10vw, 52px);
  }

  .rp-section-heading .lead {
    font-size: 18px;
  }

  .rp-profile-statement {
    font-size: 20px;
  }

  .rp-role-list > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .rp-field-grid,
  .rp-collab-grid,
  .rp-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .rp-field,
  .rp-field:nth-child(3n + 2),
  .rp-field:nth-child(3n + 3),
  .rp-collab-item,
  .rp-collab-item:nth-child(3n + 2),
  .rp-collab-item:nth-child(3n + 3) {
    padding: 22px 0 26px;
    border-left: 0;
  }

  .rp-field,
  .rp-collab-item {
    min-height: 0;
  }

  .rp-field h3,
  .rp-collab-item h3 {
    margin-top: 25px;
  }

  .rp-framework {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0 24px;
  }

  .rp-framework p {
    font-size: 14px;
  }

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

  .rp-experience-image,
  .rp-experience-image--tall {
    min-height: 330px;
    max-height: none;
  }

  .rp-experience-image--tall {
    aspect-ratio: 4 / 5;
  }

  .rp-experience-copy ul {
    display: block;
  }

  .rp-ecosystem--brotherhood {
    grid-row: auto;
    min-height: 0;
  }

  .rp-ecosystem {
    min-height: 0;
    padding: 24px 20px 28px;
  }

  .rp-ecosystem h3 {
    margin-top: 26px;
  }

  .rp-journey-image {
    min-height: 460px;
  }

  .rp-contact-image {
    width: 180px;
  }

  .ruben-professional-page .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .ruben-professional-page .footer-brand {
    grid-column: 1 / -1;
  }

  .ruben-professional-page .footer-base {
    display: grid;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ruben-professional-page .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* CV presentation: intentionally different from the narrative Ruben homepage. */
.ruben-cv-page {
  --cv-paper: #f4f1e8;
  --cv-paper-alt: #e7e2d7;
  --cv-ink: #17362a;
  --cv-soft: #5b6d64;
  --cv-deep: #102a21;
  --cv-line: rgba(23, 54, 42, .22);
  --cv-shell: min(1180px, calc(100vw - 96px));
  background: var(--cv-paper);
  color: var(--cv-ink);
}

.ruben-cv-page .site-header {
  color: var(--cv-ink);
}

.ruben-cv-page .shell,
.ruben-cv-page .footer-grid,
.ruben-cv-page .footer-base {
  width: var(--cv-shell);
}

.rp-cv-hero {
  min-height: min(840px, 100svh);
  padding-top: var(--header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--cv-paper);
}

.rp-cv-hero-copy {
  min-width: 0;
  padding: clamp(38px, 5vh, 76px) clamp(32px, 6vw, 104px) clamp(34px, 4vh, 62px) max(48px, calc((100vw - min(1180px, calc(100vw - 96px))) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rp-cv-hero-copy h1 {
  max-width: 610px;
  font-family: var(--display);
  font-size: clamp(48px, 5.6vw, 78px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.rp-cv-role {
  max-width: 530px;
  margin: 18px 0 0;
  color: var(--cv-ink);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.45;
}

.rp-cv-lead {
  max-width: 570px;
  margin: 15px 0 0;
  color: var(--cv-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.62;
}

.rp-cv-signature {
  margin: 14px 0 0;
  color: var(--cv-ink);
  font-family: var(--display);
  font-size: clamp(17px, 1.4vw, 21px);
  font-style: italic;
  line-height: 1.4;
}

.rp-cv-hero-copy .hero-actions {
  margin-top: 24px;
}

.rp-cv-hero-copy .button {
  color: var(--cv-paper);
  background: var(--cv-deep);
  border-color: var(--cv-deep);
}

.rp-cv-hero-copy .button.ghost {
  color: var(--cv-ink);
  background: transparent;
  border-color: var(--cv-ink);
}

.rp-cv-hero-media {
  position: relative;
  min-width: 0;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: var(--cv-deep);
  border-radius: 86px 0 0 22px / 42px 0 0 26px;
}

.rp-cv-hero-media video,
.rp-cv-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.78) contrast(.96);
}

.rp-cv-hero-media img {
  object-position: center 45%;
}

.rp-cv-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(7, 24, 18, .65), transparent 42%);
}

.rp-cv-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 24px;
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rp-cv-section {
  padding: clamp(88px, 10vw, 148px) 0;
}

.rp-cv-overview,
.rp-cv-experience,
.rp-cv-thread {
  background: var(--cv-paper);
}

.rp-cv-offer,
.rp-cv-experience {
  background: var(--cv-paper-alt);
}

.rp-cv-heading {
  margin-bottom: clamp(46px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(160px, .28fr) minmax(0, .72fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.rp-cv-heading > .eyebrow {
  margin-top: 9px;
}

.rp-cv-heading h2 {
  max-width: 780px;
  font-size: clamp(38px, 4.5vw, 63px);
  line-height: 1.06;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.rp-cv-heading .lead {
  max-width: 720px;
  margin-top: 20px;
  color: var(--cv-soft);
  font-size: clamp(17px, 1.38vw, 21px);
  line-height: 1.62;
}

.rp-cv-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--cv-ink);
  border-bottom: 1px solid var(--cv-line);
}

.rp-cv-facts > div {
  min-width: 0;
  min-height: 138px;
  padding: 20px 20px 22px 0;
  border-right: 1px solid var(--cv-line);
}

.rp-cv-facts > div + div {
  padding-left: 20px;
}

.rp-cv-facts > div:last-child {
  border-right: 0;
}

.rp-cv-facts strong,
.rp-cv-facts span {
  display: block;
}

.rp-cv-facts strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
}

.rp-cv-facts span {
  margin-top: 11px;
  color: var(--cv-soft);
  font-size: 12px;
  line-height: 1.5;
}

.rp-cv-offer-list {
  border-top: 1px solid var(--cv-ink);
}

.rp-cv-offer-list article {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 25px 0 27px;
  border-bottom: 1px solid var(--cv-line);
}

.rp-cv-offer-list article > span,
.rp-cv-qualification-list article > span {
  padding-top: 5px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
}

.rp-cv-offer-list h3,
.rp-cv-qualification-list h3 {
  font-size: clamp(21px, 1.9vw, 29px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.rp-cv-offer-list p,
.rp-cv-qualification-list p {
  max-width: 700px;
  margin: 8px 0 0;
  color: var(--cv-soft);
  font-size: 14px;
  line-height: 1.58;
}

.rp-cv-offer-list a,
.rp-cv-wild-grid a {
  align-self: center;
  color: var(--cv-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.rp-cv-offer-list a:hover,
.rp-cv-offer-list a:focus-visible,
.rp-cv-wild-grid a:hover,
.rp-cv-wild-grid a:focus-visible {
  color: var(--gold);
}

.rp-cv-qualifications {
  color: #f7f3e9;
  background: var(--cv-deep);
}

.rp-cv-heading--light h2,
.rp-cv-heading--light .lead {
  color: #f7f3e9;
}

.rp-cv-heading--light .lead {
  color: rgba(247, 243, 233, .72);
}

.rp-cv-qualification-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.rp-cv-qualification-list article {
  min-width: 0;
  min-height: 162px;
  padding: 23px 26px 27px 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.rp-cv-qualification-list article:nth-child(even) {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.rp-cv-qualification-list article > span {
  color: #d7ad6d;
}

.rp-cv-qualification-list p {
  color: rgba(247, 243, 233, .7);
}

.rp-cv-qualification-note {
  margin: 30px 0 0;
  padding-top: 18px;
  color: rgba(247, 243, 233, .67);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.rp-cv-qualification-note strong {
  color: #f7f3e9;
}

.rp-cv-experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(210px, .52fr) minmax(220px, .68fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.rp-cv-image {
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
}

.rp-cv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-cv-image--indoor {
  border-radius: 18px 66px 26px 48px / 34px 22px 64px 26px;
}

.rp-cv-image--portrait {
  min-height: 520px;
  border-radius: 62px 18px 44px 24px / 24px 36px 22px 68px;
}

.rp-cv-image--portrait img {
  object-position: center 52%;
}

.rp-cv-experience-list {
  padding: 24px 0 0 10px;
}

.rp-cv-experience-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--cv-line);
}

.rp-cv-experience-list li {
  padding: 13px 0;
  color: var(--cv-soft);
  font-size: 13px;
  line-height: 1.5;
  border-bottom: 1px solid var(--cv-line);
}

.rp-cv-wild-hearts {
  position: relative;
  overflow: hidden;
  color: #f7f3e9;
  background: var(--cv-deep);
}

.rp-cv-wild-media,
.rp-cv-wild-media::after {
  position: absolute;
  inset: 0;
}

.rp-cv-wild-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(7, 24, 18, .93), rgba(7, 24, 18, .74) 54%, rgba(7, 24, 18, .5)), linear-gradient(0deg, rgba(7, 24, 18, .88), rgba(7, 24, 18, .22));
}

.rp-cv-wild-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72);
}

.rp-cv-wild-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(88px, 10vw, 148px);
  padding-bottom: clamp(88px, 10vw, 148px);
}

.rp-cv-wild-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .2);
}

.rp-cv-wild-grid article {
  min-width: 0;
  min-height: 270px;
  padding: 25px 26px 28px;
  background: rgba(16, 42, 33, .78);
  backdrop-filter: blur(3px);
}

.rp-cv-wild-grid article:first-child {
  grid-row: span 2;
  min-height: 541px;
  background: rgba(28, 66, 51, .82);
}

.rp-cv-wild-grid article:last-child {
  background: rgba(74, 61, 39, .78);
}

.rp-cv-wild-grid h3 {
  margin-top: 31px;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.17;
  overflow-wrap: anywhere;
}

.rp-cv-wild-grid p:not(.eyebrow) {
  max-width: 400px;
  margin: 11px 0 0;
  color: rgba(247, 243, 233, .76);
  font-size: 13px;
  line-height: 1.56;
}

.rp-cv-wild-grid article > a {
  display: block;
  width: fit-content;
  margin-top: 21px;
  color: #fff;
}

.rp-cv-wild-sub {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.rp-cv-wild-sub a {
  margin-top: 12px !important;
}

.rp-cv-wild-sub span {
  display: block;
  margin-top: 3px;
  color: rgba(247, 243, 233, .62);
  font-size: 11px;
  line-height: 1.4;
}

.rp-cv-thread-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--cv-ink);
  border-bottom: 1px solid var(--cv-line);
}

.rp-cv-thread-grid > div {
  min-width: 0;
  min-height: 128px;
  padding: 20px 16px 22px 0;
  border-right: 1px solid var(--cv-line);
}

.rp-cv-thread-grid > div + div {
  padding-left: 16px;
}

.rp-cv-thread-grid > div:last-child {
  border-right: 0;
}

.rp-cv-thread-grid strong,
.rp-cv-thread-grid span {
  display: block;
}

.rp-cv-thread-grid strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
}

.rp-cv-thread-grid span {
  margin-top: 10px;
  color: var(--cv-soft);
  font-size: 12px;
  line-height: 1.45;
}

.ruben-cv-page .rp-contact {
  background: var(--cv-deep);
}

.ruben-cv-page .rp-contact .contact-copy h2 {
  overflow-wrap: anywhere;
}

@media (max-width: 1020px) {
  .rp-cv-hero-copy {
    padding-left: 48px;
  }

  .rp-cv-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rp-cv-facts > div:nth-child(3n) {
    border-right: 0;
  }

  .rp-cv-facts > div:nth-child(n + 4) {
    border-top: 1px solid var(--cv-line);
  }

  .rp-cv-experience-grid {
    grid-template-columns: minmax(0, 1fr) minmax(210px, .7fr);
  }

  .rp-cv-experience-list {
    grid-column: 1 / -1;
    padding: 10px 0 0;
  }

  .rp-cv-experience-list ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }

  .rp-cv-thread-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rp-cv-thread-grid > div:nth-child(3n) {
    border-right: 0;
  }

  .rp-cv-thread-grid > div:nth-child(n + 4) {
    border-top: 1px solid var(--cv-line);
  }
}

@media (max-width: 760px) {
  .ruben-cv-page {
    --cv-shell: calc(100vw - 40px);
  }

  .rp-cv-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .rp-cv-hero-copy {
    min-height: 620px;
    padding: 92px 20px 66px;
  }

  .rp-cv-hero-copy h1 {
    font-size: clamp(52px, 17vw, 82px);
  }

  .rp-cv-role {
    font-size: 16px;
  }

  .rp-cv-hero-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: 52px 0 0 18px / 30px 0 0 20px;
  }

  .rp-cv-hero-media figcaption {
    right: 18px;
    bottom: 18px;
    font-size: 9px;
  }

  .rp-cv-heading {
    display: block;
    margin-bottom: 44px;
  }

  .rp-cv-heading > .eyebrow {
    margin-bottom: 22px;
  }

  .rp-cv-heading h2 {
    font-size: clamp(36px, 11vw, 53px);
  }

  .rp-cv-heading .lead {
    font-size: 17px;
  }

  .rp-cv-facts,
  .rp-cv-qualification-list,
  .rp-cv-wild-grid {
    grid-template-columns: 1fr;
  }

  .rp-cv-facts > div,
  .rp-cv-facts > div + div,
  .rp-cv-facts > div:nth-child(n + 4) {
    min-height: 0;
    padding: 17px 0;
    border-right: 0;
    border-top: 1px solid var(--cv-line);
  }

  .rp-cv-facts > div:first-child {
    border-top: 0;
  }

  .rp-cv-facts > div span {
    margin-top: 5px;
  }

  .rp-cv-offer-list article {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 13px;
    padding: 21px 0 24px;
  }

  .rp-cv-offer-list article > a {
    grid-column: 2;
    justify-self: start;
    margin-top: 7px;
  }

  .rp-cv-qualification-list article,
  .rp-cv-qualification-list article:nth-child(even) {
    min-height: 0;
    padding: 21px 0 24px;
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 13px;
    border-left: 0;
  }

  .rp-cv-experience-grid {
    grid-template-columns: 1fr;
  }

  .rp-cv-image,
  .rp-cv-image--portrait {
    min-height: 330px;
  }

  .rp-cv-image--portrait {
    aspect-ratio: 4 / 5;
  }

  .rp-cv-experience-list ul {
    display: block;
  }

  .rp-cv-experience-list {
    padding-top: 6px;
  }

  .rp-cv-wild-grid article,
  .rp-cv-wild-grid article:first-child {
    min-height: 0;
    padding: 23px 20px 26px;
    grid-row: auto;
  }

  .rp-cv-wild-grid article:first-child {
    background: rgba(28, 66, 51, .82);
  }

  .rp-cv-wild-grid h3 {
    margin-top: 25px;
  }

  .rp-cv-thread-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rp-cv-thread-grid > div,
  .rp-cv-thread-grid > div + div,
  .rp-cv-thread-grid > div:nth-child(n + 4) {
    min-height: 0;
    padding: 17px 12px 20px 0;
    border-right: 1px solid var(--cv-line);
  }

  .rp-cv-thread-grid > div:nth-child(even) {
    padding-left: 12px;
    border-right: 0;
  }

  .rp-cv-thread-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--cv-line);
  }

  .ruben-cv-page .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .ruben-cv-page .footer-brand {
    grid-column: 1 / -1;
  }

  .ruben-cv-page .footer-base {
    display: grid;
    gap: 8px;
  }
}
