/* 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/section-header.css */
/* ==========================================================================
   Centred section header — eyebrow pill + two-tone title + optional subtitle.
   Shared by #whyColosoSection and #ourClientsSection; add the classes to any
   further section that adopts the same structure.
   Palette and type come from global.css / index.css tokens.
   ========================================================================== */

.sectionHeaderCentered {
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.sectionEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(94, 195, 234, 0.16);
  color: var(--c-blue-800);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sectionEyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue-500);
}

.sectionHeaderTitle--centered {
  line-height: 1.12;
  font-size: clamp(2rem, 3.4vw, 3rem);
  max-width: 26ch;
}

/* For one-line statement titles that should not wrap at 26ch. */
.sectionHeaderTitle--wide {
  max-width: none;
}

.sectionHeaderSubtitle--centered {
  max-width: 46ch;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.5;
}

/* global.css hides .sectionHeaderSubtitle below 900px — that suited the old
   two-column header where it sat in a side column. In a centred header it
   carries the section's copy, so keep it. */
@media (max-width: 900px) {
  /* For one-line statement titles that should not wrap at 26ch. */
.sectionHeaderTitle--wide {
  max-width: none;
}

.sectionHeaderSubtitle--centered {
    display: block;
    max-width: 46ch;
  }
}

@media (max-width: 640px) {
  .sectionHeaderTitle--centered,
  /* For one-line statement titles that should not wrap at 26ch. */
.sectionHeaderTitle--wide {
  max-width: none;
}

.sectionHeaderSubtitle--centered {
    max-width: none;
  }
}

/* css/about.css */
/* ==========================================================================
   About page
   Hero → founder note → mission & vision → principles → story → team →
   careers → closing band.
   Tokens (--page-max, --page-gutter, --section-space, palette) come from
   global.css; the hero eyebrow pill comes from section-header.css.
   ========================================================================== */

.aboutPage {
  box-sizing: border-box;
  /* global.css already pads <body> to clear the fixed navbar. */
  overflow-x: clip;
  background: var(--bg);
}

.aboutPage section {
  box-sizing: border-box;
  width: 100%;
}

/* Every band shares one visible width so none reads wider than the rest.
   The first group carries its own gutters; the second group is a painted
   panel inside a section that already pads, so it takes the same visible
   width via the subtracted max-width. */
.aboutHero__inner,
.aboutFounder__inner,
.aboutPurpose__inner,
.aboutWay__inner,
.aboutStory__inner,
.aboutTeam__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.aboutCareers__inner,
.aboutBand__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--page-max) - var(--page-gutter) * 2);
  margin-inline: auto;
}

/* Small blue label above a section title. */
.aboutEyebrow {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--c-blue-500);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.aboutSectionTitle {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.aboutHero {
  padding-block: clamp(2rem, 5vh, 3.5rem) var(--section-space);
  background:
    radial-gradient(65% 70% at 70% 25%, rgba(94, 195, 234, 0.12) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 78%);
}

.aboutHero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
}

.aboutHero__title {
  margin: 1.25rem 0 0;
  max-width: 15ch;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
}

.aboutHero__lead {
  margin: 1.15rem 0 0;
  max-width: 44ch;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.6;
}

/* ---------- Hero flow diagram ---------- */

.aboutFlow {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 700 / 420;
}

.aboutFlow__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aboutFlow__wires path,
.aboutFlow__wires circle {
  vector-effect: non-scaling-stroke;
}

.aboutFlow__mark {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 8cqw;
  height: auto;
  transform: translate(-50%, -50%);
}

.aboutFlow__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  width: 24%;
  padding: 1.9cqw 2.2cqw;
  border-radius: 1.8cqw;
  background: #fff;
  box-shadow: 0 1.2cqw 2.8cqw rgba(15, 43, 61, 0.11);
  font-size: 2.1cqw;
  font-weight: 600;
  line-height: 1.2;
  color: #1b4a63;
}

.aboutFlow__chip svg {
  width: 3.2cqw;
  height: 3.2cqw;
  flex: 0 0 auto;
}

.aboutFlow__chip--in1 { left: 2%; top: 8.5%; }
.aboutFlow__chip--in2 { left: 2%; top: 24.5%; }
.aboutFlow__chip--in3 { left: 2%; top: 40.5%; }
.aboutFlow__chip--in4 { left: 2%; top: 56.5%; }

.aboutFlow__chip--out1 { right: 2%; top: 8.5%; }
.aboutFlow__chip--out2 { right: 2%; top: 24.5%; }
.aboutFlow__chip--out3 { right: 2%; top: 40.5%; }
.aboutFlow__chip--out4 { right: 2%; top: 56.5%; }

.aboutFlow__seal {
  position: absolute;
  left: 50%;
  top: 74%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7cqw;
  height: 7cqw;
  border-radius: 1.8cqw;
  background: #fff;
  box-shadow: 0 1.2cqw 2.8cqw rgba(15, 43, 61, 0.11);
  transform: translateX(-50%);
}

.aboutFlow__seal svg {
  width: 58%;
  height: 58%;
}

/* Once the column is phone-width, cqw type gets too small to read. */
@container (max-width: 430px) {
  .aboutFlow__chip {
    gap: 1.6cqw;
    padding: 2.4cqw 2.6cqw;
    font-size: 2.9cqw;
  }

  .aboutFlow__chip svg {
    width: 4.2cqw;
    height: 4.2cqw;
  }
}

/* ==========================================================================
   Founder note
   ========================================================================== */

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

.founderCard {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  align-items: start;
  gap: clamp(1.75rem, 4vw, 4rem);
  padding: clamp(1.5rem, 2.6vw, 2.75rem);
  border-radius: 18px;
  border: 1px solid rgba(48, 141, 196, 0.11);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

/* Portrait sits on a soft blue blob (asymmetric radius) with a faint dot
   grid behind it, so a plain headshot reads as an editorial feature. */
.founderCard__portrait {
  position: relative;
  max-width: 340px;
  margin-inline: auto;
  padding: clamp(0.75rem, 1.4vw, 1.25rem);
}

.founderCard__portrait::before {
  content: "";
  position: absolute;
  left: -6%;
  top: -8%;
  width: 34%;
  height: 40%;
  background-image: radial-gradient(rgba(72, 160, 246, 0.28) 1.2px, transparent 1.3px);
  background-size: 10px 10px;
  border-radius: 40% 60% 55% 45%;
  z-index: 0;
}

.founderCard__portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 46% 54% 42% 58% / 52% 42% 58% 48%;
  background: linear-gradient(160deg, #e6f3fd 0%, #d3e8fb 100%);
}

.founderCard__body {
  position: relative;
  min-width: 0;
}

.founderCard__quote {
  position: relative;
  margin: 1rem 0 0;
  padding-left: clamp(2.25rem, 3.4vw, 3.25rem);
}

/* Big decorative quote mark, hung in the gutter. */
.founderCard__quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  /* Inter's opening quote inks in the top third of its em box; this offset
     lands that ink beside the first two lines rather than the eyebrow. */
  top: 0.14em;
  font-size: clamp(3.2rem, 4.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(72, 160, 246, 0.35);
}

.founderCard__quote p {
  margin: 0 0 1rem;
  max-width: 66ch;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.founderCard__quote p:last-child {
  margin-bottom: 0;
}

.founderCard__quote .founderCard__highlight {
  font-weight: 700;
  color: var(--c-blue-800);
}

.founderCard__sign {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 1.5rem 0 0;
  padding-left: clamp(2.25rem, 3.4vw, 3.25rem);
}

.founderCard__sign b {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.founderCard__sign i {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Mission & vision
   ========================================================================== */

.aboutPurpose {
  padding-block: var(--section-space);
  background: linear-gradient(180deg, #ffffff 0%, #fafcfe 100%);
}

.aboutPurpose__header {
  text-align: center;
}

.aboutPurpose__header .aboutSectionTitle {
  margin-inline: auto;
}

.purposeCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.7fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(1.5rem, 3.5vh, 2.5rem);
  padding: clamp(1.5rem, 2.6vw, 2.75rem);
  border-radius: 18px;
  border: 1px solid rgba(48, 141, 196, 0.11);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

.purposeCol {
  min-width: 0;
  --purpose-accent: var(--c-blue-500);
  --purpose-accent-deep: var(--c-blue-800);
  --purpose-tint: rgba(72, 160, 246, 0.12);
}

.purposeCol--vision {
  --purpose-accent: var(--c-green-500);
  --purpose-accent-deep: #15803d;
  --purpose-tint: rgba(22, 163, 74, 0.12);
}

.purposeCol__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purpose-tint);
  color: var(--purpose-accent-deep);
}

.purposeCol__badge svg {
  width: 22px;
  height: 22px;
}

.purposeCol__label {
  display: block;
  margin-top: 1rem;
  color: var(--purpose-accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.purposeCol h3 {
  margin: 0.5rem 0 0;
  max-width: 18ch;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.purposeCol p {
  margin: 1rem 0 0;
  max-width: 40ch;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Hub diagram ---------- */

.purposeHub {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}

.purposeHub__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.purposeHub__wires path,
.purposeHub__wires circle {
  vector-effect: non-scaling-stroke;
}

.purposeHub__core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30cqw;
  height: 30cqw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2cqw 5cqw rgba(15, 43, 61, 0.12);
}

.purposeHub__core img {
  width: 55%;
  height: auto;
}

.purposeCard__closing {
  grid-column: 1 / -1;
  margin: clamp(0.5rem, 1.5vh, 1rem) 0 0;
  padding-top: clamp(1.25rem, 2.4vh, 1.75rem);
  border-top: 1px solid rgba(48, 141, 196, 0.14);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.purposeCard__closing::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-blue-500), var(--c-green-500));
}

/* ==========================================================================
   The Coloso Way
   ========================================================================== */

.aboutWay {
  padding-block: var(--section-space);
  background: linear-gradient(180deg, #fafcfe 0%, #ffffff 100%);
}

.aboutWay__grid {
  list-style: none;
  margin: clamp(1.5rem, 3.5vh, 2.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.75rem);
}

.wayCard {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 1.9vw, 1.85rem);
  border-radius: 14px;
  border: 1px solid rgba(48, 141, 196, 0.11);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
  overflow: hidden;
}

.wayCard__head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.wayCard__number {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-blue-500);
}

.wayCard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(72, 160, 246, 0.12);
  color: var(--c-blue-500);
}

.wayCard__icon svg {
  width: 27px;
  height: 27px;
}

.wayCard h3 {
  margin: 1.6rem 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  /* Reserve two lines so the body copy starts level across the row. */
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
}

.wayCard p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Bleeds slightly past the card's side padding; the card clips the overflow. */
.wayCard__art {
  display: block;
  width: calc(100% + 1rem);
  height: auto;
  margin: 1.75rem -0.5rem 0;
}

/* ==========================================================================
   Our story
   ========================================================================== */

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

.aboutStory__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
}

.aboutStory__copy p {
  margin: 1.15rem 0 0;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.aboutStory__facts {
  list-style: none;
  margin: clamp(1.75rem, 3.5vh, 2.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.aboutStory__facts li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(48, 141, 196, 0.14);
  background: var(--bg);
}

.factIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(72, 160, 246, 0.12);
  color: var(--c-blue-500);
}

.factIcon svg {
  width: 19px;
  height: 19px;
}

.factText {
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.factText b {
  /* Digits keep one width while the number counts up (include.js). */
  font-variant-numeric: tabular-nums;
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

/* ---------- Triad diagram ---------- */

.aboutTriad {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 420 / 340;
  color: var(--c-blue-500);
}

.aboutTriad__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aboutTriad__wires path,
.aboutTriad__wires circle {
  vector-effect: non-scaling-stroke;
}

.aboutTriad__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35cqw;
  width: 34%;
  text-align: center;
}

.aboutTriad__bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 11cqw;
  height: 11cqw;
  margin-bottom: 0.8cqw;
  border-radius: 50%;
  border: 1px solid rgba(72, 160, 246, 0.35);
  background: #fff;
  box-shadow: 0 1.2cqw 2.6cqw rgba(15, 43, 61, 0.08);
}

.aboutTriad__bubble svg {
  width: 50%;
  height: 50%;
}

.aboutTriad__node b {
  font-size: 3cqw;
  font-weight: 700;
  color: var(--c-blue-800);
}

.aboutTriad__node i {
  font-style: normal;
  font-size: 2.4cqw;
  line-height: 1.3;
  color: var(--text-muted);
}

.aboutTriad__node--top   { left: 33%; top: 2%; }
.aboutTriad__node--left  { left: 3%;  top: 56%; }
.aboutTriad__node--right { left: 63%; top: 56%; }

.aboutTriad__core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  transform: translate(-50%, -50%);
}

.aboutTriad__core img {
  width: 6cqw;
  height: auto;
}

.aboutTriad__core b {
  font-size: 3.4cqw;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-blue-800);
}

/* ==========================================================================
   Team
   ========================================================================== */

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

.aboutTeam__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.aboutTeam__lead {
  margin: 0;
  max-width: 48ch;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.aboutTeam__groupTitle {
  margin: clamp(1.75rem, 4vh, 2.75rem) 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #33505f;
}

.aboutTeam__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(0.85rem, 1.4vw, 1.4rem);
}

/* Both groups share one four-column track so every card is the same size;
   the three-person group simply leaves its last column empty. */
.aboutTeam__grid--four,
.aboutTeam__grid--three { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.aboutTeam__grid {
  /* The bio drawer positions its caret against this box (about-team.js). */
  position: relative;
}

.memberCard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid rgba(48, 141, 196, 0.11);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 10px 24px rgba(15, 43, 61, 0.06);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.memberCard:hover {
  border-color: rgba(48, 141, 196, 0.28);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.05), 0 14px 30px rgba(15, 43, 61, 0.09);
}

.memberCard.is-active {
  border-color: var(--c-blue-500);
  box-shadow: 0 0 0 3px rgba(72, 160, 246, 0.16), 0 14px 30px rgba(15, 43, 61, 0.09);
}

/* The portrait and the name/title row together form one button that opens
   the bio. */
.memberCard__toggle {
  appearance: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.memberCard__toggle:focus-visible {
  outline: 3px solid var(--c-blue-500);
  outline-offset: -3px;
  border-radius: 12px;
}

.memberCard img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  /* Grayscale unifies portraits shot in different settings; colour on hover. */
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.3s ease;
}

.memberCard:hover img,
.memberCard.is-active img {
  filter: grayscale(0);
}

.memberCard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 0.95rem;
}

.memberCard__id {
  min-width: 0;
}

.memberCard__meta b {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

.memberCard__meta i {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* "+" that turns into "×" while the bio is open. */
.memberCard__more {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(48, 141, 196, 0.22);
  color: var(--c-blue-800);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.3s ease;
}

.memberCard__more::before,
.memberCard__more::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.memberCard__more::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.memberCard__toggle:hover .memberCard__more {
  background: rgba(72, 160, 246, 0.12);
  border-color: rgba(48, 141, 196, 0.4);
}

.memberCard.is-active .memberCard__more {
  background: var(--c-blue-500);
  border-color: var(--c-blue-500);
  color: #fff;
  transform: rotate(45deg);
}

.memberCard__srText {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Bio: inline fallback ----------
   The bio lives in the card markup so it is crawlable and readable without
   JavaScript. about-team.js adds .has-bios once it takes over, at which point
   the copy is shown in the drawer below the row instead. */
.memberCard__bio {
  padding: 0 0.95rem 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.memberCard__bio p { margin: 0; }

.memberCard__bioRole,
.memberCard__bioName {
  display: block;
  margin: 0;
}

.memberCard__bioRole {
  color: var(--c-blue-500);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.memberCard__bioName {
  margin: 0.15rem 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.has-bios .memberCard__bio {
  display: none;
}

/* ---------- Bio drawer ----------
   One <li> per grid, spanning every column, moved by about-team.js to sit
   right after the last card of the active card's row. Height animates via the
   0fr → 1fr grid trick so the panel can be any size without a measured
   max-height. */
.memberBio {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.22, 0.68, 0.28, 1);
}

.memberBio.is-open {
  grid-template-rows: 1fr;
}

.memberBio__clip {
  min-height: 0;
  overflow: hidden;
}

.memberBio__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  box-sizing: border-box;
  /* The top margin leaves room for the caret; the outer grid gap sits above. */
  margin-top: 6px;
  padding: clamp(1.4rem, 2.4vw, 2.25rem);
  border-radius: 16px;
  border: 1px solid rgba(48, 141, 196, 0.16);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(155, 227, 249, 0.16), transparent 55%),
    var(--bg);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.32s ease 0.08s, transform 0.42s cubic-bezier(0.22, 0.68, 0.28, 1) 0.04s;
}

.memberBio.is-open .memberBio__panel {
  opacity: 1;
  transform: none;
}

/* Caret pointing up at the active card. --caret-x is set by about-team.js to
   the card's horizontal centre, relative to the grid. */
.memberBio__panel::before {
  content: "";
  position: absolute;
  top: -7px;
  left: var(--caret-x, 50%);
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(48, 141, 196, 0.16);
  border-top: 1px solid rgba(48, 141, 196, 0.16);
  background: var(--bg);
  transform: translateX(-50%) rotate(45deg);
  transition: left 0.3s ease;
}

.memberBio__photo {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
}

.memberBio__body {
  min-width: 0;
  /* Keeps copy clear of the close button in the corner. */
  padding-right: 2.5rem;
}

.memberBio__body .memberCard__bioRole {
  font-size: 0.8rem;
}

.memberBio__body .memberCard__bioName {
  margin: 0.3rem 0 0.9rem;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
}

.memberBio__body p {
  margin: 0;
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.memberBio__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(48, 141, 196, 0.16);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.memberBio__close svg {
  width: 16px;
  height: 16px;
}

.memberBio__close:hover,
.memberBio__close:focus-visible {
  background: var(--c-blue-500);
  border-color: var(--c-blue-500);
  color: #fff;
  outline: none;
}

.memberBio__panel:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .memberBio,
  .memberBio__panel,
  .memberBio__panel::before,
  .memberCard,
  .memberCard__more {
    transition: none;
  }
}

/* ==========================================================================
   Careers
   ========================================================================== */

.aboutCareers {
  padding: var(--section-space) var(--page-gutter);
}

.aboutCareers__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 16px;
  background: #f4f8fd;
}

.aboutCareers__inner--teaser {
  display: flex;
  justify-content: space-between;
}

.aboutCareers__inner--teaser .aboutCareers__copy {
  max-width: 760px;
}

.aboutCareers__copy p {
  margin: 1.15rem 0 clamp(1.5rem, 3vh, 2rem);
  max-width: 40ch;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.aboutCareers__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 13px 24px;
  border: none;
  border-radius: 999px;
  background: #1668d6;
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.aboutCareers__cta svg {
  width: 1.05em;
  height: 1.05em;
}

.aboutCareers__cta:hover {
  background: #1257b5;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(22, 104, 214, 0.26);
}

.aboutCareers__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.2vw, 1.25rem);
}

.disciplineCard {
  padding: clamp(1.25rem, 1.7vw, 1.6rem);
  border-radius: 12px;
  border: 1px solid rgba(48, 141, 196, 0.11);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 10px 22px rgba(15, 43, 61, 0.05);
}

.disciplineCard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(72, 160, 246, 0.12);
  color: var(--c-blue-500);
}

.disciplineCard__icon svg {
  width: 23px;
  height: 23px;
}

.disciplineCard h3 {
  margin: 1.15rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-blue-800);
  min-height: 2.5em;
  display: flex;
  align-items: flex-end;
}

.disciplineCard p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ==========================================================================
   Closing band
   ========================================================================== */

.aboutBand {
  padding: var(--section-space) var(--page-gutter);
}

.aboutBand__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 16px;
  border: 1px solid rgba(48, 141, 196, 0.11);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 14px 32px rgba(15, 43, 61, 0.06);
}

.aboutBand__inner h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.aboutBand__inner > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.aboutBand__actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.aboutBand__ghost,
.aboutBand__solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.aboutBand__ghost svg,
.aboutBand__solid svg {
  width: 1.05em;
  height: 1.05em;
}

.aboutBand__ghost {
  border: 1.5px solid var(--c-blue-500);
  color: var(--c-blue-500);
}

.aboutBand__ghost:hover {
  background: rgba(72, 160, 246, 0.1);
  transform: translateY(-1px);
}

.aboutBand__solid {
  background: #1668d6;
  color: #fff;
}

.aboutBand__solid:hover {
  background: #1257b5;
  transform: translateY(-1px);
}

/* ==========================================================================
   Résumé modal — markup and .is-open toggling are unchanged (general.js),
   these are just its styles.
   ========================================================================== */

.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.45);
}

.resume-modal-content {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 430px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(15, 43, 61, 0.28);
}

.resume-modal-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.resume-modal-content > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.resume-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

#resumeForm .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

#resumeForm label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #33505f;
}

#resumeForm input[type="text"],
#resumeForm input[type="email"],
#resumeForm input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(48, 141, 196, 0.22);
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text);
}

#resumeForm input:focus {
  outline: none;
  border-color: var(--c-blue-500);
  box-shadow: 0 0 0 3px rgba(72, 160, 246, 0.16);
}

#resumeForm .formStatus {
  margin: 0.85rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-blue-800);
}

#resumeForm .primary-accent-button {
  justify-content: center;
  width: 100%;
  padding: 13px 22px;
}

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

@media (max-width: 1100px) {
  .aboutWay__grid,
  .aboutCareers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aboutTeam__grid--four,
  .aboutTeam__grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aboutBand__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .aboutBand__inner > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .purposeCard {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.55fr) minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .founderCard {
    grid-template-columns: minmax(0, 1fr);
  }

  .founderCard__portrait {
    max-width: 260px;
    margin-inline: 0;
  }

  /* Stack: mission, hub (smaller, as a divider), vision. */
  .purposeCard {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .purposeHub {
    max-width: 220px;
  }

  .purposeCol h3,
  .purposeCol p {
    max-width: 60ch;
  }

  .aboutHero__inner,
  .aboutStory__inner,
  .aboutTeam__header,
  .aboutCareers__inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .aboutHero__title,
  .aboutHero__lead {
    max-width: none;
  }

  .aboutCareers__inner {
    padding-inline: clamp(1.25rem, 4vw, 2rem);
  }

  .aboutCareers__inner--teaser {
    align-items: flex-start;
    flex-direction: column;
  }

  .aboutBand__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .founderCard__quote,
  .founderCard__sign {
    padding-left: 0;
  }

  /* The hung quote mark has no gutter to hang in; fold it above the text. */
  .founderCard__quote::before {
    position: static;
    display: block;
    height: 0.55em;
  }

  .aboutWay__grid,
  .aboutCareers__grid,
  .aboutStory__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Single column: nothing to align across, so drop the line reserves. */
  .wayCard h3,
  .disciplineCard h3 {
    min-height: 0;
    display: block;
  }

  .aboutTeam__grid--four,
  .aboutTeam__grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Photo above the copy; the card portrait already showed the face, so a
     small landscape crop is enough here. */
  .memberBio__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .memberBio__photo {
    max-width: 96px;
    aspect-ratio: 1;
    border-radius: 999px;
  }

  .memberBio__body {
    padding-right: 0;
  }

  .aboutBand__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .aboutTeam__grid--four,
  .aboutTeam__grid--three {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Google renders the reCAPTCHA widget at a fixed 304px. */
  .resume-modal-content .g-recaptcha {
    transform: scale(0.8);
    transform-origin: left top;
    height: 63px;
  }
}

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

}
