/* css/global.css */

:root {
  /* Brand blues */
  --c-title: #308dc4; /* Content Titles + Section Titles */
  --c-client-title: #2a88b5; /* Our client Titles */
  --card-bg: #f6f6f8; /* Grayed Cards */

  /* Your palette (from the other image you sent earlier) */
  --c-sky-100: #9be3f9;
  --c-sky-200: #5ec3ea;
  --c-blue-500: #48a0f6;
  --c-blue-800: #1b71a3;
  --c-green-500: #16a34a; /* "after" / validated state, pairs with the blues */

  /* Text */
  --text: #000000; /* headings in that design look basically black */
  --text-muted: #505355; /* body text looks like a dark gray (approx) */

  --bg: #ffffff; /* white background */

  /* Horizontal page column. Every section container uses these two, so all
     content lines up on one grid regardless of viewport. */
  --page-max: 1400px;
  --page-gutter: clamp(1.25rem, 4vw, 4rem);

  /* Vertical rhythm between page sections. Every section applies this as
     padding-block, so the gap between any two is exactly twice this value. */
  --section-space: clamp(2.25rem, 4.5vh, 3.25rem);

  /* Typography */
  --font-main: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
}

[hidden] {
  display: none !important;
}

/* Inter is loaded from Google Fonts in each page <head>.
   The family is set once in --font-main above — never hard-code it. */

body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  padding-top: 90px; /* Space for fixed navbar */
  background: var(--bg);
  color: var(--text);
}

html {
  scroll-padding-top: 100px; /* Offset for anchor links with fixed navbar */
}

/* reusable single line */
.sectionLine {
  width: 100%;
  height: 2px;
  background: #000;
  opacity: 0.12;
  display: flex;
  align-items: center; /* centers the line vertically */
}

/* the actual line */
.sectionLine::before {
  content: "";
  width: 100%;
  height: 2px;
  background: #000;
  opacity: 0.12;
  display: block;
}

.primary-button {
  background-color: var(--c-blue-500);
  color: var(--bg);
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}
.primary-accent-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #4193bd 0%, #80cbe7 100%);
  color: var(--bg);
  border: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(27, 113, 163, 0.25);
}

#bookDemo img,
#bookDemoFooter img{
  width: 1.65rem;
}

#sendresume{
    padding: .5rem 2rem !important;
}

#sendresume img {
    width: 2rem;
    transform: rotate(45deg);
}

.footerLinks {
  width: max-content;
}

main.page-main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sectionHeader2col {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 0 4vw 0rem 4vw;
  border-top: 1px solid #19638e25;
  border-bottom: 1px solid #19638e25;
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
  padding: 2.5rem 8vw;
}

/* left block: bar + title */
.sectionHeaderLeft {
  display: flex;
  align-items: flex-start;
  gap: 18px; /* matches .clientsTitle gap vibe */
}

.f-aligned-items-center {
  display: flex;
  align-items: center;
}

/* IMPORTANT: your .titleBar is already styled in .clientsHeader;
   this makes sure it still works here too */
.titleBar {
  width: 10px;
  height: 90px;
  background: var(--c-blue-500);
  flex: 0 0 auto;
}

/* title */
.sectionHeaderTitle {
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 0.95;
  color: var(--text);
  font-weight: 800;
}

/* blue word */
.blueTitle {
  color: var(--c-blue-800);
}

/* subtitle on the right */
.sectionHeaderSubtitle {
  margin: 0;
  max-width: 30%; /* gives line breaks like your image */
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* responsive stack */
@media (max-width: 900px) {
    .sectionHeader2col{
        flex-direction: row;
        align-items: start;
        padding: .75rem 1rem !important;
    }
    .sectionHeaderSubtitle{
        max-width: 100%;
        display: none;
    }
    .sectionHeaderLeft{
        margin-left: 2rem;
        align-items: center;
    }
}

@media (max-width: 450px) {
    .solutionsHeadline{
    font-size: 2rem !important;
    }
    .heroTitle h3{
        font-size: 1.3rem !important;
        width: 60% !important;
    }
    .sectionHeaderTitle{
        font-size: 1.9rem !important;
    }
    .titleBar{
        height: 70px !important;
    }
}

blue-title{
    color: #1b71a3 !important;
}

/* ===================================================== */
/* Responsive breakpoints                               */
/* ===================================================== */

/* @media (max-width: 1400px) {
    .homeHero {
        align-items: flex-start;
    }
    .sectionTitle.leftTitle {
        width: 65%;
    }
    .clientsDetail {
        width: 75%;
    }
    .clientTextBlock {
        width: 90%;
    }
    .clientsGraphic {
        width: 35%;
        background-size: contain;
    }
    .aboutHero .heroTitle h2 {
        font-size: 2.5rem;
    }
    .featuresList {
        padding: 2.5rem 2.5rem 3rem 3rem;
    }
}

@media (max-width: 1200px) {
    #navbar {
        width: 95%;
    }
    .linksNavbar {
        width: 40%;
    }
    .featuresSolutions {
        flex-direction: column;
        height: auto;
        
    }
    .featuresList,
    .featuresGraphic {
        width: 100%;
    }
    .featuresGraphic img {
        max-width: 480px;
        margin: 0 auto;
        display: block;
    }
    .howItWorksSolutionsGraphic,
    .howItWorksSolutionsSteps {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    #navbar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .logoNavbar,
    .linksNavbar,
    .supportButtonsNavbar {
        width: auto;
    }
    .howItWorksSolutionsGraphic {
        width: 60%;
        margin: 0 auto 2rem auto;
    }
    .howItWorksSolutionsGraphic img {
        transform: none;
        width: 100%;
    }
    .howItWorksSolutionsContainer {
        flex-direction: column;
        gap: 2rem;
    }
    .howItWorksSolutionsSteps {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .hiwStep {
        width: 100%;
    }
    .career-descriptions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .careersSection {
        padding: 3rem 0;
    }
    .foundersTeam {
        grid-template-columns: repeat(2, 1fr);
    }
    .developmentTeam {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .content.contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row.two {
        flex-direction: column;
    }
    .footerInfo {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    .footer-c,
    .footer-r,
    .footer-buttons {
        width: 100%;
        align-items: center;
    }
    .footerLinks ul {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    #navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .logoNavbar,
    .linksNavbar,
    .supportButtonsNavbar {
        width: 100%;
        justify-content: flex-start;
    }
    #navbar ul {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-start;
    }
    .sectionTitle.rightTitle,
    .sectionTitle.leftTitle,
    .sectionTitle.centerTitle {
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }
    .sectionTitle.centerTitle p {
        text-align: left;
    }
    .heroGraphics {
        flex-direction: column;
        gap: 1.5rem;
    }
    .heroGifContainer,
    .heroGifContainer:nth-of-type(2) {
        width: 80%;
        transform: none;
        animation: none;
    }
    .featuresList {
        border-radius: 2rem;
        padding: 2rem;
    }
    .featuresList ul {
        margin-left: 0;
    }
    .aboutValuesContainer {
        grid-template-columns: 1fr;
    }
    .expertiseContainer {
        flex-direction: column;
        gap: 2rem;
    }
    .verticalHR {
        display: none;
    }
    .career-desc {
        padding: 1.5rem 1rem;
    }
    .teamContainer {
        padding: 1rem 0;
    }
}

@media (max-width: 600px) {
    .homeHero .sectionTitle {
        position: relative;
        width: 100%;
        margin-left: 0;
    }
    .featuresList {
        padding: 1.75rem;
    }
    .howItWorksSolutionsGraphic {
        width: 100%;
    }
    .content.contact-grid,
    main.page-main {
        padding: 0 1rem;
    }
    .foundersTeam,
    .developmentTeam {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .contact-wrap {
        margin-top: 6rem;
    }
}

@media (max-width: 480px) {
    #navbar {
        padding: 0.75rem 1rem;
    }
    .logoNavbar img {
        width: 45%;
    }
    .featuresList {
        border-radius: 1.5rem;
    }
    .contact-map iframe.gmap-frame {
        height: 220px;
    }
    main.page-main {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
  .aboutHero {
    height: auto;              
    align-items: flex-start;   
  }

  .aboutHero .heroTitle {
    width: 100%;               
    align-items: flex-start;
  }

  .aboutHero .heroTitle h2 {
    width: 100%;               
    font-size: 2.2rem;         
  }

  .aboutHero .heroTitle p {
    width: 100%;
    font-size: 1rem;           
  }
}

@media (max-width: 950px){
  .clientsHeader{
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .clientsRadarPlaceholder{
    width: min(420px, 95%);
  }
}
 */

/* css/footer.css */
/* =========================
   FOOTER
   ========================= */

footer {
  width: 100%;
  margin-top: 4rem;
  background: transparent;
  color: var(--text);
}

.footerInfo {
  width: 100%;
  margin: 0;
  padding: 3rem clamp(1.5rem, 6vw, 5rem) 2rem;
  border-radius: 0;
  background: #f3f5f7;
  box-shadow: none;
  filter: none;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

/* TOP ROW: 4 columns */
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* col 1: brand */
.footer-c {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-c .footer-brand img {
  width: 220px;
  margin: 0;
}

.footer-c p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

.footer-c .primary-accent-button {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* link columns */
.footerLinks h4,
.footer-contact h4 {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.footerLinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.footerLinks a {
  text-decoration: none;
  color: #2a8fd0;
  font-weight: 500;
  font-size: 0.95rem;
}

.footerLinks a:hover {
  text-decoration: underline;
}

/* col 4: contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footerData {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.footerData img {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footerSocials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.footerSocials a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #cbd5dd;
  background: #fff;
  color: #2a8fd0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footerSocials a:hover {
  background: #eaf2fc;
  border-color: #2a8fd0;
  transform: translateY(-1px);
}

/* DIVIDER */
.footer-divider {
  border: none;
  border-top: 1px solid #d8dde2;
  margin: 2.5rem 0 1.25rem;
}

/* BOTTOM ROW */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom-row p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.patent-badge {
  height: auto;
  width: 140px;
  max-width: 100%;
  display: block;
}

.footer-badge {
  margin: 0;
  flex-shrink: 0;
}

.cookie-preferences-link {
  border: 0;
  background: transparent;
  color: #236ea3;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 24px));
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(18, 47, 73, 0.2);
  padding: 1rem 1.1rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1rem;
}

/* Ensure hidden elements are strictly hidden and do not override display */
.cookie-consent[hidden],
.cookie-consent__groups[hidden],
.cookie-consent__btn[hidden],
[hidden] {
  display: none !important;
}

.cookie-consent.is-visible {
  animation: cookieSlideUp 0.25s ease-out;
}

.cookie-consent__text {
  margin: 0;
  color: #1c364a;
  font-size: 0.94rem;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: #1a79b8;
  font-weight: 600;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent__groups {
  display: grid;
  gap: 0.6rem;
}

.cookie-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #d7e0e8;
  border-radius: 10px;
  background: #f8fbfd;
}

.cookie-toggle__text {
  display: grid;
  gap: 0.15rem;
}

.cookie-toggle__text strong {
  color: #17364a;
  font-size: 0.92rem;
}

.cookie-toggle__text small {
  color: #4e6575;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cookie-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1f7bb8;
  cursor: pointer;
}

.cookie-toggle--locked {
  background: #f1f4f7;
}

.cookie-toggle--locked input[type="checkbox"] {
  cursor: not-allowed;
}

.cookie-consent__btn {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.56rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-consent__btn--primary {
  background: #1f7bb8;
  border-color: #1f7bb8;
  color: #ffffff;
}

.cookie-consent__btn--secondary {
  background: #f4f7fa;
  border-color: #c3d1dc;
  color: #1b3b52;
}

.cookie-consent__btn--neutral {
  background: #ffffff;
  border-color: #9eb4c5;
  color: #1f567a;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* legacy hides */
.footerGraphic { display: none; }
.footerCopyright { display: none; }

.footerInfo__soc2-badge {
  width: 7rem;
  position: absolute;
  right: 30px;
  top: 14px;
  opacity: .65;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-c {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footerInfo {
    padding: 2.5rem 1.25rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-consent {
    width: calc(100% - 16px);
    bottom: 8px;
    padding: 0.85rem;
    align-items: stretch;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-consent__btn {
    flex: 1;
  }

  .cookie-toggle {
    grid-template-columns: 1fr;
  }
}

/* css/navbar.css */
/* NAVBAR CONTAINER */
:root{
  --navbar-height: 80px;
}

#navbar{
  position: fixed;
  display: flex;
  justify-content: space-evenly;
  align-items: center;

  width: 100%;
  top: 0;
  padding: 1rem 0;

  background: rgba(255, 255, 255, 0.10);
  border-radius: 0;        
  /* box-shadow: 0 4px 30px rgba(10, 10, 10, 0.20);  */
  backdrop-filter: blur(14.8px);
  -webkit-backdrop-filter: blur(14.8px);
  border-bottom: 1px solid rgba(15, 94, 139, 0.10);

  z-index: 999;
}

/* LOGO */
.logoNavbar{
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logoNavbar img{
  width: 55%;
}

/* LINKS */
.linksNavbar{
  /* Six page links at 1.1rem need ~410px plus gaps; 30% was too narrow
     below ~1400px and the labels ran together. */
  width: 44%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar ul{
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1.25rem);

  width: 100%;
  max-width: 720px;
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
}

#navbar li{
  padding: 0;
  position: relative;
}

/* Hover sections dropdown (desktop navbar only) */
#navbar .linksNavbar li .sectionsMenu{
  display: none;
  position: absolute;
  top: 100%;
  /* Left-aligned with the link text: pull back by the menu padding plus
     the item padding so the first item's text lines up with the link. */
  left: calc(-0.5rem - 0.75rem);
  transform: none;

  min-width: 200px;
  padding: 0.5rem;

  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(15, 94, 139, 0.10);
  border-radius: 12px;

  backdrop-filter: blur(14.8px);
  -webkit-backdrop-filter: blur(14.8px);

  z-index: 2000;
}

/* JS-controlled close state (used after clicking a section on the same page) */
#navbar .linksNavbar li.sectionsMenuForceClosed .sectionsMenu{
  display: none !important;
}

/* Invisible hover-bridge so moving from link -> menu doesn't drop :hover */
#navbar .linksNavbar li .sectionsMenu::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

#navbar .linksNavbar li:hover .sectionsMenu,
#navbar .linksNavbar li:focus-within .sectionsMenu{
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* If hover is briefly lost on the parent li, keep menu open while hovering it */
#navbar .linksNavbar li .sectionsMenu:hover{
  display: flex;
  flex-direction: column;
}

#navbar .linksNavbar li .sectionsMenuItem{
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 500;
  white-space: nowrap;
}

#navbar .linksNavbar li .sectionsMenuItem:hover{
  background: rgba(255, 255, 255, 0.08);
}

/* NORMAL LINKS (NO PILL) */
#navbar li a{
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  /* padding: 8px 16px; */
  border-radius: 999px;
  transition: color .15s ease;
}

/* ACTIVE PAGE ONLY (THE BUBBLE) */
/* ACTIVE PAGE ONLY (underline) */
#navbar li.active a{
  background: transparent;
  border: none;
  box-shadow: none;

  color: var(--text);
  border-radius: 0;

  position: relative;
}

/* underline */
#navbar li.active a:not(.sectionsMenuItem)::after{
  content: "";
  position: absolute;
  left: -5px;      /* matches your link padding */
  right: -5px;     /* matches your link padding */
  bottom: -6px;    /* distance under text */
  height: 5px;
  /* border-radius: 999px; */
  background: #2a88b5; /* your blue */
}

.linksNavbarMenu{
  display: none;
}

#navbar .mobile-careers-link{
  display: none;
}

.hidden{
  display: none !important;
}

.linksNavbarMenu{
  width: 10%;
  position: relative;
}

#hamburgerBtn{
  background-color: #ffffff;
  border: 1px solid rgba(157, 157, 157, 0.25);
  border-radius: .015rem;
}

/* HAMBURGER ICON LINES */
#hamburgerBtn svg rect{
  fill: rgb(157, 157, 157);
  transition: fill .15s ease;
}

#mobileMenu{
  background: rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12.4px);
  -webkit-backdrop-filter: blur(12.4px);
  padding: .5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  left: 0;
  top: 0;
  z-index: 1000;
}

/* Controlled by JS via the `hidden` attribute */
#mobileMenu[hidden]{
  display: none;
}

#mobileMenu ul{
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  width: 40%;
  padding: 2rem 1rem;
}

#mobileMenu li{
  width: 100%;
  text-align: right;
  padding: 2rem;
  position: relative;
}
#mobileMenu li::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(15,94,139,0) 0%, rgba(15,94,139,0.335) 100%);
  pointer-events: none;
}


#mobileMenu ul a{
  text-decoration: none;
  color: var(--text);
}

@media (max-width: 450px) or (max-width: 1100px) {
  :root{
    --navbar-height: 72px;
  }

  #navbar{
    justify-content: space-between;
    width: 100% !important;
    display: flex;
  }
  .logoNavbar{
    margin-left: 1rem;
  }
  .logoNavbar{
    width: 40%;
  }
  .linksNavbarMenu{
    position: relative;
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .supportButtonsNavbar{
    display: none;
  }
  .linksNavbar{
    display: none !important;
  }
  .linksNavbarMenu{
    display: flex;
  }
}

/* css/careers.css */
.careersPage {
  overflow-x: clip;
  background: #fff;
}

html:has(body.careers-page) {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-height, 80px) + 72px);
}

.careersPage h1,
.careersPage h2,
.careersPage h3,
.careersPage p,
.careersPage figure {
  margin-top: 0;
}

.careersSectionInner,
.careersHero__inner,
.careersMission,
.careersApply,
.careersAbout {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.careersEyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--c-blue-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.careersHero {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background: radial-gradient(58% 46% at 46% 0%, rgba(214, 234, 248, 0.68) 0%, rgba(255, 255, 255, 0) 70%);
}

.careersHero::before,
.careersHero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.careersHero::before {
  width: min(72vw, 1050px);
  height: min(72vw, 1050px);
  right: -38vw;
  bottom: -55vw;
  border: 1px solid rgba(112, 167, 214, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(112, 167, 214, 0.08), 0 0 0 56px rgba(112, 167, 214, 0.05), 0 0 0 84px rgba(112, 167, 214, 0.03);
}

.careersHero::after {
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(180deg, rgba(230, 240, 249, 0) 0%, rgba(220, 235, 247, 0.7) 100%);
}

.careersHero__watermark {
  position: absolute;
  z-index: 0;
  right: clamp(1rem, 6vw, 6rem);
  top: clamp(1.25rem, 6vh, 4rem);
  width: clamp(100px, 11vw, 170px);
  opacity: 0.13;
}

.careersHero__inner {
  position: relative;
  z-index: 1;
  min-height: clamp(540px, 72vh, 750px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  grid-template-rows: auto auto;
  align-items: center;
  align-content: center;
  column-gap: clamp(1.5rem, 3vw, 3.25rem);
  row-gap: clamp(1rem, 2vh, 1.5rem);
  justify-content: center;
  padding-block: clamp(2.5rem, 5vh, 4.5rem);
}

.careersHero__titleBlock {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.careersHero__titleBlock h1 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 3.75vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
  white-space: nowrap;
}

.careersHero__titleBlock h1 span,
.careersMission h2 span,
.careersReasons h2 span {
  color: var(--c-blue-800);
}

.careersHero__body {
  display: contents;
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
}

.careersHero__copy p {
  max-width: 58ch;
  margin-bottom: 1.8rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
}

.careersHero__placeholder,
.careersButton {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
}

.careersHero__placeholder {
  color: #fff;
  border: 0;
  background: linear-gradient(90deg, #4193bd 0%, #80cbe7 100%);
  box-shadow: 0 10px 20px rgba(27, 113, 163, 0.22);
  cursor: default;
}

.careersHero__placeholder svg,
.careersButton svg {
  width: 1.05rem;
  height: 1.05rem;
}

.careersHero__people {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  margin: 0;
}

.careersHero__logo {
  display: block;
  width: min(92%, 470px);
  height: auto;
  filter: drop-shadow(0 28px 32px rgba(13, 79, 119, 0.2));
}

.careersSectionNav {
  position: relative;
  z-index: 2;
  padding-inline: var(--page-gutter);
  background: linear-gradient(90deg, #176f9e 0%, #369cc6 55%, #6bc9e7 100%);
  box-shadow: 0 10px 24px rgba(15, 83, 119, 0.14);
}

.careersSectionNav__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: calc(var(--page-max) - var(--page-gutter) * 2);
  margin-inline: auto;
}

.careersSectionNav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.76rem, 1vw, 0.9rem);
  font-weight: 750;
  letter-spacing: 0.025em;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.careersSectionNav a + a::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.2);
}

.careersSectionNav a::after {
  position: absolute;
  right: 24%;
  bottom: 0;
  left: 24%;
  height: 3px;
  border-radius: 999px 999px 0 0;
  content: "";
  background: #fff;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.careersSectionNav a:hover,
.careersSectionNav a:focus-visible,
.careersSectionNav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.careersSectionNav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.careersSectionNav a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.careersMission {
  padding-block: var(--section-space);
  text-align: center;
}

.careersMission__copy {
  max-width: 930px;
  margin-inline: auto;
}

.careersMission h2,
.careersReasons h2 {
  margin-bottom: 1.15rem;
  color: var(--text);
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.careersMission p {
  max-width: 85ch;
  margin: 0.8rem auto 0;
  color: var(--text-muted);
  line-height: 1.68;
}

.careersTeamRail {
  --rail-gap: clamp(0.75rem, 1.2vw, 1.15rem);
  position: relative;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  padding-block: clamp(0.8rem, 1.5vw, 1.15rem);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(82, 174, 213, 0.2), rgba(121, 168, 226, 0.22), rgba(75, 179, 214, 0.2));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.75), inset 0 -1px rgba(35, 119, 158, 0.12);
  text-align: left;
}

.careersTeamRail__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.careersTeamRail__track {
  display: flex;
  gap: var(--rail-gap);
  width: max-content;
  animation: careersTeamMarquee 34s linear infinite;
  will-change: transform;
}

.careersTeamRail:hover .careersTeamRail__track { animation-play-state: paused; }

.careersTeamRail__set {
  display: flex;
  gap: var(--rail-gap);
}

.careersTeamRail__slide {
  flex: 0 0 clamp(190px, 21vw, 340px);
  width: clamp(190px, 21vw, 340px);
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: clamp(17px, 2vw, 26px);
  background: #dfeaf2;
  box-shadow: 0 12px 24px rgba(15, 62, 88, 0.16);
}

.careersTeamRail__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes careersTeamMarquee {
  to { transform: translateX(calc(-50% - var(--rail-gap) / 2)); }
}

.careersReasons {
  padding-block: calc(var(--section-space) * 1.15);
  background: linear-gradient(180deg, #f3f9fc 0%, #fbfdfe 100%);
}

.careersReasons__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.35rem);
  margin-top: clamp(1.8rem, 4vh, 2.7rem);
}

.reasonCard {
  box-sizing: border-box;
  border: 1px solid rgba(48, 141, 196, 0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 43, 61, 0.07);
}

.reasonCard {
  min-height: 260px;
  padding: clamp(1.4rem, 2vw, 2rem);
}

.reasonCard__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  color: var(--c-blue-800);
  background: rgba(72, 160, 246, 0.12);
  font-size: 0.86rem;
  font-weight: 800;
}

.reasonCard h3 {
  margin-bottom: 0.65rem;
  color: #123f59;
  font-size: 1.08rem;
  line-height: 1.32;
}

.reasonCard p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.careersApply { padding-block: var(--section-space) 0; }

.careersApply__inner,
.careersAbout__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.7rem, 3vw, 2.7rem);
  border-radius: 20px;
}

.careersApply__inner {
  color: #fff;
  background: linear-gradient(105deg, #0a5978 0%, #0784a6 100%);
}

.careersApply .careersEyebrow { color: #b9ebfa; }
.careersApply h2 { max-width: 700px; margin-bottom: 0.65rem; font-size: clamp(1.55rem, 2.7vw, 2.4rem); }
.careersApply p { margin-bottom: 0; color: rgba(255, 255, 255, 0.78); line-height: 1.55; }

.careersButton { border: 0; cursor: pointer; white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.careersButton:hover { transform: translateY(-2px); }
.careersButton--light { color: #075b7b; background: #fff; box-shadow: 0 12px 26px rgba(0, 35, 53, 0.2); }
.careersButton--solid { color: #fff; background: #1668d6; }

.careersAbout { padding-block: var(--section-space); }
.careersAbout__inner { border: 1px solid rgba(48, 141, 196, 0.14); background: #f7fbfd; }
.careersAbout h2 { margin-bottom: 0.6rem; color: #123f59; font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.careersAbout p { max-width: 780px; margin-bottom: 0; color: var(--text-muted); line-height: 1.55; }

.resume-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 9999; }
.resume-modal.is-open { display: flex; }
.resume-modal-backdrop { position: absolute; inset: 0; background: rgba(9, 32, 46, 0.58); }
.resume-modal-content {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: min(90%, 460px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 43, 61, 0.3);
}
.resume-modal-content h2 { margin: 0 2rem 0.5rem 0; font-size: 1.45rem; }
.resume-modal-content > p { margin-bottom: 1.5rem; color: var(--text-muted); line-height: 1.5; }
.resume-modal-close { position: absolute; top: 0.8rem; right: 1rem; border: 0; background: transparent; color: var(--text-muted); font-size: 1.8rem; cursor: pointer; }
#resumeForm .form-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
#resumeForm label { color: #33505f; font-size: 0.88rem; font-weight: 650; }
#resumeForm input[type="text"],
#resumeForm input[type="email"],
#resumeForm input[type="file"] { box-sizing: border-box; width: 100%; padding: 0.75rem; border: 1px solid rgba(48, 141, 196, 0.24); border-radius: 9px; font: inherit; }
#resumeForm input:focus { outline: 0; border-color: var(--c-blue-500); box-shadow: 0 0 0 3px rgba(72, 160, 246, 0.16); }
#resumeForm .formStatus { margin: 0.8rem 0; color: var(--c-blue-800); font-size: 0.9rem; font-weight: 650; }
#resumeForm .primary-accent-button { justify-content: center; width: 100%; padding: 0.85rem 1.2rem; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
body.modal-open { overflow: hidden; }

@media (max-width: 1050px) {
  .careersReasons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasonCard { min-height: 220px; }
}

@media (max-width: 820px) {
  .careersHero__inner { display: flex; min-height: 0; }
  .careersHero__titleBlock { margin-inline: 0; text-align: left; }
  .careersHero__body { display: grid; grid-template-columns: 1fr; gap: 2.25rem; width: 100%; margin-top: 1.5rem; }
  .careersHero__people { grid-column: auto; grid-row: auto; width: min(100%, 570px); min-height: 390px; margin-inline: auto; }
  .careersApply__inner,
  .careersAbout__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .careersHero__inner { min-height: 0; padding-block: 3.5rem; }
  .careersHero__titleBlock h1 { font-size: clamp(2rem, 10vw, 2.85rem); white-space: normal; }
  .careersHero__people { min-height: 320px; }
  .careersHero__watermark { right: 1rem; top: 1rem; }
  .careersSectionNav { padding-inline: 0; overflow-x: auto; }
  .careersSectionNav__inner { grid-template-columns: repeat(4, minmax(126px, 1fr)); width: max-content; min-width: 100%; }
  .careersSectionNav a { min-height: 52px; padding-inline: 0.8rem; }
  .careersReasons__grid { grid-template-columns: 1fr; }
  .reasonCard { min-height: 0; }
  .careersTeamRail__slide { flex-basis: 210px; width: 210px; }
  .careersButton { width: 100%; }
  .resume-modal-content .g-recaptcha { height: 68px; transform: scale(0.84); transform-origin: left top; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.careers-page) { scroll-behavior: auto; }
  .careersTeamRail__viewport { overflow-x: auto; scrollbar-width: none; }
  .careersTeamRail__viewport::-webkit-scrollbar { display: none; }
  .careersTeamRail__track { animation: none; }
  .careersTeamRail__set[aria-hidden="true"] { display: none; }
  .careersButton { transition: none; }
}

/* css/reveal.css */
/* ==========================================================================
   Entrance animations.

   Elements marked [data-reveal] start offset and transparent, then settle
   when they scroll into view (reveal.js). Everything here is gated on
   html.has-reveal, which reveal.js only adds when JavaScript runs AND the
   visitor has not asked for reduced motion — so with JS off, or motion
   turned down, the page renders fully visible with no animation at all.

   Only opacity/transform are animated, so every reveal stays on the
   compositor and never triggers layout.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {

  html.has-reveal [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
      opacity var(--reveal-duration, 720ms) cubic-bezier(.22, .68, .28, 1) var(--reveal-delay, 0ms),
      transform var(--reveal-duration, 720ms) cubic-bezier(.22, .68, .28, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  /* ---------- Direction variants ---------- */

  html.has-reveal [data-reveal="fade"]  { transform: none; }
  html.has-reveal [data-reveal="left"]  { transform: translate3d(-26px, 0, 0); }
  html.has-reveal [data-reveal="right"] { transform: translate3d(26px, 0, 0); }
  html.has-reveal [data-reveal="zoom"]  { transform: scale(.94); }

  /* A longer, softer entrance for the big decorative pieces. */
  html.has-reveal [data-reveal="art"] {
    transform: translate3d(0, 26px, 0) scale(.97);
    --reveal-duration: 1000ms;
  }

  html.has-reveal [data-reveal].is-in {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  /* ---------- Hero backdrop ---------- */

  /* The arc field washes in on its own slower clock, behind the copy. */
  html.has-reveal .heroBg {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1500ms ease-out, transform 2200ms cubic-bezier(.16, .8, .3, 1);
  }

  html.has-reveal .heroBg.is-in {
    opacity: 1;
    transform: none;
  }

  /* ---------- Drawn lines ---------- */

  /* [data-draw] on an <svg>: reveal.js measures each path/polyline and sets
     --draw-len, then the dash retracts so the line draws itself. Filled marks
     (the junction dot, sparkline arrowheads) fade in behind the line instead. */
  html.has-reveal [data-draw] path,
  html.has-reveal [data-draw] polyline {
    stroke-dasharray: var(--draw-len, 0);
    stroke-dashoffset: var(--draw-len, 0);
    transition: stroke-dashoffset 900ms cubic-bezier(.4, 0, .2, 1) var(--reveal-delay, 0ms);
  }

  html.has-reveal [data-draw].is-in path,
  html.has-reveal [data-draw].is-in polyline {
    stroke-dashoffset: 0;
  }

  html.has-reveal [data-draw] circle,
  html.has-reveal [data-draw] polygon {
    opacity: 0;
    transition: opacity 400ms ease-out var(--mark-delay, 260ms);
  }

  /* --mark-opacity carries the mark's authored opacity, so a dot the designer
     set to 45% fades up to 45% rather than being forced to full. */
  html.has-reveal [data-draw].is-in circle,
  html.has-reveal [data-draw].is-in polygon {
    opacity: var(--mark-opacity, 1);
  }

}
