/* Interior page layouts for the Rubicon mockup pages. Loaded only by subpages. */

.interior-page {
  background: var(--paper);
  --copy-panel-pad-x: var(--text-box-inset);
  --copy-panel-pad-y: var(--text-box-inset-y);
  --copy-measure: min(100%, 34rem);
  --copy-body-size: clamp(16px, 1.35vw, 21px);
}

.interior-main {
  background: var(--paper);
  color: var(--black);
}

.page-hero {
  position: relative;
  height: var(--page-hero-height, clamp(310px, 31vw, 450px));
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
}

.page-hero img,
.feature-image img,
.profile-card img,
.education-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero img {
  transform: scale(var(--page-hero-zoom, 1));
  transform-origin: var(--page-hero-position, center);
  object-position: center;
}

.page-hero::after,
.feature-image::after,
.education-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.page-hero::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.04) 66%);
}

.page-title {
  position: absolute;
  z-index: 1;
  top: var(--page-title-top, clamp(108px, 8.5vw, 122px));
  left: var(--page-edge);
  bottom: auto;
  margin: 0;
  color: var(--paper);
  font-size: var(--page-title-size, var(--hero-title-size));
  font-weight: 100;
  line-height: 1;
  text-transform: uppercase;
}

.page-proof {
  position: absolute;
  z-index: 1;
  left: var(--page-edge);
  bottom: var(--page-proof-bottom, 74px);
  width: 128px;
  margin: 0;
  color: var(--paper);
  font-family: var(--font-accent);
  font-size: var(--page-proof-size, var(--hero-subtext-size));
  font-weight: 500;
  line-height: var(--page-proof-line-height, var(--hero-subtext-line-height));
  text-transform: uppercase;
}

.mission-hero {
  height: var(--mission-hero-height, var(--hero-height));
}

.mission-hero img {
  filter: grayscale(1) contrast(1.08) brightness(1);
  object-position: var(--mission-hero-position, center 43%);
  transform: translateY(var(--mission-hero-offset-y, 0)) scale(var(--mission-hero-zoom, 1));
  transform-origin: var(--mission-hero-position, center 43%);
}

.mission-hero .page-title {
  bottom: auto;
  top: var(--mission-title-top, 122px);
}

.mission-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100svh;
  overflow: hidden;
  background: var(--black);
}

.mission-stage .mission-hero {
  height: 100%;
  min-height: 0;
}

.mission-page {
  --mission-hero-position: 50% 59%;
  --mission-hero-zoom: 1;
  --mission-profile-height: 488px;
  --mission-brice-position: 50% 40%;
  --mission-brice-zoom: 1.21;
  --mission-clayton-position: 46% 18%;
  --mission-clayton-zoom: 2.27;
}

.mission-story {
  box-sizing: border-box;
  display: flex;
  min-height: 0;
  height: auto;
  background: var(--black);
  color: var(--paper);
  padding: var(--mission-story-inset-y, var(--page-edge)) var(--content-edge-right)
    var(--mission-story-inset-y, var(--page-edge)) var(--content-edge-left);
}

.mission-story-inner {
  box-sizing: border-box;
  display: grid;
  align-content: start;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: var(--black);
}

.mission-statement {
  max-width: none;
  margin: 0;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 300;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.mission-purpose {
  max-width: none;
  margin: clamp(14px, 1.6vw, 22px) 0 0;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 300;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.about-section {
  padding: clamp(34px, 4.5vw, 64px) var(--page-edge) clamp(46px, 6.4vw, 90px);
}

.about-section h2 {
  margin-bottom: clamp(28px, 4vw, 54px);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 7.5vw, 116px);
  max-width: 1050px;
  margin: 0 auto;
}

.profile-media {
  aspect-ratio: 1 / 1;
  height: var(--mission-profile-height, var(--profile-image-height, clamp(360px, 34vw, 520px)));
  margin-bottom: clamp(28px, 3.4vw, 48px);
  overflow: hidden;
}

.profile-card img {
  display: block;
  object-position: var(--mission-brice-position, center 23%);
  transform: scale(var(--mission-brice-zoom, 1));
  transform-origin: var(--mission-brice-position, center 23%);
}

.profile-card:nth-child(2) img {
  object-position: var(--mission-clayton-position, center 12%);
  transform: scale(var(--mission-clayton-zoom, 1));
  transform-origin: var(--mission-clayton-position, center 12%);
}

.profile-card h3 {
  margin-bottom: 18px;
}

.profile-card p {
  margin: 0;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 300;
  line-height: 1.34;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .profile-grid {
    gap: 48px;
    max-width: calc(100vw - (var(--page-edge) * 2));
  }

  .profile-media {
    height: min(var(--mission-profile-height, 488px), calc(50vw - var(--page-edge) - 24px));
  }
}

.grid-page {
  padding-bottom: clamp(72px, 8vw, 118px);
}

.training-page .grid-page,
.consulting-page .grid-page,
.education-page .grid-page,
.remote-training-page .grid-page {
  padding-bottom: 0;
}

.remote-training-page {
  --remote-gym-position: 58% 100%;
  --remote-gym-zoom: 1.06;
  --remote-leg-position: 50% 44%;
  --remote-leg-zoom: 1;
  --remote-thrower-position: 50% 43%;
  --remote-thrower-zoom: 1.12;
  --remote-training-media-height: 480px;
  --remote-training-hero-position: 9% 100%;
  --remote-training-hero-size: 131%;
  --remote-training-hero-height: 760px;
  --remote-training-title-bottom: 76px;
  --remote-training-title-size: var(--hero-title-size);
  --remote-training-proof-left: auto;
  --remote-training-proof-top: 49%;
  --remote-training-proof-right: var(--page-edge);
  --remote-training-proof-bottom: auto;
  --remote-training-proof-width: 610px;
  --remote-training-proof-size: var(--hero-subtext-size);
  --remote-training-proof-left-tablet: auto;
  --remote-training-proof-top-tablet: 95px;
  --remote-training-proof-right-tablet: var(--page-edge);
  --remote-training-proof-bottom-tablet: auto;
  --remote-training-proof-width-tablet: min(410px, calc(100% - (var(--page-edge) * 2)));
  --remote-training-proof-size-tablet: var(--hero-subtext-size);
  --remote-training-proof-line-height-tablet: var(--hero-subtext-line-height);
  --remote-training-title-bottom-tablet: 28px;
  --remote-training-title-size-tablet: var(--hero-title-size);
  --remote-training-title-bottom-mobile: 28px;
  --remote-training-title-size-mobile: var(--hero-title-size);
  --remote-training-proof-top-mobile: 94px;
  --remote-training-proof-right-mobile: var(--page-edge);
  --remote-training-proof-left-mobile: auto;
  --remote-training-proof-width-mobile: min(292px, calc(100% - var(--page-edge) - var(--page-edge)));
  --remote-training-proof-size-mobile: var(--hero-subtext-mobile-size);
  --remote-training-proof-line-height-mobile: var(--hero-subtext-line-height);
  --remote-training-hero-image-bottom-landscape: -20px;
  --remote-training-proof-top-landscape: clamp(126px, calc(44svh - 40px), 136px);
  --remote-training-proof-right-landscape: var(--page-edge);
  --remote-training-proof-width-landscape: min(320px, 42vw);
}

.remote-training-hero {
  position: relative;
  height: var(--remote-training-hero-height, clamp(660px, 52.8vw, 920px));
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
}

.remote-training-hero img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--remote-training-hero-size, 108%);
  max-width: none;
  height: var(--remote-training-hero-size, 108%);
  object-fit: cover;
  object-position: var(--remote-training-hero-position, 34% 51%);
}

.remote-training-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.02) 62%);
  pointer-events: none;
}

.remote-training-hero h1 {
  position: absolute;
  z-index: 1;
  top: var(--remote-training-title-top, auto);
  right: var(--remote-training-title-right, auto);
  bottom: var(--remote-training-title-bottom, clamp(70px, 8vw, 118px));
  left: var(--remote-training-title-left, var(--page-edge));
  width: var(--remote-training-title-width, auto);
  margin: 0;
  color: var(--paper);
  font-size: var(--remote-training-title-size, var(--hero-title-size));
  font-weight: 100;
  line-height: 0.94;
  text-transform: uppercase;
}

.remote-training-hero h1 span {
  display: block;
}

.remote-training-proof {
  position: absolute;
  top: var(--remote-training-proof-top, auto);
  right: var(--remote-training-proof-right, clamp(92px, 17.2vw, 292px));
  bottom: var(--remote-training-proof-bottom, clamp(72px, 9vw, 124px));
  left: var(--remote-training-proof-left, auto);
  z-index: 1;
  width: var(--remote-training-proof-width, clamp(430px, 35vw, 610px));
  margin: 0;
  color: var(--paper);
  font-family: var(--font-accent);
  font-size: var(--remote-training-proof-size, var(--hero-subtext-size));
  font-weight: 500;
  line-height: var(--hero-subtext-line-height);
  text-align: right;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.62);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .remote-training-hero {
    height: 620px;
  }
}

.remote-training-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  background: var(--black);
}

.remote-training-copy,
.remote-training-media {
  min-width: 0;
  min-height: clamp(330px, 32vw, 464px);
}

.remote-training-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--copy-panel-pad-y) var(--copy-panel-pad-x);
}

.remote-training-copy.throwers {
  grid-column: span 2;
  background: var(--paper);
  color: var(--black);
}

.remote-training-copy.general-athletes {
  grid-column: span 2;
  background: #080908;
  color: var(--paper);
}

.remote-training-copy h2 {
  margin-bottom: clamp(24px, 2.8vw, 38px);
}

.remote-training-copy p {
  width: min(100%, var(--remote-copy-measure, var(--copy-measure)));
  max-width: none;
  margin: 0 0 clamp(18px, 2vw, 24px);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.remote-training-copy p:last-of-type {
  margin-bottom: clamp(32px, 4vw, 58px);
}

.remote-training-media {
  position: relative;
  height: var(--remote-training-media-height, auto);
  overflow: hidden;
  background: #080908;
}

.remote-training-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thrower-media img {
  object-position: var(--remote-thrower-position, center 44%);
  transform: scale(var(--remote-thrower-zoom, 1.12));
  transform-origin: var(--remote-thrower-position, center 44%);
}

.gym-media img {
  object-position: var(--remote-gym-position, center 48%);
  transform: scale(var(--remote-gym-zoom, 1.06));
  transform-origin: var(--remote-gym-position, center 48%);
}

.leg-media img {
  object-position: var(--remote-leg-position, center 42%);
  transform: scale(var(--remote-leg-zoom, 1.02));
  transform-origin: var(--remote-leg-position, center 42%);
}

.phone-tile {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 42% 42%, rgba(240, 239, 239, 0.11), transparent 0 38%),
    linear-gradient(135deg, #0b0f0c, #1a1b17 64%, #070807);
}

.phone-frame {
  position: relative;
  width: min(42%, 104px);
  aspect-ratio: 9 / 19;
  border: 7px solid #0b0d0b;
  border-radius: 18px;
  background: #b8ef7b;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.52);
  transform: rotate(-21deg);
}

.phone-frame::before {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: #111311;
  content: "";
  transform: translateX(-50%);
}

.training-hero img {
  object-position: var(--training-hero-position, center 46%);
  transform: scale(var(--training-hero-zoom, 1));
  transform-origin: var(--training-hero-position, center 46%);
}

.training-hero {
  height: var(--training-hero-height, var(--page-hero-height, clamp(310px, 31vw, 450px)));
}

.consulting-hero img {
  object-position: var(--consulting-hero-position, center 57%);
  transform: scale(var(--consulting-hero-zoom, 1));
  transform-origin: var(--consulting-hero-position, center 57%);
}

.consulting-hero {
  height: var(--consulting-hero-height, var(--page-hero-height, clamp(310px, 31vw, 450px)));
}

.consulting-page {
  --consulting-hero-position: 0% 100%;
  --consulting-hero-zoom: 1;
  --consulting-hero-height: 446px;
  --consulting-mentorship-position: 100% 39%;
  --consulting-mentorship-zoom: 1.05;
  --consulting-feature-height: 462px;
  --page-title-size-mobile: clamp(41px, 11.6vw, 46px);
}

.education-hero img {
  object-position: var(--education-hero-position, center 55%);
  transform: translate(var(--education-hero-offset-x, 0), var(--education-hero-offset-y, 0)) scale(var(--education-hero-zoom, 1));
  transform-origin: var(--education-hero-position, center 55%);
}

.education-hero {
  height: var(--education-hero-height, var(--page-hero-height, clamp(310px, 31vw, 450px)));
}

.education-page {
  --education-hero-position: center 62%;
  --education-hero-height: 360px;
  --education-hero-position-mobile: center 58%;
  --education-hero-position-landscape: center 42%;
  --education-hero-zoom-landscape: 1.08;
}

@media (min-width: 761px) {
  .education-page {
    --education-hero-offset-x: 60px;
    --education-hero-offset-y: clamp(44px, 3.8vw, 56px);
    --education-hero-position: 100% 52%;
    --education-hero-zoom: 1.32;
  }
}

.training-page {
  --training-in-person-position: 100% 94%;
  --training-in-person-zoom: 1.36;
  --training-in-person-rotation: -1.7deg;
  --training-feature-height: 462px;
}

.split-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.feature-panel,
.feature-image {
  min-height: var(--feature-tile-height, clamp(338px, 32vw, 462px));
}

.training-page .feature-panel,
.training-page .feature-image {
  min-height: var(--training-feature-height, var(--feature-tile-height, clamp(338px, 32vw, 462px)));
}

.consulting-page .feature-panel,
.consulting-page .feature-image {
  min-height: var(--consulting-feature-height, var(--feature-tile-height, clamp(338px, 32vw, 462px)));
}

.feature-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--copy-panel-pad-y) var(--copy-panel-pad-x);
}

.feature-panel h2 {
  margin-bottom: clamp(28px, 3.2vw, 42px);
}

.feature-panel p {
  width: var(--copy-measure);
  max-width: none;
  margin: 0 0 clamp(48px, 5vw, 78px);
  font-size: var(--copy-body-size);
  font-weight: 300;
  line-height: 1.32;
}

.feature-panel.dark {
  background: #080908;
  color: var(--paper);
}

.in-person-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 42px);
}

.in-person-actions .text-button {
  flex: 0 0 auto;
}

.in-person-logo {
  display: block;
  flex: 0 0 auto;
  width: clamp(45px, 3.825vw, 57px);
  height: auto;
  pointer-events: none;
}

.feature-panel.light {
  background: var(--paper);
  color: var(--black);
}

.feature-image {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.feature-image::after {
  background: rgba(0, 0, 0, 0.06);
}

.feature-image.remote img {
  object-position: var(--training-remote-position, center 48%);
  transform: scale(var(--training-remote-zoom, 1));
  transform-origin: var(--training-remote-position, center 48%);
}

.feature-image.in-person img {
  object-position: var(--training-in-person-position, center 52%);
  transform: rotate(var(--training-in-person-rotation, 0deg)) scale(var(--training-in-person-zoom, 1));
  transform-origin: var(--training-in-person-position, center 52%);
}

.feature-image.organizations img {
  object-position: var(--consulting-organizations-position, center 35%);
  transform: scale(var(--consulting-organizations-zoom, 1));
  transform-origin: var(--consulting-organizations-position, center 35%);
}

.feature-image.mentorship img {
  object-position: var(--consulting-mentorship-position, center 48%);
  transform: scale(var(--consulting-mentorship-zoom, 1));
  transform-origin: var(--consulting-mentorship-position, center 48%);
}

.text-button.page-dark {
  border-color: var(--black);
  background: var(--black);
  color: var(--paper);
}

.text-button.page-dark:hover,
.text-button.page-dark:focus-visible {
  background: transparent;
  color: var(--black);
}

.text-button.page-light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--black);
}

.text-button.page-light:hover,
.text-button.page-light:focus-visible {
  background: transparent;
  color: var(--paper);
}

.education-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 132px);
  padding: clamp(56px, 6vw, 88px) var(--page-edge);
}

.education-section.education-media {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.92fr);
  align-items: center;
  padding-block: clamp(42px, 4.7vw, 68px);
}

.education-section.dark {
  background: #080908;
  color: var(--paper);
}

.education-copy h2 {
  margin-bottom: clamp(24px, 2.6vw, 36px);
}

.education-copy p {
  width: min(100%, 430px);
  max-width: none;
  margin: 0 0 clamp(28px, 3vw, 42px);
  font-size: var(--copy-body-size);
  font-weight: 300;
  line-height: 1.3;
}

.education-action {
  width: fit-content;
}

.education-action--stacked {
  display: none;
}

.article-list {
  display: grid;
  gap: 0;
  align-content: start;
  padding-top: 2px;
}

.education-article-preview {
  display: grid;
  grid-template-columns: clamp(86px, 8.6vw, 124px) minmax(0, 1fr);
  gap: clamp(10px, 1.2vw, 16px) clamp(16px, 2vw, 24px);
  align-items: start;
  border-bottom: 1px solid rgba(21, 24, 24, 0.18);
  padding: clamp(20px, 2.4vw, 30px) 0;
  color: inherit;
  text-decoration: none;
}

.education-article-preview:focus-visible,
.education-card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.education-article-preview:hover h3,
.education-article-preview:focus-visible h3,
.education-card:hover .education-card-title,
.education-card:focus-visible .education-card-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.education-article-preview:first-child {
  padding-top: 0;
}

.education-article-preview--featured {
  padding-top: 0;
}

.education-article-media {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 2;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: var(--black);
}

.education-article-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.education-article-preview--graph-crop .education-article-media img {
  object-fit: cover;
  object-position: 73% 50%;
}

.education-article-copy {
  display: grid;
  grid-column: 2;
  gap: clamp(7px, 0.7vw, 10px);
  min-width: 0;
}

.article-list h3 {
  margin: 0;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.16;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.article-list p {
  grid-column: 2;
  max-width: none;
  margin: 0;
  color: rgba(21, 24, 24, 0.7);
  font-size: clamp(12px, 0.98vw, 14px);
  font-weight: 300;
  line-height: 1.32;
}

.education-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  width: 100%;
  color: rgba(21, 24, 24, 0.58);
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.education-card {
  position: relative;
  display: block;
  align-self: center;
  justify-self: end;
  width: min(100%, var(--education-card-width, 560px));
  aspect-ratio: var(--education-card-ratio, 16 / 9);
  overflow: hidden;
  background: var(--black);
  color: inherit;
  text-decoration: none;
}

.education-card.casting-card {
  width: min(100%, var(--education-casting-width, var(--education-card-width, 560px)));
  aspect-ratio: var(--education-casting-ratio, var(--education-card-ratio, 16 / 9));
}

.education-card.principles-card {
  width: min(100%, var(--education-principles-width, var(--education-card-width, 560px)));
  aspect-ratio: var(--education-principles-ratio, var(--education-card-ratio, 16 / 9));
}

.education-card::after {
  background: rgba(2, 66, 40, 0.42);
}

.education-card img {
  filter: saturate(0.74) contrast(1.05);
  transform: scale(var(--education-card-zoom, 1));
  transform-origin: var(--education-card-position, center);
}

.education-card.casting-card img {
  object-position: var(--education-casting-position, center center);
  transform: scale(var(--education-casting-zoom, var(--education-card-zoom, 1)));
  transform-origin: var(--education-casting-position, center center);
}

.education-card.principles-card img {
  object-position: var(--education-principles-position, center center);
  transform: scale(var(--education-principles-zoom, var(--education-card-zoom, 1)));
  transform-origin: var(--education-principles-position, center center);
}

.education-card-title {
  position: absolute;
  right: clamp(22px, 2.6vw, 38px);
  bottom: clamp(18px, 2.2vw, 34px);
  z-index: 1;
  color: var(--paper);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}

.education-card-title small {
  display: block;
  margin-top: 7px;
  font-family: var(--font-accent);
  font-size: clamp(7px, 0.72vw, 10px);
  font-weight: 400;
  text-align: right;
}

.education-card-mark {
  position: absolute;
  left: clamp(20px, 2.5vw, 34px);
  bottom: clamp(18px, 2.2vw, 32px);
  z-index: 1;
  width: clamp(18px, 1.6vw, 24px);
  height: clamp(18px, 1.6vw, 24px);
  background: url("../assets/logos/rubicon-mark.svg") center / contain no-repeat;
}

@media (max-width: 900px) {
  .page-hero {
    height: clamp(320px, 50vw, 430px);
  }

  .mission-statement {
    max-width: none;
  }

  .mission-purpose {
    max-width: none;
  }

  .profile-grid,
  .split-showcase,
  .education-section {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    max-width: 540px;
  }

  .training-hero {
    height: var(--training-hero-height, var(--page-hero-height, clamp(320px, 50vw, 430px)));
  }

  .consulting-hero {
    height: var(--consulting-hero-height, var(--page-hero-height, clamp(320px, 50vw, 430px)));
  }

  .education-hero {
    height: var(--education-hero-height, var(--page-hero-height, clamp(320px, 50vw, 430px)));
  }

  .profile-media {
    height: clamp(330px, 86vw, 520px);
  }

  .feature-panel,
  .feature-image {
    min-height: clamp(292px, 56vw, 420px);
  }

  .training-page .remote-panel,
  .consulting-page .organizations-panel {
    order: 1;
  }

  .training-page .feature-image.remote,
  .consulting-page .feature-image.organizations {
    order: 2;
  }

  .training-page .in-person-panel,
  .consulting-page .mentorship-panel {
    order: 3;
  }

  .training-page .feature-image.in-person,
  .consulting-page .feature-image.mentorship {
    order: 4;
  }

  .education-section {
    gap: clamp(34px, 8vw, 56px);
  }

  .education-copy p {
    margin-bottom: 0;
  }

  .education-action--desktop {
    display: none;
  }

  .education-action--stacked {
    display: inline-flex;
    justify-self: start;
    margin-top: clamp(-24px, -3vw, -12px);
  }

  .education-media .education-action--stacked {
    margin-top: clamp(-28px, -3.4vw, -14px);
  }

  .education-section.education-media {
    grid-template-columns: 1fr;
  }

  .education-card {
    justify-self: stretch;
    width: 100%;
  }

  .remote-training-hero {
    height: 470px;
  }

  .remote-training-hero img {
    object-position: var(--remote-training-hero-position, 34% 52%);
  }

  .remote-training-hero h1 {
    bottom: var(--remote-training-title-bottom-tablet, var(--remote-training-title-bottom, 76px));
    font-size: var(--remote-training-title-size-tablet, var(--remote-training-title-size, var(--hero-title-size)));
  }

  .remote-training-proof {
    top: var(--remote-training-proof-top-tablet, auto);
    right: var(--remote-training-proof-right-tablet, var(--page-edge));
    bottom: var(--remote-training-proof-bottom-tablet, clamp(78px, 10vw, 104px));
    left: var(--remote-training-proof-left-tablet, auto);
    width: var(--remote-training-proof-width-tablet, var(--remote-training-proof-width, 610px));
    font-size: var(--remote-training-proof-size-tablet, var(--remote-training-proof-size, var(--hero-subtext-size)));
    line-height: var(--remote-training-proof-line-height-tablet, var(--hero-subtext-line-height));
  }

  .remote-training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .remote-training-copy.throwers,
  .remote-training-copy.general-athletes {
    grid-column: span 2;
  }

  .remote-training-copy {
    min-height: 0;
  }

  .remote-training-copy.throwers {
    order: 1;
  }

  .phone-tile {
    order: 2;
  }

  .thrower-media {
    order: 3;
  }

  .remote-training-copy.general-athletes {
    order: 4;
  }

  .gym-media {
    order: 5;
  }

  .leg-media {
    order: 6;
  }

  .remote-training-media {
    height: var(--remote-training-media-height, clamp(280px, 52vw, 390px));
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .mission-page {
    --mission-hero-offset-y: clamp(36px, 6svh, 52px);
    --mission-hero-zoom: 1.09;
  }

  .page-title {
    top: var(--page-title-top-mobile, clamp(116px, 29vw, 134px));
    bottom: auto;
    font-size: var(--page-title-size-mobile, var(--hero-title-size));
  }

  .mission-hero .page-title {
    top: var(--mission-title-top-mobile, var(--mission-title-top, 122px));
  }

  .mission-hero img {
    object-position: var(--mission-hero-position-mobile, 72% 59%);
    transform-origin: var(--mission-hero-position-mobile, 72% 59%);
  }

  .education-hero {
    height: var(--education-hero-height-mobile, clamp(214px, 56vw, 278px));
  }

  .education-hero img {
    object-position: var(--education-hero-position-mobile, 50% 55%);
    transform-origin: var(--education-hero-position-mobile, 50% 55%);
  }

  .education-hero .page-title {
    top: var(--education-title-top-mobile, var(--page-title-top-mobile, clamp(116px, 29vw, 134px)));
    bottom: auto;
  }

  .page-proof {
    bottom: var(--page-proof-bottom-mobile, var(--page-proof-bottom, 74px));
    font-size: var(--page-proof-size-mobile, var(--hero-subtext-mobile-size));
  }

  .mission-story {
    padding-block: var(--mission-story-inset-y, var(--page-edge));
  }

  .mission-statement {
    max-width: none;
    font-size: clamp(18px, 5.1vw, 22px);
    line-height: 1.24;
  }

  .mission-purpose {
    max-width: none;
    font-size: clamp(18px, 5.1vw, 22px);
    line-height: 1.24;
    white-space: normal;
  }

  .remote-training-hero {
    height: 470px;
  }

  .remote-training-hero h1 {
    bottom: var(--remote-training-title-bottom-mobile, var(--remote-training-title-bottom, 76px));
    font-size: var(--remote-training-title-size-mobile, var(--remote-training-title-size, var(--hero-title-size)));
  }

  .remote-training-proof {
    top: var(--remote-training-proof-top-mobile, 100px);
    right: var(--remote-training-proof-right-mobile, auto);
    bottom: var(--remote-training-proof-bottom-mobile, auto);
    left: var(--remote-training-proof-left-mobile, var(--page-edge));
    width: var(--remote-training-proof-width-mobile, calc(100% - var(--page-edge) - var(--page-edge)));
    font-size: var(--remote-training-proof-size-mobile, var(--remote-training-proof-size, var(--hero-subtext-mobile-size)));
    line-height: var(--remote-training-proof-line-height-mobile, var(--hero-subtext-line-height));
    text-align: right;
    display: none;
  }

  .remote-training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .remote-training-copy.throwers,
  .remote-training-copy.general-athletes {
    grid-column: 1 / -1;
  }

  .remote-training-media {
    height: var(--remote-training-media-height, clamp(270px, 78vw, 430px));
    min-height: 0;
  }

  .feature-panel {
    padding: clamp(38px, 10vw, 52px) var(--page-edge);
  }

  .in-person-logo {
    width: clamp(42px, 12vw, 51px);
  }

  .feature-panel p,
  .education-copy p {
    font-size: clamp(16px, 4.4vw, 19px);
  }

  .education-section {
    padding: clamp(42px, 10vw, 58px) var(--page-edge);
  }

  .education-article-preview,
  .education-article-preview--featured {
    grid-template-columns: clamp(92px, 29vw, 118px) minmax(0, 1fr);
    gap: 12px 16px;
    padding: 22px 0;
  }

  .education-article-copy {
    gap: 11px;
  }

  .article-list h3 {
    font-size: clamp(12px, 3.6vw, 15px);
    line-height: 1.16;
  }

  .site-footer {
    margin-top: 0;
  }
}

@media (orientation: landscape) and (max-height: 480px) {
  .page-hero {
    height: max(300px, 78svh);
  }

  .training-hero {
    height: max(300px, calc(100svh - var(--header-height)));
  }

  .consulting-hero {
    height: max(300px, calc(100svh - var(--header-height)));
  }

  .education-hero {
    height: max(240px, 68svh);
  }

  .page-title {
    top: var(--page-title-top-landscape, clamp(76px, 20svh, 92px));
    bottom: auto;
  }

  .mission-hero .page-title {
    top: var(--mission-title-top-landscape, clamp(76px, 20svh, 92px));
  }

  .mission-hero .page-proof {
    bottom: clamp(22px, 7svh, 30px);
  }

  .mission-hero img {
    object-position: var(--mission-hero-position-landscape, 68% 59%);
    transform-origin: var(--mission-hero-position-landscape, 68% 59%);
  }

  .education-hero .page-title {
    top: var(--education-title-top-landscape, var(--page-title-top-landscape, clamp(76px, 20svh, 92px)));
    bottom: auto;
  }

  .education-hero img {
    object-position: var(--education-hero-position-landscape, center 60%);
    transform: scale(var(--education-hero-zoom-landscape, var(--education-hero-zoom, 1)));
    transform-origin: var(--education-hero-position-landscape, center 60%);
  }

  .remote-training-hero {
    height: max(330px, calc(100svh - var(--header-height)));
  }

  .remote-training-hero img {
    bottom: var(--remote-training-hero-image-bottom-landscape, -72px);
  }

  .remote-training-hero h1 {
    bottom: clamp(20px, 7svh, 30px);
  }

  .remote-training-proof {
    top: var(--remote-training-proof-top-landscape, clamp(104px, 30svh, 118px));
    right: var(--remote-training-proof-right-landscape, clamp(72px, 14vw, 118px));
    bottom: auto;
    left: var(--remote-training-proof-left-landscape, auto);
    width: var(--remote-training-proof-width-landscape, min(320px, 42vw));
    font-size: var(--hero-subtext-size);
    line-height: var(--hero-subtext-line-height);
    text-align: right;
    display: none;
  }

  .feature-panel,
  .feature-image {
    min-height: 330px;
  }
}

.consulting-hero,
.education-hero {
  --hero-title-image-center: calc(50% + 36px);
}

.consulting-hero .page-title,
.education-hero .page-title {
  top: var(--hero-title-image-center);
  transform: translateY(-50%);
}

@media (max-width: 760px) {
  .consulting-hero,
  .education-hero {
    --hero-title-image-center: calc(50% + 32px);
  }
}

@media (orientation: landscape) and (max-height: 480px) {
  .consulting-hero,
  .education-hero {
    --hero-title-image-center: calc(50% + 28px);
  }
}
