/* =====================================================================
   training-institutes.html only. Shared rules live in assets/css/styles.css.
   Colours, radii, shadows, spacing and type come from the tokens, with these
   deliberate local exceptions and no others:

   Type   20px / 17px   the numeral in .inst-eligcard__num, sized to the badge
                        rather than to a text step
          15.5px        .inst-certcard__issuer and the quote in .inst-quote,
                        both between --fs-sm and --fs-body on purpose
          15px          .inst-result__head, matched to the icon beside it
          10.5px        the uppercase micro-labels in the certificate, plaque and
                        lookup result; --fs-2xs with --ls-eyebrow on top of it
                        overflows the two-column dl at 390px
          16.5px        .inst-apply__side .stepper__body h4, copied verbatim from
                        the shared .stepper__body h3 rule so the demoted heading
                        looks identical
   Colour #FFFDF8 #FFF7EE #FFF2E2   the three paper stops of the certificate and
                        plaque gradients. Nothing else on the site is printed
                        stationery, so these are not candidates for the ramp.
   ===================================================================== */

/* Deep links from the header mega-menu land on section and tile ids,
   so every target clears the sticky header. */
[id]{scroll-margin-top:calc(var(--header-h) + 20px)}

/* A band that ends in a ribbon carries no bottom padding of its own.
   (Same rule as pages/home.css, repeated here because home.css is not loaded.) */


/* ---------- 1. Hero ---------------------------------------------- */
.inst-hero h1{max-width:17ch}

.inst-hero__proof{
  list-style:none;margin:var(--sp-8) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--sp-3);
}
.inst-hero__proof li{display:flex;gap:10px;align-items:flex-start;font-size:var(--fs-sm);color:var(--text-muted);line-height:1.55}
.inst-hero__proof svg{width:19px;height:19px;color:var(--forest-500);flex:none;margin-top:1px}
.inst-hero__proof b{color:var(--ink-800);font-weight:600}

.inst-hero__media{position:relative}
.inst-hero__media img{aspect-ratio:4/3}
.inst-hero__chip{position:absolute;z-index:3;font-size:var(--fs-xs);padding:8px 13px}
.inst-hero__chip--a{top:-14px;left:-6px}
.inst-hero__chip--b{bottom:22%;right:-10px}
.inst-hero__chip--c{bottom:-16px;left:8%}
@media (max-width:899.98px){
  .inst-hero__chip--a{top:-12px;left:0}
  .inst-hero__chip--b{bottom:auto;top:44%;right:0}
  .inst-hero__chip--c{bottom:-14px;left:4%}
}
@media (max-width:479.98px){
  .inst-hero__chip{font-size:var(--fs-2xs);padding:7px 11px}
  .inst-hero__chip--b{max-width:64%}
  .inst-hero__chip--c{max-width:78%;white-space:normal;border-radius:var(--r-lg)}
}

/* ---------- 2. Why institutes partner ----------------------------- */
.inst-whygrid{align-items:stretch}
.inst-why{display:flex;flex-direction:column;gap:var(--sp-3);height:100%}
.inst-why .card__title{margin:0}
.inst-why .card__body{margin:0}
.inst-why__list{list-style:none;margin:auto 0 0;padding:var(--sp-4) 0 0;border-top:1px solid var(--line-soft);display:flex;flex-direction:column;gap:8px}
.inst-why__list li{display:flex;gap:8px;align-items:flex-start;font-size:var(--fs-xs);color:var(--ink-700);line-height:1.5}
.inst-why__list svg{width:15px;height:15px;color:var(--forest-500);flex:none;margin-top:2px}

.inst-note{
  display:flex;gap:11px;align-items:flex-start;margin:var(--sp-10) auto 0;max-width:86ch;
  padding:var(--sp-4) var(--sp-5);border-radius:var(--r-lg);
  background:var(--surface-warm-2);border:1px solid var(--saffron-100);
  font-size:var(--fs-sm);color:var(--ink-700);line-height:1.6;
}
.inst-note svg{width:18px;height:18px;color:var(--saffron-700);flex:none;margin-top:2px}
.inst-note--warn{background:var(--surface);border-color:var(--line)}

/* ---------- 3. How the partnership works -------------------------- */
.inst-how{margin-bottom:var(--sp-10)}
.inst-how .stepper__body p{margin:0}
@media (min-width:900px){
  .inst-how .stepper__item{
    background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);
    padding:var(--sp-5);box-shadow:var(--sh-xs);
  }
  .inst-how .stepper__item:not(:last-child)::before{left:auto;right:-10px;width:10px;top:46px}
  /* keep the green confirmation line on the same baseline across the row */
  .inst-how .stepper__body{display:flex;flex-direction:column;flex:1}
  .inst-how .inst-journey__tag{margin-top:auto !important;padding-top:10px}
}
.inst-loop{max-width:82ch;margin-inline:auto}

/* ---------- 4. Who does what, and who pays ------------------------ */
.inst-partner{align-items:stretch}
.inst-partner__card{display:flex;flex-direction:column;gap:var(--sp-4);height:100%}
.inst-partner__card .card__title{margin:0}
.inst-check{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.inst-check li{display:flex;gap:10px;align-items:flex-start;font-size:var(--fs-sm);color:var(--text-muted);line-height:1.6}
.inst-check svg{width:18px;height:18px;color:var(--forest-500);flex:none;margin-top:2px}
.inst-check--ask svg{color:var(--saffron-600)}
.inst-check b{color:var(--ink-800);font-weight:600}
.inst-partner__card .fineprint{margin:auto 0 0;padding-top:var(--sp-4);border-top:1px solid var(--line-soft)}

.inst-money{
  margin-top:var(--sp-10);padding:clamp(20px,2.6vw,34px);
  background:var(--surface-2);border:1px solid var(--forest-100);border-radius:var(--r-xl);
}
.inst-money__h{font-size:var(--fs-h4);margin:0 0 var(--sp-5);color:var(--heading)}
.inst-money__grid{display:grid;gap:var(--sp-4);grid-template-columns:1fr}
@media (min-width:820px){ .inst-money__grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
.inst-money__tile{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:var(--sp-5);display:flex;flex-direction:column;gap:4px;
}
.inst-money__tile--mid{border-color:var(--saffron-200);background:var(--surface-warm)}
.inst-money__who{
  font-size:var(--fs-2xs);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;
  font-weight:700;color:var(--text-muted);margin:0;
}
.inst-money__amt{
  font-family:var(--font-head);font-weight:700;letter-spacing:var(--ls-head);
  font-size:clamp(1.3rem,1.1rem + .8vw,1.7rem);color:var(--heading);margin:2px 0 4px;line-height:1.1;
}
.inst-money__tile--mid .inst-money__amt{color:var(--saffron-800)}
.inst-money__body{font-size:var(--fs-sm);color:var(--text-muted);margin:0;line-height:1.6}

/* ---------- 5. Eligibility ---------------------------------------- */
.inst-elig{align-items:stretch}
.inst-eligcard{display:flex;gap:var(--sp-4);align-items:flex-start;height:100%}
.inst-eligcard>div{display:flex;flex-direction:column;gap:6px}
.inst-eligcard .card__title{margin:0}
.inst-eligcard .card__body{margin:0}
.inst-eligcard__num{
  font-family:var(--font-head);font-weight:700;font-size:20px;line-height:1;
  color:var(--saffron-800);background:var(--saffron-50);border:1px solid var(--saffron-100);
  border-radius:var(--r-md);padding:11px 10px;flex:none;font-variant-numeric:tabular-nums;
}
.inst-eligcard__ask{
  margin:var(--sp-3) 0 0;padding-top:var(--sp-3);border-top:1px dashed var(--line);
  font-size:var(--fs-xs);color:var(--forest-700);font-weight:600;line-height:1.5;
}
@media (max-width:479.98px){
  .inst-eligcard{gap:var(--sp-3)}
  .inst-eligcard__num{font-size:17px;padding:9px 8px}
}

/* ---------- 6. Certificates (the one dark band) ------------------- */
.inst-cert{align-items:stretch}

.inst-certcard{
  position:relative;border-radius:var(--r-xl);padding:clamp(20px,2.4vw,30px);
  background:linear-gradient(160deg,#FFFDF8 0%,var(--saffron-50) 58%,var(--surface-warm-2) 100%);
  border:1px solid var(--saffron-200);box-shadow:var(--sh-xl);color:var(--ink-800);
  display:flex;flex-direction:column;gap:var(--sp-3);
}
.inst-certcard::after{
  content:"";position:absolute;inset:9px;border-radius:var(--r-lg);
  border:1px solid var(--saffron-200);pointer-events:none;
}
.inst-certcard>*{position:relative;z-index:1}
.inst-certcard__top{display:flex;gap:var(--sp-3);align-items:center}
.inst-certcard__seal{width:46px;height:46px;flex:none}
.inst-certcard__seal svg{width:100%;height:100%}
.inst-certcard__issuer{font-family:var(--font-head);font-weight:700;font-size:15.5px;color:var(--forest-700) !important;margin:0}
.inst-certcard__sub{font-size:var(--fs-2xs);color:var(--text-muted) !important;margin:2px 0 0;line-height:1.4}
.inst-certcard__kicker{
  font-size:var(--fs-2xs);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;
  font-weight:700;color:var(--saffron-800) !important;margin:var(--sp-3) 0 0;
}
.inst-certcard__name{
  font-family:var(--font-head);font-weight:700;letter-spacing:var(--ls-head);
  font-size:clamp(1.35rem,1.1rem + 1vw,1.85rem);color:var(--forest-800) !important;margin:2px 0 0;line-height:1.15;
}
.inst-certcard__course{font-size:var(--fs-sm);color:var(--ink-700) !important;margin:6px 0 0;font-weight:500;line-height:1.45}
.inst-certcard__meta{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px var(--sp-4);
  margin:var(--sp-4) 0 0;padding-top:var(--sp-4);border-top:1px dashed var(--saffron-200);
}
.inst-certcard__meta dt{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-subtle);font-weight:700}
.inst-certcard__meta dd{margin:2px 0 0;font-size:var(--fs-xs);color:var(--ink-800);font-weight:600;font-variant-numeric:tabular-nums}
.inst-certcard__foot{display:flex;gap:var(--sp-4);align-items:center;margin-top:var(--sp-4)}
.inst-certcard__foot p{font-size:var(--fs-2xs);color:var(--text-muted) !important;margin:0;line-height:1.5}
@media (max-width:399.98px){
  .inst-certcard__foot{flex-direction:column;align-items:flex-start;gap:var(--sp-3)}
}

.inst-qr{
  display:grid;grid-template-columns:repeat(7,1fr);gap:2px;width:78px;height:78px;flex:none;
  padding:6px;background:var(--white);border-radius:var(--r-sm);border:1px solid var(--saffron-200);
}
.inst-qr i{display:block;border-radius:1px;background:var(--forest-800)}
.inst-qr i.o{background:transparent}

.inst-verify{display:flex;flex-direction:column;gap:var(--sp-4)}
.inst-verify__h{font-size:var(--fs-h3);margin:0}
.inst-verify__lead{font-size:var(--fs-sm);line-height:1.6;margin:0}
.inst-verify__form{display:flex;flex-direction:column;gap:var(--sp-4);align-items:flex-start}
.inst-verify__form .field{width:100%;max-width:420px}
.inst-verify .field__label{color:var(--white)}
.inst-verify .field__hint{color:var(--text-on-dark-muted);font-variant-numeric:tabular-nums}
.inst-verify .input{
  background:rgba(255,255,255,.07);border-color:var(--line-dark);color:var(--white);
  letter-spacing:.04em;text-transform:uppercase;
}
.inst-verify .input::placeholder{color:rgba(234,241,231,.62);text-transform:none;letter-spacing:normal}
.inst-verify .input:hover{border-color:var(--saffron-400)}
.inst-verify .input:focus{border-color:var(--saffron-400)}
/* The shared rule paints a --focus (saffron-700) ring, which is only 3.0:1 on this
   band's lightest stop. saffron-400 clears 5:1 against the same ground. */
.inst-verify .input:focus-visible{outline-color:var(--saffron-400)}

.inst-verify__out:empty{display:none}
.inst-result{border-radius:var(--r-lg);padding:var(--sp-4) var(--sp-5);border:1px solid var(--line-dark);background:rgba(255,255,255,.05)}
.inst-result--ok{border-color:rgba(139,183,125,.45);background:rgba(95,149,82,.14)}
.inst-result--none{border-color:rgba(245,151,61,.45);background:rgba(240,125,26,.12)}
.inst-result__head{
  display:flex;gap:9px;align-items:center;font-family:var(--font-head);font-weight:700;
  font-size:15px;color:var(--white) !important;margin:0 0 var(--sp-3);
}
.inst-result__head svg{width:19px;height:19px;flex:none}
.inst-result--ok .inst-result__head svg{color:var(--forest-200)}
.inst-result--none .inst-result__head svg{color:var(--saffron-300)}
.inst-result__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px var(--sp-4);margin:0}
@media (max-width:479.98px){ .inst-result__list{grid-template-columns:1fr} }
.inst-result__list dt{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-on-dark-muted);font-weight:700}
.inst-result__list dd{margin:2px 0 0;font-size:var(--fs-sm);color:var(--white);font-weight:600;line-height:1.4}
.inst-result__foot{font-size:var(--fs-2xs);margin:var(--sp-3) 0 0 !important;line-height:1.5}
.inst-result p:not(.inst-result__head){font-size:var(--fs-xs);line-height:1.6;margin:0}

.inst-verify__note{display:flex;gap:9px;align-items:flex-start;font-size:var(--fs-xs);line-height:1.55;margin:0}
.inst-verify__note svg{width:16px;height:16px;color:var(--saffron-300);flex:none;margin-top:2px}

.inst-certpoints{
  list-style:none;margin:var(--sp-10) 0 0;padding:0;display:grid;gap:var(--sp-4);grid-template-columns:1fr;
}
@media (min-width:700px){ .inst-certpoints{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (min-width:1100px){ .inst-certpoints{grid-template-columns:repeat(4,minmax(0,1fr))} }
.inst-certpoints li{display:flex;gap:10px;align-items:flex-start;font-size:var(--fs-xs);line-height:1.6;color:var(--text-on-dark-muted)}
.inst-certpoints svg{width:17px;height:17px;color:var(--saffron-400);flex:none;margin-top:2px}
.inst-certpoints b{color:var(--white)}

/* Partner mark: the plaque itself, drawn from the brand SVG and type rather than a
   raster mock-up, so the words the copy promises ("verified partner institute", the
   branch, the reference) are part of the artwork and print at any size. */
.inst-plaque{
  display:grid;gap:clamp(24px,3.4vw,52px);grid-template-columns:1fr;align-items:center;
  margin-top:var(--sp-12);padding-top:var(--sp-10);border-top:1px solid var(--line-dark);
}
@media (min-width:900px){ .inst-plaque{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)} }

.inst-plaque__card{
  position:relative;overflow:hidden;margin:0;width:100%;max-width:420px;justify-self:center;
  background:var(--surface);border-radius:var(--r-xl);box-shadow:var(--sh-xl);
  border:1px solid rgba(255,255,255,.16);
}
.inst-plaque__rule{position:absolute;top:0;left:0;right:0;z-index:2}

.inst-plaque__plate{
  position:relative;text-align:center;
  padding:clamp(26px,3.2vw,38px) clamp(18px,2.4vw,30px) clamp(22px,2.8vw,32px);
  background:linear-gradient(165deg,#FFFDF8 0%,#FFF7EE 62%,#FFF2E2 100%);
}
.inst-plaque__plate::after{
  content:"";position:absolute;inset:11px;border-radius:var(--r-lg);
  border:1px solid var(--saffron-200);pointer-events:none;
}
.inst-plaque__plate>*{position:relative;z-index:1}
.inst-plaque__logo{display:block;width:104px;height:auto;margin:0 auto}
.inst-plaque__seal{
  display:inline-flex;align-items:center;gap:7px;margin-top:var(--sp-4);
  padding:5px 12px;border-radius:999px;
  background:var(--forest-50);border:1px solid var(--forest-100);
  font-size:10.5px;letter-spacing:var(--ls-eyebrow);text-transform:uppercase;
  font-weight:700;color:var(--forest-700);
}
.inst-plaque__seal svg{width:14px;height:14px;color:var(--forest-500);flex:none}
.inst-plaque__plate .inst-plaque__kicker{
  font-size:var(--fs-2xs);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;
  font-weight:700;color:var(--saffron-800);margin:var(--sp-4) 0 0;
}
.inst-plaque__plate .inst-plaque__name{
  font-family:var(--font-head);font-weight:700;letter-spacing:var(--ls-head);
  font-size:clamp(1.25rem,1.05rem + .8vw,1.6rem);color:var(--forest-800);
  margin:4px 0 0;line-height:1.2;
}
.inst-plaque__plate .inst-plaque__meta{
  font-size:var(--fs-xs);color:var(--ink-700);margin:var(--sp-3) 0 0;line-height:1.6;
  padding-top:var(--sp-3);border-top:1px dashed var(--saffron-200);
  max-width:30ch;margin-inline:auto;font-variant-numeric:tabular-nums;
}
/* The reference is hyphenated, so the 30ch measure broke it as "WK-PI-" / "0042". */
.inst-plaque__ref{white-space:nowrap}
.inst-plaque__cap{padding:var(--sp-3) var(--sp-5) var(--sp-4);border-top:1px solid var(--line);background:var(--surface)}
.inst-plaque__cap p{margin:0;font-size:var(--fs-2xs);color:var(--text-muted);line-height:1.5}

.inst-plaque__copy{display:flex;flex-direction:column;gap:var(--sp-4);align-items:flex-start}
.inst-plaque__h{font-size:var(--fs-h3);margin:0}
.inst-plaque__copy>p{font-size:var(--fs-sm);line-height:1.7;margin:0;max-width:58ch}
.inst-plaque__list li{color:var(--text-on-dark-muted)}
.inst-plaque__list b{color:var(--white)}
.inst-plaque__list svg{color:var(--saffron-400)}
.inst-plaque__note{margin:0}
@media (max-width:899.98px){
  /* left edges line up with the copy below, instead of a centred card over left-set text */
  .inst-plaque__card{justify-self:start}
}
@media (max-width:479.98px){
  .inst-plaque{margin-top:var(--sp-10);padding-top:var(--sp-8)}
  .inst-plaque__cap{padding:var(--sp-4)}
}

/* ---------- 7. What happens to your student ----------------------- */
.inst-journey{margin-bottom:var(--sp-10)}
.inst-journey .stepper__body p{margin:0}
.inst-journey__tag{
  display:flex;gap:7px;align-items:flex-start;margin-top:10px !important;
  font-size:var(--fs-xs);color:var(--forest-700);font-weight:600;line-height:1.45;
}
.inst-journey__tag svg{width:15px;height:15px;color:var(--forest-500);flex:none;margin-top:1px}
@media (min-width:900px){
  .inst-journey .stepper__item{
    background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);
    padding:var(--sp-5);box-shadow:var(--sh-xs);
  }
  .inst-journey .stepper__item:not(:last-child)::before{left:auto;right:-10px;width:10px;top:46px}
}

.inst-stu{align-items:center}
.inst-stu__copy{display:flex;flex-direction:column;gap:var(--sp-4)}
.inst-stu__h{font-size:var(--fs-h3);margin:0}
.inst-stu__copy p{margin:0;font-size:var(--fs-sm);color:var(--text-muted);line-height:1.7;max-width:62ch}
.inst-stu__fig{margin:0;display:flex;flex-direction:column;gap:var(--sp-3)}
.inst-stu__fig img{
  width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;
  border-radius:var(--r-xl);border:1px solid var(--line);box-shadow:var(--sh-lg);
}
.inst-stu__fig figcaption{margin:0}

/* ---------- 8. Course listings ------------------------------------ */
.inst-list{align-items:start}
.inst-list__steps{display:flex;flex-direction:column;gap:var(--sp-6)}
.inst-list__cards{display:flex;flex-direction:column;gap:var(--sp-4)}
.inst-course-grid{display:grid;gap:var(--sp-4);grid-template-columns:1fr}
/* These two sample cards are the preview an institute owner judges the deal on, so they
   render exactly what courses.html renders, GST and instalment line included. The
   fineprint beside them says who sets the fee and who collects it. */
@media (min-width:560px) and (max-width:899.98px){ .inst-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (min-width:1180px){ .inst-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
.inst-featured .card__title{margin-top:0}

/* The live-count line the page module adds to each sample card, so the cards carry the
   same "prepares you for N live jobs" evidence step 2 beside them promises. Matches
   .cs-jobs-line on courses.html; both should move into styles.css. See sharedRequests. */
.inst-jobs-line{
  display:inline-flex;align-items:center;gap:7px;font-size:var(--fs-xs);font-weight:600;
  color:var(--saffron-800);background:var(--saffron-50);border:1px solid var(--saffron-200);
  border-radius:var(--r-pill);padding:5px 12px;text-decoration:none;align-self:flex-start;
  transition:background var(--dur-fast),border-color var(--dur-fast);
}
.inst-jobs-line svg{width:15px;height:15px;flex:none}
.inst-jobs-line:hover{background:var(--saffron-100);border-color:var(--saffron-300)}

/* ---------- 9. Outcome summary ------------------------------------ */
.inst-panel{
  background:var(--white);border:1px solid var(--line-soft);border-radius:var(--r-lg);padding:var(--sp-4);
  display:flex;flex-direction:column;gap:var(--sp-3);
}
.inst-panel__head{display:flex;flex-wrap:wrap;gap:var(--sp-2);align-items:center;justify-content:space-between}
.inst-panel__title{font-size:var(--fs-sm);margin:0;color:var(--heading)}
/* AA on ivory: --text-subtle is 3.8:1 at these sizes and this is the band that
   argues it reports honestly, so its small print uses --text-muted (7.0:1). */
.inst-panel__foot{font-size:var(--fs-2xs);color:var(--text-muted);margin:auto 0 0;padding-top:var(--sp-2);line-height:1.5}
.inst-report__stats .stat__foot{color:var(--text-muted)}
.inst-panel .chart-bars__label{color:var(--text-muted)}

/* Local override for a shared-component bug: .chart-bars sets align-items:flex-end,
   so each .chart-bars__col is content-height and the inline height percentages on
   .chart-bars__fill resolve against an indefinite height. Stretching the column was
   not enough either: the fill stayed a shrinkable flex item, so the value, the label
   and the two gaps ate into its requested height and a 3 read the same as a 2.
   A grid column with an explicit 140px bar row gives the fraction a real track.
   Each column declares its own --bar as a unitless 0-1 fraction, so the fill is
   calc(--bar * 140px): 1 of 3 = 47px, 2 = 93px, 3 = 140px, measured.
   The count keeps its own auto row, which holds every column the same height, and is
   then translated down by the empty part of the track so it rides 6px above the top
   of ITS bar rather than sitting on a shared baseline with the other five. translate
   does not affect layout, so the row stays aligned.
   Same bug on index.html, platform.html and styleguide.html, so the fix belongs in
   styles.css. See sharedRequests. */
.inst-panel .chart-bars{height:auto;align-items:end}
.inst-panel .chart-bars__col{display:grid;grid-template-rows:auto 140px auto;gap:6px;min-height:0}
.inst-panel .chart-bars__fill{grid-row:2;align-self:end;height:calc(var(--bar,1) * 140px);width:100%}
/* Colour encodes nothing on this series, and the shared even/odd alternation made two
   adjacent months harder to compare. One hue for the whole series. */
.inst-panel .chart-bars__col .chart-bars__fill{background:var(--grad-ribbon-green)}
/* Each bar carries its own count, so the shape is readable and not decorative. */
.inst-chart__val{
  grid-row:1;text-align:center;translate:0 calc((1 - var(--bar,1)) * 140px);
  font-size:var(--fs-2xs);font-weight:700;color:var(--ink-600);line-height:1.2;
  font-variant-numeric:tabular-nums;
}

.inst-report__grid{display:grid;gap:var(--sp-4);grid-template-columns:1fr}
@media (min-width:1024px){ .inst-report__grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
.inst-report__stats{
  display:grid;gap:var(--sp-4);grid-template-columns:repeat(2,minmax(0,1fr));
  background:var(--surface-warm);border:1px solid var(--line-soft);border-radius:var(--r-lg);padding:var(--sp-5);
}
@media (min-width:1024px){ .inst-report__stats{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (max-width:399.98px){ .inst-report__stats{grid-template-columns:1fr} }

.inst-recruiters{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.inst-recruiters li{display:flex;gap:var(--sp-3);align-items:center;padding:10px 0;border-bottom:1px solid var(--line-soft)}
.inst-recruiters li:last-child{border-bottom:0}
.inst-recruiters__body{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.inst-recruiters__body b{font-size:var(--fs-sm);color:var(--ink-800);font-weight:600;line-height:1.35}
.inst-recruiters__body span{font-size:var(--fs-2xs);color:var(--text-muted);line-height:1.45}
.inst-recruiters .badge{flex:none}
@media (max-width:479.98px){
  /* Three items on one 358px row squeezed the employer name onto three lines.
     Drop the confirmation badge under the name instead. */
  .inst-recruiters li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px var(--sp-3);align-items:start;padding:var(--sp-3) 0}
  .inst-recruiters li>.logo-tile{grid-row:1;align-self:center}
  .inst-recruiters__body{grid-column:2}
  .inst-recruiters .badge{grid-column:2;justify-self:start}
}
.inst-honest{margin-top:var(--sp-8)}
.inst-honest .card{height:100%}

/* ---------- 10. FAQ ----------------------------------------------- */
.inst-faq{display:grid;gap:clamp(28px,4vw,56px);grid-template-columns:1fr;align-items:start}
@media (min-width:900px){ .inst-faq{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)} }
.inst-faq__aside .lead{max-width:44ch}
@media (min-width:900px){ .inst-faq__aside{position:sticky;top:calc(var(--header-h) + 24px)} }
.inst-quote{margin-top:var(--sp-8);max-width:44ch}
@media (max-width:899.98px){ .inst-quote{max-width:none} }
.inst-quote .testimonial__quote{font-size:15.5px}
/* The shared .sample-note is a single-line pill; inside this narrow card it wraps,
   so it becomes a soft-cornered block with a top-aligned icon. */
.inst-quote__note{
  margin:0;font-size:var(--fs-2xs);align-items:flex-start;border-radius:var(--r-md);
  padding:8px 12px;line-height:1.5;
}
.inst-quote__note svg{width:14px;height:14px;margin-top:2px}

/* ---------- 11. Partner application ------------------------------- */
.inst-apply{display:grid;gap:clamp(24px,3vw,44px);grid-template-columns:1fr;align-items:start}
@media (min-width:1024px){ .inst-apply{grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr)} }
.inst-apply__form{padding:clamp(20px,2.6vw,36px)}
@media (max-width:599.98px){ .inst-apply__form .form-grid{grid-template-columns:1fr} }
.inst-apply__side{display:flex;flex-direction:column;gap:var(--sp-6)}
/* The form runs a good 500px longer than the aside, which left a dead column of
   ivory beside it. Pinning the aside keeps the desk number next to whichever
   field the applicant is filling in. */
/* The aside is 712px tall, so on a short 1024-1280 window its foot (the two phone
   numbers, the address and the map link) was pinned below the fold with no way to
   reach it. Cap it to the viewport and let it scroll inside itself. */
@media (min-width:1024px){
  .inst-apply__side{
    position:sticky;top:calc(var(--header-h) + 24px);
    max-height:calc(100dvh - var(--header-h) - 48px);
    overflow-y:auto;overscroll-behavior:contain;
  }
}
.inst-apply__h{font-size:var(--fs-h4);margin:0}
.inst-apply__contact{padding:var(--sp-5)}
.inst-contact{list-style:none;margin:0 0 var(--sp-4);padding:0;display:flex;flex-direction:column;gap:var(--sp-4)}
.inst-contact li{display:flex;gap:var(--sp-3);align-items:center}
.inst-contact li>span:last-child{display:flex;flex-direction:column;gap:1px;min-width:0}
.inst-contact b{font-size:var(--fs-sm);color:var(--ink-800);font-weight:600}
.inst-contact li>span:last-child>span{font-size:var(--fs-2xs);color:var(--text-muted)}
.inst-contact a{font-size:var(--fs-sm);font-weight:600;color:var(--saffron-800);text-decoration:none}
.inst-contact a:hover{text-decoration:underline}
.inst-apply__contact .fineprint{line-height:1.6}
.inst-apply__contact .fineprint+.fineprint{margin-top:var(--sp-3)}

/* ---------- Reduced motion ---------------------------------------- */
@media (prefers-reduced-motion:reduce){
  .inst-hero__chip{transition:none}
}
