/* Round 16: the click-through fixes. F2 the mark on the For Partners fact table; F3 the How It Works ending lines up
   with the steps; F8 inline links get a 44px tap height without moving, labels never drop under 11px; F9 the home
   banner label reads on the navy. */

/* F2 · the mark in the fact-table tile, where the monogram was */
.pp-mono--tx .tm{width:34px;height:auto;color:#c9a227}

/* F3 · the ending starts where the steps start: the steps container is 1100px with the site's container padding inside it */
.hiw-steps-section+.tx-end .tx-end-in{padding-left:clamp(0.75rem,3vw,2rem);padding-right:clamp(0.75rem,3vw,2rem)}

/* F8 · tap height: vertical padding on an inline link grows its hit box without changing the line box */
main p a:not([class*="btn"]):not(.tx-end-btn),main li a:not([class*="btn"]):not(.h12-who-l a):not(.pp-src a),main dd a,main dt a,main small a,main .r-fine a,main .w-fine a,main .pay-note a,.legal-section a:not([class*="btn"]){padding-block:.6em}
@media (max-width:820px){#ca .r-link{padding-top:20px;margin-top:-16px}}  /* the underline is a border-bottom, so the extra height goes on top and the margin keeps the text where it was */
/* F8 · labels: the floor is 11px */
@media (max-width:768px){.section-label{font-size:11px!important;letter-spacing:.14em!important}}
.txp-k,.pp-rec-skills .k,.pp-stats1 .k{font-size:11px!important}
.pp-sld-note b,.pp-tb-c b,.pp-tag-dl dt,.pp-lt th,.pp-rec-ready .plate .ph>span:first-child{font-size:11px!important}

/* F9 · the home banner label */
.rotating-banner-prefix{color:#e6c968!important;opacity:1!important}

/* F5 · the ending after a navy band (Plans) and after the cards (How Apprenticeships Work) gets room above the heading */
.pay-page .tx-end .tx-end-in,.haw-page .tx-end .tx-end-in{padding-top:56px}
@media (max-width:820px){.pay-page .tx-end .tx-end-in,.haw-page .tx-end .tx-end-in{padding-top:40px}}

/* F5 · the ending buttons in dark mode: styles.css paints every link #7eb8ff with !important and eight :not()s; match that weight */
html.dark-mode .tx-end-btn.gold:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5):not(.x6):not(.x7):not(.x8),[data-theme="dark"] .tx-end-btn.gold:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5):not(.x6):not(.x7):not(.x8){color:#001a33!important}
html.dark-mode .tx-end-btn.line:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5):not(.x6):not(.x7):not(.x8),[data-theme="dark"] .tx-end-btn.line:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5):not(.x6):not(.x7):not(.x8){color:var(--te-ink)!important}
/* F8 · fine print links are smaller type, so they need more */
main .r-fine a,main .pp-legal a,main .w-fine a,main .pay-note a,main small a{padding-block:.95em}

/* ---------- Round 16b (M3) · How Apprenticeships Work: the apprenticeship drawn on a rail ---------- */
.hwt{background:#fff;color:#0a0a0a;padding:clamp(48px,6vw,80px) 2rem clamp(24px,4vw,48px);font-family:var(--tx-ui,Inter),system-ui,sans-serif}
.hwt-in{max-width:1100px;margin:0 auto}
.hwt-k{font:700 11px/1 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#7f6512;margin:0 0 14px}
.hwt-h{font:800 clamp(28px,3vw,40px)/1.12 "Roboto Slab",Georgia,serif;letter-spacing:-.015em;margin:0 0 14px;max-width:24ch;text-wrap:balance}
.hwt-lede{font:400 19px/1.6 "Roboto Slab",Georgia,serif;color:#3d4652;max-width:60ch;margin:0 0 48px}
.hwt-rail{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 2.2fr 1fr 1fr;gap:0 28px;position:relative}
.hwt-rail::before{content:"";position:absolute;left:0;right:0;top:19px;height:2px;background:#001a33}
.hwt-node{position:relative;padding-top:58px}
.hwt-n{position:absolute;left:0;top:0;width:40px;height:40px;display:grid;place-items:center;background:#001a33;color:#fff;font:700 15px/1 var(--tx-ui,Inter),system-ui,sans-serif;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%)}
.hwt-node--long .hwt-n{background:#c9a227;color:#001a33}
.hwt-node h3{font:700 20px/1.25 "Roboto Slab",Georgia,serif;margin:0 0 8px}
.hwt-node h3 em{display:block;font:600 12px/1.4 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#5d6875;margin-top:4px}
.hwt-node p{font:400 15.5px/1.6 "Roboto Slab",Georgia,serif;color:#3d4652;margin:0 0 10px}
.hwt-src{display:block;font:500 12px/1.4 var(--tx-ui,Inter),system-ui,sans-serif;color:#5d6875}
.hwt-years{display:grid;grid-template-columns:repeat(5,1fr);margin:6px 0 12px;border-top:1px solid #aab5c1}
.hwt-years i{font:600 11px/1 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.06em;color:#5d6875;padding-top:8px;position:relative;font-style:normal}
.hwt-years i::before{content:"";position:absolute;left:0;top:-1px;width:1px;height:6px;background:#aab5c1}
.hwt-pay{margin-top:56px;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px 56px;align-items:end;padding-top:32px;border-top:1px solid #d5dce4}
.hwt-pay-k{font:700 11px/1 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#7f6512;margin-bottom:10px;grid-column:1/-1}
.hwt-pay p{font:400 16px/1.6 "Roboto Slab",Georgia,serif;color:#3d4652;margin:0;max-width:52ch}
.hwt-pay .hwt-src{grid-column:1/-1}
.hwt-ladder{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;align-items:end;height:120px}
.hwt-ladder span{display:block;height:calc(var(--h) * 100%);background:#d5dce4;position:relative}
.hwt-ladder span.j{background:#001a33}
.hwt-ladder span.j b{position:absolute;right:0;top:-18px;font:700 10px/1 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#001a33;white-space:nowrap}
.hwt-words{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin:56px 0 0;padding:28px 0 0;border-top:1px solid #d5dce4}
.hwt-words div{border-left:2px solid #c9a227;padding-left:14px}
.hwt-words dt{font:700 16px/1.3 "Roboto Slab",Georgia,serif;margin:0 0 4px}
.hwt-words dd{margin:0;font:400 14.5px/1.5 "Roboto Slab",Georgia,serif;color:#3d4652}
.hwt-foot{margin:40px 0 0;font:500 13px/1.6 var(--tx-ui,Inter),system-ui,sans-serif;color:#5d6875;max-width:80ch}
.hwt-foot a{color:#001a33;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.hwt2{background:#fff;padding:0 2rem 24px}
.hwt2-in{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:40px;padding-top:40px;border-top:1px solid #d5dce4}
.hwt2 h2{font:700 20px/1.25 "Roboto Slab",Georgia,serif;margin:0 0 8px}
.hwt2 p{font:400 16px/1.6 "Roboto Slab",Georgia,serif;color:#3d4652;margin:0}
@media (max-width:820px){
  .hwt{padding:40px 1rem 16px}.hwt-lede{margin-bottom:32px}
  .hwt-rail{grid-template-columns:1fr;gap:28px;padding-left:56px}
  .hwt-rail::before{left:19px;right:auto;top:0;bottom:0;width:2px;height:auto}
  .hwt-node{padding-top:0}.hwt-n{left:-56px}
  .hwt-pay{grid-template-columns:1fr;gap:20px}.hwt-ladder{height:90px}
  .hwt-words{grid-template-columns:1fr 1fr;gap:18px}
  .hwt2{padding:0 1rem 16px}.hwt2-in{grid-template-columns:1fr;gap:24px}
}

.hwt-rail::before{transform-origin:left center;transition:transform 1.1s cubic-bezier(.2,.7,.2,1) .1s}
html.r12-once .hwt-rail:not(.r12-in)::before{transform:scaleX(0)}   /* drawn once in view; shown whole when the script never ran */
.hwt-ladder span{transform-origin:bottom;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
html.r12-once .hwt-ladder:not(.r12-in) span{transform:scaleY(0)}
.hwt-ladder.r12-in span:nth-child(2){transition-delay:.08s}.hwt-ladder.r12-in span:nth-child(3){transition-delay:.16s}.hwt-ladder.r12-in span:nth-child(4){transition-delay:.24s}.hwt-ladder.r12-in span:nth-child(5){transition-delay:.32s}.hwt-ladder.r12-in span:nth-child(6){transition-delay:.4s}
@media (max-width:820px){.hwt-rail::before{transform-origin:top center}html.r12-once .hwt-rail:not(.r12-in)::before{transform:scaleY(0)}}
@media (prefers-reduced-motion:reduce){.hwt-rail::before,.hwt-ladder span{transform:none!important;transition:none!important}}
html.dark-mode .hwt,[data-theme="dark"] .hwt,html.dark-mode .hwt2,[data-theme="dark"] .hwt2{background:#0d0d0d;color:#f0f0f0}
html.dark-mode .hwt :is(.hwt-h,.hwt-node h3,.hwt-words dt),[data-theme="dark"] .hwt :is(.hwt-h,.hwt-node h3,.hwt-words dt),html.dark-mode .hwt2 h2,[data-theme="dark"] .hwt2 h2{color:#f0f0f0}
html.dark-mode .hwt :is(.hwt-lede,.hwt-node p,.hwt-pay p,.hwt-words dd),[data-theme="dark"] .hwt :is(.hwt-lede,.hwt-node p,.hwt-pay p,.hwt-words dd),html.dark-mode .hwt2 p,[data-theme="dark"] .hwt2 p{color:#cdd3da}
html.dark-mode .hwt :is(.hwt-src,.hwt-foot,.hwt-years i),[data-theme="dark"] .hwt :is(.hwt-src,.hwt-foot,.hwt-years i){color:#9aa4af}
html.dark-mode .hwt-k,[data-theme="dark"] .hwt-k,html.dark-mode .hwt-pay-k,[data-theme="dark"] .hwt-pay-k{color:#e6c968!important}
html.dark-mode .hwt-rail::before,[data-theme="dark"] .hwt-rail::before,html.dark-mode .hwt-n,[data-theme="dark"] .hwt-n,html.dark-mode .hwt-ladder span.j,[data-theme="dark"] .hwt-ladder span.j{background:#c9d6e3;color:#001a33}
html.dark-mode .hwt-node--long .hwt-n,[data-theme="dark"] .hwt-node--long .hwt-n{background:#c9a227}
html.dark-mode .hwt-ladder span.j b,[data-theme="dark"] .hwt-ladder span.j b{color:#f0f0f0}
html.dark-mode .hwt-foot a:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5):not(.x6):not(.x7):not(.x8),[data-theme="dark"] .hwt-foot a:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5):not(.x6):not(.x7):not(.x8){color:#e6f0f8!important}
html.dark-mode .hwt :is(.hwt-pay,.hwt-words,.hwt-years),[data-theme="dark"] .hwt :is(.hwt-pay,.hwt-words,.hwt-years),html.dark-mode .hwt2-in,[data-theme="dark"] .hwt2-in{border-color:#2c3238}

/* Round 16b: the FAQ ending gets room above the heading too */
.pg-page .fq ~ .tx-end .tx-end-in{padding-top:56px}
@media (max-width:820px){.pg-page .fq ~ .tx-end .tx-end-in{padding-top:40px}}

/* ---------- Round 18 (F7) · Plans: the trust row in the palette (the icons were bright green), chamfered ---------- */
.pay-trust-icon{color:#c9a227!important}
.pay-trust-card{border-radius:0!important;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%)}

/* ---------- Round 18 · smoother scrolling ----------
   1. "scroll-behavior: smooth" on <html> applies to programmatic and anchor scrolls (not the wheel); it now applies only
      to in-page jumps (an anchor click puts focus inside the document), so script scrolls elsewhere are instant.
   2. The home step cards transitioned every property on hover (transition: all), so any style change mid-scroll animated. */
html{scroll-behavior:auto!important}
html:focus-within{scroll-behavior:smooth!important}
@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto!important}}
.solution-card{transition:transform .25s ease,box-shadow .25s ease!important}
.solution-grid::before,.hiw-steps-grid::before,.hwt-rail::before,.sb-rail::before{will-change:transform}

/* ---------- Round 18 · the starfield on the home banners and the footer, so the sparkle reaches them ----------
   The banners' ::before was a faint glow; it now carries the specks too. The footer is the black band on every page. */
.rotating-banner-section::before{background:var(--starry-pattern),radial-gradient(circle at 50% 50%,rgba(0,51,102,.15) 0%,transparent 70%)!important;background-size:var(--starry-size),auto!important}
footer.main-footer{position:relative;background-image:var(--starry-pattern)!important;background-size:var(--starry-size)!important}

/* ---------- Round 18 · the home story sections (Option A, left rail) ---------- */
.hs{background:#fff;padding:clamp(56px,7vw,96px) 2rem;font-family:var(--tx-ui,Inter),system-ui,sans-serif;color:#0a0a0a}
.hs+.hs{padding-top:0}
.hs-in{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px 80px;align-items:center}
.hs--flip .hs-img{order:2}
.hs-img{position:relative}
.hs-img::before{content:"";position:absolute;inset:18px -18px -18px 18px;background:#001a33;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%)}
.hs-img img{position:relative;display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%)}
.hs-copy{position:relative;padding-left:28px}
.hs-copy::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:2px;background:#001a33;transform-origin:top;transition:transform .9s cubic-bezier(.2,.7,.2,1) .1s}
html.r12-once .hs:not(.r12-in) .hs-copy::before{transform:scaleY(0)}
.hs-k{display:flex;align-items:center;gap:10px;font:700 11px/1 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#7f6512;margin:0 0 18px}
.hs-k b{display:grid;place-items:center;width:30px;height:24px;background:#001a33;color:#fff;font-size:11px;letter-spacing:.06em;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,0 100%)}
.hs-h{font:800 clamp(28px,2.6vw,38px)/1.12 "Roboto Slab",Georgia,serif;letter-spacing:-.015em;margin:0 0 18px;max-width:22ch;text-wrap:balance;color:#0a0a0a}
.hs-p{font:400 17px/1.65 "Roboto Slab",Georgia,serif;color:#3d4652;margin:0 0 22px;max-width:46ch}
.hs-more{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px;box-shadow:inset 0 0 0 1.5px #001a33;color:#001a33;font:700 14px/1 var(--tx-ui,Inter),system-ui,sans-serif;text-decoration:none;clip-path:polygon(0 0,calc(100% - 11px) 0,100% 11px,100% 100%,0 100%);transition:background-color .2s ease,color .2s ease}
.hs-more svg{width:10px;height:10px}
@media (hover:hover){.hs-more:hover{background:#001a33;color:#fff}}
.hs-more:focus-visible{outline:2px solid #c9a227;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.hs-copy::before{transform:none;transition:none}}
html.dark-mode .hs,[data-theme="dark"] .hs{background:#0d0d0d;color:#f0f0f0}
html.dark-mode .hs-h,[data-theme="dark"] .hs-h{color:#f0f0f0}
html.dark-mode .hs-p,[data-theme="dark"] .hs-p{color:#cdd3da}
html.dark-mode .hs-k,[data-theme="dark"] .hs-k{color:#e6c968!important}
html.dark-mode .hs-copy::before,[data-theme="dark"] .hs-copy::before,html.dark-mode .hs-img::before,[data-theme="dark"] .hs-img::before{background:#0d3255}
html.dark-mode .hs-more:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5):not(.x6):not(.x7):not(.x8),[data-theme="dark"] .hs-more:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5):not(.x6):not(.x7):not(.x8){color:#e6f0f8!important;box-shadow:inset 0 0 0 1.5px #c9d6e3}
.pay-plan-features li::before{color:#c9a227!important;background:#c9a227!important}

/* ---------- Round 19 · texture and depth, T1–T5 ---------- */
/* T1 · drafting grid behind the white sections (the story sections, the timeline, the FAQ), fading at the edges */
.hs,.hwt,.fq{position:relative}
.hs::before,.hwt::before,.fq::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:linear-gradient(rgba(0,26,51,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(0,26,51,.05) 1px,transparent 1px);background-size:28px 28px;
  -webkit-mask-image:radial-gradient(ellipse 70% 80% at 50% 50%,#000 30%,transparent 100%);mask-image:radial-gradient(ellipse 70% 80% at 50% 50%,#000 30%,transparent 100%)}
.hs-in,.hwt-in,.fq-in{position:relative;z-index:1}
html.dark-mode :is(.hs,.hwt,.fq)::before,[data-theme="dark"] :is(.hs,.hwt,.fq)::before{background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px)}
/* T2 · grain on every navy area that carries the stars (round13.js adds .tx-grain beside .tx-twinkle) */
:root{--tx-grain:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .13 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
.tx-grain{position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:var(--tx-grain);background-size:160px 160px}
/* T3 · hatch bands: between the story sections, and along the top of the footer */
.hs+.hs{padding-top:34px}
.hs+.hs::after{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(1100px,calc(100% - 4rem));height:14px;background:repeating-linear-gradient(38deg,transparent 0 9px,rgba(0,26,51,.16) 9px 11px)}
html.dark-mode .hs+.hs::after,[data-theme="dark"] .hs+.hs::after{background:repeating-linear-gradient(38deg,transparent 0 9px,rgba(255,255,255,.12) 9px 11px)}
footer.main-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:14px;pointer-events:none;background:repeating-linear-gradient(38deg,transparent 0 9px,rgba(255,255,255,.09) 9px 11px)}
/* T4 · engraved plate labels on navy */
.txp-k,.pg-hero-label,.hiw-hero-label,.haw-hero-label{display:inline-block!important;padding:7px 12px!important;background:#000c1a!important;border:0!important;border-radius:0!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),inset 0 1px 0 rgba(255,255,255,.08),0 1px 0 rgba(0,0,0,.6)!important;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,0 100%);color:#c9d6e3!important;letter-spacing:.16em!important}
/* T5 · photo tint: every story photo under the same light */
.hs-img img{filter:saturate(.82) contrast(1.04)}
.hs-img::after{content:"";position:absolute;inset:0;background:#0d3255;mix-blend-mode:multiply;opacity:.14;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%);pointer-events:none}
