: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; }
    .logo-link img {
      width: 232px;
      height: 48px;
      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; }

    @media (max-width: 1100px) and (min-width: 946px) {
      .nav-desktop > li > a {
        font-size: 14px;
        line-height: 20px;
        padding: 10px 18px;
      }
      .header-inner {
        padding: 16px 18px;
      }
      .nav-desktop { gap: 4px; }
    }
    @media (min-width: 946px) {
      .nav-toggle { display: none !important; }
      .nav-desktop { display: flex; }
    }
    @media (max-width: 945px) {
      .nav-desktop { display: none !important; }
      .nav-toggle { display: inline-flex !important; }
      .site-nav { flex: 0; justify-content: flex-end; }
    }

    /* 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; }

    /* 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 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__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 {
      position: relative;
      padding-right: 2rem;
    }
    .hero-form__field--select select {
      appearance: none;
      cursor: pointer;
      color: var(--color-text);
    }
    .hero-form__field--select select:invalid {
      color: #a0a0b0;
    }
    .hero-form__field--select option {
      color: var(--color-text);
    }
    .hero-form__chevron {
      position: absolute;
      right: 0.85rem;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
      color: #9a9aaa;
    }
    .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; } }
    .split__img img {
      display: block;
      width: 100%;
      height: auto;
      transition: transform 0.5s var(--ease);
    }
    .split__img:hover img { transform: scale(1.01); }

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

    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-split {
      display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
      align-items: center;
      padding: 4rem 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, #fff 0%, #fafafe 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.png") 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__photo--office,
      .stats-bento__stat--a,
      .stats-bento__stat--b {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 200px;
      }
      .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; }

    /* 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 button {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      border: none;
      background: #d6d8e0;
      cursor: pointer;
      padding: 0;
      transition: background 0.2s, transform 0.2s;
    }
    .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;
      }
    }
    .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; }
    /* 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; }
    .footer-brand .footer-logo img { display: block; }
    .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; }
    }
