body.theme-ruben-home {
  --ink: #17362a;
  --ink-soft: #53675f;
  --paper: #f2efe8;
  --paper-bright: #fbf9f4;
  --forest: #214538;
  --forest-deep: #102a21;
  --line: rgba(23, 54, 42, 0.16);
  --shell: min(1180px, calc(100vw - 96px));
  --section: clamp(96px, 9vw, 132px);
  background: var(--paper);
}

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

.theme-ruben-home .rh-site-menu {
  padding: calc(var(--header-h) + clamp(36px, 6vh, 64px)) 0 clamp(42px, 7vh, 76px);
  place-items: start center;
  overflow-y: auto;
}

.theme-ruben-home .rh-menu-grid {
  width: var(--shell);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vh, 40px);
  align-items: start;
}

.rh-menu-page-links {
  padding-bottom: clamp(28px, 4vh, 42px);
  border-bottom: 1px solid var(--line);
}

.rh-menu-page-links .menu-kicker {
  margin-bottom: 12px;
}

.rh-menu-page-links > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.rh-menu-page-links a {
  min-width: 0;
  min-height: 132px;
  padding: clamp(18px, 2.6vh, 27px) clamp(18px, 2.2vw, 30px) 20px 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 10px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.rh-menu-page-links a > span {
  padding-top: 6px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.rh-menu-page-links a > strong {
  font-family: var(--display);
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 500;
  line-height: 1.08;
}

.rh-menu-page-links a > small {
  grid-column: 2;
  align-self: end;
  max-width: 230px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.rh-menu-page-links a:hover > strong,
.rh-menu-page-links a:focus-visible > strong {
  color: var(--forest);
}

.rh-menu-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 7vw, 90px);
}

.rh-menu-column {
  min-width: 0;
}

.rh-menu-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.rh-menu-links a {
  padding: clamp(12px, 1.7vh, 17px) 0;
  display: grid;
  grid-template-columns: minmax(128px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(16px, 2.5vw, 28px);
  align-items: start;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.rh-menu-links strong {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.rh-menu-links span {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.rh-menu-links a:hover strong,
.rh-menu-links a:focus-visible strong {
  color: var(--forest);
}

.rh-menu-utility {
  margin-top: 18px;
  display: inline-flex;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.theme-ruben-home .hero {
  min-height: min(900px, 100svh);
}

.theme-ruben-home .hero-media picture {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.theme-ruben-home .hero-media img {
  width: 100%;
  max-width: none;
  object-position: center 46%;
}

.theme-ruben-home .hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 24, 18, 0.88) 0%, rgba(7, 24, 18, 0.72) 34%, rgba(7, 24, 18, 0.18) 72%, rgba(7, 24, 18, 0.06) 100%),
    linear-gradient(0deg, rgba(7, 24, 18, 0.45), transparent 62%);
}

.theme-ruben-home .hero-inner {
  padding-bottom: clamp(66px, 9vh, 104px);
}

.theme-ruben-home .hero-copy {
  max-width: 720px;
}

.theme-ruben-home .hero h1 {
  max-width: 720px;
  font-size: clamp(50px, 6.3vw, 82px);
  line-height: 1.01;
}

.theme-ruben-home .hero-lead {
  max-width: 610px;
  font-size: clamp(18px, 1.55vw, 22px);
}

.theme-ruben-home h2 {
  max-width: 820px;
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1.08;
}

.theme-ruben-home .site-footer .footer-column h2 {
  max-width: none;
  font-size: 11px;
}

.theme-ruben-home h3 {
  font-size: clamp(20px, 1.7vw, 26px);
}

.theme-ruben-home .lead {
  max-width: 720px;
  font-size: clamp(18px, 1.45vw, 21px);
}

.theme-ruben-home .button {
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 2px;
}

.theme-ruben-home .rh-profile-link {
  margin-top: 24px;
}

.rh-section-heading {
  margin-bottom: clamp(50px, 7vw, 84px);
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

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

.rh-section-heading .lead {
  margin-top: 24px;
}

.rh-story-grid,
.rh-road-grid,
.rh-foundations-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(340px, 0.42fr);
  gap: clamp(50px, 7vw, 92px);
  align-items: start;
}

.rh-image,
.rh-portrait-image,
.rh-wide-image,
.rh-approach-intro figure,
.rh-quote figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px 72px 24px 54px / 34px 20px 68px 26px;
}

.rh-portrait-image,
.rh-approach-intro figure {
  border-radius: 68px 18px 56px 22px / 28px 38px 24px 72px;
}

.rh-image {
  aspect-ratio: 4 / 3;
}

.rh-image img,
.rh-portrait-image img,
.rh-wide-image img,
.rh-approach-intro figure img,
.rh-quote figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-prose {
  max-width: 570px;
  font-size: 18px;
  line-height: 1.8;
}

.rh-prose p {
  margin: 0 0 1.55em;
}

.rh-prose p:last-child {
  margin-bottom: 0;
}

.rh-qualities,
.rh-foundations,
.rh-ethics {
  background: var(--paper-bright);
}

.rh-wide-image {
  aspect-ratio: 2.1 / 1;
}

.rh-wide-image img {
  object-position: center 45%;
}

.rh-wide-image figcaption {
  max-width: 590px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 12px;
}

.rh-community {
  position: relative;
  min-height: clamp(620px, 72vw, 940px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--forest-deep);
}

.rh-community-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
}

.rh-community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rh-community::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 28, 21, 0.88) 0%, rgba(8, 28, 21, 0.35) 52%, rgba(8, 28, 21, 0.08) 100%),
    linear-gradient(90deg, rgba(8, 28, 21, 0.48), transparent 68%);
}

.rh-community-copy {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 9vw, 120px) 0;
}

.rh-community-copy blockquote {
  width: min(860px, 100%);
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

.rh-principle-list {
  margin: clamp(52px, 6vw, 76px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(42px, 7vw, 92px);
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.rh-principle-list li {
  min-height: 190px;
  padding: 28px 0 32px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
}

.rh-principle-list li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.rh-principle-list li:last-child:nth-child(odd) > div {
  max-width: 720px;
}

.rh-principle-list span,
.rh-method-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.rh-principle-list p,
.rh-method-list p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.rh-quote {
  padding: clamp(72px, 8vw, 112px) 0;
  color: #f7f4ed;
  background: var(--forest-deep);
}

.rh-quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(320px, 0.45fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
}

.rh-quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.12;
}

.rh-community-note {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.rh-quote figure {
  aspect-ratio: 600 / 340;
}

.rh-road-grid {
  grid-template-columns: minmax(340px, 0.55fr) minmax(280px, 0.45fr);
  align-items: start;
}

.rh-road-grid .rh-prose {
  max-width: 660px;
}

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

.rh-road-grid .rh-portrait-image {
  aspect-ratio: 3 / 4;
}

.rh-road-grid .rh-portrait-image img {
  object-position: center 75%;
}

.rh-approach {
  color: #f7f4ed;
  background: var(--forest-deep);
}

.rh-approach-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: end;
}

.rh-approach-intro header {
  max-width: 780px;
}

.rh-approach-intro .lead {
  color: rgba(255, 255, 255, 0.72);
}

.rh-approach-intro figure {
  aspect-ratio: 4 / 4.4;
}

.rh-approach-intro figure img {
  object-position: center 24%;
}

.rh-method-list {
  margin-top: clamp(62px, 8vw, 104px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(44px, 8vw, 110px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.rh-method-list article {
  min-height: 218px;
  padding: 30px 0 36px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.rh-method-list article p {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.68);
}

.rh-method-list article:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: 176px;
}

.rh-method-list article:last-child:nth-child(odd) p {
  max-width: 650px;
}

.rh-foundations-grid {
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
}

.rh-foundations-grid .rh-portrait-image {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.rh-foundations-grid .rh-portrait-image img {
  object-position: center 48%;
}

.rh-credentials {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
  border-bottom: 1px solid var(--line);
}

.rh-credentials div {
  min-height: 168px;
  padding: 25px 0 30px;
  border-top: 1px solid var(--line);
}

.rh-credentials dt {
  font-size: 15px;
  font-weight: 600;
}

.rh-credentials dd {
  margin: 11px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.rh-ways {
  background: var(--paper);
}

.rh-work-cluster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 0.66fr);
  color: #f7f4ed;
  background: var(--forest-deep);
  border: 1px solid var(--forest-deep);
}

.rh-work-cluster--brotherhood::before,
.rh-work-cluster--brotherhood::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rh-work-cluster--brotherhood::before {
  z-index: 0;
  background-image: url("../../brotherhood/assets/wild-hero.jpg");
  background-position: center 48%;
  background-size: cover;
  filter: saturate(0.76) contrast(1.08) brightness(0.76);
  opacity: 0.78;
  transform: scale(1.02);
}

.rh-work-cluster--brotherhood::after {
  z-index: 1;
  background: linear-gradient(104deg, rgba(5, 18, 14, 0.9) 0%, rgba(5, 18, 14, 0.68) 52%, rgba(5, 18, 14, 0.8) 100%);
}

.rh-work-cluster--brotherhood > * {
  position: relative;
  z-index: 2;
}

.rh-work-cluster + .rh-work-cluster {
  margin-top: 22px;
}

.rh-work-lead {
  position: relative;
  padding: clamp(32px, 4.5vw, 54px);
  color: inherit;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.rh-work-lead h3 {
  margin-top: clamp(56px, 8vw, 110px);
  font-size: clamp(28px, 3vw, 40px);
}

.rh-work-lead > p:last-of-type {
  max-width: 300px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.rh-work-lead > span {
  position: absolute;
  top: 42px;
  right: 42px;
}

.rh-work-rows {
  display: grid;
}

.rh-work-rows a {
  position: relative;
  min-height: 164px;
  padding: 27px 62px 29px 32px;
  display: grid;
  grid-template-columns: minmax(155px, 0.34fr) minmax(0, 0.66fr);
  column-gap: 28px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 200ms ease;
}

.rh-work-rows a:last-child {
  border-bottom: 0;
}

.rh-work-rows a:hover,
.rh-work-rows a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
}

.rh-work-rows small {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.rh-work-rows strong {
  grid-column: 2;
  font-family: var(--display);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
}

.rh-work-rows p {
  grid-column: 2;
  margin: 10px 0 0;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.65;
}

.rh-work-rows a > span {
  position: absolute;
  top: 26px;
  right: 30px;
}

.rh-work-cluster--light {
  display: block;
  color: var(--ink);
  background: var(--paper-bright);
  border-color: var(--line);
}

.rh-work-cluster--light .rh-work-rows a {
  min-height: 150px;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 0.66fr);
  padding-left: clamp(32px, 4.5vw, 54px);
  border-bottom-color: var(--line);
}

.rh-work-cluster--light .rh-work-rows a:hover,
.rh-work-cluster--light .rh-work-rows a:focus-visible {
  background: rgba(23, 54, 42, 0.04);
}

.rh-work-cluster--light .rh-work-rows small,
.rh-work-cluster--light .rh-work-rows p {
  color: var(--ink-soft);
}

.rh-private-options {
  margin-top: 22px;
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid var(--line);
}

.rh-private-options__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(24px, 4.5vw, 54px) 22px;
  border-bottom: 1px solid var(--line);
}

.rh-private-options__heading .eyebrow {
  margin: 0;
  color: var(--forest);
}

.rh-private-options__heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}

.rh-private-options .rh-work-rows {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-private-options .rh-work-rows a {
  min-height: 276px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  padding: 30px clamp(24px, 4.5vw, 54px) 34px;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper-bright);
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.rh-private-options .rh-private-option::before,
.rh-private-options .rh-private-option::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rh-private-options .rh-private-option::before {
  z-index: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(0.78) contrast(1.02) brightness(0.68);
  opacity: 0.78;
  transform: scale(1.03);
  transition: opacity 220ms ease, transform 500ms ease;
}

.rh-private-options .rh-private-option::after {
  z-index: 1;
  background: linear-gradient(105deg, rgba(7, 22, 17, 0.88) 0%, rgba(7, 22, 17, 0.66) 58%, rgba(7, 22, 17, 0.76) 100%);
}

.rh-private-options .rh-private-option--somatic::before {
  background-image: url("somatic-integration-forest-hero-new.jpg");
  background-position: center 48%;
}

.rh-private-options .rh-private-option--intimacy::before {
  background-image: url("wild-intimacy-hands-sunset.jpg");
  background-position: center 44%;
}

.rh-private-options .rh-private-option:hover::before,
.rh-private-options .rh-private-option:focus-visible::before {
  opacity: 0.9;
  transform: scale(1.06);
}

.rh-private-options .rh-work-rows a:last-child {
  border-right: 0;
}

.rh-private-options .rh-work-rows small,
.rh-private-options .rh-work-rows strong,
.rh-private-options .rh-work-rows p {
  position: relative;
  z-index: 2;
  grid-column: auto;
  grid-row: auto;
}

.rh-private-options .rh-work-rows a > span {
  z-index: 2;
}

.rh-private-options .rh-work-rows small,
.rh-private-options .rh-work-rows p {
  color: var(--ink-soft);
}

.rh-private-options .rh-private-option small,
.rh-private-options .rh-private-option strong,
.rh-private-options .rh-private-option p,
.rh-private-options .rh-private-option > span {
  color: #f7f4ed;
}

.rh-private-options .rh-private-option small,
.rh-private-options .rh-private-option p {
  color: rgba(247, 244, 237, 0.78);
}

.rh-private-options .rh-work-rows strong {
  margin-top: 42px;
}

.rh-private-options .rh-work-rows p {
  display: block;
  max-width: 520px;
  margin-top: 16px;
}

.rh-work-feature {
  position: relative;
  min-height: 204px;
  margin-top: 22px;
  padding: clamp(30px, 4.5vw, 54px);
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  color: #f7f4ed;
  text-decoration: none;
  transition: transform 220ms ease, filter 220ms ease;
}

.rh-work-feature:hover,
.rh-work-feature:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.rh-work-feature--adventure {
  isolation: isolate;
  overflow: hidden;
  background: #6d6040;
}

.rh-work-feature--adventure::before,
.rh-work-feature--adventure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rh-work-feature--adventure::before {
  z-index: 0;
  background-image: url("../../wild-adventure/assets/adventure-approach.jpg");
  background-position: center 48%;
  background-size: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.72);
  opacity: 0.82;
  transform: scale(1.02);
  transition: opacity 220ms ease, transform 500ms ease;
}

.rh-work-feature--adventure::after {
  z-index: 1;
  background: linear-gradient(104deg, rgba(21, 23, 18, 0.84) 0%, rgba(21, 23, 18, 0.57) 56%, rgba(21, 23, 18, 0.76) 100%);
}

.rh-work-feature--adventure > small,
.rh-work-feature--adventure > div,
.rh-work-feature--adventure > span {
  position: relative;
  z-index: 2;
}

.rh-work-feature--adventure > span {
  position: absolute;
}

.rh-work-feature--adventure:hover::before,
.rh-work-feature--adventure:focus-visible::before {
  opacity: 0.92;
  transform: scale(1.06);
}

.rh-work-feature--leadership {
  isolation: isolate;
  overflow: hidden;
  background: #485544;
}

.rh-work-feature--leadership::before,
.rh-work-feature--leadership::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rh-work-feature--leadership::before {
  z-index: 0;
  background-image: url("../../wild-leadership/assets/images/working-ant-poster.jpg");
  background-position: center 46%;
  background-size: cover;
  filter: saturate(0.7) contrast(1.06) brightness(0.7);
  opacity: 0.8;
  transform: scale(1.02);
  transition: opacity 220ms ease, transform 500ms ease;
}

.rh-work-feature--leadership::after {
  z-index: 1;
  background: linear-gradient(104deg, rgba(10, 24, 19, 0.86) 0%, rgba(10, 24, 19, 0.58) 56%, rgba(10, 24, 19, 0.76) 100%);
}

.rh-work-feature--leadership > small,
.rh-work-feature--leadership > div,
.rh-work-feature--leadership > span {
  position: relative;
  z-index: 2;
}

.rh-work-feature--leadership > span {
  position: absolute;
}

.rh-work-feature--leadership:hover::before,
.rh-work-feature--leadership:focus-visible::before {
  opacity: 0.9;
  transform: scale(1.06);
}

.rh-work-feature small {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.rh-work-feature strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.12;
}

.rh-work-feature p {
  max-width: 620px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.65;
}

.rh-work-feature > span {
  position: absolute;
  top: clamp(30px, 4.5vw, 54px);
  right: clamp(30px, 4.5vw, 54px);
}

.rh-work-ecosystem-note {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: rgba(245, 242, 232, 0.64);
}

.rh-work-ecosystem-note a {
  min-height: 90px;
  padding: 20px clamp(24px, 4.5vw, 54px);
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 0.66fr);
  align-items: center;
  gap: 28px;
  color: var(--ink);
  text-decoration: none;
}

.rh-work-ecosystem-note a:hover,
.rh-work-ecosystem-note a:focus-visible {
  background: rgba(23, 54, 42, 0.04);
}

.rh-work-ecosystem-note small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rh-work-ecosystem-note strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}

.rh-work-ecosystem-note span {
  grid-column: 2;
  margin-top: -8px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.rh-work-branches {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rh-work-branches--separate {
  margin-top: 50px;
  padding-top: 25px;
  display: block;
  border-top: 1px solid var(--line);
}

.rh-work-branches--separate > .eyebrow {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.rh-work-branches--separate .rh-work-branch {
  min-height: 270px;
}

.rh-work-branch {
  position: relative;
  min-height: 300px;
  padding: clamp(32px, 4.5vw, 54px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #f7f4ed;
  text-decoration: none;
  transition: transform 220ms ease, filter 220ms ease;
}

.rh-work-branch:hover,
.rh-work-branch:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.rh-work-branch--construction {
  isolation: isolate;
  overflow: hidden;
  background: #624d3e;
}

.rh-work-branch--construction::before,
.rh-work-branch--construction::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rh-work-branch--construction::before {
  z-index: 0;
  background-image: url("../../wild-constructions/assets/hero-cabin.jpg");
  background-position: center 52%;
  background-size: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.68);
  opacity: 0.82;
  transform: scale(1.02);
  transition: opacity 220ms ease, transform 500ms ease;
}

.rh-work-branch--construction::after {
  z-index: 1;
  background: linear-gradient(105deg, rgba(25, 19, 16, 0.88) 0%, rgba(25, 19, 16, 0.6) 56%, rgba(25, 19, 16, 0.78) 100%);
}

.rh-work-branch--construction > small,
.rh-work-branch--construction > strong,
.rh-work-branch--construction > p,
.rh-work-branch--construction > span {
  position: relative;
  z-index: 2;
}

.rh-work-branch--construction > span {
  position: absolute;
}

.rh-work-branch--construction:hover::before,
.rh-work-branch--construction:focus-visible::before {
  opacity: 0.92;
  transform: scale(1.06);
}

.rh-work-branch--leadership {
  background: #485544;
}

.rh-work-branch small {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.rh-work-branch strong {
  margin-top: auto;
  padding-top: 72px;
  font-family: var(--display);
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.15;
}

.rh-work-branch p {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.rh-work-branch > span {
  position: absolute;
  top: clamp(32px, 4.5vw, 54px);
  right: clamp(32px, 4.5vw, 54px);
}

.rh-ethics .reading {
  width: min(760px, calc(100vw - 44px));
}

.theme-ruben-home .contact-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  gap: clamp(54px, 8vw, 106px);
}

.theme-ruben-home .contact-copy {
  position: static;
}

.rh-contact-portrait {
  width: min(310px, 78%);
  aspect-ratio: 1;
  margin-top: clamp(40px, 5vw, 64px);
  overflow: hidden;
  border-radius: 62px 18px 74px 24px / 28px 70px 20px 58px;
}

.rh-contact-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  body.theme-ruben-home {
    --shell: min(100% - 48px, 900px);
  }

  .rh-story-grid,
  .rh-road-grid,
  .rh-foundations-grid,
  .rh-approach-intro,
  .rh-quote-grid,
  .rh-work-cluster,
  .theme-ruben-home .contact-grid {
    grid-template-columns: 1fr;
  }

  .rh-story-grid .rh-image {
    aspect-ratio: 16 / 10;
  }

  .rh-prose {
    max-width: 720px;
  }

  .rh-road-grid .rh-portrait-image,
  .rh-foundations-grid .rh-portrait-image {
    width: min(100%, 620px);
    max-height: 720px;
  }

  .rh-foundations-grid .rh-portrait-image {
    position: static;
  }

  .rh-quote figure {
    width: min(100%, 680px);
  }

  .rh-work-lead {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .rh-menu-page-links > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.theme-ruben-home {
    --shell: calc(100% - 36px);
    --section: 82px;
  }

  .theme-ruben-home .hero {
    min-height: 760px;
  }

  .theme-ruben-home .rh-site-menu {
    padding-top: calc(var(--header-h) + 28px);
  }

  .theme-ruben-home .rh-menu-grid {
    gap: 26px;
  }

  .rh-menu-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .theme-ruben-home .hero-media img {
    width: 100%;
    object-position: 56% center;
  }

  .theme-ruben-home .hero-media picture {
    overflow: hidden;
  }

  .rh-community-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .rh-community-image img {
    object-fit: cover;
    object-position: 47% center;
  }

  .rh-community {
    min-height: 680px;
  }

  .rh-community-copy {
    padding: 74px 0;
  }

  .theme-ruben-home .hero-shade {
    background: linear-gradient(0deg, rgba(7, 24, 18, 0.9) 0%, rgba(7, 24, 18, 0.56) 49%, rgba(7, 24, 18, 0.12) 84%);
  }

  .theme-ruben-home .hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .rh-section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rh-section-heading > .eyebrow {
    margin-top: 0;
  }

  .rh-wide-image {
    aspect-ratio: 4 / 3;
  }

  .rh-principle-list,
  .rh-method-list,
  .rh-credentials {
    grid-template-columns: 1fr;
  }

  .rh-principle-list li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .rh-principle-list li,
  .rh-method-list article,
  .rh-credentials div {
    min-height: 0;
  }

  .rh-method-list article:last-child:nth-child(odd) {
    grid-column: auto;
    min-height: 0;
  }

  .rh-approach-intro figure {
    width: min(82%, 360px);
  }

  .rh-work-rows a,
  .rh-work-cluster--light .rh-work-rows a {
    min-height: 0;
    padding: 26px 50px 29px 24px;
    display: block;
  }

  .rh-private-options__heading {
    display: block;
  }

  .rh-private-options__heading > p:last-child {
    margin-top: 10px;
    text-align: left;
  }

  .rh-private-options .rh-work-rows {
    grid-template-columns: 1fr;
  }

  .rh-private-options .rh-work-rows a {
    min-height: 0;
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rh-private-options .rh-work-rows a:last-child {
    border-bottom: 0;
  }

  .rh-private-options .rh-work-rows strong {
    margin-top: 16px;
  }

  .rh-work-feature {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rh-work-feature strong {
    margin-top: 24px;
  }

  .rh-work-rows small,
  .rh-work-rows strong,
  .rh-work-rows p {
    display: block;
  }

  .rh-work-rows strong {
    margin-top: 16px;
  }

  .rh-work-lead {
    padding: 28px 24px 34px;
  }

  .rh-work-lead h3 {
    margin-top: 56px;
  }

  .rh-work-lead > span {
    top: 28px;
    right: 24px;
  }

  .rh-work-branches {
    grid-template-columns: 1fr;
  }

  .rh-work-branch {
    min-height: 270px;
    padding: 30px 24px 34px;
  }

  .rh-work-branch > span {
    top: 30px;
    right: 24px;
  }

  .rh-work-branch strong {
    padding-top: 64px;
  }
}

@media (max-width: 600px) {
  .rh-menu-page-links > div {
    grid-template-columns: 1fr;
  }

  .rh-menu-page-links a {
    min-height: 0;
    padding: 14px 0 16px;
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .rh-menu-page-links a > strong {
    font-size: clamp(22px, 7vw, 28px);
  }

  .rh-menu-page-links a > small {
    margin-top: 7px;
  }

  .rh-menu-links a {
    grid-template-columns: minmax(116px, 0.44fr) minmax(0, 0.56fr);
    gap: 14px;
  }

  .rh-menu-links span {
    margin-top: 8px;
    display: block;
  }
}

@media (max-width: 380px) {
  body.theme-ruben-home {
    --shell: calc(100% - 28px);
  }
}

@media (max-width: 520px) {
  .theme-ruben-home .footer-grid {
    grid-template-columns: 1fr;
  }

  .theme-ruben-home .footer-brand,
  .theme-ruben-home .footer-grid > :last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-work-rows a,
  .rh-work-branch {
    transition: none;
  }
}
