/* Focused term, capacity, process and primary-navigation refinement. */
:root { --primary-header-height: 65px; --rhythm-section: clamp(44px, 4.5vw, 64px); --rhythm-gap: 28px; }
html { scroll-padding-top: calc(var(--primary-header-height) + 24px); }
.masthead { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 5px 18px #102c4810; }
.masthead-row { min-height: 64px; }
/* Align the approved artwork's visual centre with Inter's navigation ink.
   Its crop is geometrically centred, but its heavier strokes sit higher. */
.masthead .wordmark { top: 2px; }
.wordmark img { filter: url("assets/wordmark-navy.svg#navy"); }
html:not(.js):has(.site-nav) .masthead { position: relative; }
html:not(.js):has(.site-nav) { scroll-padding-top: 24px; }
.compact-apply { display: none; }
.listing-panel { top: calc(var(--primary-header-height) + 24px); }
@media (min-width: 961px) {
  .listing-body { padding-top: 24px; }
}
/* Keep the summary beside the reading column, including on shorter desktops.
   Only its contents scroll when needed; ancestors remain free for sticky. */
@media (min-width: 961px) and (min-height: 521px) {
  .listing-panel .panel-inner {
    max-height: calc(100vh - var(--primary-header-height) - 48px);
    max-height: calc(100dvh - var(--primary-header-height) - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}
.panel-inner:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 3px; }
.skip { z-index: 60; }
.term-section, .process-section { padding-block: var(--rhythm-section); }
.industry { padding-top: clamp(40px, 4vw, 56px); padding-bottom: var(--rhythm-section); }
.industry-heading { margin-bottom: clamp(32px, 3vw, 40px); }
.apply { padding-block: clamp(64px, 6vw, 96px); }
.section-heading { margin-bottom: var(--rhythm-gap); }
.section-heading .side-label { margin-bottom: 16px; }
.section-heading h2 { max-width: none; font-size: clamp(28px, 2.75vw, 38px); }

/* The commercial disclosure has its own row, so it cannot stretch the metric. */
.partnership-frame { background: #fff; border: 1px solid #cfdae4; }
.partnership-frame .commitment-grid { grid-template-columns: minmax(240px, .8fr) minmax(0, 2.2fr); gap: 0; align-items: stretch; }
.partnership-frame .term-feature { min-height: 0; clip-path: none; justify-content: flex-start; padding: 30px; background: var(--navy); }
.partnership-frame .term-feature::before, .partnership-frame .term-feature::after { content: none; }
.partnership-frame .term-value { display: flex; align-items: baseline; gap: 12px; margin: 24px 0; font-size: 82px; font-weight: 450; line-height: .95; letter-spacing: -.06em; }
.partnership-frame .term-value span { display: inline; margin: 0; font-size: 26px; letter-spacing: -.03em; }
.partnership-frame .term-caption { font-size: 11px; }
.partnership-frame .term-condition { margin-top: auto; padding-top: 18px; font-size: 12.5px; max-width: 35ch; }
.partnership-frame .capacity { min-width: 0; padding: 30px; }
.partnership-frame .capacity > h3 { margin: 0 0 24px; font-size: 21px; }
.partnership-frame .capacity-list { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
.partnership-frame .capacity-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 22px; border-bottom: 0; border-left: 1px solid var(--line); }
.partnership-frame .capacity-list li:first-child { border-left: 0; padding-left: 0; }
.partnership-frame .capacity-list li:last-child { padding-right: 0; }
.partnership-frame .icon-well { border: 0; width: 32px; height: 32px; border-radius: 0; background: transparent; }
.partnership-frame .capacity-list .ui-icon { width: 28px; height: 28px; }
.partnership-frame .capacity-list strong,
.partnership-frame .capacity-list h4 { display: block; min-height: 2.7em; margin: 0; color: var(--navy); font-size: 16px; font-weight: 600; letter-spacing: normal; line-height: 1.35; text-wrap: initial; }
.partnership-frame .capacity-list p { margin-top: 10px; font-size: 14px; line-height: 1.6; }
.partnership-frame > .disclosure { margin: 0; padding-inline: 30px; border-bottom: 0; }
.partnership-frame > .disclosure summary { min-height: 60px; padding-block: 16px; font-size: 14px; }
.partnership-frame > .disclosure .disclosure-body { max-width: 90ch; padding-bottom: 24px; }

/* Native disclosure motion: height follows the copy, including after resizing. */
@supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) and selector(details::details-content) {
  .partnership-frame > .disclosure { interpolate-size: allow-keywords; }
  .partnership-frame > .disclosure::details-content {
    block-size: 0; overflow: clip; content-visibility: hidden;
    transition: block-size 320ms cubic-bezier(.22, 1, .36, 1), content-visibility 320ms allow-discrete;
  }
  .partnership-frame > .disclosure[open]::details-content { block-size: auto; content-visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .partnership-frame > .disclosure::details-content { transition: none; }
}

/* A visible sequence of decisions, without tiles that resemble controls. */
.process-section .selection-layout { display: block; }
.process-section .selection-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 32px; min-height: 0; padding: 0; margin-bottom: 34px; clip-path: none; background: none; color: var(--text); overflow: visible; }
.process-section .selection-intro::before, .process-section .selection-intro::after { content: none; }
.process-section .selection-intro .side-label { grid-column: 1 / -1; margin: 0 0 4px; color: var(--accent); border-color: var(--accent); justify-self: start; }
.process-section .selection-intro h2 { max-width: none; color: var(--navy); font-size: clamp(28px, 2.75vw, 38px); font-weight: 600; }
.process-section .selection-note { grid-column: 1; margin: 0; color: var(--muted); max-width: 68ch; font-size: 14px; }
.process-section .selection-intro .information-link { grid-column: 2; grid-row: 2 / 4; align-self: center; margin: 0; padding: 0; color: var(--blue-ink); font-size: 14px; }
.process-section .selection-intro .information-link:focus-visible { outline-color: var(--blue-ink); }
.process-section .selection-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; gap: 32px; border: 0; }
.process-section .selection-steps li { display: block; min-height: 0; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.process-section .selection-steps li::before { inset: 24px -32px auto 48px; width: auto; height: 1px; background: #b5cadb; }
.process-section .selection-steps li:last-child::before { display: none; }
.stage-symbol { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border: 1px solid #acc4d7; border-radius: 50%; background: #eaf2f8; color: #235981; }
.stage-symbol .ui-icon { width: 23px; height: 23px; }
.process-section .selection-steps h3 { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.process-section .selection-steps p { max-width: 35ch; margin-top: 12px; font-size: 14.5px; line-height: 1.65; }
.apply-guide li { padding-left: 18px; }
.apply-guide li::before { content: ""; width: 5px; height: 5px; top: .65em; background: #9bcdf5; }

@media (max-width: 1080px) {
  .masthead-row { gap: 12px; }
  .masthead-row .brand { margin-right: auto; }
  .js .compact-apply { display: inline-flex; min-height: 44px; padding: 8px 14px; }
  .js .site-nav { max-height: calc(100dvh - var(--primary-header-height)); overflow-y: auto; overscroll-behavior: contain; }
  .js .site-nav > .btn { display: none; }
  .partnership-frame .commitment-grid { grid-template-columns: 1fr; }
  .partnership-frame .term-feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 32px; padding: 24px 30px; }
  .partnership-frame .term-caption { grid-column: 1 / -1; }
  .partnership-frame .term-value { margin: 0; font-size: 68px; align-self: center; }
  .partnership-frame .term-value span { font-size: 23px; }
  .partnership-frame .term-condition { align-self: center; margin: 0; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid #ffffff36; max-width: 56ch; }
  .process-section .selection-intro { grid-template-columns: 1fr; }
  .process-section .selection-intro .information-link { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (max-width: 960px), (max-height: 520px) { .listing-panel { position: static; } }
@media (max-width: 760px) {
  :root { --primary-header-height: 61px; --rhythm-gap: 24px; }
  .masthead-row { min-height: 60px; }
  .process-section .selection-intro { margin-bottom: 24px; gap: 12px; }
  .process-section .selection-steps { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); gap: 0; }
  .process-section .selection-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 20px; padding: 22px 0; border: 0; }
  .process-section .selection-steps li::before { inset: 66px auto -22px 22px; width: 1px; height: auto; }
  .stage-symbol { width: 44px; height: 44px; margin: 0; }
  .process-section .selection-steps h3 { font-size: 20px; }
  .process-section .selection-steps p { max-width: none; margin-top: 8px; }
}
@media (max-width: 680px) {
  .partnership-frame .term-feature { gap: 14px 24px; padding: 24px; }
  .partnership-frame .capacity { padding: 24px 24px 0; }
  .partnership-frame .capacity > h3 { margin-bottom: 20px; }
  .partnership-frame .capacity-list { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }
  .partnership-frame .capacity-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .partnership-frame .capacity-list strong,
  .partnership-frame .capacity-list h4 { min-height: 0; }
  .partnership-frame .capacity-list p { margin-top: 5px; }
  .partnership-frame > .disclosure { padding-inline: 24px; }
}
@media (max-width: 420px) {
  .masthead-row { gap: 8px; }
  .js .compact-apply { padding-inline: 11px; font-size: 13px; }
  .partnership-frame .term-feature { display: block; }
  .partnership-frame .term-value { margin: 18px 0; }
  .partnership-frame .term-condition { padding: 16px 0 0; border-left: 0; border-top: 1px solid #ffffff36; }
}
@media (max-width: 360px) {
  .masthead-row .wordmark { width: 132px; }
}
@media (max-height: 520px) {
  .masthead { position: relative; }
  html { scroll-padding-top: 20px; }
}
@media (forced-colors: active) {
  .masthead { border-bottom-color: CanvasText; }
  .partnership-frame, .stage-symbol { border-color: CanvasText; }
  .partnership-frame .term-feature { background: Canvas; color: CanvasText; }
  .partnership-frame .term-caption, .partnership-frame .term-condition { color: CanvasText; border-color: CanvasText; }
  .process-section .selection-steps li::before { background: CanvasText; }
}
