/* HP Express Ltd — v2 visual system (Forge-inspired, HPEX branding)
   Tokens: Inter; H1 72/600 -0.045em; H2 44/600 -0.035em; eyebrow 12/600 0.24em uppercase;
   dark base + off-white/white alternating sections; single accent: HPEX orange #F97316. */
:root {
  --ink-950: #161E27;     /* deepest: hero overlay, footer bottom */
  --ink-900: #1E2933;     /* deep charcoal: hero / CTA / footer */
  --ink-800: #26333F;     /* charcoal: headings / text */
  --ink-600: #52606D;     /* body copy on light */
  --ink-400: #8A97A3;
  --off-white: #F7F7F5;
  --white: #FFFFFF;
  --grey-100: #F4F6F7;
  --border: #DBE1E6;
  --accent: #F97316;      /* HPEX orange — the single accent */
  --accent-hover: #FB8A3C;
  --accent-text: #C2410C; /* same orange, darkened for small text on light backgrounds (WCAG AA) */
  --radius: 16px;
  --radius-lg: 24px;
  --pill: 9999px;
  --shadow: 0 1px 2px rgba(22,30,39,.04), 0 12px 32px rgba(22,30,39,.08);
  --shadow-lg: 0 24px 60px rgba(22,30,39,.18);
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max: 1232px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-800); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; color: var(--ink-800); }
h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.04; letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 4.6vw, 44px); line-height: 1.1; letter-spacing: -0.035em; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--accent); color: var(--ink-950); padding: 10px 16px; border-radius: var(--pill); font-weight: 600; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Eyebrow */
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .24em; color: var(--accent-text); margin-bottom: 16px; }
.hero .eyebrow, .stats-band .eyebrow { color: var(--accent); }
.eyebrow-sm { font-size: 11px; margin-bottom: 4px; }

/* Buttons: pills with circular arrow icon */
.btn { display: inline-flex; align-items: center; gap: 12px; font: 600 15px/1 var(--font); text-decoration: none; border-radius: var(--pill); padding: 8px 8px 8px 22px; min-height: 48px; border: 1px solid transparent; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn-lg { min-height: 54px; font-size: 16px; padding-left: 26px; }
.btn-sm { min-height: 42px; font-size: 14px; padding-left: 18px; }
.btn-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(22,30,39,.14); transition: transform .25s var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--ink-950); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.28); padding-right: 26px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.btn-dark { background: var(--ink-900); color: var(--white); margin-top: 32px; }
.btn-dark .btn-icon { background: rgba(255,255,255,.12); }
.btn-dark:hover { background: var(--ink-800); }

/* Header: fixed floating glass bar */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; padding: 0 12px; pointer-events: none; }
.header-bar { pointer-events: auto; max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 10px 0 20px; border-radius: 20px; background: rgba(22,30,39,.62); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: background-color .3s var(--ease); }
.site-header.is-scrolled .header-bar { background: rgba(22,30,39,.88); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo-mark { flex: none; display: block; width: auto; height: 36px; }
.logo-full { display: block; width: auto; height: 63px; }
.logo-text { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.logo-sub { font-weight: 500; color: var(--ink-400); margin-left: 5px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a { position: relative; display: block; padding: 8px 12px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s; }
.site-nav ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav ul a:hover, .site-nav ul a.is-active { color: var(--white); }
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (min-width: 921px) {
  .site-nav { display: flex; align-items: center; gap: 20px; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; cursor: pointer; }
  .nav-toggle-bar { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-bar { height: 60px; padding: 0 8px 0 16px; position: relative; }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 12px; border-radius: 20px; background: rgba(22,30,39,.96); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 14px 12px; font-size: 16px; }
  .site-nav ul a::after { display: none; }
  .nav-cta { display: flex; justify-content: space-between; margin-top: 8px; }
}

/* Photo placeholders: dark gradient fallback + label; real <img> covers both when the file exists */
.ph { position: relative; overflow: hidden; background-color: var(--ink-900);
  background-image:
    radial-gradient(120% 80% at 85% 15%, rgba(249,115,22,.16), transparent 55%),
    radial-gradient(90% 70% at 10% 100%, rgba(82,96,109,.45), transparent 60%),
    linear-gradient(160deg, #2B3946 0%, #1E2933 45%, #161E27 100%); }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph-label { position: absolute; z-index: 0; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); font-size: 12px; font-weight: 500; color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.28); }
.hero-media .ph-label { z-index: 2; }
.hero-media .ph-img { object-position: 58% 50%; }
.ph.has-photo .ph-label { display: none; }
.ph-label::before { content: ""; width: 14px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; opacity: .8; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; padding: 140px 0 160px; color: var(--white); background: var(--ink-900); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media .ph-label { left: auto; right: var(--gutter); bottom: 132px; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(22,30,39,.92) 0%, rgba(22,30,39,.7) 45%, rgba(22,30,39,.25) 100%), linear-gradient(0deg, rgba(22,30,39,.6), transparent 40%); }
.hero-inner { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero-lead { margin-top: 24px; max-width: 560px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Stats card overlapping the hero */
.stats-wrap { position: relative; z-index: 3; margin-top: -96px; background: linear-gradient(transparent 96px, var(--off-white) 96px); }
.stats-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 28px 26px; border-right: 1px solid var(--border); display: flex; flex-direction: column-reverse; gap: 6px; }
.stat:last-child { border-right: 0; }
.stat dd { font-size: 36px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; color: var(--ink-800); }
.stat dd.tbc { color: var(--ink-400); }
.stats-grid-2 { grid-template-columns: repeat(2, 1fr); } /* while Drivers/Vans stats are hidden */
.stat dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-600); }
.stats-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; background: var(--ink-900); }
.stats-band-text { font-size: 14px; color: rgba(255,255,255,.7); }
.partner-chip { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 15px; color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }

/* Sections */
.section { padding: clamp(80px, 10vw, 120px) 0; }
.section-off { background: var(--off-white); }
.section-white { background: var(--white); }
.section-head { margin-bottom: 48px; }
.section-head.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 64px; align-items: end; }
.section-head.split h2 { max-width: 15ch; }
.section-intro { font-size: 17px; line-height: 1.7; color: var(--ink-600); max-width: 520px; }
h2 + .section-intro { margin-top: 20px; }

/* Image cards (What we do) */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.img-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: var(--white); box-shadow: var(--shadow); isolation: isolate; }
.img-card .ph { position: absolute; inset: 0; z-index: -1; transition: transform .6s var(--ease); }
.img-card .ph-label { top: 20px; bottom: auto; left: auto; right: 20px; }
.img-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(22,30,39,.92) 0%, rgba(22,30,39,.35) 55%, transparent 100%); }
.img-card:hover .ph { transform: scale(1.04); }
.card-num { position: absolute; top: 20px; left: 20px; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: var(--pill); background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.img-card-body { padding: 28px; }
.img-card h3 { color: var(--white); font-size: 26px; letter-spacing: -0.03em; }
.img-card p { margin-top: 8px; color: rgba(255,255,255,.78); font-size: 15px; max-width: 420px; }

/* Two-column image + numbered list */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ph-tall { border-radius: var(--radius-lg); min-height: 520px; height: 100%; box-shadow: var(--shadow); }
.num-list { margin-top: 32px; border-top: 1px solid var(--border); }
.num-list > li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.num { font-size: 12px; font-weight: 600; color: var(--accent-text); padding-top: 3px; }
.num-list h3 { font-size: 17px; }
.num-list p, .ticks li { margin-top: 4px; font-size: 15px; color: var(--ink-600); }
.ticks { margin-top: 6px; }
.ticks li { position: relative; padding-left: 22px; margin-top: 8px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.step { padding: 32px; border-radius: var(--radius-lg); background: var(--off-white); border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink-900); color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--ink-600); }

/* Closing CTA band */
.cta-band { background: var(--ink-900); color: var(--white); padding: clamp(72px, 9vw, 112px) 0; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 64px; align-items: center; }
.cta-rule { display: block; width: 48px; height: 2px; background: var(--accent); margin-bottom: 32px; }
.cta-band h2 { color: var(--white); max-width: 16ch; }
.cta-band p { margin-top: 20px; max-width: 480px; font-size: 17px; color: rgba(255,255,255,.72); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-actions .btn { margin-bottom: 8px; }
.cta-link { font-size: 15px; color: rgba(255,255,255,.75); text-decoration: none; }
.cta-link:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.cta-address { font-style: normal; font-size: 15px; color: rgba(255,255,255,.75); }

/* Footer */
.site-footer { background: var(--ink-950); color: rgba(255,255,255,.65); font-size: 14px; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 18px; max-width: 360px; line-height: 1.7; }
.footer-heading { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; position: relative; font-size: 13px; color: rgba(255,255,255,.5); }

.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255,255,255,.08); }

/* Mobile floating Apply (WhatsApp) button — hidden until scrolled past the hero */
.fab-apply { display: none; }
@media (max-width: 720px) {
  .fab-apply { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px; border-radius: var(--pill); background: var(--accent); color: var(--ink-950); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 10px 28px rgba(22,30,39,.35); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
  .fab-apply.is-visible { opacity: 1; visibility: visible; transform: none; }
}

/* Scroll-reveal (fade-up). Only hidden when JS is running; respects reduced motion. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.ph-img { opacity: 0; filter: blur(12px); transition: opacity .6s var(--ease), filter .8s var(--ease); }
.ph-img.is-loaded, .no-js .ph-img { opacity: 1; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ph-img { filter: none; }
  .img-card:hover .ph, .step:hover, .btn:hover .btn-icon { transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .two-col { gap: 40px; }
  .ph-tall { min-height: 440px; }
}
@media (max-width: 860px) {
  .section-head.split, .two-col, .cta-inner { grid-template-columns: 1fr; }
  .two-col-rev > .ph-tall { order: -1; }
  .ph-tall { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .stats-grid-2 .stat:nth-child(-n+2) { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero { min-height: 0; padding: 120px 0 172px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .hero-actions .btn-ghost { justify-content: center; }
  .hero-media .ph-label { right: auto; left: var(--gutter); bottom: 100px; }
  .hero-media .ph-img { object-position: 62% 50%; }
  .stats-wrap { margin-top: -80px; background: linear-gradient(transparent 80px, var(--off-white) 80px); }
  .stat { padding: 20px; }
  .stat dd { font-size: 28px; }
  .stat dt { font-size: 11px; letter-spacing: .1em; }
  .stats-band { padding: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .img-card { min-height: 280px; }
  .img-card h3 { font-size: 22px; }
  .img-card-body { padding: 22px; }
  .step { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; padding-bottom: 96px; }
}

/* ==========================================================================
   Apply page (apply.html, apply-thanks.html, apply.php error page)
   ========================================================================== */
.page-hero { position: relative; background: var(--ink-900); color: var(--white); padding: 148px 0 64px; overflow: hidden;
  background-image: radial-gradient(80% 120% at 100% 0%, rgba(249,115,22,.18), transparent 55%), linear-gradient(160deg, #26333F 0%, #1E2933 50%, #161E27 100%); }
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { color: var(--white); font-size: clamp(36px, 6vw, 60px); max-width: 18ch; }
.page-hero-lead { margin-top: 20px; max-width: 600px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.82); }
.page-hero-alt { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.7); }
.page-hero-alt a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.page-hero-alt a:hover { color: var(--accent-hover); }

.apply-section { padding-top: clamp(48px, 7vw, 80px); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); grid-template-rows: auto 1fr; gap: 24px 32px; align-items: start; }
.rules-card { grid-column: 1; grid-row: 1; }
.form-card { grid-column: 2; grid-row: 1 / span 2; }
.wa-card { grid-column: 1; grid-row: 2; }
.side-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.side-card-dark { background: var(--ink-900); border-color: var(--ink-900); color: rgba(255,255,255,.78); }
.side-title { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; color: var(--ink-800); }
.side-card-dark .side-title { color: var(--white); }
.side-subtitle { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-600); }
.rules-card .ticks li { font-size: 15px; color: var(--ink-800); }
.wa-card p:not(.side-title) { margin-top: 8px; font-size: 15px; line-height: 1.6; }
.wa-btn { margin-top: 20px; padding: 0 22px; white-space: normal; text-align: left; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-title { font-size: clamp(26px, 3.4vw, 32px); }
.form-note { margin-top: 8px; font-size: 15px; color: var(--ink-600); }
.opt { font-weight: 400; color: var(--ink-600); }

.apply-form { margin-top: 8px; }
.form-group { border: 0; padding: 28px 0 4px; border-bottom: 1px solid var(--border); min-width: 0; }
.form-group > legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.form-group > legend + * { clear: left; }
.field { margin-bottom: 22px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field label:not(.choice), .choice-group > legend { display: block; font-size: 15px; font-weight: 600; color: var(--ink-800); margin-bottom: 8px; line-height: 1.4; }
.choice-group { border: 0; padding: 0; }
.choice-group > legend { float: left; width: 100%; }
.choice-group > legend + * { clear: left; }
.field-hint { margin-top: 6px; font-size: 13px; color: var(--ink-600); }
.apply-form input[type="text"], .apply-form input[type="tel"], .apply-form input[type="email"], .apply-form input[type="date"], .apply-form select, .apply-form textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 16px; font: 400 16px/1.4 var(--font); color: var(--ink-800);
  background: var(--white); border: 1.5px solid #C5CED6; border-radius: 12px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.apply-form textarea { resize: vertical; min-height: 110px; }
/* Date of birth: keep the native date field the same height/alignment as the others (iOS shrinks it otherwise) */
.apply-form input[type="date"] { min-width: 0; text-align: left; }
.apply-form input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.4em; }
.apply-form input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }
.apply-form select { padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2326333F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; }
.apply-form input:hover, .apply-form select:hover, .apply-form textarea:hover { border-color: var(--ink-400); }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(249,115,22,.18); }
.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px 10px 16px; border: 1.5px solid #C5CED6; border-radius: var(--pill); font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: var(--ink-400); }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(249,115,22,.08); }
.choice input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); cursor: pointer; }
.choice input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.choices .choice { min-width: 110px; }
.consent-field { margin-top: 28px; }
.choice-consent { align-items: flex-start; border-radius: 16px; padding: 16px 18px; font-size: 15px; font-weight: 400; line-height: 1.55; color: var(--ink-800); }
.choice-consent input { margin-top: 2px; }

/* Errors */
.field-error { display: none; margin-top: 8px; font-size: 14px; font-weight: 500; color: #B42318; }
.field.has-error .field-error { display: flex; gap: 6px; align-items: flex-start; }
.field.has-error .field-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #B42318; color: #fff; font-size: 12px; font-weight: 700; }
.field.has-error input[type="text"], .field.has-error input[type="tel"], .field.has-error input[type="email"], .field.has-error input[type="date"], .field.has-error select, .field.has-error textarea, .field.has-error .choice { border-color: #B42318; }
.form-alert { margin-top: 20px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid #F2B8B5; background: #FEF3F2; color: #7A271A; font-size: 15px; line-height: 1.55; }
.form-alert:focus { outline: none; box-shadow: 0 0 0 4px rgba(180,35,24,.15); }
.form-alert a { color: inherit; font-weight: 600; }
.form-alert ul { margin-top: 6px; padding-left: 18px; list-style: disc; }
.eligibility-note { margin: -4px 0 22px; padding: 14px 16px; border-radius: 14px; background: var(--grey-100); border-left: 3px solid var(--accent); font-size: 14px; line-height: 1.55; color: var(--ink-800); }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; }
.form-actions .btn[disabled] { opacity: .65; cursor: progress; }
.form-alt { font-size: 15px; color: var(--ink-600); }
.form-alt a, .privacy-notice a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }

.privacy-notice { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.privacy-notice h2 { font-size: 18px; letter-spacing: -0.01em; }
.privacy-notice ul { margin-top: 12px; }
.privacy-notice li { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-600); }
.privacy-notice strong { color: var(--ink-800); font-weight: 600; }

/* Thanks / error pages */
.thanks-card { max-width: 720px; }
.thanks-card .btn { margin-top: 8px; }
.thanks-card p { margin-top: 14px; font-size: 16px; color: var(--ink-600); }
.thanks-card p:first-of-type { margin-top: 0; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-outline { background: transparent; color: var(--ink-800); border-color: var(--border); padding-right: 22px; }
.btn-outline:hover { border-color: var(--ink-400); }

@media (max-width: 960px) {
  .apply-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 20px; }
  .rules-card, .form-card, .wa-card { grid-column: 1; grid-row: auto; }
}
@media (max-width: 600px) {
  .page-hero { padding: 116px 0 44px; }
  .page-hero-lead { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .side-card { padding: 22px; }
  .form-actions .btn { width: 100%; justify-content: space-between; }
  .wa-btn { width: 100%; justify-content: center; }
  .choices .choice { flex: 1 1 0; justify-content: flex-start; }
}
.text-link { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }
.step-shot { margin-top: 12px; }
.step-shot img { display: block; width: 100%; max-width: 320px; height: auto; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.map-embed { margin-top: 20px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }
/* Home stats: 2026 figures + Founded */
.stats-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.stats-head { padding: 28px 28px 0; margin-bottom: 0; }
.stats-figures .stat { padding-top: 18px; padding-bottom: 18px; }
.stats-note { padding: 4px 28px 24px; font-size: 13px; color: var(--ink-600); }
.stats-grid.stats-founded { grid-template-columns: 1fr; align-content: center; border-left: 1px solid var(--border); }
.stats-founded .stat { border-right: 0; border-bottom: 0; }
@media (max-width: 860px) {
  .stats-top { grid-template-columns: minmax(0, 1fr); }
  .stats-grid.stats-founded { border-left: 0; border-top: 1px solid var(--border); }
  .stats-founded .stat { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
  .stats-founded .stat dd { font-size: 28px; }
}
@media (max-width: 600px) {
  .stats-head { padding: 20px 20px 0; letter-spacing: .12em; }
  .stats-figures .stat { padding: 12px 20px; }
  .stats-figures .stat dd { font-size: 24px; }
  .stats-note { padding: 2px 20px 18px; font-size: 12px; }
  .stats-founded .stat { padding: 14px 20px; }
  .stats-founded .stat dd { font-size: 24px; }
}
/* Header: keep 6 nav links + Apply on one line on small desktops (921-1100px) */
@media (min-width: 921px) and (max-width: 1100px) {
  .header-bar { gap: 12px; }
  .site-nav { gap: 12px; }
  .site-nav ul { gap: 0; }
  .site-nav ul a { padding: 8px 8px; font-size: 13.5px; white-space: nowrap; }
  .site-nav ul a::after { left: 8px; right: 8px; }
  .logo-text { white-space: nowrap; }
}
/* Home: Meet the director */
.director-grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.director-photo { display: block; }
.director-photo img { display: block; width: 100%; max-width: 440px; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .director-grid { grid-template-columns: minmax(0, 1fr); }
  .director-photo img { max-width: 420px; }
}

/* Home stats: centre the "2026 so far" heading and the note, both inside the card padding (2026-10-13) */
.stats-card .stats-2026 .stats-head { display: block; padding: 28px 28px 0; margin: 0; text-align: center; }
.stats-card .stats-2026 .stats-note { display: block; padding: 4px 28px 24px; margin: 0; text-align: center; }
@media (max-width: 600px) {
  .stats-card .stats-2026 .stats-head { padding: 20px 20px 0; }
  .stats-card .stats-2026 .stats-note { padding: 2px 20px 18px; }
}

/* Date of birth: Day / Month / Year dropdowns side by side (apply.html) */
.dob-selects { display: grid; grid-template-columns: minmax(0, 76fr) minmax(0, 124fr) minmax(0, 92fr); gap: 8px; max-width: 420px; }
.apply-form .dob-selects select { padding-left: 12px; padding-right: 30px; background-position: right 12px center; }
@media (max-width: 600px) {
  /* Day and Year take just the width they need, Month gets the rest (fits "September" from ~360px wide) */
  .dob-selects { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; }
  .apply-form .dob-selects select { padding-left: 8px; padding-right: 24px; background-position: right 8px center; }
}
