/* About Us — ported from live about-standalone.css, scoped under #bt-root. Font comes from theme.css (Poppins). */
#bt-root {
  /* Brand */
  --c-blue:        #00517D;
  --c-blue-2:      #1B3E70;
  --c-blue-3:      #203C86;
  --c-navy:        #0A142F;
  --c-black:       #000000;
  --c-white:       #FFFFFF;

  /* Surfaces */
  --c-bg:          #FFFFFF;
  --c-bg-soft:     #F6F6F6;
  --c-bg-soft-2:   #F2F2F2;

  /* Text */
  --c-text:        #0A142F;
  --c-text-muted:  #656464;
  --c-text-faint:  #A9A9A9;

  /* Lines */
  --c-border:      #E4E3E3;
  --c-border-2:    #E7E7E7;

  /* Accents */
  --c-star:        #FBBC04;
  --c-link:        #0081FE;

  /* Layout */
  --maxw: 1320px;          /* content max-width (1512 canvas - ~96px gutters) */
  --gutter: 24px;
  --radius-pill: 50px;
  --radius-card: 16px;

  /* Type */
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* --- componenti recuperati da base.css, scoped --- */
#bt-root .abt-container { box-sizing: border-box; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
#bt-root body.modal-open { position: fixed; left: 0; right: 0; width: 100%; }

/* Layout helper */
#bt-root .container {
  width: 100%;
  /* max-width: var(--maxw); */
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Reusable pill button */
#bt-root .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 30px;
  padding: 16px 28px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
#bt-root .btn--dark { background: var(--c-black); color: #fff; }
#bt-root .btn--ghost { background: #fff; color: var(--c-black); border: 1px solid var(--c-black); }
#bt-root .btn--blue { background: var(--c-blue);  color: #fff; }

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

/* Back-to-top button (shown after scrolling) */
#bt-root .back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-blue); color: #fff; border: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(10,20,47,.25);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
#bt-root .back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }


/* ==========================================================================
   About page
   ========================================================================== */

/* grey page background (about.css loads only on this page) */
/* One white rounded card that wraps BOTH the navbar and the page content.
   header = top of the card (rounded top corners), main = the body of the card.
   They share the same width, border colour and white fill so they read as a
   single box sitting on the grey page. */
#bt-root .site-header {
  background: #fff;
  border: 1px solid var(--c-border);
  border-bottom: 0;                                  /* seam hidden against main */
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

#bt-root .section-title { font-size: 50px; font-weight: 500; color: #000; line-height: 1.1; }
#bt-root .site-header .nav { padding-inline: 80px; padding-top: 47px; }
/* ---------- Hero ---------- */
#bt-root .abt-hero-wrap {
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 0;                                     /* continues from the header */
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;   
}
#bt-root .abt-hero {
  padding: 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  overflow: hidden;
}
/* left column: title pinned top, stats pinned bottom (matches Figma) */
#bt-root .abt-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 56px;
  min-height: 600px;
}
#bt-root .abt-hero__title {
  font-size: 85px;
  font-weight: 500;
  line-height: 1.0;
  color: var(--c-blue);
  margin-bottom: 0;
}
/* arrow chip next to the title (mobile only) */
#bt-root .abt-hero__arrow { display: none; }
/* stats sit at the bottom, sized to content (not stretched) */
#bt-root .abt-hero__stats { display: flex; gap: 48px; align-items: flex-end; }
/* plain text blocks (no grey card background) — matches the design */
#bt-root .stat-card {
  background: none;
  padding: 0;
  width: max-content;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#bt-root .stat-card__label { font-size: 17px; color: rgba(0,0,0,.6); line-height: 1.3; }
#bt-root .stat-card__num { font-size: 50px; font-weight: 500; color: #000; line-height: 1; white-space: nowrap; }
#bt-root .abt-hero__img { display: flex; align-items: center; justify-content: center; }
#bt-root .abt-hero__img img {
  width: 100%; height: 100%; min-height: 560px;
  object-fit: contain; object-position: center;
  border-radius: 20px;
}

/* ---------- Address (white card) ---------- */
#bt-root .abt-address-wrap { padding-block: 16px 48px; width: 75%; margin: 0 auto; }
#bt-root .abt-address {
  display: flex; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: 24px; padding: 32px;
  color: #000; font-size: 16px; line-height: 1.5;
}
/* bigger location pin */
#bt-root .abt-address img { width: 34px; height: 34px; flex: 0 0 auto; }
#bt-root .abt-address__tbc { color: #828080; }
/* desktop: spans flow inline as one paragraph (add a space between them) */
#bt-root .abt-address__strong::after, #bt-root .abt-address__company::after { content: " "; }
#bt-root .abt-address__company { color: inherit; }

/* ---------- Timeline (card grid) ---------- */
#bt-root .abt-story { padding-block: 64px; padding-inline: 5% }
#bt-root .abt-story .section-title { margin-bottom: 40px; }
#bt-root .timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
#bt-root .tl-card {
  background: #fff;
  border: 1px solid transparent;        /* non-milestone cards: no visible border */
  border-radius: 20px;
  padding: 22px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* only milestone cards get a (soft blue-tinted) border */
#bt-root .tl-card--outlined { border-color: rgba(0,81,125,.35); }
#bt-root .tl-card__year { font-size: 26px; font-weight: 500; color: var(--c-blue); line-height: 1; }
#bt-root .tl-card__label { font-size: 16px; color: rgba(0,0,0,.5); line-height: 1.35; }
#bt-root .tl-card__label b { font-weight: 600; color: rgba(0,0,0,.75); }
/* icon-circle + "More" node belong to the mobile connected timeline only */
#bt-root .tl-card__icon { display: none; }
#bt-root .tl-card--more { display: none; }

/* ---------- How We Work pillars ---------- */
#bt-root .abt-work {
  background: #fff; border: 1px solid var(--c-border); border-radius: 30px;
  padding: 64px; padding-inline: 4%; margin-bottom: 24px;
}
#bt-root .abt-work .section-title { margin-bottom: 32px; }
#bt-root .pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
#bt-root .pillar {
  background: var(--c-bg-soft); border-radius: 20px; padding: 28px;
  min-height: 300px; display: flex; flex-direction: column;
}
#bt-root .pillar__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--c-blue);                   /* blue square, near-white icon */
  border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: auto;
}
#bt-root .pillar__icon img { width: 26px; height: 26px; display: block; object-fit: contain; }
#bt-root .pillar__title { font-size: 24px; font-weight: 500; margin: 24px 0 12px; }
#bt-root .pillar__body { font-size: 16px; color: var(--c-text-muted); line-height: 1.5; }

/* Featured (Flexible) — solid blue card → white icon square with a blue icon */
#bt-root .pillar--featured { background: var(--c-blue); color: #fff; }
#bt-root .pillar--featured .pillar__body { color: rgba(255,255,255,.85); }
#bt-root .pillar--featured .pillar__icon { background: #fff; }
/* the icon ships near-white; recolour it to brand blue on the white square */
#bt-root .pillar--featured .pillar__icon img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(98%) saturate(1352%) hue-rotate(178deg) brightness(94%) contrast(101%);
}

/* ---------- The Team (shares the "How We Work" white box) ---------- */
#bt-root .abt-team__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-top: 84px; margin-bottom: 36px;
}
#bt-root .abt-team__intro { font-size: 15px; color: var(--c-blue-2); max-width: 340px; text-align: right; }
#bt-root .team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
/* responsive grid visibility: desktop shows all 7 members + more card.
   --desk-only cards (members 6 & 7) are shown here; --mob-only (in the modal)
   are hidden on desktop. count labels: show desktop number, hide mobile number. */
#bt-root .team-card--desk-only { display: block; }
#bt-root .team-card--mob-only { display: none; }
#bt-root .more-num--mob { display: none; }
#bt-root .more-num--desk { display: inline; }
#bt-root .team-card {
  position: relative; aspect-ratio: 316 / 364; border-radius: 20px;
  overflow: hidden; background: #e9edf2;
}
#bt-root .team-card__photo { width: 100%; height: 100%; object-fit: cover; }
#bt-root .team-card__overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 18px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 6px;
  background: linear-gradient(to top, rgba(10,20,47,.82), rgba(10,20,47,0));
}
#bt-root .team-card__name { font-size: 22px; font-weight: 600; color: #fff; line-height: 1.15; }
#bt-root .team-card__role { font-size: 15px; font-weight: 400; color: #F6F6F6; margin-top: 2px; }
#bt-root .team-card__arrow { flex: 0 0 auto; }
#bt-root .team-card__arrow { color: #fff; font-size: 26px; line-height: 1; }

/* "+ four more" cell — solid blue with white text (per design) */
#bt-root .team-card--more {
  background: var(--c-blue); border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center;
}
#bt-root .team-card__avatars { display: flex; }
#bt-root .team-card__avatars img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; margin-left: -14px;
}
#bt-root .team-card__avatars img:first-child { margin-left: 0; }
#bt-root .team-card__more-num { font-size: 22px; font-weight: 600; color: #fff; }
#bt-root .team-card__cta { color: rgba(255,255,255,.8); font-size: 15px; }

/* ---------- Press (grid of white cards, 4 + 3) ---------- */
#bt-root .abt-press { padding-block: 48px; padding-bottom: 12px; padding-inline: 5%; }
#bt-root .abt-press__label { font-size: 40px; font-weight: 500; color: #000; margin-bottom: 28px; }
/* single full-width white box holding all logos */
#bt-root .abt-press__box {
  background: #fff;
  padding: 24px 16px;
  margin-bottom: 64px;
}
/* horizontal scroll row — drag / wheel / touch, NO visible scrollbar, no buttons */
#bt-root .abt-press__grid {
  /* "safe center" keeps logos centred when they fit, but avoids clipping the
     first logo (unreachable by scroll) when they overflow the container. */
  display: flex; justify-content: safe center; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
#bt-root .abt-press__grid.is-dragging { cursor: grabbing; }
#bt-root .abt-press__grid::-webkit-scrollbar { display: none; }
#bt-root .abt-press__card {
  flex: 0 0 auto; min-width: 200px; height: 90px;
  display: flex; align-items: center; justify-content: center; padding: 14px 24px;
}
#bt-root .abt-press__card img {
  max-height: 56px; max-width: 100%; width: auto; object-fit: contain;
  pointer-events: none;          /* don't block the drag gesture */
}

/* ---------- Three ways ---------- */
#bt-root .abt-ways {
  padding: 24px; padding-inline: 5%; margin-bottom: 24px;
}
#bt-root .abt-ways .section-title { margin-bottom: 32px; }
#bt-root .ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
#bt-root .way {
  background: #fff; border: 1px solid #A6A6A6; border-radius: 25px; padding: 40px 32px;
  min-height: 360px; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;                 /* card is a link */
  transition: box-shadow .2s ease, transform .2s ease;
}
#bt-root .way:hover { box-shadow: 0 12px 30px rgba(0,0,0,.10); transform: translateY(-3px); }
#bt-root .way:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
#bt-root .way__title { font-size: 23px; font-weight: 600; margin-bottom: 14px; color: #000; }
#bt-root .way__body { font-size: 18px; color: var(--c-text-muted); line-height: 1.45; margin-bottom: auto; }
#bt-root .way__foot { font-size: 22px; color: #0A142F; margin-top: 24px; line-height: 1.4; }
#bt-root .way__foot b { font-weight: 600; }
#bt-root .way__from { font-size: 16px; font-weight: 400; color: var(--c-text-muted); }
#bt-root .way__link { color: var(--c-blue-2); font-weight: 600; }

/* featured middle card — the blue "most common route" option */
#bt-root .way--featured {
  position: relative; overflow: hidden;
  background: rgba(0, 81, 125, .2);   /* Figma: #00517D @ 20% */
  border-color: transparent; color: #0A142F;
  padding-top: 96px;   /* clear the ribbon that sits flush to the top */
}
#bt-root .way--featured .way__title { color: #0A142F; }
#bt-root .way--featured .way__body { color: #23303F; }
/* dark navy ribbon: flush to the card's top-left corner, rounded tab on the right */
#bt-root .way__badge {
  position: absolute; top: 0; left: 0;
  background: #00517D; color: #fff;
  font-size: 15px; font-weight: 600; padding: 16px 30px;
  border-radius: 25px 0 16px 0;
}
#bt-root .abt-ways__cta { display: flex; justify-content: center; gap: 16px; margin-top: 72px; flex-wrap: wrap; }

/* make team cards button-resettable */
#bt-root .team-card { border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; }

/* ---------- Team member Pop-Up modal ---------- */
#bt-root .team-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .25s ease;   /* fade the whole overlay */
}
#bt-root .team-modal.is-open { opacity: 1; }
#bt-root .team-modal[hidden] { display: none; }
#bt-root .team-modal__backdrop {
  position: absolute; inset: 0; background: rgba(255,255,255,.55);
  backdrop-filter: blur(2px);
}
#bt-root .team-modal__card {
  position: relative; z-index: 1; width: min(760px, 100%);
  background: #fff; border-radius: 30px; padding: 40px 44px;
  box-shadow: 0 30px 80px rgba(10,20,47,.25);
  max-height: 90vh; overflow-y: auto;
  /* scale + lift in */
  transform: translateY(12px) scale(.97);
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
#bt-root .team-modal.is-open .team-modal__card { transform: translateY(0) scale(1); }
#bt-root .team-modal__close {
  position: absolute; top: 28px; right: 28px;
  width: 36px; height: 36px; border: 0; background: none; cursor: pointer;
}
#bt-root .team-modal__body { display: grid; grid-template-columns: 283px 1fr; gap: 32px; }
#bt-root .team-modal__photo img { width: 100%; border-radius: 16px; object-fit: cover; aspect-ratio: 283/411; }
#bt-root .team-modal__name { font-size: 35px; font-weight: 600; color: var(--c-blue); line-height: 1.1; }
#bt-root .team-modal__role { font-size: 25px; color: #000; margin-top: 4px; }
#bt-root .team-modal__divider { display: block; width: 53px; height: 4px; background: rgba(0,0,0,.6); margin: 18px 0; }
#bt-root .team-modal__exp {
  display: inline-block; background: rgba(0,81,125,.15); border-radius: 5px;
  padding: 9px 16px; font-size: 15px; color: #000; margin-bottom: 16px;
}
#bt-root .team-modal__exp b { font-size: 24px; font-weight: 500; margin-right: 6px; }
#bt-root .team-modal__bio { font-size: 15px; line-height: 1.66; color: #000; margin-bottom: 18px; }
#bt-root .team-modal__tags { display: flex; flex-wrap: wrap; gap: 10px; }
#bt-root .team-modal__tags span {
  border: 1px solid #000; border-radius: 10px; padding: 5px 16px; font-size: 14px; color: #000;
}
#bt-root .team-modal__review { margin-top: 28px; }
#bt-root .team-modal__review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
#bt-root .team-modal__avatar {
  width: 57px; height: 57px; border-radius: 50%; background: #4BD2FF;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 500; color: #fff;
}
/* reviewer's photo, when one is supplied — same footprint as the initial circle */
#bt-root .team-modal__avatar-img {
  width: 57px; height: 57px; border-radius: 50%; object-fit: cover;
  flex: 0 0 auto; display: block;
}
#bt-root .team-modal__avatar[hidden], #bt-root .team-modal__avatar-img[hidden] { display: none !important; }
#bt-root .team-modal__reviewer { font-size: 18px; font-weight: 500; color: #000; }
#bt-root .team-modal__stars { display: inline-flex; gap: 2px; margin-top: 4px; }
#bt-root .team-modal__quote { font-size: 14px; font-style: italic; line-height: 1.64; color: #2b2b2b; margin-bottom: 16px; }
#bt-root .team-modal__posted { display: flex; align-items: center; gap: 10px; }
/* keep the Google "G" square (flex was squishing it) */
#bt-root .team-modal__posted img { width: 36px; height: 36px; flex: 0 0 auto; object-fit: contain; }
#bt-root .team-modal__posted-label { font-size: 16px; color: #bababa; line-height: 1.2; }
#bt-root .team-modal__google { color: #4285f4; }

/* footer links row (Google + LinkedIn) */
#bt-root .team-modal__footer-links { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
#bt-root .team-modal__linkedin { display: flex; align-items: center; gap: 10px; }
#bt-root .team-modal__li-badge { width: 32px; height: 32px; flex: 0 0 auto; display: block; }
#bt-root .team-modal__linkedin-link { color: #0A66C2; }

/* footer variant C: LinkedIn only — align the badge with the review/note blocks */
#bt-root .team-modal__links { margin-top: 28px; }
#bt-root .team-modal__links .team-modal__footer-links { justify-content: flex-end; }

/* footer variant A: personal note block */
#bt-root .team-modal__note[hidden], #bt-root .team-modal__review[hidden], #bt-root .team-modal__links[hidden] { display: none !important; }
#bt-root .team-modal__note { display: flex; gap: 20px; align-items: flex-start; margin-top: 28px; }
#bt-root .team-modal__note-icon {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,81,125,.10); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
#bt-root .team-modal__note-name { font-size: 18px; font-weight: 600; color: #000; margin-bottom: 8px; }
#bt-root .team-modal__note-text { font-size: 15px; line-height: 1.6; color: rgba(0,0,0,.6); margin-bottom: 18px; }

/* scroll lock lives in base.css — shared with the mobile menu */

/* "Meet the full team" grid modal */
#bt-root .team-more-modal { z-index: 1000; }
#bt-root #teamModal { z-index: 1100; }   /* detail modal stacks above the grid modal */
#bt-root .team-more-modal__card { width: min(1040px, 100%); padding: 40px 44px; }
#bt-root .team-more-modal__title { font-size: 35px; font-weight: 600; color: var(--c-blue); margin-bottom: 28px; }
#bt-root .team-more-modal__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) {
  #bt-root .team-more-modal__card { padding: 24px; }
  #bt-root .team-more-modal__title { font-size: 24px; margin-bottom: 18px; }
  #bt-root .team-more-modal__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px 14px; align-items: start; }
}

/* ==========================================================================
   Mobile (≤900px) — matches 390px frame
   ========================================================================== */
@media (max-width: 900px) {
  /* mobile: white page background (overrides the desktop #F2F2F2) */
  #bt-root body { background: #fff; padding: 0; }
  /* mobile nav is full-width & flat — drop the desktop white-card border/rounding */
  #bt-root .site-header { border: 0; border-radius: 0; }
  #bt-root .site-header .nav { padding-inline: 0px; padding-top: 16px; }
  #bt-root main { border: 0; border-radius: 0; overflow: visible; }

  #bt-root .section-title { font-size: 30px; }

  /* mobile order: title -> image -> stats. NO white box — flat on the page bg */
  #bt-root .abt-hero-wrap { padding-inline: 24px; padding-top: 24px; border: none; border-radius: 0; }
  #bt-root .abt-hero {
    display: flex; flex-direction: column;
    background: transparent; border: 0; border-radius: 0; padding: 0; gap: 22px;
    padding-top: 24px;   /* stacca il titolo dalla nav fissa: "About" era tagliato in alto */
  }
  #bt-root .abt-hero__left {
    display: contents;            /* let titlebar, image & stats flow as direct flex items */
  }
  /* title with the arrow sitting inline to the right of "Build Team" (bottom-aligned) */
  #bt-root .abt-hero__titlebar {
    order: 1; display: flex; align-items: flex-end; gap: 18px;
  }
  #bt-root .abt-hero__title { font-size: 40px; margin-bottom: 0; white-space: nowrap; }
  #bt-root .abt-hero__arrow {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 48px; height: 48px; border-radius: 50%;
    background: #fff; border: 1px solid var(--c-border);
    margin-bottom: 4px;
  }
  #bt-root .abt-hero__img { order: 2; }
  #bt-root .abt-hero__stats { order: 3; }
  #bt-root .abt-hero__img img { min-height: 0; height: auto; border-radius: 16px; object-fit: contain; }
  /* stats: 1750+ on the left, 2007 on the right (reverse), big number on TOP */
  #bt-root .abt-hero__stats { gap: 24px; flex-direction: row-reverse; justify-content: center; align-items: flex-start; }
  #bt-root .stat-card {
    padding: 0; flex: 1 1 0; max-width: none; gap: 10px;
    flex-direction: column-reverse;    /* number above label */
  }
  #bt-root .stat-card__label { font-size: 13px; color: rgba(0,0,0,.55); line-height: 1.5; padding-left: 4px; padding-right: 4px; }
  /* card impilate su mobile: affiancate il testo lungo si comprime troppo */
  #bt-root .abt-hero__stats { flex-direction: column !important; align-items: center; gap: 20px !important; }
  #bt-root .abt-hero__stats .stat-card { flex: none !important; width: 100%; max-width: 280px; text-align: center; }
  #bt-root .stat-card__num { font-size: 36px; }

  #bt-root .abt-address-wrap { padding-block: 20px; width: 100%; }
  /* grey box on the now-white page */
  #bt-root .abt-address { padding: 16px; gap: 14px; align-items: center; background: #F6F6F6; border-color: transparent; }
  #bt-root .abt-address img { width: 30px; height: 30px; margin-top: 0; }
  /* 3 distinct lines: street + postcodes bold, company line grey & smaller */
  #bt-root .abt-address__text { display: flex; flex-direction: column; gap: 4px; }
  #bt-root .abt-address__strong, #bt-root .abt-address__company { display: block; }
  #bt-root .abt-address__strong::after, #bt-root .abt-address__company::after { content: none; }
  #bt-root .abt-address__strong { font-size: 13px; font-weight: 600; color: #000; line-height: 1.35; }
  #bt-root .abt-address__company { font-size: 12px; color: #9a9a9a; line-height: 1.4; margin-top: 2px; }
  #bt-root .abt-address__more { display: none; }   /* hide the long incorporation detail on mobile */

  /* ----- Connected-circle horizontal timeline (matches design) ----- */
  #bt-root .abt-story { padding-bottom: 40px; padding-inline: 0; }
  #bt-root .abt-story .section-title { margin-bottom: 24px; padding-inline: 24px; }
  /* horizontal scroll row of equal-width columns */
  #bt-root .timeline {
    display: flex; gap: 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
    padding-inline: 24px; scroll-padding-inline: 24px;
  }
  #bt-root .timeline::-webkit-scrollbar { display: none; }
  /* each entry: circle (top) + year + label, all centered */
  #bt-root .tl-card {
    flex: 0 0 auto; width: 120px;
    background: none; border: 0; border-radius: 0;
    min-height: 0; padding: 0; gap: 0;
    align-items: center; text-align: center;
  }
  #bt-root .tl-card--outlined { border: 0; }
  /* circle with a connecting line running through its centre */
  #bt-root .tl-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    position: relative;
    width: 48px; height: 48px; border-radius: 50%;
    background: #F2F2F2; color: #111;
    margin-bottom: 20px;
  }
  /* connecting line: each card draws ONE segment to its LEFT, reaching back to
     the previous circle's centre. The first card draws none → no overhang at
     either end (the last card has no segment to its right). */
  #bt-root .tl-card__icon::before {
    content: ""; position: absolute; top: 50%; right: 50%;
    width: 120px; height: 1px; background: #D9D9D9;
    transform: translateY(-50%); z-index: -1;
  }
  #bt-root .tl-card:first-child .tl-card__icon::before { display: none; }
  #bt-root .tl-card__icon svg { width: 20px; height: 20px; }
  #bt-root .tl-card__year { font-size: 19px; font-weight: 500; color: #111; margin-bottom: 10px; }
  #bt-root .tl-card__label { font-size: 12px; color: rgba(0,0,0,.55); line-height: 1.4; }
  #bt-root .tl-card__label b { color: #111; font-weight: 600; }
  /* "More" terminal node visible on mobile */
  #bt-root .tl-card--more { display: flex; }
  #bt-root .tl-card--more .tl-card__year { color: #111; }

  /* no white outlined box on mobile — flat on the page background */
  #bt-root .abt-work, #bt-root .abt-team {
    padding: 0; border-radius: 0;
    background: transparent; border: 0; margin-bottom: 0;
  }
  #bt-root .pillars { grid-template-columns: 1fr; gap: 16px; }
  #bt-root .pillar { min-height: auto; padding: 24px; }
  #bt-root .pillar__title { font-size: 20px; margin: 18px 0 10px; }
  #bt-root .pillar__body { font-size: 14px; line-height: 1.45; }

  #bt-root .abt-team__head { flex-direction: column; align-items: flex-start; margin-top: 64px; margin-bottom: 0px; }
  #bt-root .abt-team__intro { display: none; }   /* hide the intro description on mobile */
  /* minmax(0,1fr) forces truly equal columns — a long unbreakable name in one
     card can otherwise widen its track and make the columns uneven */
  #bt-root .team-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px 16px; }

  /* mobile shows 5 members + more: hide the desktop-only cards (6 & 7) in the
     grid, show the mobile-only cards in the modal, and swap the count label.
     !important beats the generic `.team-card { display:flex }` below (equal
     specificity, later in source) so the hide actually wins. */
  #bt-root .team-card.team-card--desk-only { display: none !important; }
  #bt-root .team-card--mob-only { display: flex; }
  #bt-root .more-num--desk { display: none; }
  #bt-root .more-num--mob { display: inline; }

  /* ----- Team cards: name/role BELOW the photo (matches design) ----- */
  #bt-root .team-card {
    min-width: 0;
    aspect-ratio: auto; background: none; border-radius: 0; overflow: visible;
    display: flex; flex-direction: column; text-align: left;
  }
  #bt-root .team-card__photo {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: 18px; background: #eef1f5;
    display: block; min-height: 150px;
  }
  /* Fallback per browser dove aspect-ratio non riserva altezza: */
  @supports not (aspect-ratio: 1 / 1) {
    #bt-root .team-card__photo { height: 44vw; }
  }
  /* overlay now flows below the image — no gradient, dark text, no arrow */
  #bt-root .team-card__overlay {
    position: static; background: none; padding: 12px 2px 0;
    display: block;
  }
  #bt-root .team-card__arrow { display: none; }
  #bt-root .team-card__name { font-size: 16px; font-weight: 600; color: #111; line-height: 1.2; }
  /* reserve 2 lines for the role so cards with a wrapping role stay the same
     height as single-line ones → rows align evenly */
  #bt-root .team-card__role {
    font-size: 13px; font-weight: 400; color: rgba(0,0,0,.5);
    margin-top: 3px; line-height: 1.3; min-height: calc(13px * 1.3 * 2);
  }
  /* "+ four more" keeps its solid blue tile look (square, centered) */
  #bt-root .team-card--more {
    aspect-ratio: 1 / 1; background: var(--c-blue); border-radius: 18px;
    align-items: center; justify-content: center; text-align: center; padding: 16px;
  }
  #bt-root .team-card--more .team-card__avatars img { width: 44px; height: 44px; }
  #bt-root .team-card--more .team-card__more-num { font-size: 18px; }
  #bt-root .team-card--more .team-card__cta { font-size: 13px; }

  #bt-root .team-modal__card { padding: 24px; border-radius: 20px; }
  #bt-root .team-modal__body { grid-template-columns: 1fr; gap: 18px; }
  /* photos are portrait — a 4/3 landscape crop cut off the head.
     use the image's own portrait ratio with top-biased focus so the full face shows */
  #bt-root .team-modal__photo img { aspect-ratio: 4/5; object-position: top center; }
  #bt-root .team-modal__name { font-size: 26px; }
  #bt-root .team-modal__role { font-size: 18px; }
  /* pin the close button to the very top-right corner, on a white chip so it
     stays visible above the photo */
  #bt-root .team-modal__close {
    top: 12px; right: 12px; width: 32px; height: 32px;
    background: #fff; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 6px rgba(0,0,0,.18); z-index: 2;
  }

  #bt-root .abt-press__label { font-size: 24px; margin-bottom: 0px; }
  /* smaller logo chips — several fit across the row, matching the design */
  #bt-root .abt-press__box { padding: 16px 8px; }
  #bt-root .abt-press__grid { justify-content: flex-start; gap: 10px; }
  #bt-root .abt-press__card { height: 44px; min-width: 96px; padding: 8px 12px; }
  #bt-root .abt-press__card img { max-height: 26px; }

  /* soft blue gradient backdrop behind the whole section (Figma: #00517D @ ~40%,
     fading from white at the top). peaks gently mid-section then fades back to
     white at the bottom so there's no hard tinted edge against the next section */
  #bt-root .abt-ways {
    position: relative;
    background: linear-gradient(180deg,
      #fff 0%,
      rgba(0,81,125,.08) 40%,
      rgba(0,81,125,.10) 62%,
      rgba(0,81,125,.04) 88%,
      #fff 100%);
    border-radius: 28px; padding: 28px 20px 36px; margin-bottom: 48px;
  }
  #bt-root .ways { grid-template-columns: 1fr; gap: 18px; }
  /* cards float on the gradient: soft translucent white, no hard border */
  #bt-root .way {
    min-height: auto; padding: 24px;
    background: rgba(255,255,255,.72); border-color: transparent;
    backdrop-filter: blur(2px);
  }
  #bt-root .way--featured { background: rgba(0, 81, 125, .2); padding-top: 66px; }
  #bt-root .way__badge { padding: 12px 22px; font-size: 13px; }
  #bt-root .way__title { font-size: 19px; margin-bottom: 10px; }
  #bt-root .way__body { font-size: 14px; line-height: 1.45; }
  #bt-root .way__foot { font-size: 15px; margin-top: 18px; }
  /* pill buttons, stacked & centered, sized to content (matches design) */
  #bt-root .abt-ways__cta { flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; }
  #bt-root .abt-ways__cta .btn {
    justify-content: center; font-size: 16px;
    padding: 15px 36px; border-radius: 999px; width: auto;
  }
}

/* --- override H1: batte site.css riga 68 --- */
#bt-root h1.abt-hero__title { font-size: 85px !important; line-height: 1.05 !important; }
@media (max-width: 900px) { #bt-root h1.abt-hero__title { font-size: 40px !important; line-height: 1.1 !important; } }

/* ---------- The Team, at the top with everyone visible (17 Oct 2026) ---------- */
#bt-root .abt-team-top { margin-top: 48px; }
#bt-root .abt-team-box .abt-team__head { margin-top: 0; }
#bt-root .team-grid--all { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px 24px; }
#bt-root .team-grid--all .team-card {
  aspect-ratio: auto; background: none; border-radius: 0; overflow: visible;
  display: flex; flex-direction: column; text-align: left; min-width: 0;
}
#bt-root .team-grid--all .team-card__photo {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: 18px; background: #eef1f5; display: block; transition: transform .2s ease, box-shadow .2s ease;
}
#bt-root .team-grid--all .team-card:hover .team-card__photo,
#bt-root .team-grid--all .team-card:focus-visible .team-card__photo { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10,20,47,.14); }
#bt-root .team-card__info { display: flex; flex-direction: column; gap: 2px; padding: 14px 2px 0; }
#bt-root .team-grid--all .team-card__name { font-size: 18px; font-weight: 600; color: #111; line-height: 1.25; }
#bt-root .team-grid--all .team-card__role { font-size: 14px; color: rgba(0,0,0,.6); line-height: 1.35; margin: 0; }
#bt-root .team-card__more { font-size: 14px; font-weight: 600; color: #00517D; margin-top: 6px; }
@media (max-width: 760px) {
  #bt-root .abt-team-top { margin-top: 32px; }
  #bt-root .team-grid--all { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px 14px; }
  #bt-root .team-grid--all .team-card__name { font-size: 16px; }
  #bt-root .team-grid--all .team-card__role { font-size: 13px; min-height: calc(13px * 1.35 * 2); }
  #bt-root .team-card__more { font-size: 13px; }
}
