/* Lavor Capital — brand stylesheet.
 *
 * Written from the brand's own design build (a React/Tailwind site delivered
 * as a compiled bundle). This repo has no build step and the application has
 * to run on the shared vanilla engine, so the design was re-expressed here as
 * plain CSS rather than shipped as React. Its vocabulary, kept deliberately
 * distinct from the other brands on this box:
 *
 *   - DEEP NAVY (#0b1b3d) is the action and heading colour; MUTED GOLD
 *     (#c5a869) appears only as an accent — the 24px rule before every eyebrow,
 *     status dots, arrows inside navy buttons, category labels.
 *   - One sans family, Plus Jakarta Sans, heavy (800) and tight for headings.
 *     Cabinet Grotesk is used for the wordmark and nothing else.
 *   - Neutral greys, not cream: alternating white and neutral-50 bands,
 *     neutral-200 hairline borders, cards at 12px, feature panels at 16px,
 *     buttons at 8px. No pills.
 *   - A faint navy grid behind the hero; navy-gradient image cards.
 */
:root {
  --navy: #0b1b3d;
  --navy-h: #132854;
  --navy-l: #183a7a;
  --navy-dd: #071026;
  --gold: #c5a869;
  --white: #ffffff;
  --n50: #fafafa;
  --n100: #f5f5f5;
  --n200: #e5e5e5;
  --n300: #d4d4d4;
  --n400: #a3a3a3;
  --n500: #737373;
  --n600: #525252;
  --n700: #404040;
  --n900: #171717;
  --danger: #dc2626;
  --ok: #047857;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mark: "Cabinet Grotesk", "Plus Jakarta Sans", sans-serif;
  --r-btn: 8px;
  --r-card: 12px;
  --r-panel: 16px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, .02);
  --shadow-hover: 0 12px 28px rgba(11, 27, 61, .08);
  --gut: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
/* LOAD-BEARING. The engine hides the Back button, the file list, the submit
   progress bar and the held-value boxes with el.hidden, and an author
   `display:` rule silently beats the attribute. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--n900);
  background: var(--n50);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
::selection { background: var(--navy); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); font-weight: 800; letter-spacing: -.025em; margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.wrap { width: min(1280px, 100% - (var(--gut) * 2)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 0; }

/* ----- Header (fixed, white, shadow once scrolled) ----- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--n100); transition: box-shadow .3s, padding .3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 4px 20px rgba(11, 27, 61, .06); border-bottom-color: rgba(229, 229, 229, .8); }
/* The /confirm page renders .header-inner without a .wrap around it. */
.site-header > .header-inner { width: min(1280px, 100% - (var(--gut) * 2)); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; transition: padding .3s; }
.is-scrolled .header-inner { padding: 12px 0; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 36px; height: 40px; transition: transform .3s; }
.logo:hover img { transform: scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo .word { font-family: var(--mark); font-weight: 800; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); }
.logo .logo-sub { font-weight: 600; font-size: 12.4px; letter-spacing: .24em; text-transform: uppercase; color: #334155; margin-top: 2px; }
.logo-light .word { color: #fff; font-size: 24px; }
.logo-light .logo-sub { color: #d1d5db; font-size: 14.9px; }
.logo-light img { width: 43px; height: 50px; }

.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--n600); text-decoration: none; padding: 4px 0; }
.nav a:hover { color: var(--navy); }
.nav .nav-quiet { color: var(--n700); margin-left: 8px; }
.nav .nav-cta { color: #fff; padding: 10px 20px; background: var(--navy); border-radius: var(--r-btn); font-size: 14px; font-weight: 600; }
.nav .nav-cta:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--n700); margin: 5px 0; border-radius: 2px; }

/* ----- Buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 16px; padding: 16px 32px; border-radius: var(--r-btn); text-decoration: none; transition: background .2s, transform .1s, box-shadow .2s; }
.btn:active { transform: scale(.99); }
.btn-sm { font-size: 14px; padding: 10px 20px; letter-spacing: .01em; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 4px 16px rgba(11, 27, 61, .22); }
.btn-navy:hover { background: var(--navy-h); }
.btn-sm.btn-navy { box-shadow: 0 2px 8px rgba(11, 27, 61, .18); }
.btn-white { background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; padding: 14px 28px; }
.btn-white:hover { background: var(--n100); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .15); font-size: 12.5px; padding: 10px 16px; }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-ghost { background: var(--white); color: var(--n700); border: 1px solid var(--n300); font-weight: 600; padding: 14px 24px; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-text { background: none; color: var(--navy); padding: 12px 16px; box-shadow: none; }
.btn-text:hover { color: var(--navy-l); }
.btn .arr, .btn-arrow::after { color: var(--gold); }
.btn-arrow::after { content: "\2192"; }
.btn-ghost.btn-arrow::after { color: inherit; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ----- Eyebrow: gold rule + navy micro-caps ----- */
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); flex: none; }

/* ----- Bands ----- */
.band { padding: 96px 0; background: var(--white); position: relative; }
.band-alt { background: rgba(250, 250, 250, .8); border-top: 1px solid rgba(229, 229, 229, .7); border-bottom: 1px solid rgba(229, 229, 229, .7); }
.band-head { max-width: 768px; margin-bottom: 64px; }
.band-head h2, .h2 { font-size: clamp(30px, 4vw, 48px); }
.band-head p { font-size: 18px; color: var(--n600); }
.split-head { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.split-head p { color: var(--n600); margin: 0; }

/* ----- Hero ----- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(to bottom, #fff, rgba(250, 250, 250, .6), #fff); }
.hero-grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .035; background-image: linear-gradient(var(--navy) 1px, transparent 1px), linear-gradient(90deg, var(--navy) 1px, transparent 1px); background-size: 48px 48px; }
.hero-glow { position: absolute; top: 80px; right: 40px; width: 500px; height: 500px; border-radius: 50%; background: rgba(11, 27, 61, .05); filter: blur(64px); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 24px; text-wrap: balance; }
.hero .lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--n600); max-width: 42rem; margin-bottom: 32px; }
.checks { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 36rem; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; color: var(--n700); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--navy); background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b3d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hero-fine { margin-top: 16px; font-size: 12px; color: var(--n500); }
.hero-art { position: relative; width: 100%; max-width: 500px; aspect-ratio: 4 / 5; margin-left: auto; display: flex; align-items: center; }
.hero-art .slab { position: absolute; top: 0; right: 8px; width: 85%; aspect-ratio: 1; background: var(--navy); border-radius: var(--r-panel); box-shadow: 0 24px 50px rgba(11, 27, 61, .28); overflow: hidden; }
.hero-art .slab::before, .hero-art .slab::after { content: ""; position: absolute; width: 144px; height: 144px; opacity: .15; }
.hero-art .slab::before { top: 0; right: 0; border-bottom: 1px solid #fff; border-left: 1px solid #fff; }
.hero-art .slab::after { bottom: 0; left: 0; border-top: 1px solid #fff; border-right: 1px solid #fff; }
.slab-tag { position: absolute; top: 20px; right: 20px; display: flex; align-items: center; gap: 6px; padding: 4px 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); border-radius: 6px; font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero-photo { position: relative; z-index: 1; width: 84%; align-self: flex-end; margin: 0 auto 8px 8px; border-radius: var(--r-card); overflow: hidden; border: 2px solid #fff; background: var(--n100); box-shadow: 0 20px 45px rgba(11, 27, 61, .22); }
.hero-photo img { width: 100%; object-fit: cover; object-position: top; transition: transform .7s; }
.hero-photo:hover img { transform: scale(1.02); }
.hero-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 64px; background: linear-gradient(to top, rgba(11, 27, 61, .6), transparent); }
.hero-note { position: absolute; z-index: 2; bottom: -16px; left: -24px; max-width: 240px; padding: 14px 20px; background: rgba(255, 255, 255, .95); border: 1px solid rgba(229, 229, 229, .9); border-radius: var(--r-card); box-shadow: 0 12px 30px rgba(11, 27, 61, .14); }
.hero-note b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); }
.hero-note p { margin: 0; font-size: 12px; font-weight: 500; line-height: 1.4; color: var(--n600); }
.hero-corner { position: absolute; z-index: 2; top: -12px; right: -12px; width: 32px; height: 32px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* ----- Cards (solutions, pillars, phases, briefings) ----- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; justify-content: space-between; padding: 32px; background: rgba(250, 250, 250, .7); border: 1px solid rgba(229, 229, 229, .8); border-radius: var(--r-card); box-shadow: var(--shadow-card); transition: background .3s, border-color .3s, box-shadow .3s; }
.card:hover { background: #fff; border-color: rgba(11, 27, 61, .3); box-shadow: var(--shadow-hover); }
.card-white { background: #fff; padding: 28px; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cat { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.card-top .pip { width: 8px; height: 8px; border-radius: 50%; background: rgba(11, 27, 61, .2); transition: background .3s; }
.card:hover .pip { background: var(--gold); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card .tagline { font-size: 14px; font-weight: 600; color: rgba(11, 27, 61, .8); margin-bottom: 12px; }
.card p { font-size: 14px; color: var(--n600); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(229, 229, 229, .6); }
.link-btn { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--navy); cursor: pointer; text-decoration: none; }
.link-btn:hover { color: var(--gold); }
.link-btn.quiet { color: var(--n500); }
.link-btn.quiet:hover { color: var(--navy); }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: var(--r-btn); background: rgba(245, 245, 245, .9); border: 1px solid var(--n200); }
.icon-box svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-white h3 { font-size: 18px; }
.phase-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.phase-top .icon-box { margin: 0; background: #fff; }
.phase-foot { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(229, 229, 229, .6); font-size: 12px; font-weight: 500; color: var(--n500); }

.guidance { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; border-radius: var(--r-panel); background: rgba(245, 245, 245, .8); border: 1px solid rgba(229, 229, 229, .7); }
.guidance h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; letter-spacing: 0; }
.guidance p { font-size: 14px; color: var(--n600); margin: 0; max-width: 42rem; }
.guidance .btn { flex: none; font-size: 14px; padding: 12px 24px; box-shadow: none; }

/* ----- Image cards (about, sectors) ----- */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.photo-card { position: relative; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--r-panel); overflow: hidden; background: var(--n900); border: 1px solid var(--n200); box-shadow: 0 10px 15px rgba(0, 0, 0, .1); }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .7s; }
.photo-card:hover img { transform: scale(1.05); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--navy), rgba(11, 27, 61, .4) 50%, transparent); }
.photo-card .cap { position: relative; z-index: 1; padding: 32px; }
.photo-card .cat { display: block; margin-bottom: 4px; letter-spacing: .1em; font-weight: 600; }
.photo-card h4 { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.photo-card p { color: #e5e5e5; font-size: 14px; margin: 0; max-width: 28rem; }
.photo-card.tall { min-height: 520px; box-shadow: 0 25px 50px rgba(0, 0, 0, .25); background: var(--navy); }
.photo-card.tall img { opacity: .9; }
.photo-card.tall::after { background: linear-gradient(to top, var(--navy), rgba(11, 27, 61, .3) 55%, transparent); }
.photo-card.tall h3 { color: #fff; font-size: 20px; font-weight: 700; }
.photo-card.tall p { color: #d4d4d4; font-size: 12.5px; }

/* ----- Direct-access callout ----- */
.callout { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; border-radius: var(--r-panel); background: var(--navy); color: #fff; box-shadow: 0 20px 25px rgba(0, 0, 0, .1); }
.callout .cat { display: block; margin-bottom: 8px; letter-spacing: .1em; }
.callout h3 { color: #fff; font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; margin-bottom: 12px; }
.callout p { color: #d4d4d4; margin: 0; max-width: 42rem; }
.callout .btn { flex: none; white-space: nowrap; }

/* ----- Sectors ----- */
.sectors-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sector-list li { padding: 14px; border-radius: var(--r-card); border: 1px solid rgba(229, 229, 229, .9); background: rgba(250, 250, 250, .6); transition: background .2s, border-color .2s; }
.sector-list li:hover { background: #fff; border-color: rgba(11, 27, 61, .3); }
.sector-list h3 { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; margin: 0 0 6px; letter-spacing: 0; }
.sector-list .ic { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--r-btn); background: #fff; border: 1px solid var(--n200); }
.sector-list .ic svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sector-list p { margin: 0; padding-left: 38px; font-size: 12.5px; line-height: 1.5; color: var(--n600); }

/* ----- Contact ----- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.assurance { display: flex; gap: 12px; align-items: flex-start; padding: 16px; margin-bottom: 16px; border-radius: var(--r-card); background: var(--n50); border: 1px solid rgba(229, 229, 229, .8); }
.assurance svg { flex: none; width: 20px; height: 20px; margin-top: 2px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.assurance h3 { font-size: 14px; font-weight: 700; margin: 0; letter-spacing: 0; }
.assurance p { font-size: 12.5px; color: var(--n600); margin: 2px 0 0; }
.fine { font-size: 12px; color: var(--n500); }
.contact-panel { padding: 40px; border-radius: var(--r-panel); background: rgba(250, 250, 250, .8); border: 1px solid rgba(229, 229, 229, .9); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.contact-panel h3 { font-size: 24px; font-weight: 700; }
.contact-panel > p { color: var(--n600); font-size: 15px; }
.contact-steps { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.contact-steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--n700); }
.contact-steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; }
.contact-panel .btn { width: 100%; }
.contact-mail { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--n600); }

/* ----- Dialogs (structure details, briefings, assessment) ----- */
.lv-dialog { width: min(42rem, 100% - 32px); max-height: 90vh; padding: 32px; border: 1px solid var(--n200); border-radius: var(--r-panel); box-shadow: 0 25px 50px rgba(0, 0, 0, .25); color: var(--n900); }
.lv-dialog::backdrop { background: rgba(23, 23, 23, .6); backdrop-filter: blur(4px); }
.lv-dialog .x { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 0; border-radius: var(--r-btn); background: none; color: var(--n400); font-size: 22px; line-height: 1; cursor: pointer; }
.lv-dialog .x:hover { background: var(--n100); color: var(--n700); }
.lv-dialog .cat { display: block; margin-bottom: 4px; }
.lv-dialog h3 { font-size: 24px; font-weight: 700; padding-right: 40px; }
.lv-dialog .tagline { font-size: 14px; font-weight: 500; color: var(--n700); }
.lv-dialog p { font-size: 14px; color: var(--n600); }
.detail-box { display: grid; gap: 16px; margin: 0 0 24px; padding: 20px; border-radius: var(--r-card); background: var(--n50); border: 1px solid rgba(229, 229, 229, .8); }
.detail-box .k { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--n500); }
.detail-box .v { margin: 0; font-size: 14px; font-weight: 600; color: var(--navy); }
.detail-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.detail-box li { display: flex; gap: 10px; font-size: 12.5px; color: var(--n700); }
.detail-box li::before { content: "\2014"; color: var(--gold); font-weight: 700; }
.dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--n100); }
.dialog-actions .btn { font-size: 14px; padding: 10px 24px; box-shadow: none; }
.briefing { margin-bottom: 32px; }
.briefing p { color: var(--n700); line-height: 1.7; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.choice { display: flex; justify-content: space-between; gap: 8px; padding: 14px; border: 1px solid var(--n200); border-radius: var(--r-btn); background: #fff; color: var(--n700); font: inherit; font-size: 12.5px; font-weight: 500; text-align: left; cursor: pointer; }
.choice:hover { border-color: var(--n300); }
.choice.is-on { border-color: var(--navy); background: rgba(11, 27, 61, .05); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice.is-on::after { content: "\2713"; font-weight: 700; }
.lbl-strong { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--navy); }

/* ----- Apply page ----- */
.canvas { background: transparent; }
.apply-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; padding: 48px 0 24px; }
.apply-top h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.apply-main { padding-bottom: 24px; }
.lede { color: var(--n600); max-width: 64ch; margin: 0 0 8px; }
.welcome { display: none; background: #fff; border: 1px solid var(--n200); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 32px); margin-bottom: 24px; box-shadow: var(--shadow-card); }
.welcome.is-active { display: block; }
.welcome-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.welcome-title { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.welcome-sub { color: var(--n600); margin: 0; }

/* ----- The form ----- */
.lvform { background: #fff; border: 1px solid rgba(229, 229, 229, .9); border-radius: var(--r-panel); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); overflow: hidden; }
.lvform-progress { display: flex; align-items: center; gap: 14px; padding: 16px 28px; border-bottom: 1px solid var(--n200); background: var(--n50); }
.lvform-bar { flex: 1; height: 6px; background: var(--n200); border-radius: 999px; overflow: hidden; }
.lvform-fill { display: block; height: 100%; width: 0; background: var(--navy); border-radius: 999px; transition: width .28s ease; }
.lvform-count { font-size: 13px; font-weight: 700; color: var(--n700); font-variant-numeric: tabular-nums; }
.lvform-step { display: none; padding: 32px 28px 8px; border: 0; margin: 0; min-width: 0; }
.lvform-step.is-active { display: block; }
.lvform-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.lvform-tag::before { content: ""; width: 24px; height: 2px; background: var(--gold); }
.lvform-num { float: right; padding: 0; font-size: 12px; font-weight: 600; color: var(--n400); }
/* .lvform-state is the SUBMITTING / SUCCESS panel, not a heading — it must be
   hidden until the engine activates it. */
.lvform-state { display: none; padding: 48px 24px; text-align: center; }
.lvform-state.is-active { display: block; }
.lvform-state h3 { font-size: clamp(21px, 2.6vw, 26px); font-weight: 700; margin: 0 0 10px; }
.lvform-state p { color: var(--n600); max-width: 34rem; margin: 0 auto 20px; }
.lvform-step h3 { clear: both; font-size: clamp(22px, 2.6vw, 28px); margin: 12px 0 14px; }
.lvform-help { color: var(--n600); font-size: 14.5px; margin: -6px 0 18px; }
.lvform-err { color: var(--danger); font-size: 13.5px; min-height: 20px; margin: 10px 0 0; }
.lvform-nav { display: flex; gap: 12px; align-items: center; padding: 12px 28px 28px; }
.lvform-nav .btn-navy { margin-left: auto; padding: 14px 28px; }

/* ----- Fields ----- */
.field { margin-bottom: 18px; }
.lbl { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--n700); }
.inp { width: 100%; font: inherit; font-size: 15px; color: var(--n900); background: #fff; border: 1px solid var(--n300); border-radius: var(--r-btn); padding: 12px 16px; transition: border-color .2s; }
.inp:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.inp[readonly], .inp.is-locked { background: var(--n100); color: var(--n500); }
.inp.is-held { border-color: var(--navy); background: #f4f6fa; }
.hint { font-size: 12.5px; color: var(--n500); }
.field-grid { display: grid; gap: 16px; }
.field-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legal { font-size: 13px; color: var(--n600); line-height: 1.65; margin-bottom: 16px; }

/* ----- Options ----- */
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; border: 1px solid var(--n200); border-radius: var(--r-btn); background: #fff; transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--n300); }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.opt:has(input:checked) { border-color: var(--navy); background: rgba(11, 27, 61, .05); box-shadow: inset 0 0 0 1px var(--navy); }
.opt-key { flex: 0 0 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: var(--n100); border: 1px solid var(--n200); color: var(--n500); font-size: 12px; font-weight: 700; }
.opt:has(input:checked) .opt-key { background: var(--navy); border-color: var(--navy); color: #fff; }
.opt-text { font-weight: 600; font-size: 14.5px; color: var(--n900); }
.opt:has(input:checked) .opt-text { color: var(--navy); }
.opt-note { display: block; font-weight: 400; font-size: 12.5px; color: var(--n500); }

/* ----- Sliders. The engine writes the fill as --pct on the input. ----- */
.slider-wrap { padding: 4px 0 2px; }
.slider-val { font-size: 36px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.slider-cap { margin-left: 8px; font-size: 13px; color: var(--n500); }
.slider { width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 999px; margin: 18px 0 8px; background: linear-gradient(to right, var(--navy) 0 var(--pct, 35%), var(--n200) var(--pct, 35%) 100%); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--navy); box-shadow: 0 0 0 3px rgba(197, 168, 105, .35); cursor: pointer; }
.slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--navy); cursor: pointer; }
.slider-ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--n500); }

/* ----- MCA rows ----- */
.mca-rows { display: grid; gap: 10px; margin-bottom: 12px; }
.mca-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; }

/* ----- Uploads ----- */
.drop { position: relative; display: block; border: 2px dashed var(--n300); border-radius: var(--r-card); padding: 28px; text-align: center; cursor: pointer; background: var(--n50); }
.drop:hover, .drop.is-dragging { border-color: var(--navy); background: #fff; }
.drop.has-files { border-style: solid; }
.drop p { margin: 0 0 4px; color: var(--navy); }
.drop small { color: var(--n500); }
.drop input[type="file"] { position: absolute; opacity: 0; width: 0; height: 0; }
.filelist { list-style: none; margin: 14px 0 0; padding: 0; }
.upbar { height: 6px; background: var(--n200); border-radius: 999px; overflow: hidden; margin: 12px auto; max-width: 320px; }
.upbar > i { display: block; height: 100%; width: 0; background: var(--navy); transition: width .2s ease; }
.file-item { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--n200); border-radius: var(--r-btn); background: #fff; margin-bottom: 8px; position: relative; overflow: hidden; }
.file-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { font-size: 12.5px; color: var(--n500); }
.file-x { background: none; border: 0; color: var(--n400); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px; }
.file-x:hover { color: var(--danger); }
.file-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold); transition: width .2s ease; }
.file-item.is-done .file-bar { width: 100% !important; background: var(--navy); }
.file-item.is-failed .file-bar { background: var(--danger); }

/* ----- Held ("on file") ----- */
.held-note { background: var(--n50); border: 1px solid var(--n200); border-radius: var(--r-card); padding: 14px 16px; margin-bottom: 14px; font-size: 14px; color: var(--n700); }
.held-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border-radius: 6px; padding: 4px 12px; font-size: 12px; font-weight: 700; }
.keep-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; color: var(--n700); }

/* ----- Signature ----- */
.sign-box { border: 1px solid var(--n300); border-radius: var(--r-card); padding: 14px; background: #fff; position: relative; }
.sign-pad { width: 100%; height: 190px; touch-action: none; display: block; cursor: crosshair; }
.sign-rule { display: block; border-top: 1px solid var(--n700); margin: 0 14px; }
.sign-hint { position: absolute; left: 0; right: 0; top: 46%; text-align: center; color: var(--n300); font-size: 15px; pointer-events: none; }
.sign-actions { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 16px; font-size: 14px; color: var(--n600); }
.sign-clear { background: none; border: 0; color: var(--n500); font: inherit; cursor: pointer; text-decoration: underline; }

/* ----- Banner / submitting / success ----- */
.banner { border-radius: var(--r-card); padding: 14px 18px; margin-bottom: 16px; font-size: 14.5px; display: none; }
.banner.is-active { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.spinner { width: 36px; height: 36px; margin: 0 auto 16px; border-radius: 50%; border: 4px solid var(--n200); border-top-color: var(--navy); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-mark { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: #ecfdf5; border: 1px solid #a7f3d0; color: var(--ok); display: grid; place-items: center; font-size: 26px; }

/* ----- Rail ----- */
.rail-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rail-item { font-size: 12px; font-weight: 600; color: var(--n500); background: #fff; border: 1px solid var(--n200); border-radius: 6px; padding: 4px 12px; }
.rail-item.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.rail-item.is-done { color: var(--navy); border-color: rgba(197, 168, 105, .7); }
.rail-fine { font-size: 12.5px; color: var(--n500); margin: 0 0 64px; }

/* ----- Footer ----- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-dd); color: #d4d4d4; padding: 80px 0 48px; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 12.5%; width: 75%; height: 96px; background: rgba(197, 168, 105, .05); filter: blur(64px); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 5fr 3fr 2fr 2fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 20px; }
.footer-about { margin: 24px 0; max-width: 24rem; font-size: 14px; color: var(--n400); }
.footer-badge { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--n400); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.site-footer a { color: var(--n400); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .btn-glass { color: #fff; }
.footer-cta-copy { font-size: 12.5px; color: var(--n400); }
.footer-fine { position: relative; padding-top: 32px; font-size: 12px; line-height: 1.7; color: var(--n500); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .05); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.site-footer .footer-legal a { color: var(--n500); }
.site-footer .footer-legal a:hover { color: var(--n400); }

/* ----- Legal / 404 pages ----- */
.page-head { padding: 72px 0 32px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); }
.page-head .lede { font-size: 18px; }
.prose-panel { padding: 40px; margin-bottom: 96px; background: #fff; border: 1px solid rgba(229, 229, 229, .9); border-radius: var(--r-panel); }
.prose-panel h2 { font-size: 20px; font-weight: 700; margin: 28px 0 8px; letter-spacing: -.01em; }
.prose-panel h2:first-child { margin-top: 0; }
.prose-panel p { color: var(--n600); max-width: 70ch; }

@media (max-width: 1024px) {
  .hero-inner, .split-head, .sectors-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { margin: 24px auto 0; max-width: 460px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callout, .guidance { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sectors-grid .photo-card.tall { order: 2; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-toggle ~ .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 24px; background: #fff; border-bottom: 1px solid var(--n200); box-shadow: 0 10px 15px rgba(0, 0, 0, .08); font-size: 16px; }
  .nav-toggle ~ .nav.is-open { display: flex; }
  .header-inner > .nav:not(.nav-toggle ~ .nav) { flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
  .nav-toggle ~ .nav a { padding: 12px 0; border-bottom: 1px solid var(--n100); color: var(--n700); }
  .nav-toggle ~ .nav .nav-quiet { margin-left: 0; }
  .nav-toggle ~ .nav .nav-cta { margin-top: 16px; border-bottom: 0; padding: 12px; color: #fff; }
}
@media (max-width: 640px) {
  .band { padding: 64px 0; }
  .band-head, .split-head { margin-bottom: 40px; }
  .hero { padding: 40px 0 72px; }
  .checks, .grid-3, .grid-4, .photo-pair, .sector-list, .choices, .opts { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-note { left: 0; }
  .card, .callout, .guidance, .contact-panel, .prose-panel, .lv-dialog { padding: 24px; }
  .field-grid-2, .field-grid-3, .mca-row { grid-template-columns: 1fr; }
  .lvform-step { padding: 24px 18px 6px; }
  .lvform-nav { padding: 10px 18px 22px; }
  .lvform-nav .hint { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
