/* Self-hosted Plus Jakarta Sans. Official variable woff2 (wght 200-800). Italic is not used on the homepage or shared chrome. */
@font-face {
      font-family: "Plus Jakarta Sans";
      font-style: normal;
      font-weight: 200 800;
      font-display: swap;
      src: url("/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2") format("woff2");
      unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
    }
@font-face {
      font-family: "Plus Jakarta Sans";
      font-style: normal;
      font-weight: 200 800;
      font-display: swap;
      src: url("/fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2") format("woff2");
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

:root {
      --color-primary: #545bb3;
      --color-primary-dark: #3d4293;
      --color-primary-alt: #4c60b2;
      --color-navy: #001062;
      --color-text: #1c1c1c;
      --color-muted: #5c5c66;
      --color-surface: #fafafe;
      --color-surface-2: #f0f1fb;
      --color-border: #e2e4f0;
      --color-white: #fff;
      --lavender-1: #c9c4ec;
      --lavender-2: #a89fd8;
      --lavender-3: #8b8dd4;
      --radius-sm: 4px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-soft: 0 10px 40px rgba(28, 28, 28, 0.07);
      --shadow-hover: 0 16px 48px rgba(84, 91, 179, 0.18);
      --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
      /* Approx. sticky chrome height (logo 48px + vertical padding); used for layout offsets */
      --header-h: 84px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--font);
      color: var(--color-text);
      background: var(--color-white);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: var(--color-primary); text-underline-offset: 3px; }
    .skip-link {
      position: absolute; left: -9999px; z-index: 9999;
      padding: 0.5rem 1rem; background: var(--color-primary); color: #fff;
    }
    .skip-link:focus { left: 1rem; top: 1rem; }

    /* Header (spacing, type scale, and colors aligned with betterengineer.com HubSpot header module) */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: #fff;
      border-bottom: 1px solid transparent;
      transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    }
    .site-header.is-scrolled {
      border-color: #e2e4e0;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    }
    .header-inner {
      max-width: 1128px;
      margin: 0 auto;
      padding: 18px max(1.25rem, 20px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }
    .logo-link {
      display: flex;
      align-items: center;
      line-height: 0;
      flex-shrink: 0;
    }
    .logo-link img {
      width: 232px;
      height: 48px;
      max-width: min(232px, 38vw);
      object-fit: contain;
      object-position: left center;
      display: block;
    }
    .site-nav { display: flex; flex: 1; justify-content: flex-end; align-items: center; min-width: 0; }
    .nav-desktop {
      display: none;
      align-items: center;
      gap: 2px;
      list-style: none;
      margin: 0;
      padding: 0;
      flex-wrap: nowrap;
    }
    .nav-desktop > li { margin: 0; }
    .nav-desktop > li > a {
      display: inline-flex;
      align-items: center;
      padding: 12px 20px;
      border-radius: 0;
      border: none;
      color: #676767;
      text-decoration: none;
      font-weight: 400;
      font-size: 16px;
      line-height: 24px;
      transition: background 0.15s var(--ease), color 0.15s var(--ease);
    }
    .nav-desktop > li > a:hover,
    .nav-desktop > li > a:focus-visible {
      text-decoration: none;
    }
    .nav-desktop > li > a:hover {
      background: #f3f3f3;
      color: #676767;
    }
    .nav-chevron {
      display: inline-block;
      width: 0.35em;
      height: 0.35em;
      margin-left: 6px;
      margin-bottom: 0.2em;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg);
      vertical-align: middle;
    }
    .nav-desktop a.nav-pill-hire {
      background-color: #4c60b2;
      color: #fff !important;
      font-weight: 600;
      border-radius: 4px;
      text-decoration: none;
    }
    .nav-desktop a.nav-pill-hire:hover {
      background-color: #4d5c9f;
      color: #fff !important;
      text-decoration: none;
    }
    .nav-desktop .has-children { position: relative; }
    .nav-desktop .dropdown {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 200px;
      margin: 0;
      padding: 0;
      list-style: none;
      background: #fff;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      z-index: 999;
    }
    .nav-desktop .has-children:hover .dropdown,
    .nav-desktop .has-children:focus-within .dropdown {
      display: block;
    }
    .nav-desktop .dropdown a {
      display: block;
      padding: 12px 16px;
      font-size: 15px;
      line-height: 22px;
      font-weight: 400;
      color: #676767;
      border-radius: 0;
      text-decoration: none;
    }
    .nav-desktop .dropdown a:hover,
    .nav-desktop .dropdown a:focus,
    .nav-desktop .dropdown a:focus-visible,
    .nav-desktop .dropdown a:visited {
      text-decoration: none;
    }
    .nav-desktop .dropdown a:hover {
      background: #f3f3f3;
      color: #676767;
    }
    .btn-nav {
      padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.875rem;
      text-decoration: none; border: 2px solid transparent; transition: transform 0.15s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
    }
    .btn-nav:hover { transform: translateY(-1px); }
    .btn-nav--ghost { background: #fff; border-color: var(--color-border); color: var(--color-text); }
    .btn-nav--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
    .btn-nav--solid { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
    .btn-nav--solid:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }

    .nav-toggle {
      display: none;
      box-sizing: border-box;
      align-items: center;
      justify-content: center;
      width: 52px;
      height: 55px;
      padding: 10px;
      background-color: #4c60b2;
      border: none;
      cursor: pointer;
      flex-shrink: 0;
    }
    .nav-toggle:hover { background-color: #4d5c9f; }
    .nav-toggle:focus-visible {
      outline: 2px solid var(--color-primary);
      outline-offset: 2px;
    }
    .nav-toggle img {
      width: 30px;
      height: auto;
      display: block;
    }

    .nav-mobile {
      display: none;
      flex-direction: column;
      list-style: none;
      margin: 0;
      padding: 0;
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      width: 100%;
      background: #fff;
      z-index: 200;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    }
    .nav-mobile.is-open { display: flex; }
    .nav-mobile > li { margin: 0; }
    .nav-mobile > li > a {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      width: 100%;
      min-height: 55px;
      padding: 0 20px;
      border-top: 1px solid #ccc;
      text-decoration: none;
      color: #676767;
      font-size: 16px;
      line-height: 24px;
      font-weight: 400;
    }
    .nav-mobile > li:first-child > a { border-top: none; }
    .nav-mobile > li:last-child > a { border-bottom: 1px solid #ccc; }
    .nav-mobile a.nav-mobile-hire {
      background-color: #4c60b2;
      color: #fff !important;
      font-weight: 600;
    }
    .nav-mobile a.nav-mobile-hire:hover { background-color: #4d5c9f; color: #fff !important; }
    .mobile-submenu {
      list-style: none;
      margin: 0;
      padding: 0 0 0 20px;
    }
    .mobile-submenu li { margin: 0; }
    .mobile-submenu a {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      width: 100%;
      min-height: 45px;
      padding: 0 20px;
      border-top: 1px solid #e0e0e0;
      text-decoration: none;
      color: #676767;
      font-size: 15px;
      line-height: 22px;
      font-weight: 400;
    }
    .mobile-submenu a:hover { background: #fafafa; }

    /* Tablet: hamburger; full nav does not fit ~1024-1100 with logo + CTAs */
    @media (min-width: 1101px) {
      .nav-toggle { display: none !important; }
      .nav-desktop { display: flex; }
    }
    @media (max-width: 1100px) {
      .nav-desktop { display: none !important; }
      .nav-toggle { display: inline-flex !important; }
      .site-nav { flex: 0; justify-content: flex-end; }
    }
    /* Compact desktop between mobile menu and full nav width */
    @media (max-width: 1280px) and (min-width: 1101px) {
      .header-inner {
        padding: 16px 18px;
        gap: 0.35rem;
      }
      .logo-link img {
        width: 200px;
        height: 42px;
        max-width: none;
      }
      .nav-desktop { gap: 0; }
      .nav-desktop > li > a {
        font-size: 14px;
        line-height: 20px;
        padding: 10px 12px;
      }
      .nav-desktop a.nav-pill-hire {
        padding: 10px 14px;
        font-size: 14px;
      }
      .nav-chevron { margin-left: 4px; }
    }
    @media (max-width: 1200px) and (min-width: 1101px) {
      /* Join Us remains in mobile menu; frees horizontal space on narrow desktop */
      .nav-desktop > li.nav-item-join { display: none; }
    }

    /* Layout */
    .wrap { max-width: 1200px; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
    .section { padding: 5rem 0; }
    @media (max-width: 768px) { .section { padding: 3rem 0; } }

    .eyebrow {
      font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--color-primary); margin-bottom: 0.75rem;
    }
    .h1 {
      font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.15; font-weight: 700; margin: 0 0 1rem;
      letter-spacing: -0.02em;
    }
    .h1 .light { font-weight: 300; color: var(--color-primary); }
    .h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; font-weight: 600; margin: 0 0 1rem; letter-spacing: -0.02em; }
    .h2 .accent { color: var(--color-primary); font-weight: 500; }
    .lead { font-size: 1.125rem; color: var(--color-muted); max-width: 36rem; margin: 0 0 1.75rem; }
    #differentiators .air-section-head > .lead + .lead { font-size: 1.25rem; }
    @media (min-width: 901px) {
      #hero .lead { padding-right: 4.5rem; }
    }

    /* Buttons */
    .btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 1rem 1.75rem; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 700;
      text-decoration: none; border: 2px solid transparent; cursor: pointer;
      transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.15s var(--ease), box-shadow 0.2s;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn--primary {
      background: var(--color-primary); color: #fff; border-color: var(--color-primary);
    }
    .btn--primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); box-shadow: var(--shadow-hover); }
    .btn--outline {
      background: #fff; color: var(--color-primary); border-color: var(--color-primary);
    }
    .btn--outline:hover { background: var(--color-primary); color: #fff; }
    .btn--ghost {
      background: rgba(255,255,255,0.95); color: var(--color-text); border: 2px solid var(--color-border);
      font-weight: 600;
    }
    .btn--ghost:hover { background: #e8e8ef; border-color: #ccc; }

    /* Hero */
    .hero {
      background: linear-gradient(180deg, #fff 0%, var(--color-surface) 100%);
      padding-top: 2rem; padding-bottom: 4rem;
    }
    .hero-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
    }
    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: 1fr; }
    }
    .hero-visual {
      position: relative;
      align-self: start;
      padding: 1.25rem 0.75rem;
    }
    @media (min-width: 901px) {
      .hero-visual {
        padding: 1.5rem 0 1.5rem 1.75rem;
      }
    }
    .hero-visual--image {
      align-self: center;
      padding: 0;
    }
    @media (min-width: 901px) {
      .hero-visual--image { padding: 0; }
    }
    .hero-visual__img {
      display: block;
      width: 100%;
      height: auto;
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Hero lead form */
    .hero-form {
      margin: 0;
    }
    .hero-form__card {
      background: #fff;
      border-radius: 16px;
      box-shadow:
        0 1px 3px rgba(28, 28, 28, 0.04),
        0 4px 18px rgba(28, 28, 28, 0.05),
        0 10px 28px rgba(84, 91, 179, 0.05);
      border: 1px solid rgba(226, 228, 240, 0.9);
      padding: 2.5rem 2.25rem 2rem;
      max-width: 440px;
      margin-left: auto;
      margin-right: auto;
    }
    @media (min-width: 901px) {
      .hero-form__card { margin-right: 0; margin-left: auto; }
    }
    .hero-form__card--split {
      margin-left: 0;
      margin-right: auto;
      width: 100%;
    }
    .split__form { min-width: 0; }

    /* Shared intake form (matches technology / role page form) */
    .react-intake-card .hero-form__title {
      margin: 0 0 1.6rem;
      line-height: 1.25;
    }
    .react-intake-form {
      display: grid;
      gap: 1.15rem;
      position: relative;
      overflow: hidden;
      border-radius: 12px;
    }
    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.85rem 1rem;
    }
    .form-field {
      display: grid;
      gap: 0;
      position: relative;
    }
    .form-field--full { grid-column: 1 / -1; }
    .form-field label {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .form-field input,
    .form-field textarea {
      width: 100%;
      border: 1px solid var(--color-border);
      border-radius: 10px;
      background-color: #fff;
      background-image: none;
      color: var(--color-text);
      font: inherit;
      font-size: 0.9375rem;
      padding: 0.82rem 0.95rem 0.82rem 2.65rem;
      transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
      position: relative;
      z-index: 1;
    }
    .form-field textarea {
      resize: vertical;
      min-height: 92px;
      padding-top: 0.85rem;
    }
    .form-field:has(#firstname)::before,
    .form-field:has(#email)::before {
      content: "";
      position: absolute;
      left: 0.95rem;
      top: 50%;
      width: 18px;
      height: 18px;
      transform: translateY(-50%);
      background-repeat: no-repeat;
      background-size: contain;
      pointer-events: none;
      z-index: 2;
    }
    .form-field:has(#message)::before {
      content: "";
      position: absolute;
      left: 0.95rem;
      top: 0.85rem;
      width: 18px;
      height: 18px;
      background-repeat: no-repeat;
      background-size: contain;
      pointer-events: none;
      z-index: 2;
    }
    .form-field:has(#firstname)::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239a9aaa' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    }
    .form-field:has(#email)::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239a9aaa' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
    }
    .form-field:has(#message)::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239a9aaa' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2' ry='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3C/svg%3E");
    }
    #lastname { padding-left: 0.95rem; }
    .form-field input::placeholder,
    .form-field textarea::placeholder { color: #9a9aaa; }
    .form-field input:focus,
    .form-field textarea:focus {
      outline: 0;
      border-color: rgba(84, 91, 179, 0.45);
      box-shadow: 0 0 0 3px rgba(84, 91, 179, 0.12);
    }
    .form-field input[aria-invalid="true"],
    .form-field textarea[aria-invalid="true"] {
      border-color: #b42318;
      box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
    }
    .form-field input:-webkit-autofill,
    .form-field input:-webkit-autofill:hover,
    .form-field input:-webkit-autofill:focus,
    .form-field input:-webkit-autofill:active,
    .form-field textarea:-webkit-autofill,
    .form-field textarea:-webkit-autofill:hover,
    .form-field textarea:-webkit-autofill:focus,
    .form-field textarea:-webkit-autofill:active {
      -webkit-box-shadow: 0 0 0 1000px #fff inset;
      box-shadow: 0 0 0 1000px #fff inset;
      -webkit-text-fill-color: var(--color-text);
      caret-color: var(--color-text);
      font-family: inherit;
      font-size: 0.9375rem;
      transition: background-color 9999s ease-in-out 0s, color 9999s ease-in-out 0s;
    }
    .form-privacy-note {
      margin: 0;
      font-size: 0.75rem;
      color: #9a9aaa;
      text-align: center;
    }
    .react-intake-submit {
      width: 100%;
      margin-top: 0.5rem;
      padding: 1rem 1.25rem;
      border: none;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: 700;
      color: #fff;
      background: linear-gradient(180deg, #5a5fc4 0%, #4a4eb0 100%);
      box-shadow: 0 2px 10px rgba(74, 78, 176, 0.22);
      transition: transform 0.15s var(--ease), box-shadow 0.2s, filter 0.2s;
    }
    .react-intake-submit:hover {
      filter: brightness(1.05);
      box-shadow: 0 4px 14px rgba(74, 78, 176, 0.28);
    }
    .react-intake-submit:active { transform: translateY(1px); }
    .react-intake-form.is-submitting .react-intake-submit {
      opacity: 0.7;
      cursor: wait;
    }
    .form-field__error {
      display: block;
      margin: 0.3rem 0 0;
      font-size: 0.8125rem;
      line-height: 1.35;
      color: #b42318;
    }
    .form-status {
      margin: 0;
      display: none;
      position: absolute;
      inset: 0;
      border-radius: 12px;
      padding: 2rem 1.5rem;
      text-align: center;
      font-size: 1rem;
      line-height: 1.6;
      font-weight: 500;
      background: #fff;
      z-index: 10;
      pointer-events: none;
      box-sizing: border-box;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .react-intake-form.intake-form--success .form-grid,
    .react-intake-form.intake-form--success .form-privacy-note,
    .react-intake-form.intake-form--success .react-intake-submit {
      visibility: hidden;
    }
    .form-status.is-success {
      display: flex;
      color: #3d4293;
      background: #f0f1fa;
      border: 1px solid #b8bae8;
      pointer-events: auto;
    }
    .form-status.is-success a {
      color: #3d4293;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .form-status.is-error {
      display: flex;
      color: #b42318;
      background: #fef2f2;
      border: 1px solid #fecdca;
      pointer-events: auto;
    }
    .air-role-process {
      margin: 1rem 0 0;
      color: var(--color-muted);
      font-size: 0.875rem;
      letter-spacing: 0.02em;
      text-align: center;
      line-height: 1.45;
    }
    @media (max-width: 720px) {
      .form-grid { grid-template-columns: 1fr; }
    }
    .hero-form__title {
      font-size: 1.375rem;
      font-weight: 700;
      color: var(--color-text);
      margin: 0 0 0.35rem;
      letter-spacing: -0.02em;
      line-height: 1.25;
    }
    .hero-form__subtitle {
      font-size: 0.9375rem;
      color: var(--color-muted);
      margin: 0 0 1.5rem;
      font-weight: 400;
    }
    .hero-form__field {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      margin-bottom: 0.85rem;
      padding: 0.7rem 0.9rem;
      border: 1px solid var(--color-border);
      border-radius: 10px;
      background: #fff;
      transition: border-color 0.2s var(--ease), box-shadow 0.2s;
    }
    .hero-form__field:focus-within {
      border-color: rgba(84, 91, 179, 0.45);
      box-shadow: 0 0 0 3px rgba(84, 91, 179, 0.12);
    }
    .hero-form__icon {
      flex-shrink: 0;
      display: flex;
      color: #9a9aaa;
    }
    .hero-form__icon svg {
      display: block;
    }
    .hero-form__field input,
    .hero-form__field select {
      flex: 1;
      min-width: 0;
      border: none;
      background: transparent;
      font: inherit;
      font-size: 0.9375rem;
      color: var(--color-text);
      padding: 0.15rem 0;
      outline: none;
    }
    .hero-form__field input::placeholder {
      color: #a0a0b0;
    }
    .hero-form__field--select {
      gap: 0.55rem;
      padding-top: 0.55rem;
      padding-bottom: 0.55rem;
      padding-right: 0.55rem;
      cursor: pointer;
    }
    .hero-form__field--select:hover {
      border-color: rgba(84, 91, 179, 0.28);
    }
    .hero-form__select {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      width: 100%;
      min-height: 1.5rem;
      margin: 0;
      padding: 0.2rem 0;
      border: none;
      border-radius: 0;
      background-color: transparent;
      background-image: none;
      color: var(--color-text);
      font: inherit;
      font-size: 0.9375rem;
      font-weight: 500;
      line-height: 1.4;
      cursor: pointer;
      outline: none;
      color-scheme: light;
      text-overflow: ellipsis;
    }
    .hero-form__select::-ms-expand { display: none; }
    .hero-form__select:invalid {
      color: #a0a0b0;
      font-weight: 400;
    }
    .hero-form__select option {
      color: var(--color-text);
      font-weight: 500;
      background: #fff;
    }
    .hero-form__select option[disabled] {
      color: #a0a0b0;
    }
    .hero-form__chevron {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2rem;
      height: 2rem;
      border-radius: 8px;
      background: var(--color-surface-2);
      border: 1px solid var(--color-border);
      color: var(--color-primary);
      pointer-events: none;
      transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
    }
    .hero-form__field--select:hover .hero-form__chevron,
    .hero-form__field--select:focus-within .hero-form__chevron {
      background: rgba(84, 91, 179, 0.1);
      border-color: rgba(84, 91, 179, 0.28);
      color: var(--color-primary-dark);
    }
    .hero-form__chevron svg {
      display: block;
    }
    .hero-form__submit {
      width: 100%;
      margin-top: 0.5rem;
      padding: 1rem 1.25rem;
      border: none;
      border-radius: 10px;
      font-family: inherit;
      font-size: 1rem;
      font-weight: 700;
      color: #fff;
      background: linear-gradient(180deg, #5a5fc4 0%, #4a4eb0 100%);
      cursor: pointer;
      transition: transform 0.15s var(--ease), box-shadow 0.2s, filter 0.2s;
      box-shadow: 0 2px 10px rgba(74, 78, 176, 0.22);
    }
    .hero-form__submit:hover {
      filter: brightness(1.05);
      box-shadow: 0 4px 14px rgba(74, 78, 176, 0.28);
    }
    .hero-form__submit:active {
      transform: translateY(1px);
    }
    .hero-form__trust {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      margin-top: 1.25rem;
      font-size: 0.75rem;
      color: #9a9aaa;
    }
    .hero-form__trust svg {
      flex-shrink: 0;
      opacity: 0.85;
    }
    .hero-form__message {
      margin: 0.75rem 0 0;
      padding: 0.65rem 0.75rem;
      border-radius: var(--radius-sm);
      font-size: 0.875rem;
      line-height: 1.4;
      text-align: center;
    }
    .hero-form__message[hidden] {
      display: none !important;
    }
    .hero-form__message.is-error {
      background: #fef2f2;
      color: #b42318;
      border: 1px solid #fecdca;
    }
    .hero-form__message.is-success {
      background: #ecfdf3;
      color: #027a48;
      border: 1px solid #abefc6;
    }
    .hero-form__submit:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      transform: none;
    }

    /* Partners - static row (no marquee), aligned with betterengineer.com sizing */
    .partners {
      background: var(--color-surface);
      border-top: 1px solid var(--color-border);
      border-bottom: 1px solid var(--color-border);
      padding: 2.75rem 0 3rem;
      overflow-x: hidden;
    }
    .partners-label {
      text-align: center;
      font-size: 1rem;
      color: var(--color-muted);
      margin-bottom: 1.75rem;
      font-weight: 500;
      letter-spacing: 0.01em;
    }
    .logo-marquee {
      width: 100%;
    }
    .logo-track {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      flex-wrap: wrap;
      gap: 2rem;
      row-gap: 1.25rem;
    }
    @media (min-width: 900px) {
      .logo-track { gap: 2.5rem; }
    }
    .client-block {
      text-align: center;
      flex: 0 1 auto;
      min-width: 0;
      max-width: 200px;
    }
    .client-block img {
      max-height: 56px;
      width: auto;
      margin: 0 auto 0.5rem;
      filter: grayscale(1);
      opacity: 0.9;
      transition: filter 0.2s var(--ease), opacity 0.2s;
    }
    .client-block:hover img { filter: grayscale(0); opacity: 1; }
    .client-sub {
      font-size: 0.8125rem;
      color: var(--color-muted);
      line-height: 1.35;
    }
    .client-sub a {
      font-size: inherit;
      color: var(--color-primary);
      font-weight: 600;
      text-decoration: none;
    }
    .client-sub a:hover {
      text-decoration: none;
      opacity: 0.88;
    }

    /* Two-column sections */
    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 5vw, 4.5rem);
      align-items: center;
    }
    @media (max-width: 900px) {
      .split { grid-template-columns: 1fr; gap: 2rem; }
      #manage-candidates .split__img { order: -1; }
      #contractors .split__img { order: -1; }
    }
    .split__img img {
      display: block;
      width: 100%;
      height: auto;
      transition: transform 0.5s var(--ease);
    }
    .split__img:hover img { transform: scale(1.01); }
    #opportunity-assessment .split__img img {
      width: 88%;
    }

    .section-tint { background: linear-gradient(180deg, rgba(238,239,250,0.45) 0%, rgba(255,255,255,0.9) 100%); }

    #platform.section {
      padding-bottom: 2.5rem;
    }
    #what-to-expect.section {
      padding-bottom: 2.5rem;
    }
    #expert-team.section {
      padding-top: 2.5rem;
    }
    #faq.section {
      padding-bottom: 2.5rem;
    }
    #latest-articles.section {
      padding-top: 2.5rem;
    }
    #slack.section {
      padding-top: 2.5rem;
    }
    @media (max-width: 768px) {
      #platform.section { padding-bottom: 1.75rem; }
      #slack.section { padding-top: 1.75rem; }
    }

    /* AI Fluency feature section */
    .fluency-section {
      background:
        radial-gradient(ellipse 65% 55% at 85% 15%, rgba(201, 196, 236, 0.4) 0%, transparent 55%),
        linear-gradient(180deg, #f6f7fc 0%, #fff 100%);
    }
    .fluency-split {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: clamp(2.25rem, 5vw, 4.5rem);
      align-items: center;
    }
    @media (max-width: 900px) {
      .fluency-split { grid-template-columns: 1fr; gap: 2.25rem; }
    }
    .fluency-intro {
      min-width: 0;
      padding-right: clamp(1.25rem, 3vw, 2.75rem);
    }
    .fluency-intro .lead { margin-bottom: 1.35rem; }
    .fluency-checks {
      list-style: none;
      margin: 0 0 1.75rem;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      max-width: 34rem;
    }
    .fluency-checks li {
      position: relative;
      padding-left: 1.6rem;
      font-size: 1rem;
      line-height: 1.45;
      color: var(--color-text);
      font-weight: 500;
    }
    .fluency-checks li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.45rem;
      width: 0.65rem;
      height: 0.65rem;
      border-radius: 50%;
      background: var(--color-primary);
      box-shadow: 0 0 0 3px rgba(84, 91, 179, 0.16);
    }
    .fluency-cta {
      gap: 0.5rem;
    }
    .fluency-cta svg { transition: transform 0.2s var(--ease); }
    .fluency-cta:hover svg { transform: translateX(3px); }
    .fluency-panel {
      min-width: 0;
      background: #fff;
      border: 1px solid var(--color-border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-soft);
      padding: 1.35rem 1.35rem 1.2rem;
    }
    .fluency-panel__label {
      margin: 0 0 0.9rem;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-primary);
    }
    .fluency-tiers {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }
    .fluency-tier {
      padding: 0.85rem 0.95rem;
      border-radius: 10px;
      background: var(--color-surface);
      border: 1px solid transparent;
    }
    .fluency-tier__top {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.4rem 0.65rem;
      margin-bottom: 0.35rem;
    }
    .fluency-tier__name {
      margin: 0 0 0.25rem;
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: -0.015em;
      color: var(--color-text);
    }
    .fluency-tier__top .fluency-tier__name { margin-bottom: 0; }
    .fluency-tier p {
      margin: 0;
      font-size: 0.85rem;
      line-height: 1.45;
      color: var(--color-muted);
    }
    .fluency-tier__badge {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #c9c4ec;
      background: rgba(201, 196, 236, 0.18);
      border: 1px solid rgba(201, 196, 236, 0.35);
      border-radius: 999px;
      padding: 0.22rem 0.5rem;
    }
    .fluency-tier--priority {
      background: linear-gradient(165deg, #14172e 0%, #1a1c2e 100%);
      border-color: rgba(168, 159, 216, 0.28);
      padding: 1.15rem 1.2rem 1.2rem;
      margin-bottom: 0.2rem;
      box-shadow: 0 12px 28px rgba(20, 23, 46, 0.18);
    }
    .fluency-tier--priority .fluency-tier__name {
      color: #fff;
      font-size: 1.15rem;
    }
    .fluency-tier--priority p {
      color: rgba(255, 255, 255, 0.78);
      font-size: 0.925rem;
      max-width: 36rem;
    }

    hr.section-rule {
      border: none; border-top: 1px solid var(--color-border); margin: 0; max-width: 1200px; margin-left: auto; margin-right: auto;
    }

    /* AI band */
    #ai-readiness.section {
      padding-top: 2.5rem;
      padding-bottom: 5rem;
    }
    @media (max-width: 768px) {
      #ai-readiness.section {
        padding-top: 1.75rem;
        padding-bottom: 3rem;
      }
    }
    .ai-split {
      display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
      align-items: center;
      padding: 0;
    }
    @media (max-width: 900px) { .ai-split { grid-template-columns: 1fr; } }
    .ai-split__right {
      background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
      padding: 2rem; box-shadow: var(--shadow-soft);
    }

    /* Stats - bento grid (matches betterengineer.com: 4+8 row, 4+4+4 row) */
    .stats-section { background: linear-gradient(180deg, rgba(238,239,250,0.45) 0%, rgba(255,255,255,0.9) 100%); }
    .stats-title {
      font-size: clamp(1.75rem, 3vw, 2.25rem);
      font-weight: 700;
      margin: 0 0 1.75rem;
      text-align: left;
      letter-spacing: -0.02em;
    }
    .stats-title .accent { font-weight: 500; color: var(--color-primary); }
    .stats-bento {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 10px;
    }
    .stats-bento__cell {
      border-radius: 20px;
      overflow: hidden;
      min-height: 200px;
    }
    .stats-bento__stat {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 1.5rem 1.25rem;
      color: #fff;
    }
    .stats-bento__stat--lavender {
      background: rgb(178, 171, 226);
      grid-column: 1 / span 4;
      grid-row: 1;
    }
    .stats-bento__photo--abstract {
      grid-column: 5 / span 8;
      grid-row: 1;
      background: url("/images/backgrounds/stats-abstract.webp") center / cover no-repeat;
    }
    .stats-bento__photo--office {
      grid-column: 1 / span 4;
      grid-row: 2;
      background: url("/images/backgrounds/office-work.jpg") center / cover no-repeat;
    }
    .stats-bento__stat--a {
      background: rgb(134, 137, 227);
      grid-column: 5 / span 4;
      grid-row: 2;
    }
    .stats-bento__stat--b {
      background: rgb(148, 137, 204);
      grid-column: 9 / span 4;
      grid-row: 2;
    }
    .stats-bento .stat-num {
      font-size: clamp(3rem, 7vw, 4.5rem);
      font-weight: 700;
      line-height: 1;
      margin: 0 0 0.65rem;
    }
    .stats-bento .stat-label {
      font-size: 0.95rem;
      line-height: 1.4;
      margin: 0;
      max-width: 12rem;
      opacity: 0.98;
    }
    @media (max-width: 900px) {
      .stats-bento {
        grid-template-columns: 1fr;
      }
      .stats-bento__stat--lavender,
      .stats-bento__photo--abstract,
      .stats-bento__stat--a,
      .stats-bento__stat--b {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 200px;
      }
      .stats-bento__photo--office { display: none; }
      .stats-bento__photo--abstract { min-height: 220px; }
    }

    /* Skills */
    .skills-head { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
    .skills-head > div:first-child {
      flex: 1 1 0;
      min-width: min(100%, 18rem);
    }
    .skills-head .lead {
      max-width: none;
      margin-bottom: 0;
    }
    .card-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
    }
    @media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 540px) { .card-grid { grid-template-columns: 1fr; } }
    .skill-card {
      background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
      padding: 1.5rem; min-height: 200px;
      transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
    }
    .skill-card:hover {
      border-color: rgba(84, 91, 179, 0.35); box-shadow: var(--shadow-soft); transform: translateY(-4px);
    }
    .skill-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 1rem; }
    .skill-card h3 { font-size: 1.05rem; margin: 0 0 0.5rem; font-weight: 700; }
    .skill-card p { margin: 0; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; }

    /* Role cards (home skills grid, matches /roles/ index) */
    #skills .role-card {
      display: block;
      padding: 1.5rem;
      color: inherit;
      text-decoration: none;
      background: #fff;
      border: 1px solid var(--color-border);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-soft);
      min-height: 160px;
      transition: box-shadow 0.15s var(--ease), transform 0.15s var(--ease), border-color 0.15s var(--ease);
    }
    #skills .role-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-3px);
      text-decoration: none;
    }
    #skills .role-card--featured {
      border-color: var(--color-primary);
      background: linear-gradient(180deg, #fff 0%, var(--color-surface) 100%);
      box-shadow: 0 10px 28px rgba(84, 91, 179, 0.12);
    }
    #skills .role-card h3 {
      margin: 0 0 0.5rem;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--color-navy);
    }
    #skills .role-card p {
      margin: 0;
      font-size: 0.9rem;
      line-height: 1.5;
      color: var(--color-muted);
    }
    #skills .role-card__badge {
      display: inline-block;
      margin-top: 0.75rem;
      color: var(--color-primary);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* LATAM / timezone - height is driven by the LEFT column padding (--latam-pad-y); right map fills 100% of row height. */
    #latam.section {
      background: #f0f0f8;
      padding: 0;
    }
    .latam {
      --latam-pad-y: clamp(2rem, 4vw, 3.5rem); /* <- single knob controlling LATAM block height */
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
      gap: clamp(2rem, 5vw, 4rem);
      align-items: stretch;
    }
    @media (max-width: 900px) {
      .latam { grid-template-columns: 1fr; gap: 0; }
    }
    .latam > .reveal:first-child {
      padding-top: var(--latam-pad-y);
      padding-bottom: var(--latam-pad-y);
      align-self: center;
    }
    .latam-title {
      font-size: clamp(1.85rem, 3.6vw, 2.65rem);
      font-weight: 700;
      line-height: 1.18;
      letter-spacing: -0.025em;
      color: #1a1a1a;
      margin: 0 0 1.35rem;
    }
    .latam-title__accent {
      color: #5465b1;
      font-weight: 600;
    }
    .latam-lead {
      font-size: 1.0625rem;
      line-height: 1.65;
      color: #4a4a4a;
      max-width: 36rem;
      margin: 0 0 1.5rem;
    }
    .latam-locations {
      font-size: 0.9375rem;
      font-weight: 700;
      color: #1a1a1a;
      letter-spacing: 0.04em;
      margin: 0 0 1.85rem;
      line-height: 1.5;
    }
    .latam-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      letter-spacing: 0.02em;
      font-size: 0.9375rem;
      font-weight: 700;
      padding: 1rem 1.75rem;
    }
    /* Map column: stretches to row height, image fills 100% of that height. */
    .latam-map {
      position: relative;
      align-self: stretch;
      min-height: 0;
      overflow: hidden;
      line-height: 0;
    }
    .latam-map img {
      display: block;
      width: 100%;
      height: 100%;
      max-width: 100%;
      object-fit: cover;
      object-position: right center;
    }
    @media (max-width: 900px) {
      .latam-map {
        align-self: auto;
        overflow: visible;
        margin-bottom: var(--latam-pad-y, 1.5rem);
      }
      .latam-map img {
        height: auto;
        max-height: min(260px, 56vw);
        object-fit: contain;
        object-position: center;
      }
    }

    /* Carousel */
    .carousel-wrap { max-width: 1040px; margin: 0 auto; }
    .carousel-intro { text-align: center; margin-bottom: 2.5rem; }
    .carousel-shell {
      position: relative;
      display: flex;
      align-items: center;
      gap: clamp(0.75rem, 2vw, 1.5rem);
    }
    .carousel-slides {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      border-radius: var(--radius-lg);
    }
    .slide {
      display: none;
      animation: fadeIn 0.5s var(--ease);
      background: #fff;
      border: 1px solid #e5e7ef;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 1px 2px rgba(28, 28, 28, 0.04), 0 8px 28px rgba(28, 28, 28, 0.06);
    }
    .slide.is-active { display: block; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
    .slide-grid {
      display: grid;
      grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
      align-items: stretch;
      min-height: 320px;
    }
    @media (max-width: 640px) {
      .slide-grid { grid-template-columns: 1fr; min-height: 0; }
    }
    .slide-photo {
      position: relative;
      align-self: stretch;
      min-height: 0;
      line-height: 0;
      background: #1a1a1a;
    }
    .slide-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }
    @media (max-width: 640px) {
      .slide-photo img { max-height: min(280px, 60vw); }
    }
    .slide-copy {
      display: flex;
      flex-direction: column;
      padding: clamp(1.75rem, 3vw, 2.5rem);
    }
    .quote {
      font-size: clamp(1.05rem, 1.4vw, 1.25rem);
      line-height: 1.55;
      margin: 0;
      font-style: normal;
      font-weight: 500;
      color: #1a1a1a;
      letter-spacing: -0.005em;
    }
    .slide-footer {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: auto;
      padding-top: 2rem;
    }
    .slide-name { font-weight: 700; color: #1a1a1a; }
    .slide-role { font-size: 0.9rem; color: var(--color-muted); margin-top: 0.15rem; }
    .slide-logo img { max-height: 32px; width: auto; opacity: 0.85; }
    .carousel-btn {
      flex-shrink: 0;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 1.5px solid #d6d8e0;
      background: transparent;
      color: #5c5c66;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
    }
    .carousel-btn:hover {
      background: #fff;
      border-color: var(--color-primary);
      color: var(--color-primary);
      transform: scale(1.05);
    }
    .carousel-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
    .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 1.5rem;
    }
    .carousel-dots span,
    .carousel-dots button {
      display: block;
      width: 9px;
      height: 9px;
      padding: 0;
      border-radius: 50%;
      border: none;
      background: #d6d8e0;
      transition: background 0.2s, transform 0.2s;
    }
    .carousel-dots button { cursor: pointer; }
    .carousel-dots span { pointer-events: none; }
    .carousel-dots span.is-active,
    .carousel-dots button.is-active { background: var(--color-primary); transform: scale(1.2); }

    /* CTA band - solid blue + official team PNG (wavy edges are in the asset) */
    /* Height is driven by the LEFT column padding (--cta-pad-y); right image fills 100% of that height. */
    .cta-band {
      background: var(--color-primary);
      color: #fff;
      padding: 0;
      position: relative;
      overflow: hidden;
    }
    .cta-split {
      --cta-pad-y: clamp(2rem, 4vw, 3.5rem); /* <- single knob controlling banner height */
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 46vw);
      gap: 0;
      align-items: stretch;
      width: 100%;
      min-height: 0;
      margin: 0;
      padding: 0;
      padding-left: max(1.25rem, calc((100vw - 1200px) / 2 + 1.25rem));
      box-sizing: border-box;
    }
    @media (max-width: 900px) {
      .cta-split {
        grid-template-columns: 1fr;
        padding: 0 1.25rem;
      }
    }
    /* ai-readiness CTA: shorter banner (scoped via unique preceding section) */
    #latest-articles + .cta-band .cta-split {
      --cta-pad-y: clamp(1.25rem, 2.25vw, 2rem);
    }
    /* Compact CTA variant: ~60% of the image-driven banner height */
    .cta-band--compact .cta-split {
      --cta-pad-y: clamp(1rem, 1.75vw, 1.5rem);
    }
    @media (min-width: 901px) {
      .cta-band--compact .cta-split {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 38vw);
        height: 18.5rem;
      }
      .cta-band--compact .cta-split__photo picture,
      .cta-band--compact .cta-split__photo img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: right center;
      }
      .cta-break { display: block; }
    }
    /* LATAM Engineer compact CTA: 20% taller than the shared 18.5rem band,
       with a bit more space between the heading and the button. */
    #articles + .cta-band--compact .btn-row {
      margin-top: 0.9rem;
    }
    @media (min-width: 901px) {
      #articles + .cta-band--compact .cta-split {
        height: 22.2rem;
      }
    }
    /* Hiring dashboard compact CTA: more room above and below the copy.
       This band has a heading, lead, and button, so it needs more height
       than the shared 18.5rem compact size. */
    main:has(#platform-overview) .cta-band--compact .cta-split {
      --cta-pad-y: clamp(1.75rem, 3vw, 2.75rem);
    }
    @media (min-width: 901px) {
      main:has(#platform-overview) .cta-band--compact .cta-split {
        height: 24rem;
      }
    }
    .cta-split__text {
      display: flex;
      align-items: center;
      padding-top: var(--cta-pad-y);
      padding-bottom: var(--cta-pad-y);
      padding-right: clamp(1rem, 3vw, 2rem);
      min-width: 0;
    }
    .cta-split__text-inner {
      max-width: 36rem;
    }
    .cta-split__text .h2 {
      font-weight: 500;
    }
    .cta-split__text .h2 strong {
      font-weight: 700;
    }
    .cta-split__photo {
      position: relative;
      display: flex;
      align-items: stretch;
      justify-content: flex-end;
      min-height: 0;
      align-self: stretch;
      overflow: hidden;
    }
    @media (max-width: 900px) {
      .cta-split__photo {
        order: -1;
        margin: 0 0 1.25rem;
        width: 100%;
        justify-content: center;
        align-self: auto;
        overflow: visible;
      }
    }
    .cta-split__photo picture {
      display: block;
      width: 100%;
      max-width: 100%;
      height: 100%;
      min-height: 0;
      line-height: 0;
    }
    .cta-split__photo img {
      display: block;
      width: 100%;
      max-width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: right center;
    }
    @media (max-width: 900px) {
      .cta-split__photo img {
        height: auto;
        max-height: min(240px, 52vw);
        width: 100%;
        object-fit: cover;
        object-position: center;
      }
    }
    .cta-band .h2 { color: #fff; }
    .cta-band .h2 strong { font-weight: 700; }
    .cta-band .lead { color: rgba(255, 255, 255, 0.94); margin-bottom: 1.25rem; }
    .cta-band .btn-row { margin-top: 0.25rem; }
    .cta-band .btn--primary {
      background: #fff;
      color: var(--color-primary);
      border-color: #fff;
      font-weight: 700;
    }
    .cta-band .btn--primary:hover { background: #f2f3fb; border-color: #f2f3fb; }
    @media (max-width: 900px) {
      .cta-split__photo { display: none; }
      .cta-split__text {
        width: 100%;
        padding-right: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
      }
      .cta-band .cta-split__text-inner:not(:has(.lead)) {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
        max-width: none;
      }
      .cta-band .cta-split__text-inner:not(:has(.lead)) .h2 {
        margin: 0;
        min-width: 0;
      }
      .cta-band .cta-split__text-inner:not(:has(.lead)) .btn-row {
        margin: 0;
        flex: 0 0 auto;
        justify-content: flex-start;
      }
    }
    /* Footer (aligned with betterengineer.com footer-v4) */
    .site-footer {
      background: var(--color-white);
      padding: 3rem 0 2rem;
      font-size: 0.9rem;
      border-top: 1px solid var(--color-border);
    }
    .footer-main {
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) repeat(3, 1fr);
      gap: 2.5rem 2rem;
      align-items: start;
    }
    @media (max-width: 900px) {
      .footer-main { grid-template-columns: 1fr; gap: 2rem; }
    }
    .footer-brand .footer-logo { display: inline-block; margin-bottom: 0.85rem; }
    /* The wordmark SVG has ~8px of empty canvas before the "b". Pull it left
       so the glyph lines up with the tagline and the rest of the footer column. */
    .footer-brand .footer-logo img { display: block; margin-left: -8px; }
    .footer-tagline {
      margin: 0 0 0;
      color: var(--color-text);
      font-size: 1rem;
      line-height: 1.45;
      font-weight: 400;
    }
    .footer-tagline strong { font-weight: 700; }
    .footer-brand__btns {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem 0.75rem;
      margin-top: 1.1rem;
      margin-bottom: 1.5rem;
    }
    .footer-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.65rem 1.2rem;
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
      border-radius: var(--radius-sm);
      border: 2px solid transparent;
      transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.15s var(--ease);
    }
    .footer-btn:hover { transform: translateY(-1px); }
    .footer-btn--outline {
      background: var(--color-white);
      border-color: #2a2a2a;
      color: var(--color-text);
    }
    .footer-btn--outline:hover {
      background: var(--color-surface);
      border-color: var(--color-text);
    }
    .footer-btn--solid {
      background: var(--color-primary);
      color: #fff;
      border-color: var(--color-primary);
    }
    .footer-btn--solid:hover {
      background: var(--color-primary-dark);
      border-color: var(--color-primary-dark);
    }
    .footer-social__label {
      margin: 0 0 0.65rem;
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--color-text);
    }
    .footer-social__icons {
      display: flex;
      flex-wrap: wrap;
      gap: 0.85rem;
      align-items: center;
    }
    .footer-social__icons a {
      display: inline-flex;
      color: var(--color-primary);
      text-decoration: none;
      transition: color 0.2s, transform 0.15s var(--ease);
    }
    .footer-social__icons a:hover { color: var(--color-primary-dark); transform: translateY(-2px); }
    .footer-social__icons svg { width: 22px; height: 22px; display: block; }
    .footer-nav-col { min-width: 0; }
    .footer-nav-group { margin-bottom: 1.5rem; }
    .footer-nav-group:last-child { margin-bottom: 0; }
    .footer-col__title {
      margin: 0 0 0.65rem;
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--color-text);
      letter-spacing: normal;
      text-transform: none;
    }
    .footer-nav-col ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .footer-nav-col li { margin-bottom: 0.45rem; }
    .footer-nav-col a {
      color: var(--color-text);
      text-decoration: none;
      line-height: 1.45;
    }
    .footer-nav-col a:hover { color: var(--color-primary); }
    .footer-bottom {
      margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
      display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
      font-size: 0.85rem; color: var(--color-muted);
    }
    .footer-bottom a {
      color: inherit;
      text-decoration: none;
      transition: color 0.15s var(--ease);
    }
    .footer-bottom a:hover { color: var(--color-primary); }

    /* Scroll reveal */
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
    .reveal.is-visible { opacity: 1; transform: none; }

    @media (prefers-reduced-motion: reduce) {
      .reveal { opacity: 1; transform: none; transition: none; }
    }

    /* ======================================================================
       FAQ accordion: CANONICAL COMPONENT
       ----------------------------------------------------------------------
       One implementation for the whole site. The visual treatment is the one
       established on the technology pages (see technologies/*/index.html):
       a full-width hairline list, no card boxes, large question type, and a
       CSS-drawn chevron. Do not create a second FAQ style.

       Markup contract (enforced by tools/verify-migrated-pages.js):

         <section class="section section-tint" id="faq" aria-labelledby="faq-heading">
           <div class="wrap">
             <div class="reveal air-section-head" style="max-width:44rem">
               <p class="eyebrow">SECTION LABEL FAQ</p>
               <h2 class="h2" id="faq-heading">Heading</h2>
             </div>
             <div class="faq-list reveal" id="faq-list">
               <div class="faq-item is-open">
                 <button type="button" aria-expanded="true"><span class="faq-question">Q</span><span class="chevron" aria-hidden="true"></span></button>
                 <div class="faq-panel"><p>A</p></div>
               </div>
               <div class="faq-item">
                 <button type="button" aria-expanded="false"><span class="faq-question">Q</span><span class="chevron" aria-hidden="true"></span></button>
                 <div class="faq-panel" hidden><p>A</p></div>
               </div>
             </div>
           </div>
         </section>

       Exactly one item carries `is-open`. Every closed panel carries `hidden`.

       Collapse is driven by the `hidden` attribute, so a page script that only
       toggles `hidden` and `is-open` (landing-page.js) renders correctly. The
       height and opacity transition is a progressive enhancement: a script that
       also sets an inline height (page.js, air-page.js) gets the animation for
       free because the inline value wins over `height: auto`.

       Role and technology pages link styles/role-detail.css after this file and
       it still carries a duplicate of these rules. That duplicate is scheduled
       for removal in Roles v2 (technical-debt.md TD-15). Until then, changes
       here must be mirrored there or the two families will drift.
       ====================================================================== */

    .faq-list {
      display: grid;
      gap: 0;
      width: 100%;
      max-width: none;
      margin: 0;
    }

    .faq-item {
      border: 0;
      border-bottom: 1px solid rgba(17, 24, 39, 0.12);
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      overflow: visible;
      margin: 0;
    }

    .faq-item:first-child { border-top: 0; }

    .faq-item button {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.25rem;
      padding: 1.25rem 0 calc(1.25rem + 10px);
      border: 0;
      background: transparent;
      color: var(--color-text);
      font: inherit;
      font-weight: 500;
      line-height: 1.2;
      text-align: left;
      cursor: pointer;
    }

    .faq-item button:hover { background: transparent; }

    .faq-item button:focus-visible {
      outline: 2px solid var(--color-primary);
      outline-offset: 4px;
      border-radius: var(--radius-sm);
    }

    .faq-question {
      flex: 1 1 auto;
      display: block;
      padding-right: 0.25rem;
      font-size: clamp(1.05rem, 1.6vw, 1.3rem);
      line-height: 1.2;
    }

    .faq-item button .chevron {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.25rem;
      height: 1.25rem;
      transition: transform 0.2s var(--ease);
      transform-origin: center;
    }

    .faq-item button .chevron::before {
      content: "";
      width: 0.62rem;
      height: 0.62rem;
      border-right: 2.5px solid var(--color-primary);
      border-bottom: 2.5px solid var(--color-primary);
      transform: rotate(45deg) translateY(-1px);
    }

    .faq-item.is-open button .chevron { transform: rotate(180deg); }

    .faq-panel {
      box-sizing: border-box;
      height: 0;
      opacity: 0;
      overflow: hidden;
      padding: 0;
      will-change: height, opacity;
      transition:
        height 0.36s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.24s ease;
    }

    /* Collapse is the `hidden` attribute, so scripts that only toggle it work. */
    .faq-panel[hidden] { display: none; }

    .faq-item.is-open .faq-panel {
      height: auto;
      opacity: 1;
    }

    /* Rich answer content. Technology pages only ever emit a single <p>;
       migrated pages carry lists, links, and inline emphasis, so the component
       has to style all of it consistently. */
    .faq-panel > :first-child { margin-top: 0; }
    .faq-panel > :last-child { margin-bottom: 0; padding-bottom: 1.7rem; }

    .faq-panel p,
    .faq-panel li {
      color: var(--color-muted);
      font-size: 1.1rem;
      line-height: 1.65;
    }

    .faq-panel p {
      margin: 0 0 1rem;
      padding: 0 2.5rem 0 0;
    }

    .faq-panel ul,
    .faq-panel ol {
      margin: 0 0 1rem;
      padding: 0 2.5rem 0 1.25rem;
    }

    .faq-panel li { margin: 0 0 0.5rem; }
    .faq-panel li:last-child { margin-bottom: 0; }

    .faq-panel a {
      color: var(--color-primary);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .faq-panel strong { color: var(--color-text); font-weight: 600; }

    @media (max-width: 700px) {
      .faq-item button { padding: 1rem 0 calc(1rem + 10px); }
      .faq-question { font-size: 1rem; }
      .faq-item button .chevron { width: 1.15rem; height: 1.15rem; }
      .faq-panel > :last-child { padding-bottom: 1.2rem; }
      .faq-panel p { padding-right: 0; font-size: 0.98rem; }
      .faq-panel li { font-size: 0.98rem; }
      .faq-panel ul,
      .faq-panel ol { padding-right: 0; }
    }

    @media (prefers-reduced-motion: reduce) {
      .faq-panel { transition: none; }
    }
