/* White Knight USA: modern cosmetic refresh (preview/modern-refresh).
   Loaded last on the home page and /apply only. Cosmetic only: no copy, links,
   section order or layout sizes change here. The home page is built with inline
   styles, so the overrides below match on those inline values and use !important.
   Scripts on the page rewrite some inline styles (hex becomes rgb), so colour
   matches list both forms. Remove this file and its <link> tags to roll back. */

:root{
  --wkm-ink:#0E0E0F;
  --wkm-ink-3:#202023;
  --wkm-canvas:#F6F5F1;
  --wkm-line:#E4E1D9;
  --wkm-line-dark:#2A2A2C;
  --wkm-text:#1A1A1A;
  --wkm-muted:#5C5C5C;
  --wkm-gold:#C9A56A;
  --wkm-gold-hover:#D9BA83;
  --wkm-gold-deep:#8A6B2F;
  --wkm-display:'Inter Tight','Inter',system-ui,sans-serif;
  --wkm-ui:'Inter',system-ui,sans-serif;
  --wkm-accent:'Instrument Serif',Georgia,serif;
  --wkm-r-sm:10px;
  --wkm-r:16px;
  --wkm-pill:999px;
  --wkm-shadow:0 1px 2px rgba(16,16,18,.04),0 8px 24px -12px rgba(16,16,18,.10);
  --wkm-shadow-hover:0 2px 4px rgba(16,16,18,.05),0 18px 40px -16px rgba(16,16,18,.18);
  --wkm-ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- Typography ---------- */
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body{font-family:var(--wkm-ui)!important;font-feature-settings:"cv11","ss01","ss03";color:var(--wkm-text)}
:is(.pv-desktop,.pv-mobile) [style*="Montserrat"]{
  font-family:var(--wkm-display)!important;letter-spacing:-0.022em!important;font-feature-settings:"ss01","cv11"}
:is(.pv-desktop,.pv-mobile) :is(h1,h2){letter-spacing:-0.034em!important;text-wrap:balance}
:is(.pv-desktop,.pv-mobile) h1{font-weight:600!important}
/* italic accent phrases in headings become an editorial serif italic */
:is(.pv-desktop,.pv-mobile) [style*="Montserrat"] [style*="italic"]{
  font-family:var(--wkm-accent)!important;font-weight:400!important;letter-spacing:-0.005em!important;font-size:1.1em;line-height:1}
:is(.pv-desktop,.pv-mobile) p{text-wrap:pretty}
/* eyebrow labels: crisper caps */
.pv-desktop [style*="letter-spacing: 0.2em"][style*="font-size: 12px"],
.pv-mobile [style*="letter-spacing: 0.18em"][style*="font-size: 11px"]{letter-spacing:.17em!important;font-weight:600!important}
/* stat numbers: tabular, tight */
.pv-desktop [style*="font-size: 72px"][style*="Montserrat"],:is(.pv-desktop,.pv-mobile) .pv-n{font-variant-numeric:tabular-nums;letter-spacing:-0.04em!important}

/* ---------- Palette ---------- */
:is(.pv-desktop,.pv-mobile) :is([style*="background: #F5F5F5"],[style*="background: rgb(245, 245, 245)"]){background-color:var(--wkm-canvas)!important}
:is(.pv-desktop,.pv-mobile) :is([style*="background: #111111"],[style*="background: rgb(17, 17, 17)"]){background-color:var(--wkm-ink)!important}
:is(.pv-desktop,.pv-mobile) :is([style*="background: #242424"],[style*="background: rgb(36, 36, 36)"]){background-color:var(--wkm-ink-3)!important}
:is(.pv-desktop,.pv-mobile) :is([style*="background: #E9E9E9"],[style*="background: rgb(233, 233, 233)"]){background-color:#ECEAE4!important}
:is(.pv-desktop,.pv-mobile) :is([style*="#DCDCDC"],[style*="rgb(220, 220, 220)"]){border-color:var(--wkm-line)!important}
:is(.pv-desktop,.pv-mobile) :is([style*="border-top: 1px solid #333333"],[style*="border-top: 1px solid rgb(51, 51, 51)"]){border-top-color:var(--wkm-line-dark)!important}
:is(.pv-desktop,.pv-mobile) :is([style*="color: #5A5A5A"],[style*="color: rgb(90, 90, 90)"]){color:var(--wkm-muted)!important}
#pv-progress{background:linear-gradient(90deg,var(--wkm-gold-deep),var(--wkm-gold))!important}

/* ---------- Navigation ---------- */
:is(.pv-desktop,.pv-mobile) nav{transition:background-color .35s ease,box-shadow .35s ease,backdrop-filter .35s ease!important}
html.wkm-scrolled :is(.pv-desktop,.pv-mobile) nav{
  background:rgba(12,12,13,.72)!important;
  -webkit-backdrop-filter:saturate(160%) blur(16px)!important;backdrop-filter:saturate(160%) blur(16px)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.06),0 10px 30px -18px rgba(0,0,0,.6)}
.pv-desktop nav a:not([href="/apply"]):not(.wk-home-top){position:relative;transition:color .2s ease}
.pv-desktop nav a:not([href="/apply"]):not(.wk-home-top)::after{
  content:"";position:absolute;left:0;right:0;bottom:-6px;height:1px;background:var(--wkm-gold);
  transform:scaleX(0);transform-origin:left;transition:transform .3s var(--wkm-ease)}
.pv-desktop nav a:not([href="/apply"]):not(.wk-home-top):hover{color:#fff!important}
.pv-desktop nav a:not([href="/apply"]):not(.wk-home-top):hover::after{transform:scaleX(1)}
.wk-menu-btn{border-radius:var(--wkm-r-sm)!important;border-color:#333!important}
.wk-menu-panel{background:rgba(14,14,15,.96)!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-family:var(--wkm-ui)!important}

/* ---------- Buttons ---------- */
:is(.pv-desktop,.pv-mobile) :is(a[href^="/apply"][style*="height"],button[data-way],.pv-way,.pv-tab){
  border-radius:var(--wkm-pill)!important;
  transition:transform .25s var(--wkm-ease),background-color .25s ease,color .25s ease,box-shadow .25s ease,border-color .25s ease!important}
:is(.pv-desktop,.pv-mobile) a[href^="/apply"]:is([style*="#C9A56A"],[style*="rgb(201, 165, 106)"]){
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 18px -8px rgba(201,165,106,.55)}
:is(.pv-desktop,.pv-mobile) a[href^="/apply"]:is([style*="#C9A56A"],[style*="rgb(201, 165, 106)"]):hover{
  background:var(--wkm-gold-hover)!important;transform:translateY(-1px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 12px 26px -10px rgba(201,165,106,.7)}
:is(.pv-desktop,.pv-mobile) a[href^="/apply"]:is([style*="background: #111111"],[style*="background: rgb(17, 17, 17)"]):hover{
  background:#26262A!important;transform:translateY(-1px);box-shadow:0 12px 26px -12px rgba(0,0,0,.45)}
.pv-desktop button[data-way]:hover{background:var(--wkm-ink)!important;color:#fff!important;border-color:var(--wkm-ink)!important;transform:translateY(-1px)}
:is(.pv-desktop,.pv-mobile) :is(.pv-tab,.pv-way):not(.on):hover{border-color:var(--wkm-ink)!important;transform:translateY(-1px)}
:is(.pv-desktop,.pv-mobile) .pv-tab.on{box-shadow:inset 0 -3px 0 0 var(--wkm-gold),0 8px 18px -10px rgba(0,0,0,.45)!important}
.pv-desktop a[href="#results"]{text-decoration-thickness:1px!important;text-decoration-color:rgba(201,165,106,.8)!important;transition:color .2s ease}
.pv-desktop a[href="#results"]:hover{color:var(--wkm-gold)!important}
:is(.pv-desktop,.pv-mobile) :is(a,button):focus-visible{outline:2px solid var(--wkm-gold)!important;outline-offset:3px}

/* ---------- Cards ---------- */
/* filled panels inside sections get soft radii */
:is(.pv-desktop,.pv-mobile) section div:is(
  [style*="background: #F5F5F5"],[style*="background: rgb(245, 245, 245)"],
  [style*="background: #111111"],[style*="background: rgb(17, 17, 17)"],
  [style*="background: #242424"],[style*="background: rgb(36, 36, 36)"],
  [style*="background: #E9E9E9"],[style*="background: rgb(233, 233, 233)"]),
:is(.pv-desktop,.pv-mobile) section:is([style*="#F5F5F5"],[style*="rgb(245, 245, 245)"]) div:is([style*="background: #FFFFFF"],[style*="background: rgb(255, 255, 255)"]),
#pv-waypanel{border-radius:var(--wkm-r)!important;overflow:hidden}
/* nested panels (e.g. the quote header inside a result card) follow the parent's shape */
:is(.pv-desktop,.pv-mobile) section div[style*="background"] > div:is([style*="background: #111111"],[style*="background: rgb(17, 17, 17)"]){border-radius:0!important}
/* light cards: hairline and lift */
:is(.pv-desktop,.pv-mobile) section:is([style*="#F5F5F5"],[style*="rgb(245, 245, 245)"]) div:is([style*="background: #FFFFFF"],[style*="background: rgb(255, 255, 255)"]),
:is(.pv-desktop,.pv-mobile) section:is([style*="#FFFFFF"],[style*="rgb(255, 255, 255)"]) div:is([style*="background: #F5F5F5"],[style*="background: rgb(245, 245, 245)"]){
  box-shadow:var(--wkm-shadow),inset 0 0 0 1px rgba(16,16,18,.05);
  transition:transform .35s var(--wkm-ease),box-shadow .35s var(--wkm-ease)}
.pv-desktop section:is([style*="#F5F5F5"],[style*="rgb(245, 245, 245)"]) div:is([style*="background: #FFFFFF"],[style*="background: rgb(255, 255, 255)"]):hover,
.pv-desktop section:is([style*="#FFFFFF"],[style*="rgb(255, 255, 255)"]) div:is([style*="background: #F5F5F5"],[style*="background: rgb(245, 245, 245)"]):hover{
  transform:translateY(-3px);box-shadow:var(--wkm-shadow-hover),inset 0 0 0 1px rgba(16,16,18,.06)}
/* dark panels on light sections: soft depth */
:is(.pv-desktop,.pv-mobile) section:not([style*="#111111"]) div:is([style*="background: #111111"],[style*="background: rgb(17, 17, 17)"]){
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 18px 40px -24px rgba(0,0,0,.5)}
/* images inside sections (not the hero film, not the logo strip) */
:is(.pv-desktop,.pv-mobile) section img:not([style*="absolute"]){border-radius:var(--wkm-r-sm)}

/* ---------- Logo strip ---------- */
/* Client logos stay in full colour (Dillon, 2026-11-17). */
:is(.pv-desktop,.pv-mobile) .wk-track img{filter:none;opacity:1;border-radius:0!important}
.wk-track{will-change:transform}
:is(.pv-desktop,.pv-mobile) section:has(.wk-track) > div[style*="overflow: hidden"]{
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%)}
:is(.pv-desktop,.pv-mobile) section:has(.wk-track):hover .wk-track{animation-play-state:paused}

/* ---------- Hero ---------- */
:is(.pv-desktop,.pv-mobile) > div > section:first-of-type::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;z-index:3;
  background:linear-gradient(90deg,transparent,rgba(201,165,106,.55),transparent)}

/* ---------- Footer ---------- */
:is(.pv-desktop,.pv-mobile) footer a{transition:color .2s ease}
:is(.pv-desktop,.pv-mobile) footer a:hover{color:var(--wkm-gold-hover)!important}

/* ---------- Motion ---------- */
.reveal{transform:translateY(18px);transition:opacity .8s var(--wkm-ease),transform .8s var(--wkm-ease)!important;transition-delay:var(--wkm-d,0ms)!important}
/* stagger steps set by wk-modern.js (a data attribute, so inline styles are left untouched) */
[data-wkm-d="1"]{--wkm-d:70ms}[data-wkm-d="2"]{--wkm-d:140ms}[data-wkm-d="3"]{--wkm-d:210ms}[data-wkm-d="4"]{--wkm-d:280ms}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .reveal,.reveal.in{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}
  .wk-track,.srg-slide,.srg-slide-slow,.wk-ken,.srg-ken,.wk-cell,.wk-flow,.wk-drift{animation:none!important}
  *,*::after{transition-duration:0s!important}
}

/* ================= /apply ================= */
body:has(#wk-apply),body:has(#wk-apply) .wk-global-header{font-family:var(--wkm-ui)!important}
body:has(#wk-apply) :is(h1,h2):not(.wk-steps-title){font-family:var(--wkm-display)!important;letter-spacing:-0.03em}
body:has(#wk-apply) .wk-intro h1 span{font-family:var(--wkm-accent)!important;font-style:italic;font-weight:400;letter-spacing:-0.005em}
body:has(#wk-apply) .wk-card{border-radius:20px!important;overflow:hidden;box-shadow:0 1px 2px rgba(16,16,18,.04),0 30px 60px -30px rgba(16,16,18,.22),inset 0 0 0 1px rgba(16,16,18,.05)!important}
body:has(#wk-apply) .wk-field :is(input:not([type=radio]),select,textarea){border-radius:var(--wkm-r-sm)!important;transition:border-color .2s,box-shadow .2s,background-color .2s}
body:has(#wk-apply) .wk-field :is(input:not([type=radio]),select,textarea):focus{border-color:var(--wkm-gold-deep)!important;box-shadow:0 0 0 4px rgba(201,165,106,.18)!important;background:#fff!important}
body:has(#wk-apply) .wk-option-label{border-radius:var(--wkm-r-sm)!important}
body:has(#wk-apply) .wk-option-label:hover{border-color:#cfc6b4!important}
body:has(#wk-apply) .wk-submit{border-radius:var(--wkm-pill)!important;padding-inline:26px!important;transition:background .25s,transform .25s var(--wkm-ease),box-shadow .25s!important}
body:has(#wk-apply) .wk-submit:hover:not(:disabled){box-shadow:0 14px 28px -14px rgba(0,0,0,.5)}
body:has(#wk-apply) .wk-global-enquire{border-radius:var(--wkm-pill)!important}
body:has(#wk-apply) .wk-global-header{background:rgba(14,14,15,.84)!important;-webkit-backdrop-filter:saturate(160%) blur(16px);backdrop-filter:saturate(160%) blur(16px)}
/* full-bleed dark bands (Miami block) stay square */
:is(.pv-desktop,.pv-mobile) section div[style*="margin: -"]:is([style*="background: #111111"],[style*="background: rgb(17, 17, 17)"]){border-radius:0!important;box-shadow:none!important;overflow:visible}
/* the WHITE KNIGHT USA wordmark keeps its original lettering (logo lockup) */
.wk-home-top,.wk-home-top span,
:is(.pv-desktop,.pv-mobile) footer :is([style*="letter-spacing: 0.2em"],[style*="letter-spacing: 0.24em"],[style*="letter-spacing: 0.18em"],[style*="letter-spacing: 0.22em"]),
body:has(#wk-apply) .wk-global-wordmark,body:has(#wk-apply) .wk-global-wordmark :is(strong,small){font-family:'Instrument Sans',system-ui,sans-serif!important}
.wk-menu-panel .wk-menu-enquire{border-radius:var(--wkm-pill)!important}
.wk-track div{box-shadow:none!important}

/* ---------- Header: the Enquire pill sits inside the bar with room above and below ----------
   It was the full height of the bar, so the pill looked cut off at the top and bottom. */
.pv-desktop nav{padding-top:12px!important;padding-bottom:12px!important}
.pv-desktop nav a[href="/apply"]{height:40px!important}
.pv-mobile nav{padding-top:10px!important;padding-bottom:10px!important}
body:has(#wk-apply) .wk-global-desktop{min-height:68px!important}
body:has(#wk-apply) .wk-global-links .wk-global-enquire{height:40px!important}

/* Hero headline is the page's H1: keep the weight and spacing it had as a paragraph. */
.pv-desktop h1.wk-hero-title{font-weight:500!important;letter-spacing:-0.02em!important}
.pv-mobile h1.wk-hero-title{letter-spacing:-0.02em!important}
