  :root {
    --navy: #0b1b2e;
    --navy-mid: #10253d;
    --accent: #6cc8e8;
    --accent-bright: #6cc8e8;
    --off-white: #f5f7fa;
    --line: #e2e7ee;
    --muted: #5b6776;
    --white: #ffffff;
    /* aliases used by the application form styles */
    --gold: var(--accent);
    --gold-light: var(--accent-bright);
    --text-body: var(--muted);
    --navy-light: #17314f;
    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 96px; }
  body { font-family: var(--font); background: var(--white); color: var(--navy); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

  .wrap { max-width: 1160px; margin: 0 auto; }
  h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 12px; left: 50%; transform: translateX(-50%); width: min(1160px, calc(100% - 32px)); z-index: 100;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
    border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 28px rgba(11,27,46,0.07);
    padding: 0 12px 0 20px; display: flex; align-items: center; justify-content: space-between; height: 64px;
  }
  .nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
  .logo-img { height: 48px; width: auto; display: block; }
  .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
  .nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
  .nav-links a:hover { color: var(--navy); }
  .nav-links .nav-cta, .nav-cta {
    background: var(--navy); color: var(--white); padding: 10px 20px; border-radius: 8px;
    font-weight: 600; font-size: 14px; text-decoration: none; transition: background 0.2s;
  }
  .nav-links .nav-cta:hover, .nav-cta:hover { background: var(--accent); color: var(--navy); }

  /* ── BUTTONS ── */
  .btn-primary {
    display: inline-block; background: var(--navy); color: var(--white); padding: 15px 28px; border-radius: 8px;
    font-weight: 600; font-size: 15px; text-decoration: none; transition: background 0.2s;
  }
  .btn-primary:hover { background: var(--accent); color: var(--navy); }
  .btn-outline {
    display: inline-block; color: var(--navy); padding: 14px 28px; border-radius: 8px;
    font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid var(--line); transition: border-color 0.2s;
  }
  .btn-outline:hover { border-color: var(--navy); }

  /* ── HERO ── */
  .hero { padding: 168px 5% 96px; background: var(--white); }
  .hero-content { max-width: 1160px; margin: 0 auto; }
  .hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; max-width: 14ch; margin-bottom: 28px; letter-spacing: -0.035em; }
  .hero p { color: var(--muted); font-size: 19px; line-height: 1.65; max-width: 580px; margin-bottom: 40px; }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-stats { max-width: 1160px; margin: 72px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-card { background: var(--off-white); border-radius: 16px; padding: 28px 28px 26px; }

  .stat-num { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
  .stat-label { color: var(--muted); font-size: 15px; }

  /* ── BANNER ── */
  .banner { height: 460px; background-size: cover; background-position: center 60%; position: relative; }
  .banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(11,27,46,0.78) 0%, rgba(11,27,46,0.25) 65%, transparent 100%); }
  .banner-inner { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; padding: 0 5%; }
  .banner-text { max-width: 1160px; width: 100%; margin: 0 auto; color: var(--white); font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; }

  /* ── TRUST BAR ── */
  .trust-bar { background: var(--off-white); padding: 18px 24px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
  .trust-item { color: var(--navy); font-size: 14.5px; font-weight: 700; }

  /* ── SECTIONS ── */
  .section-title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; margin-bottom: 56px; max-width: 20ch; }
  #services, #process, #about { padding: 112px 5%; }
  #services > *, #process > *, #about > * { max-width: 1160px; margin-left: auto; margin-right: auto; }

  /* services */
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .service-card { background: var(--white); }
  .service-card-img { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 12px; background: var(--off-white); margin-bottom: 22px; }
  .service-body h3 { font-size: 21px; margin-bottom: 10px; line-height: 1.25; }
  .service-body p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin-bottom: 18px; }
  .service-link { display: inline-block; background: var(--off-white); color: var(--navy); font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 9px 18px; border-radius: 999px; transition: background 0.2s; }
  .service-link:hover { background: var(--accent); }

  /* process */
  #process { background: var(--off-white); }
  .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
  .process-step { background: var(--white); border-radius: 16px; padding: 28px 24px; }
  .step-number { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--navy); font-size: 14px; font-weight: 700; margin-bottom: 18px; }
  .process-step h4 { font-size: 20px; margin-bottom: 10px; }
  .process-step p { color: var(--muted); font-size: 15px; line-height: 1.65; }
  .process-cta { margin-top: 56px; }

  /* about */
  .about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .about-map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
  .about-map-wrap img { width: 100%; display: block; }
  .about-content .section-title { margin-bottom: 24px; }
  .about-content p { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 20px; }
  .about-features { list-style: none; margin: 28px 0 36px; display: grid; gap: 8px; }
  .about-features li { display: flex; gap: 14px; padding: 14px 18px; background: var(--off-white); border-radius: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }

  .feat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 7px; }
  .about-contact { display: flex; gap: 40px; flex-wrap: wrap; }
  .contact-item { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
  .contact-item a { color: var(--navy); font-size: 18px; font-weight: 600; text-decoration: none; }
  .contact-item a:hover { color: var(--muted); }

  /* ── CAREERS ── */
  #careers { background: var(--navy); padding: 112px 5%; }
  .careers-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .careers-desc { position: sticky; top: 104px; }
  #careers .section-title { color: var(--white); margin-bottom: 24px; }
  .careers-desc p { color: rgba(255,255,255,0.7); font-size: 17px; line-height: 1.7; margin-bottom: 28px; }
  .req-list { list-style: none; display: grid; gap: 8px; }
  .req-list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.9); font-size: 15.5px; padding: 14px 18px; background: rgba(255,255,255,0.07); border-radius: 12px; }
  .req-check { color: var(--accent-bright); font-weight: 700; }

  /* form */
  .careers-form-wrap {
    background: var(--white); border-radius: 12px; padding: 44px 40px; box-shadow: 0 24px 60px rgba(8,20,36,0.35);
  }
  .form-title { font-family: var(--font); font-size: 26px; color: var(--navy); margin-bottom: 30px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { margin-bottom: 18px; }
  .form-group label { display: block; font-size: 12px; letter-spacing: 0.1em; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid rgba(13,27,42,0.15); border-radius: 4px;
    background: var(--white); color: var(--navy); font-family: 'DM Sans', sans-serif;
    font-size: 15px; transition: border-color 0.2s;
    outline: none;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { border-color: var(--gold); }
  .form-group textarea { resize: vertical; min-height: 90px; }
  .form-note { font-size: 13px; color: var(--text-body); margin: -14px 0 22px; }
  .req-star { color: #b3261e; }
  .form-section { border: none; background: var(--off-white); border-radius: 14px; padding: 22px 22px 8px; margin: 0 0 16px; min-width: 0; }
  .form-section-title { font-family: var(--font); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); margin: 0 0 20px; }
  .form-hint { font-size: 12.5px; line-height: 1.55; color: var(--text-body); margin-top: 7px; }
  .form-group.q label { text-transform: none; letter-spacing: 0; font-size: 14px; line-height: 1.45; font-weight: 600; }
  .form-group[hidden] { display: none; }
  .form-group input[type="file"] { padding: 10px 12px; background: var(--white); }
  .repeat-list { display: grid; gap: 12px; margin-bottom: 10px; }
  .repeat-item { position: relative; background: var(--white); border: 1.5px solid rgba(13,27,42,0.12); border-radius: 4px; padding: 16px; }
  .repeat-item .form-group { margin-bottom: 12px; }
  .repeat-item .form-group:last-child { margin-bottom: 0; }
  .repeat-item .form-group label { font-size: 11px; }
  .btn-add, .btn-remove { font-family: 'DM Sans', sans-serif; cursor: pointer; border-radius: 4px; font-size: 13px; font-weight: 600; }
  .btn-add { background: transparent; color: var(--navy); border: 1.5px dashed rgba(13,27,42,0.35); padding: 10px 16px; }
  .btn-add:hover { border-color: var(--gold); color: var(--gold); }
  .btn-remove { background: none; border: none; color: #8b1a1a; padding: 0; margin-top: 10px; }
  .btn-remove:hover { color: #5a0f0f; }
  .form-submit {
    width: 100%; padding: 16px; background: var(--navy);
    color: var(--white); border: none; border-radius: 4px;
    font-family: 'DM Sans', sans-serif; font-weight: 700;
    font-size: 13px; 
    cursor: pointer; transition: background 0.2s;
    margin-top: 8px;
  }
  .form-submit:hover { background: var(--navy-light); }
  .form-submit:disabled { opacity: 0.65; cursor: not-allowed; }
  .form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .form-status { margin-top: 16px; font-size: 14px; line-height: 1.5; min-height: 1.5em; }
  .form-status.success { color: #0d5c2e; }
  .form-status.error { color: #8b1a1a; }
  .form-success {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 16px;
  }
  .form-success[hidden] { display: none; }
  .form-success-icon {
    width: 72px; height: 72px; border-radius: 50%; background: #1f9d55;
    display: flex; align-items: center; justify-content: center;
  }
  .form-success-icon svg { width: 36px; height: 36px; }
  .form-success h3 { font-family: var(--font); font-size: 26px; color: var(--navy); }
  .form-success p { color: var(--text-body); font-size: 15px; line-height: 1.6; max-width: 340px; }
  .form-policy {
    color: var(--text-body);
    font-size: 12.5px;
    line-height: 1.55;
    margin-top: 4px;
  }
  .form-policy a {
    color: var(--navy);
    font-weight: 600;
    text-decoration-color: rgba(13,27,42,0.35);
    text-underline-offset: 3px;
  }
  .form-policy a:hover { color: var(--gold); }

  /* ── FOOTER ── */
  footer { width: min(1160px, 90%); margin: 0 auto 32px; background: var(--off-white); border-radius: 16px; padding: 56px 48px 32px; }
  .footer-inner { max-width: none; margin: 0 0 48px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
  .footer-logo-link { display: inline-flex; align-items: center; }
  .footer-logo-link .logo-img { height: 56px; }
  .footer-brand p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-top: 16px; max-width: 300px; }
  .footer-col h5 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
  .footer-col a { display: block; color: var(--muted); font-size: 14.5px; text-decoration: none; margin-bottom: 11px; line-height: 1.4; transition: color 0.2s; }
  .footer-col a:hover { color: var(--navy); }
  .footer-bottom { max-width: none; margin: 0; padding-top: 4px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13.5px; }
  .footer-bottom a { color: var(--muted); text-decoration: none; }
  .footer-bottom a:hover { color: var(--navy); }
  .footer-legal { display: inline-flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

  /* ── RESPONSIVE ── */
  @media (max-width: 1024px) {
    .hero { padding-top: 136px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .about-inner, .careers-inner { grid-template-columns: 1fr; gap: 48px; }
    .careers-desc { position: static; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  }
  @media (max-width: 640px) {
    nav { padding: 0 8px 0 14px; gap: 12px; height: 60px; }
    footer { width: calc(100% - 32px); padding: 36px 24px 24px; border-radius: 12px; }
    .form-section { padding: 18px 16px 4px; }
    .nav-links { gap: 0; }
    .nav-links li:not(:last-child) { display: none; }
    .nav-cta { padding: 9px 14px; font-size: 13px; white-space: nowrap; }
    .logo-img { height: 36px; }
    .nav-cta { padding: 8px 12px; font-size: 12.5px; }
    .hero { padding: 120px 5% 64px; }
    .hero p { font-size: 17px; }
    .hero-stats { grid-template-columns: 1fr; margin-top: 48px; gap: 12px; }

    .banner { height: 340px; }
    .trust-bar { padding: 20px var(--card-pad); flex-direction: column; align-items: flex-start; gap: 10px; }

    #services, #process, #about, #careers { padding: 72px 5%; }
    .section-title { margin-bottom: 36px; }
    .services-grid, .process-grid { grid-template-columns: 1fr; }
    .careers-form-wrap { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
    .footer-legal { justify-content: flex-start; }
  }

  /* ── CAREERS CTA / APPLY PAGE ── */
  .careers-single { grid-template-columns: 1fr; }
  .careers-single .careers-desc { position: static; max-width: 640px; }
  .btn-light { background: var(--white); color: var(--navy); margin-top: 32px; }
  .btn-light:hover { background: var(--accent-bright); color: var(--navy); }
  .apply-page { background: var(--off-white); padding: 128px 5% 96px; }
  .apply-inner { max-width: 760px; margin: 0 auto; }
  .apply-back { display: inline-block; color: var(--muted); font-size: 14.5px; font-weight: 500; text-decoration: none; margin-bottom: 20px; }
  .apply-back:hover { color: var(--navy); }
  .apply-title { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
  .apply-intro { color: var(--muted); font-size: 17px; line-height: 1.65; margin-bottom: 36px; max-width: 60ch; }
  .apply-page .careers-form-wrap { box-shadow: none; border: 1px solid var(--line); }
  @media (max-width: 640px) { .apply-page { padding: 104px 5% 64px; } }

  /* ── LAYOUT RHYTHM ──
     One spacing scale for the whole site: blocks are separated by --section-gap,
     grid items by --gap, and cards share --card-pad inside. Shapes: cards 16, tiles 12, controls 10, pills 999. */
  :root { --section-gap: 96px; --card-pad: 56px; --gap: 24px; --gutter: 5vw; --r-card: 16px; --r-tile: 12px; --r-control: 10px; }

  nav { width: min(1160px, calc(100% - 2 * var(--gutter))); }
  .hero { padding: 152px var(--gutter) 0; }
  .hero-stats { margin-top: 64px; gap: var(--gap); }

  .banner, .trust-bar, #services, #process, #about, #careers, footer {
    width: min(1160px, calc(100% - 2 * var(--gutter)));
    margin: var(--section-gap) auto 0;
  }
  .banner, .trust-bar, #process, #careers, footer { border-radius: var(--r-card); overflow: hidden; }
  .banner { height: 440px; }
  .banner-inner { padding: 0 var(--card-pad); }
  .banner-text { margin: 0; }
  /* Banner and trust bar read as one card: square off the joined edges. */
  .banner { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .trust-bar { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; padding: 22px var(--card-pad); gap: 12px 40px; }

  #services, #about { padding: 0; }
  #process, #careers { padding: var(--card-pad); }
  #process > * { max-width: none; }
  .careers-inner { max-width: none; }
  .section-title { margin-bottom: 40px; }
  .about-content .section-title, #careers .section-title { margin-bottom: 24px; }
  .services-grid, .process-grid { gap: var(--gap); }
  .about-inner, .careers-inner { gap: var(--card-pad); }
  .process-cta { margin-top: 40px; }

  footer { padding: var(--card-pad); margin-bottom: 24px; }
  .footer-inner { margin-bottom: 40px; gap: var(--gap); }

  .btn-primary, .btn-outline, .nav-cta, .nav-links .nav-cta { border-radius: var(--r-control); }

  /* ── APPLICATION PAGE ── */
  .apply-page { background: var(--white); padding: 152px var(--gutter) 0; }
  .apply-inner { max-width: 760px; }
  .apply-back { background: var(--off-white); padding: 8px 16px; border-radius: 999px; margin-bottom: 28px; font-weight: 600; font-size: 14px; }
  .apply-back:hover { background: var(--accent); }
  .apply-title { margin-bottom: 16px; }
  .apply-intro { margin-bottom: 40px; }
  .apply-page .careers-form-wrap { background: none; border: none; box-shadow: none; padding: 0; border-radius: 0; }
  .apply-page .form-note { margin: 0 0 var(--gap); }
  .apply-page .form-section { padding: 28px 28px 8px; margin: 0 0 var(--gap); border-radius: var(--r-card); }
  .apply-page .form-section-title { font-size: 18px; }
  .apply-page .form-group { margin-bottom: 20px; }
  .apply-page .form-group label { letter-spacing: 0; font-size: 13.5px; }
  .apply-page .form-group.q label { font-size: 14px; }
  .apply-page .form-group input, .apply-page .form-group select, .apply-page .form-group textarea { border: 1.5px solid transparent; border-radius: var(--r-control); background: var(--white); padding: 13px 16px; }
  .apply-page .form-group input:focus, .apply-page .form-group select:focus, .apply-page .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(108,200,232,0.3); }
  .apply-page .repeat-item { border: none; border-radius: var(--r-tile); padding: 20px; }
  .apply-page .repeat-item .form-group input, .apply-page .repeat-item .form-group textarea { background: var(--off-white); }
  .btn-add { background: var(--white); border: none; border-radius: 999px; padding: 10px 18px; }
  .btn-add:hover { background: var(--accent); color: var(--navy); }
  .apply-page .form-submit { border-radius: var(--r-control); margin-top: 8px; }
  .apply-page .form-submit:hover:not(:disabled) { background: var(--accent); color: var(--navy); }
  .apply-page .form-policy { margin: 0 0 20px; }
  .apply-page .form-success { background: var(--off-white); border-radius: var(--r-card); padding: 56px 32px; }

  @media (max-width: 1024px) {
    :root { --section-gap: 80px; --card-pad: 40px; }
    .hero { padding-top: 136px; }
    .about-inner, .careers-inner { gap: 40px; }
  }
  @media (max-width: 640px) {
    :root { --section-gap: 64px; --card-pad: 24px; --gap: 16px; --gutter: 16px; --r-card: 14px; }
    .hero { padding-top: 112px; }
    .hero-stats { margin-top: 48px; }
    .banner { height: 320px; }
    .trust-bar { padding: 20px var(--card-pad); flex-direction: column; align-items: flex-start; gap: 10px; }
    .section-title { margin-bottom: 28px; }
    .about-inner, .careers-inner { gap: 32px; }
    .apply-page { padding-top: 112px; }
    .apply-page .form-section { padding: 20px 18px 4px; }
    .apply-page .form-success { padding: 40px 20px; }
    footer { margin-bottom: 16px; }
  }
