/* Organization Partner — page-specific styles (prefix: orgp-) · RD2 Figma frame 1:2418
   Column spans follow the 12-col system in main.css (1344 artboard: 318→3, 545/546→5, 659/660→6). */

/* 01 · Hero (image band behind a navy panel; band + panel sizing live in main.css) */
.orgp-hero { padding-bottom: min(clamp(16px, 6.25vw, 120px), max(16px, 9.0svh)); }
.orgp-hero__panel { gap: min(clamp(48px, 8vw, 150px), max(48px, 11.5svh)); }
.orgp-hero__head { gap: 18px; max-width: max(839px, 67.25%); }      /* 839 of the 1248 panel */
.orgp-hero__body { max-width: 839px; }
.orgp-hero__title { color: var(--cream); }
.orgp-hero__body { display: grid; justify-items: start; gap: 42px; }
.orgp-hero__lede { color: var(--cream); line-height: var(--lh-ui); }
@media (max-width: 900px) {
  .orgp-hero__body { gap: 32px; }
}

/* 02 · What this is: heading (6 cols) + photo (5 cols) left, copy (5 cols from col 8) right */
.orgp-what { padding-block: min(clamp(64px, 6.25vw, 120px), max(64px, 9.0svh)); }
.orgp-what__grid { margin-top: 18px; row-gap: 0; align-items: start; }
.orgp-what__title { grid-column: 1 / span 6; grid-row: 1; }
.orgp-what__copy { grid-column: 8 / span 5; grid-row: 1 / span 2; max-width: var(--measure); }
.orgp-what__image { grid-column: 1 / span 5; grid-row: 2; aspect-ratio: 546 / 582; margin-top: min(clamp(48px, 7.8vw, 150px), max(48px, 11.2svh)); }
@media (max-width: 1279px) {
  .orgp-what__title { grid-column: 1 / span 7; }
  .orgp-what__copy { grid-column: 8 / span 5; }
  .orgp-what__image { grid-column: 1 / span 6; }
}
@media (max-width: 900px) {
  .orgp-what__grid { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .orgp-what__title, .orgp-what__copy, .orgp-what__image { grid-column: 1; grid-row: auto; }
  .orgp-what__image { aspect-ratio: 4 / 3; margin-top: 16px; }
}

/* 03 · Who this works for: 546 | 660 */
.orgp-who { padding-block: min(clamp(64px, 6.25vw, 120px), max(64px, 9.0svh)) var(--section-pb); }
.orgp-who__grid { --a-span: 5; --b-start: 7; --b-span: 6; margin-top: 18px; row-gap: 32px; }
.orgp-who__intro { display: grid; gap: 30px; }
.orgp-who__intro .text-lg { max-width: var(--measure); }
.orgp-who__item {
  display: flex; align-items: center; gap: 30px; padding: 24px 0;
  border-top: 1px solid #EDE6D2;
  font-weight: 500; font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.375rem); line-height: var(--lh-snug); letter-spacing: -0.01em;
}
.orgp-who__icon {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px;
  background: var(--accent-light); border-radius: 2px; color: var(--white);
}
.orgp-who__icon svg { width: 20px; height: 15px; }
@media (max-width: 1279px) {
  .orgp-who__grid { --a-span: 6; --b-start: 7; --b-span: 6; }
}
@media (max-width: 640px) {
  .orgp-who__item { gap: 18px; padding: 18px 0; }
  .orgp-who__icon { width: 36px; height: 36px; }
  .orgp-who__icon svg { width: 17px; height: 13px; }
}

/* 04 · Get to know us: 660 | 545 head, four 318×452 cards */
.orgp-know { padding-block: min(clamp(80px, 12.57vw, 220px), max(80px, 18.1svh)) min(clamp(64px, 6.25vw, 120px), max(64px, 9.0svh)); }  /* the artboard leaves 91px of white above this section's 90px padding */
.orgp-know__head { --a-span: 6; --b-start: 8; --b-span: 5; }
.orgp-know__head .text-lg { max-width: var(--measure); }
.orgp-know__cards {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap);
  margin-top: min(clamp(48px, 6.25vw, 120px), max(48px, 9.0svh));
}
.orgp-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 318 / 452; padding: 18px;
}
.orgp-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.orgp-card--shade::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(166, 177, 193, 0), rgba(102, 102, 102, .2)); }
.orgp-card__panel {
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  min-height: min(clamp(200px, 17.43vw, 330px), max(200px, 25.1svh)); padding: 24px; background: var(--white); color: var(--navy);
}
.orgp-card__title { font-weight: 600; font-size: clamp(1.1875rem, 1.15rem + 0.1vw, 1.3125rem); line-height: var(--lh-tight); letter-spacing: -0.01em; }
.orgp-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.orgp-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.orgp-card:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.orgp-card__title a:focus-visible { outline: none; }
.orgp-card__text { font-size: var(--fs-md); line-height: var(--lh-body); }
/* Card rows: 1-up <640, 2-up 640–1279, 4-up ≥1280 */
@media (max-width: 1279px) {
  .orgp-know__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orgp-card { aspect-ratio: auto; min-height: min(clamp(400px, 48vw, 520px), max(400px, 69.1svh)); }
  .orgp-card__panel { min-height: 200px; }
}
@media (max-width: 639px) {
  .orgp-know__cards { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .orgp-card { min-height: 0; padding: 180px 12px 12px; }
  .orgp-card__panel { min-height: 0; gap: 18px; }
}

/* Full-width scene: 1440×542 (2.66:1) at every desktop width */
.orgp-scene { aspect-ratio: 1440 / 542; }
@media (max-width: 640px) { .orgp-scene { aspect-ratio: 4 / 3; } }

/* 05 · Supporting image + 06 · What we look for: 545 | 660 */
.orgp-look { padding-block: min(clamp(64px, 6.25vw, 120px), max(64px, 9.0svh)) min(clamp(72px, 8.75vw, 168px), max(72px, 12.6svh)); }
.orgp-look__grid { --a-span: 5; --b-start: 7; --b-span: 6; row-gap: 40px; }
.orgp-look__copy { display: grid; justify-items: start; gap: 30px; }
.orgp-look__copy .text-lg { max-width: var(--measure); }
.orgp-look__video { --video-overlay: rgba(190, 190, 190, .2); aspect-ratio: 660 / 716; }
@media (max-width: 1279px) {
  .orgp-look__grid { --a-span: 6; --b-start: 7; --b-span: 6; }
}
@media (max-width: 900px) {
  .orgp-look__video { aspect-ratio: 4 / 3; }
  .orgp-look__video > img { object-position: 60% 30%; }
}

/* 07 · How it works: five 250-wide steps */
.orgp-how { padding-block: var(--section-pt); }
.orgp-how__steps {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px var(--grid-gap);
  margin-top: min(clamp(48px, 6.25vw, 120px), max(48px, 9.0svh));
}
.orgp-step {
  display: flex; flex-direction: column; gap: 60px;
  padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .18);
}
.orgp-step__head { display: grid; gap: 9px; }
.orgp-step__num { color: var(--accent-light); font-size: var(--fs-md); line-height: var(--lh-body); }
.orgp-step__title { font-weight: 400; font-size: clamp(1.25rem, 1.2rem + 0.2vw, 1.5rem); line-height: var(--lh-snug); letter-spacing: -0.01em; min-height: calc(3em * 1.24); }
.orgp-step .text-md { max-width: var(--measure); }
@media (max-width: 1279px) {
  .orgp-how__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .orgp-step { gap: 36px; }
}
@media (max-width: 900px) {
  .orgp-how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orgp-step__title { min-height: calc(2em * 1.24); }
}
@media (max-width: 639px) {
  .orgp-how__steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .orgp-step { gap: 18px; }
  .orgp-step__title { min-height: 0; }
}

/* 08 · Contact / Lead form */
.orgp-contact { padding-block: var(--section-pb); }
.orgp-contact__eyebrow { padding-bottom: 24px; }  /* design has a trailing line break after the eyebrow */
.orgp-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.orgp-form__hint { display: block; font-weight: 400; }
.orgp-contact .field textarea { min-height: 90px; padding-bottom: 60px; resize: vertical; }
@media (max-width: 640px) {
  .orgp-contact__eyebrow { padding-bottom: 0; }
  .orgp-form__row { grid-template-columns: minmax(0, 1fr); }
}

/* Paragraph breaks in the design are a full empty line (18px × 1.62) */
.page-organization-partner .orgp-what__copy p + p,
.page-organization-partner .orgp-look__copy .text-lg p + p { margin-top: 1.62em; }
