/* =========================================
   SITE HEADER AND FOOTER, AND SITE TYPE (at the end)
   Shared by every page. Each page links this after its own <style>,
   and every class is namespaced (.sh-* header, .sf-* footer) so no page
   rule can reach it. It carries its own colours rather than borrowing
   page tokens, because the pages do not all define the same ones.

   The desktop link group keeps the spacing Matthew approved on 7 Sep:
   one tight group at the right, 24px gaps, 30px before the buttons and
   12px between them, stepping to 16/20/10 below 1320px.
   ========================================= */
.sh, .sf {
  --sh-dark: #1B3A4B;
  --sh-ink-2: #5A6B78;
  --sh-teal-safe: #0B8177;
  --sh-border: #E5E7EB;
  --sh-focus: #5A46C8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* anchors land below the fixed header instead of under it */
section[id], h2[id], #contact-form-inner { scroll-margin-top: 88px; }

/* ---- header ---- */
/* 300: above any page element that picked up z-index 100 from the old bare `nav`
   rule, such as the FAQ's section rail, which as a grid item honours z-index even
   without positioning */
.sh {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.sh.sh-scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }

.sh-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.sh-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.sh-logo img { display: block; width: 36px; height: 36px; margin: 0; }   /* margin: some pages set a bare img margin */
.sh-logo span { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1; color: var(--sh-dark); }

.sh-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.sh-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--sh-ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.sh-links a:hover { color: var(--sh-teal-safe); }
.sh-links a[aria-current="page"] { color: var(--sh-dark); font-weight: 600; }

.sh-links .sh-btn-first { margin-left: 6px; }
.sh-links .sh-btn-next { margin-left: -12px; }
.sh-links .sh-contact,
.sh-links .sh-cta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
}
.sh-links .sh-contact { color: var(--sh-dark); border: 1.5px solid var(--sh-border); }
.sh-links .sh-contact:hover { color: var(--sh-teal-safe); border-color: var(--sh-teal-safe); }
/* #0B8177, not the brand #0D9488: white on the brand teal is only 3.74:1 */
.sh-links .sh-cta { color: #FFFFFF; background: var(--sh-teal-safe); border: 1.5px solid var(--sh-teal-safe); }
.sh-links .sh-cta:hover { color: #FFFFFF; background: #096B62; border-color: #096B62; }

/* ---- dropdowns ----
   Our Mission and About Us are buttons (aria-expanded) that open a list of their
   pages; each landing page is the first item in its own list. On a wide screen the
   list also opens when the pointer rests on the item. Without JavaScript it opens
   on keyboard focus. The label is bold on any page inside its section.
   To add another, copy an .sh-drop item in the header and give its list a new id. */
.sh-drop { position: relative; }
.sh-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--sh-ink-2);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.sh-drop-btn.sh-drop-current { color: var(--sh-dark); font-weight: 600; }
.sh-drop-btn:hover { color: var(--sh-teal-safe); }
.sh-drop-btn svg { width: 14px; height: 14px; flex: none; transition: transform 0.2s; }
.sh-drop.sh-drop-open .sh-drop-btn svg { transform: rotate(180deg); }
.sh-drop-btn:focus-visible { outline: 2px solid var(--sh-focus); outline-offset: 2px; }
.sh-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #FFFFFF;
  border: 1px solid var(--sh-border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
/* an invisible bridge over the gap, so the pointer can travel from the label to the list */
.sh-drop-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.sh-drop.sh-drop-open .sh-drop-menu,
.sh:not(.sh-js) .sh-drop:focus-within .sh-drop-menu { display: block; }
@media (hover: hover) and (min-width: 1181px) {
  .sh-drop:hover:not(.sh-drop-shut) .sh-drop-menu { display: block; }
  .sh-drop:hover:not(.sh-drop-shut) .sh-drop-btn svg { transform: rotate(180deg); }
}
.sh-links .sh-drop-menu a { display: block; padding: 10px 14px; border-radius: 6px; }
.sh-links .sh-drop-menu a:hover { background: #F1F7F6; }

.sh-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
}
.sh-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--sh-dark);
  transition: transform 0.25s, opacity 0.25s;
}
/* Book a Demo beside the menu button, for the widths where the link group is folded away */
.sh-cta-bar {
  display: none;
  margin-left: auto;
  margin-right: 14px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: #FFFFFF;
  background: var(--sh-teal-safe);
}
.sh-cta-bar:hover { background: #096B62; }
.sh-cta-bar:focus-visible { outline: 2px solid var(--sh-focus); outline-offset: 3px; }
/* shown wherever the link group is folded away, so booking a demo is one tap at every width */
@media (max-width: 1180px) {
  .sh-cta-bar { display: inline-block; }
}
@media (max-width: 768px) {
  .sh-cta-bar { padding: 8px 14px; font-size: 0.82rem; margin-right: 8px; }
}
@media (max-width: 349px) {
  .sh-cta-bar { display: none; }
}

.sh.sh-open .sh-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sh.sh-open .sh-toggle span:nth-child(2) { opacity: 0; }
.sh.sh-open .sh-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sh a:focus-visible, .sh-toggle:focus-visible { outline: 2px solid var(--sh-focus); outline-offset: 3px; border-radius: 4px; }

@media (min-width: 1181px) {
  .sh-inner { max-width: none; padding: 0 24px; }
}
@media (min-width: 1500px) {
  .sh-inner { padding: 0 40px; }
}
@media (max-width: 1320px) {
  .sh-links { gap: 16px; }
  .sh-links .sh-btn-first { margin-left: 4px; }
  .sh-links .sh-btn-next { margin-left: -6px; }
}

/* the menu button takes over, and every option is a full-width row on one axis */
@media (max-width: 1180px) {
  .sh-toggle { display: block; }
  .sh-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: #FFFFFF;
    border-top: 1px solid var(--sh-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .sh.sh-open .sh-nav { display: block; }
  .sh-links { flex-direction: column; align-items: stretch; gap: 6px; padding: 16px 24px 22px; }
  .sh-links li, .sh-links .sh-btn-first, .sh-links .sh-btn-next { width: 100%; margin: 0; }
  .sh-links a { display: block; text-align: center; padding: 10px 0; font-size: 0.95rem; }
  .sh-links .sh-contact, .sh-links .sh-cta { display: block; padding: 12px 22px; font-size: 0.92rem; }
  .sh-links .sh-btn-first { margin-top: 8px; }
  /* in the folded menu the label is a full-width row, centred like the links, and the list opens in place */
  .sh-drop-btn { display: flex; justify-content: center; width: 100%; min-height: 44px; font-size: 0.95rem; }
  .sh-drop-btn svg { width: 18px; height: 18px; }
  .sh-drop-menu { position: static; transform: none; min-width: 0; margin-top: 2px; border: 0; box-shadow: none; background: #F8FAFB; }
  .sh-drop-menu::before { display: none; }
  .sh-links .sh-drop-menu a { padding: 10px 0; }
}

@media (max-width: 768px) {
  .sh-inner { height: 60px; padding: 0 16px; }
  .sh-logo img { width: 30px; height: 30px; }
  .sh-logo span { font-size: 1.05rem; }
  .sh-nav { max-height: calc(100vh - 60px); }
  .sh-links { padding: 12px 16px 20px; }
}

/* ---- footer ---- */
.sf {
  margin: 0;
  padding: 56px 0 40px;
  border: 0;
  background: #0F2A36;
  color: rgba(255,255,255,0.62);
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: left;
}
.sf-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sf-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sf-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; align-self: start; }
.sf-brand img { display: block; width: 28px; height: 28px; margin: 0; }
.sf-brand span { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.08em; color: #FFFFFF; }
.sf-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sf-h {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.sf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sf a { color: rgba(255,255,255,0.78); text-decoration: none; transition: color 0.2s; }
.sf a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.sf a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; border-radius: 2px; }
.sf-ext { display: inline-block; width: 11px; height: 11px; margin-left: 5px; vertical-align: baseline; }
.sf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; }
.sf-copy { margin: 0; max-width: 72ch; font-size: 0.78rem; color: rgba(255,255,255,0.62); }
.sf-cert { flex: none; display: block; width: 140px; height: 140px; border: 0; }

@media (max-width: 900px) {
  .sf-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 700px) {
  .sf { padding: 44px 0 32px; }
  .sf-inner { padding: 0 16px; }
  .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .sf-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .sh, .sh-toggle span, .sh-links a, .sf a { transition: none; }
}

/* =========================================
   PAGE TITLE BANNER (.pb)
   A full-width band under the header with the page title on the left.
   Until the photos arrive it is a brand gradient that leans teal, so it stays
   distinct from the navy bands (such as the problem band on /mission) below it. To use a photo, give the
   section the class has-img and style="--pb-img: url('/images/...')": the
   photo then sits behind a teal tint, strongest on the left, so the white title still reads
   and the banner stays teal rather than turning navy.
   Each banner names the image it is waiting for in data-image.
   ========================================= */
.pb {
  --pb-img: none;
  position: relative;
  padding: 152px 0 76px;
  color: #FFFFFF;
  background-color: #0F766E;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(123, 181, 24, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 60% 120%, rgba(20, 184, 166, 0.2) 0%, transparent 55%),
    linear-gradient(115deg, #115E59 0%, #0F766E 60%, #0E7C74 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.pb.has-img {
  background-image:
    linear-gradient(90deg, rgba(17, 94, 89, 0.88) 0%, rgba(17, 94, 89, 0.55) 40%, rgba(17, 94, 89, 0) 75%),
    var(--pb-img);
  /* taller than the plain banner. The fixed header (72px) covers the top of the banner, so the
     top padding is the header plus the same space as below: the title sits in the vertical
     middle of the visible banner. The photo is nudged down by half the header to match. */
  padding: 176px 0 104px;
  background-position: center calc(50% + 36px);
}
.pb > div { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.pb h1 { margin: 0; max-width: 18ch; color: #FFFFFF; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.03em; }
.pb-sub { margin: 16px 0 0; max-width: 30ch; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.35; color: rgba(255, 255, 255, 0.92); }
.pb-sub strong { color: #FFFFFF; font-weight: 700; }
@media (max-width: 768px) {
  .pb { padding: 108px 0 44px; }
  .pb.has-img { padding: 124px 0 64px; background-position: center calc(50% + 30px); }
  .pb > div { padding: 0 20px; }
  .pb h1 { font-size: 2.1rem; }
  .pb-sub { font-size: 1.2rem; }
}
@media (max-width: 560px) {
  .pb > div { padding: 0 16px; }
}

/* text for screen readers only, such as "(opens in a new tab)" */
.sh-sr, .sf-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* "Skip to main content": hidden until a keyboard user tabs to it, then it drops in above the header */
.skip-link {
  position: fixed; left: 16px; top: -64px; z-index: 400;
  padding: 10px 16px; border-radius: 8px;
  background: var(--sh-dark, #1B3A4B); color: #fff;
  font: 600 15px/1.2 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-decoration: none;
}
.skip-link:focus { top: 12px; outline: 3px solid #fff; outline-offset: 2px; }
/* main takes focus from the skip link, and needs no ring of its own */
main[tabindex="-1"]:focus { outline: none; }

/* =========================================
   SITE TYPE
   Headings were General Sans at Regular and are now Space Grotesk Medium, as on
   tactone.tech. Text was Neco and is now Inter (Firuze's mock-up, 20 Oct
   2026), which each page sets on its body. Space Grotesk is free under the
   SIL Open Font License and is self-hosted from /fonts, Latin only. Neco stays
   loaded below so it can come back with one change per page. Both are free Fontshare fonts under the ITF Free Font
   License, self-hosted from /fonts for this site only: the licence forbids
   passing the files on, and editing, subsetting or converting them.

   The header, the footer and every button stay in Inter, which each page
   still loads from Google Fonts, as Matthew asked on 30 Sep 2026.
   ========================================= */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/SpaceGrotesk-Variable-Latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/fonts/GeneralSans-Variable.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
/* Neco's middle dot (U+00B7) has almost no width, so "certified · Data"
   printed as "certified ·Data". unicode-range leaves that one character to
   Georgia without touching the font file, which the licence forbids.
   Neco's lowercase is also short (x-height 0.48em against Inter's 0.546em),
   so at the pages' sizes the text read a size smaller than it did in Inter.
   size-adjust draws Neco 10% larger and leaves every other font alone. */
@font-face {
  font-family: 'Neco';
  src: url('/fonts/Neco-Variable.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00B6, U+00B8-10FFFF;
  size-adjust: 110%;
}
@font-face {
  font-family: 'Neco';
  src: url('/fonts/Neco-VariableItalic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00B6, U+00B8-10FFFF;
  size-adjust: 110%;
}

/* Neco's default numerals are old-style and sit at uneven heights, so
   "ZC139807" and "30-minute" looked ragged */
body { font-variant-numeric: lining-nums; }

/* the :not() lifts this above page rules such as `.card h3`, so every heading
   is Medium, and keeps the footer's own headings in Inter */
:is(h1, h2, h3, h4, h5, h6):not(.sh *, .sf *) {
  font-family: 'Space Grotesk', 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
}

/* Space Grotesk runs wide, so every heading sits a little tighter than the pages set it. The spaced-out capital
   labels, such as the FAQ group titles, keep their own spacing. */
:is(h1, h2):not(.sh *, .sf *, .faq-group h2, .sources-inner h2, .label) { letter-spacing: -0.035em !important; }
:is(h3, h4, h5, h6):not(.sh *, .sf *, .label) { letter-spacing: -0.02em !important; }

/* .l-textbtn is a link inside a sentence on the careers page, not a button */
.btn, button:not(.l-textbtn) {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* =========================================
   PHOTO BANNERS (.pb-photo)
   Every banner is the same size: the full width of the screen at 3:2, the shape of
   most landscape photos, so most show whole and the rest lose a little at the edges.
   It starts just below the fixed header, so the header does not cover the top of the photo.
   The title and catchphrase sit in the top left corner.
   ========================================= */
.pb.pb-photo { margin-top: 73px; padding: clamp(28px, 5vw, 72px) 0 0; min-height: 0; aspect-ratio: 3 / 2; display: flex; align-items: flex-start; }
.pb.pb-photo.has-img { background-size: 100% 100%, cover; background-position: center; background-repeat: no-repeat; }
.pb.pb-photo > div { width: 100%; }
.pb.pb-photo h1 strong { font-weight: 700; }
@media (max-width: 768px) {
  .pb.pb-photo { margin-top: 61px; background-position: center; }
}
/* never taller than the first screen below the header, so the title and subheader always show
   without scrolling; the photo keeps the full width and narrow screens keep the 3:2 shape (Matthew, 18 Oct) */
.pb.pb-photo { aspect-ratio: auto; width: 100%; height: min(66.667vw, calc(100vh - 73px)); }
@media (max-width: 768px) {
  .pb.pb-photo { height: min(66.667vw, calc(100vh - 61px)); }
}

/* =========================================
   BANNER TEXT: BOTTOM LEFT
   The banner text fills the height of the banner, and the header (h1) and
   subheader (.pb-sub, or .pb-line on the Team banner) carry pb-at-bottom,
   which pushes them down into the bottom left corner.
   ========================================= */
.pb.pb-photo { padding-bottom: clamp(28px, 5vw, 72px); align-items: stretch; }
.pb.pb-photo > .container { display: flex; flex-direction: column; align-items: flex-start; }
.pb.pb-photo .pb-at-bottom { order: 1; margin-top: auto; }
.pb.pb-photo h1.pb-at-bottom ~ :not(.pb-at-bottom) { margin-top: 0; }
.pb-line { margin: 16px 0 0; max-width: 24ch; color: #FFFFFF; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -0.01em; }
/* EY-style sizes: a modest title and a small subheader, so the photo leads */
.pb h1 { font-size: clamp(1.75rem, 2.9vw, 2.75rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; }
.pb .pb-sub, .pb .pb-line { font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.45; letter-spacing: 0; max-width: 46ch; }
.pb.pb-photo .pb-at-bottom ~ .pb-at-bottom { margin-top: 12px; }

/* =========================================
   BIG BANNER TEXT AND A DARKER SHADE (Firuze's mock-up, 20 Oct 2026)
   The title is much larger, so it is the first thing you see, and the subheader grows with it.
   The photo sits under a deeper shade: dark teal from the left, as before but stronger, plus a
   shade rising from the bottom behind the text.
   ========================================= */
.pb.pb-photo.has-img {
  background-image:
    linear-gradient(0deg, rgba(8, 32, 36, 0.62) 0%, rgba(8, 32, 36, 0.28) 40%, rgba(8, 32, 36, 0) 70%),
    linear-gradient(90deg, rgba(10, 44, 46, 0.72) 0%, rgba(10, 44, 46, 0.46) 40%, rgba(10, 44, 46, 0.12) 75%, rgba(10, 44, 46, 0.05) 100%),
    var(--pb-img);
  background-size: 100% 100%, 100% 100%, cover;
}
/* the title runs wide across the photo, so long titles take fewer lines */
.pb.pb-photo h1 { font-size: clamp(2.8rem, 8.2vw, 7.8rem); line-height: 1.02; max-width: 26ch; }
/* the title is plain white text like the other headings, and rises into place as the page opens, the same
   fade-up the home page uses. The subheading is plain white Space Grotesk and follows a moment later. */
/* the title lets the photo light it: a light grey that brightens whatever is behind it (color-dodge), so the
   letters pick up the photo's own colours */
.pb.pb-photo h1, .pb.pb-photo h1 strong { color: rgb(200, 200, 200); mix-blend-mode: color-dodge; }
.pb.pb-photo .pb-sub, .pb.pb-photo .pb-line { font-family: 'Space Grotesk', 'General Sans', sans-serif; font-weight: 600; letter-spacing: 0.02em; color: #FFFFFF; }
.pb.pb-photo .pb-sub strong, .pb.pb-photo .pb-line strong { color: #FFFFFF; }
/* the subheading matches the title: the same photo-lit colour, the same weight and spacing, running as wide as
   the title and sitting close under it. The title is nudged left by its own side space, so the big letters
   and the subheading share one left edge. */
.pb.pb-photo .pb-sub, .pb.pb-photo .pb-line, .pb.pb-photo .pb-sub strong, .pb.pb-photo .pb-line strong { color: rgb(200, 200, 200); mix-blend-mode: color-dodge; font-weight: 500; letter-spacing: -0.01em; }

.pb.pb-photo .pb-at-bottom ~ .pb-at-bottom { margin-top: clamp(6px, 0.9vw, 14px); }
.pb.pb-photo h1 { margin-left: -0.05em; }
@keyframes pb-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.pb.pb-photo h1 { animation: pb-rise 0.7s ease both; }
.pb.pb-photo .pb-sub, .pb.pb-photo .pb-line { animation: pb-rise 0.7s ease 0.15s both; }
@media (prefers-reduced-motion: reduce) { .pb.pb-photo h1, .pb.pb-photo .pb-sub, .pb.pb-photo .pb-line { animation: none; } }
@media (max-width: 560px) { .pb.pb-photo h1 { font-size: 2.7rem; } }
/* the Careers title is a whole sentence, so it stays a step smaller than the other titles */
.pb.pb-photo #noads-title { font-size: clamp(2.6rem, 7.4vw, 7rem); }
@media (max-width: 560px) { .pb.pb-photo #noads-title { font-size: 2.5rem; } }
.pb.pb-photo .pb-sub, .pb.pb-photo .pb-line { font-size: clamp(1.1rem, 1.9vw, 1.75rem); line-height: 1.35; max-width: 58ch; }
.pb.pb-photo .pb-at-bottom ~ .pb-at-bottom { margin-top: clamp(10px, 1.4vw, 20px); }

/* =========================================
   PHOTO BANNERS ON PILOTS, FAQ AND CAREERS
   These pages pad the top of <main> to clear the fixed header. A photo banner clears the header
   itself, so <main> drops that padding and the page starts under the banner with the same space
   as the Employees, Managers and HR intros.
   ========================================= */
.pilots-page:has(> .pb-photo), .faq-page:has(> .pb-photo), .noads:has(> .pb-photo) { padding-top: 0; }
.pilots-page > .pb-photo + .container, .faq-page > .pb-photo + .container, .noads > .pb-photo + .container { padding-top: clamp(40px, 6vw, 88px); }

/* =========================================
   PILOTS BUTTON (.pilot-cta)
   A button for the foot of a page that takes people to /pilots, in the colours of the SATIEE LinkedIn
   banner (sig/banner-li-company-v2.png). At rest it is a white button with a dark teal outline and a
   soft shadow, holding the standard mark, a bold line, a tagline and a dark arrow circle. On hover it
   lifts and fills with the LinkedIn gradient: the text turns white, the tagline yellow, the mark
   swaps to the reversed one and the arrow turns lime and slides forward. When pressed it sinks back.
   It sits centred on a white band, so it never touches the dark footer. To add it to another page,
   copy the PILOTS BUTTON section from about/journey.html.
   ========================================= */
.pilot-cta { padding: clamp(48px, 7vw, 96px) 0; background: #FFFFFF; }
/* inside a band of its own (the homepage Pilots section): no band of its own, just space above */
.pilot-cta.pilot-cta-inband { padding: clamp(40px, 5vw, 64px) 0 0; background: none; }
/* the homepage clips anything outside .container on phones, so leave room for the shadow and lift */
@media (max-width: 768px) { .pilot-cta.pilot-cta-inband { padding-bottom: 28px; } }
.pilot-cta-card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; align-items: center; gap: 20px;
  width: fit-content; max-width: 100%; margin: 0 auto; padding: 16px 18px 16px 22px;
  border: 2px solid #133035; border-radius: 16px; background: #FFFFFF; color: #133035; text-decoration: none;
  box-shadow: 0 10px 24px rgba(19, 48, 53, 0.22), 0 2px 6px rgba(19, 48, 53, 0.12);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.pilot-cta-card:hover {
  background: linear-gradient(90deg, #205764 0%, #205764 30%, #1E5760 64%, #0F3048 90%, #1C2D54 100%); color: #FFFFFF; border-color: #205764;
  transform: translateY(-3px); box-shadow: 0 16px 32px rgba(19, 48, 53, 0.32), 0 4px 10px rgba(19, 48, 53, 0.16);
}
.pilot-cta-card:active { transform: translateY(1px); box-shadow: 0 4px 10px rgba(19, 48, 53, 0.25); }
.pilot-cta-card:focus-visible { outline: 3px solid #0B8177; outline-offset: 4px; }
.pilot-cta-marks { display: block; width: 56px; height: 56px; }
.pilot-cta-mark { display: block; width: 56px; height: 56px; }
.pilot-cta-mark-hover, .pilot-cta-card:hover .pilot-cta-mark-rest { display: none; }
.pilot-cta-card:hover .pilot-cta-mark-hover { display: block; }
.pilot-cta .pilot-cta-title {
  margin: 0; color: inherit;
  font-family: 'Space Grotesk', 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 650; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.1; letter-spacing: -0.01em;
}
.pilot-cta .pilot-cta-line {
  margin: 2px 0 0; color: inherit;
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600; font-size: clamp(0.9rem, 1.1vw, 1rem); line-height: 1.3;
}
/* the lit-up button takes the home banner's gradient exactly, darker teal into deep blue at the far edge (Firuze, 23 Oct 2026) */
/* the tagline stays the button's dark ink at rest and lights up yellow on hover (Matthew, 18 Oct) */
.pilot-cta-line em { font-style: normal; color: inherit; transition: color 0.2s; }
.pilot-cta-card:hover .pilot-cta-line em { color: #FFD834; }
.pilot-cta-go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #133035; color: #FFFFFF; transition: transform 0.15s, background 0.2s, color 0.2s; }
.pilot-cta-go svg { width: 20px; height: 20px; }
.pilot-cta-card:hover .pilot-cta-go { background: #9ECD3A; color: #133035; transform: translateX(4px); }
/* phones and other touch screens have no hover, so the button shows its lit-up state from the start (Matthew, 18 Oct) */
@media (hover: none), (max-width: 768px) {
  .pilot-cta-card { background: linear-gradient(90deg, #205764 0%, #205764 30%, #1E5760 64%, #0F3048 90%, #1C2D54 100%); color: #FFFFFF; border-color: #205764; }
  .pilot-cta-card .pilot-cta-mark-rest { display: none; }
  .pilot-cta-card .pilot-cta-mark-hover { display: block; }
  .pilot-cta-card .pilot-cta-line em { color: #FFD834; }
  .pilot-cta-card .pilot-cta-go { background: #9ECD3A; color: #133035; }
}
@media (max-width: 640px) {
  .pilot-cta-card { grid-template-columns: 40px minmax(0, 1fr) 36px; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 14px; }
  .pilot-cta-marks, .pilot-cta-mark { width: 40px; height: 40px; }
  .pilot-cta-go { width: 36px; height: 36px; }
  .pilot-cta-go svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pilot-cta-card, .pilot-cta-go { transition: none; }
  .pilot-cta-card:hover, .pilot-cta-card:active, .pilot-cta-card:hover .pilot-cta-go { transform: none; }
}

/* =========================================
   SIGNATURE GREEN HEADER (after Lauren's pilots button)
   The header carries the LinkedIn banner gradient the pilots button fills with on hover: forest
   green into deep teal, white type, the reversed mark, and yellow where something should pop
   (the page you are on, a link under the pointer, and the Book a demo button).
   ========================================= */
.sh {
  /* large soft lime glows across the bar, kept faint where the menu links sit */
  background:
    radial-gradient(circle 200px at 14% 120%, rgba(158, 205, 58, 0.18), transparent),
    radial-gradient(circle 160px at 40% -30%, rgba(158, 205, 58, 0.14), transparent),
    radial-gradient(circle 220px at 70% 130%, rgba(158, 205, 58, 0.12), transparent),
    radial-gradient(circle 180px at 96% -20%, rgba(158, 205, 58, 0.2), transparent),
    linear-gradient(90deg, #1E574D 0%, #185154 50%, #0F3243 100%);
  backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.sh.sh-scrolled { box-shadow: 0 4px 24px rgba(19, 48, 53, 0.35); }
/* the rings that sat behind the logo in the bar are gone at every width, so the bar shows only its glow and gradient
   (Firuze, 23 Oct 2026) */
/* on phones the bar is short, so the lime glows covered most of it. There it keeps one glow by the logo and runs
   from green into a bluer teal on the right */
@media (max-width: 768px) {
  .sh { background: radial-gradient(circle 160px at 10% 120%, rgba(158, 205, 58, 0.16), transparent), linear-gradient(90deg, #1E574D 0%, #185154 45%, #0F3243 100%); }
}
.sh-logo span { color: #FFFFFF; }
/* Matthew's sizes from the header logo sizer (18 Oct): mark 51px and SATIEE 29px on desktop, 37px and 17px on phones */
.sh-logo img { width: 51px; height: 51px; }
.sh-logo span { font-size: 29px; }
@media (max-width: 768px) {
  .sh-logo img { width: 37px; height: 37px; }
  .sh-logo span { font-size: 17px; }
}
.sh-links a, .sh-drop-btn { color: rgba(255, 255, 255, 0.82); }
.sh-links a:hover, .sh-drop-btn:hover { color: #FFD834; }
.sh-links a[aria-current="page"], .sh-drop-btn.sh-drop-current { color: #FFFFFF; font-weight: 600; text-decoration: underline; text-decoration-color: #FFD834; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.sh-links .sh-contact { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.45); }
.sh-links .sh-contact:hover { color: #FFD834; border-color: #FFD834; }
.sh-links .sh-cta, .sh-cta-bar { color: #133035; background: #FFD834; border-color: #FFD834; }
.sh-links .sh-cta:hover, .sh-cta-bar:hover { color: #133035; background: #F5C916; border-color: #F5C916; }
.sh-toggle span { background: #FFFFFF; }
.sh a:focus-visible, .sh-toggle:focus-visible, .sh-drop-btn:focus-visible, .sh-cta-bar:focus-visible { outline-color: #FFD834; }
/* the dropdown lists stay white, so their links stay dark */
.sh-links .sh-drop-menu a { color: #1B3A4B; text-decoration: none; }
.sh-links .sh-drop-menu a:hover { color: #0B8177; }
.sh-links .sh-drop-menu a[aria-current="page"] { color: #133035; text-decoration: underline; text-decoration-color: #FFD834; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 1180px) {
  /* the folded menu drops down in the header's deep teal, with white rows */
  .sh-nav { background: #133035; border-top-color: rgba(255, 255, 255, 0.1); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3); }
  .sh-drop-menu { background: rgba(255, 255, 255, 0.06); }
  .sh-links .sh-drop-menu a { color: rgba(255, 255, 255, 0.82); }
  .sh-links .sh-drop-menu a:hover { color: #FFD834; background: rgba(255, 255, 255, 0.06); }
  .sh-links .sh-drop-menu a[aria-current="page"] { color: #FFFFFF; }
  .sh-links a[aria-current="page"], .sh-drop-btn.sh-drop-current { text-underline-offset: 6px; }
}

/* =========================================
   DEEP BLUE HEADER (Firuze's mock-up, 22 Oct 2026)
   The bar starts in the deep blue from the right of the home banner and darkens to a near navy on the right,
   with a touch of the brand violet at the far end and a faint violet glow behind the mark. It keeps the reversed
   mark and the white word SATIEE, which stand out clearly on the dark bar. These rules sit last so they win
   over the green header above. To go back, delete this block.
   ========================================= */
.sh {
  background:
    radial-gradient(circle 220px at 60px 50%, rgba(117, 77, 208, 0.14), transparent),
    linear-gradient(90deg, #0F3048 0%, #0C2640 40%, #0A1B33 78%, #0F1636 100%);
  /* a clear white hairline, so the bar reads as a deliberate band above the banner and each page */
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
@media (max-width: 768px) {
  .sh { background: radial-gradient(circle 140px at 40px 50%, rgba(117, 77, 208, 0.14), transparent), linear-gradient(90deg, #0F3048 0%, #0C2640 40%, #0A1B33 78%, #0F1636 100%); }
}
/* the Our Mission and About Us lists open in the same near navy as the bar, with light links and yellow on hover */
.sh-drop-menu { background: #0A1B33; border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35); }
.sh-links .sh-drop-menu a { color: rgba(255, 255, 255, 0.86); }
.sh-links .sh-drop-menu a:hover { color: #FFD834; background: rgba(255, 255, 255, 0.07); }
.sh-links .sh-drop-menu a[aria-current="page"] { color: #FFFFFF; }
/* on phones and tablets the folded menu drops down in the bar's own deep blue, so the bar and its menu read as one */
@media (max-width: 1180px) {
  .sh-nav { background: linear-gradient(90deg, #0F3048 0%, #0C2640 40%, #0A1B33 78%, #0F1636 100%); }
  .sh-drop-menu { background: rgba(255, 255, 255, 0.06); border: 0; box-shadow: none; }
}

/* =========================================
   DEEP BLUE FOOTER (Firuze, 23 Oct 2026)
   The footer takes the same deep blue to near navy blend as the header above, so the page starts and ends with
   the same bar. To go back to the dark teal footer, delete this block.
   ========================================= */
.sf { background: linear-gradient(90deg, #0F3048 0%, #0C2640 40%, #0A1B33 78%, #0F1636 100%); }

/* =========================================
   VERY LIGHT VIOLET PAGES (Firuze, 23 Oct 2026)
   Every page and its plain white sections sit on a very light brand violet in place of white, and the light grey
   alternate bands take a slightly deeper violet so they still stand apart. Cards, forms and menus stay white, so they
   lift off the page. To go back to white, delete this block.
   ========================================= */
:root { --page-violet: #FAF9FE; --page-violet-alt: #F3F1FB; }
html body,
body .home-problem, body .home-who, body .home-pilots-band, body .cta-section,
body .pilot-cta, body .band:not(.problem), body .split, body .film { background-color: var(--page-violet); }
/* the navy patterned band on the Our Mission page (.problem.band) keeps its navy */
body .band.band-alt:not(#team), body .md-featured.md-carousel { background-color: var(--page-violet-alt); }
/* the Our Team band keeps its original light grey, so the portraits sit on a neutral backdrop */

/* the corner brackets around the intro under each banner are gone (Firuze, 23 Oct 2026): the yellow highlight carries it */
.aud-intro p::before, .aud-intro p::after, .pf-lead::before, .pf-lead::after { display: none; }
/* cards take a whisper of violet, so they read as white but belong to the violet page */
body .home-fig, body .home-who-card, body .hpb-facts li, body .pilot-form-card, body .pilot-cta-card,
body .advisor-card, body .composer, body li.person { background-color: #FDFCFF; }

/* =========================================
   CONTACT AND BOOKING BOXES (Firuze, 23 Oct 2026, confirmed twice)
   Colour only: the pale grey boxes inside the booking card and the message form, where the calendar opens and where
   people type, take a pale violet so they sit with the violet page. The form, its fields and how it sends are unchanged.
   ========================================= */
.pilot-form-card .book-slot { background: #F9F8FE; border-color: #ECE9F7; }
.pilot-form-card .field input,
.pilot-form-card .field textarea,
.pilot-form-card .field select { background: #F9F8FE; border-color: #ECE9F7; }
.pilot-form-card .field input:focus,
.pilot-form-card .field textarea:focus,
.pilot-form-card .field select:focus { background: #FFFFFF; border-color: var(--teal); }

/* rounded corners on every photo in the page body (Firuze, 23 Oct 2026), the same 18px as the Mission tiles.
   The About Us cards trade their cut-off corner for the same rounding. Banners stay edge to edge. */
body .split-media { border-radius: 18px; overflow: hidden; }
body .ab-photo { clip-path: inset(0 round 18px); border-radius: 18px; }
body .pf-flow { border-radius: 18px; overflow: hidden; }

/* =========================================
   PILOT CARD, AFTER THE FLYER (Firuze, 23 Oct 2026)
   A split card like the problem and solution cards in the printed flyer: a slate teal half (#234753) with the
   reversed mark and the title in white, a yellow arrow sitting on the join, and a light half with the line and a
   violet link. Rounded corners, inside the page width. No movement: on hover the shadow deepens.
   ========================================= */
body .pilot-cta { margin: 0; padding: clamp(48px, 7vw, 96px) 0; background: none; border: 0; }
body .pilot-cta-card,
body .pilot-cta-card:hover,
body .pilot-cta-card:active {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 0;
  width: 100%; max-width: 980px; margin: 0 auto; padding: 0; overflow: visible;
  background: #FFFFFF; color: #133035; text-decoration: none;
  border: 1px solid #E6E2F5; border-radius: 16px;
  box-shadow: 0 10px 28px rgba(19, 48, 53, 0.10); transform: none;
  transition: box-shadow 0.2s;
}
body .pilot-cta-card:hover { box-shadow: 0 16px 38px rgba(19, 48, 53, 0.18); }
body .pilot-cta-card::before { content: none; }
body .pilot-cta-card:focus-visible { outline: 3px solid #754DD0; outline-offset: 4px; }
body .pilot-cta-card:focus-visible::before { outline: none; }
.pilot-cta-dark { display: flex; align-items: center; gap: 20px; padding: clamp(26px, 3.4vw, 40px) clamp(40px, 4.4vw, 56px) clamp(26px, 3.4vw, 40px) clamp(24px, 3vw, 36px); background: #234753; border-radius: 15px 0 0 15px; color: #FFFFFF; }
.pilot-cta-light { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(26px, 3.4vw, 40px) clamp(24px, 3vw, 36px) clamp(26px, 3.4vw, 40px) clamp(40px, 4.4vw, 56px); }
body .pilot-cta-card .pilot-cta-marks, body .pilot-cta-card .pilot-cta-mark { flex: none; width: 72px; height: 72px; }
body .pilot-cta-card .pilot-cta-mark-hover, body .pilot-cta-card:hover .pilot-cta-mark-hover { display: block; }
body .pilot-cta-card .pilot-cta-mark-rest, body .pilot-cta-card:hover .pilot-cta-mark-rest { display: none; }
body .pilot-cta .pilot-cta-title { margin: 0; font-family: 'General Sans', 'Inter', sans-serif; font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; color: #FFFFFF; }
body .pilot-cta .pilot-cta-line { margin: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-weight: 500; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.5; color: #33414A; }
body .pilot-cta-card .pilot-cta-line em, body .pilot-cta-card:hover .pilot-cta-line em { font-style: normal; color: #133035; font-weight: 700; }
.pilot-cta-more { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.98rem; font-weight: 600; color: #21515E; }
.pilot-cta-more::after { content: " \2192"; }
body .pilot-cta-card:hover .pilot-cta-more { text-decoration: underline; text-underline-offset: 4px; }
/* the yellow arrow sits on the join between the two halves, as on the flyer */
body .pilot-cta-card .pilot-cta-go, body .pilot-cta-card:hover .pilot-cta-go {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  background: #FFD834; color: #133035; transform: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
body .pilot-cta-card .pilot-cta-go svg { width: 22px; height: 22px; }
/* phones: the dark half on top, the arrow on the join, the light half below */
@media (max-width: 640px) {
  body .pilot-cta-card, body .pilot-cta-card:hover, body .pilot-cta-card:active { grid-template-columns: minmax(0, 1fr); }
  .pilot-cta-dark { gap: 14px; padding: 24px 20px 34px; border-radius: 15px 15px 0 0; }
  .pilot-cta-light { padding: 34px 20px 24px; }
  body .pilot-cta-card .pilot-cta-marks, body .pilot-cta-card .pilot-cta-mark { width: 52px; height: 52px; }
  /* the two halves are not the same height here, so the arrow sits in the column between them, pulled up and down
     by half its size, to land on the join rather than the middle of the card. It sits towards the right, in line
     with the text's right edge (Firuze, 23 Oct 2026) */
  body .pilot-cta-card .pilot-cta-go, body .pilot-cta-card:hover .pilot-cta-go { position: relative; left: auto; top: auto; justify-self: end; width: 44px; height: 44px; margin: -22px 20px -22px 0; }
  body .pilot-cta .pilot-cta-title { text-wrap: balance; }
  body .pilot-cta-card .pilot-cta-go svg { width: 18px; height: 18px; }
  body .pilot-cta-card .pilot-cta-go svg { transform: rotate(90deg); }
}

/* =========================================
   PILOT CARD COMES ALIVE (Firuze, 23 Oct 2026)
   site.js adds pc-fx to the card, so without the script the card is as above. When the card first scrolls into
   view the slate half opens from the left, the yellow arrow pops onto the join and the words rise in. After that
   the arrow sends out a soft yellow ring every few seconds. With a mouse, the card tilts towards the pointer, a
   violet light follows it, and on hover the arrow shoots off to the right and comes back round. Anyone who
   prefers reduced motion sees the card still.
   ========================================= */
@keyframes pc-open { from { clip-path: inset(0 100% 0 0 round 15px); } to { clip-path: inset(0 0 0 0 round 15px 0 0 15px); } }
@keyframes pc-open-down { from { clip-path: inset(0 0 100% 0 round 15px); } to { clip-path: inset(0 0 0 0 round 15px 15px 0 0); } }
@keyframes pc-pop { 0% { transform: scale(0) rotate(-90deg); } 70% { transform: scale(1.15) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes pc-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pc-ring { 0%, 55% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(255, 216, 52, 0.6); } 100% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18), 0 0 0 16px rgba(255, 216, 52, 0); } }
@keyframes pc-shoot { 0% { transform: none; opacity: 1; } 40% { transform: translateX(22px); opacity: 0; } 41% { transform: translateX(-22px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  body .pilot-cta-card.pc-fx .pilot-cta-dark { clip-path: inset(0 100% 0 0 round 15px); }
  body .pilot-cta-card.pc-fx .pilot-cta-go { transform: scale(0); }
  body .pilot-cta-card.pc-fx .pilot-cta-light > * { opacity: 0; }
  body .pilot-cta-card.pc-fx.is-in .pilot-cta-dark { animation: pc-open 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
  body .pilot-cta-card.pc-fx.is-in .pilot-cta-go { animation: pc-pop 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2) 0.55s forwards, pc-ring 2.8s ease-out 1.6s infinite; }
  body .pilot-cta-card.pc-fx.is-in .pilot-cta-light > * { animation: pc-up 0.5s ease 0.75s forwards; }
  body .pilot-cta-card.pc-fx.is-in .pilot-cta-light > :nth-child(2) { animation-delay: 0.9s; }
  @media (max-width: 640px) {
    body .pilot-cta-card.pc-fx .pilot-cta-dark { clip-path: inset(0 0 100% 0 round 15px); }
    body .pilot-cta-card.pc-fx.is-in .pilot-cta-dark { animation-name: pc-open-down; }
  }
}
/* the tilt and the light only for a mouse, where --mx and --my are the pointer's place in the card */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body .pilot-cta-card.pc-fx, body .pilot-cta-card.pc-fx:hover, body .pilot-cta-card.pc-fx:active {
    transform: perspective(1000px) rotateX(var(--pc-ry, 0deg)) rotateY(var(--pc-rx, 0deg));
    transition: transform 0.25s ease-out, box-shadow 0.25s ease;
  }
  body .pilot-cta-card.pc-fx::after { content: ''; position: absolute; inset: 0; border-radius: 16px; pointer-events: none; opacity: 0; transition: opacity 0.3s;
    background: radial-gradient(circle 260px at var(--pc-mx, 50%) var(--pc-my, 50%), rgba(117, 77, 208, 0.08), transparent 70%); }
  body .pilot-cta-card.pc-fx:hover::after { opacity: 1; }
  body .pilot-cta-card.pc-fx:hover { box-shadow: 0 22px 48px rgba(117, 77, 208, 0.12); }
  body .pilot-cta-card.pc-fx .pilot-cta-go { z-index: 1; overflow: hidden; }
  body .pilot-cta-card.pc-fx:hover .pilot-cta-go svg { animation: pc-shoot 0.6s ease-in-out; }
  body .pilot-cta-card.pc-fx:hover .pilot-cta-more { text-decoration: underline; text-decoration-thickness: 2px; }
}

/* =========================================
   CONSISTENT COLOURS (Firuze, 23 Oct 2026)
   Every heading on a light background is the flyer's dark teal. Body text is one grey (#33414A), with a lighter grey
   (#5A6B78) kept for small notes. Headings and text on dark bands, banners and the pilot card keep their own colours.
   ========================================= */
body #main :is(h1, h2, h3):not(.pb *, .hero *, .problem *, .pf-flow *, .pilot-cta *, .mc-tile *, .tl-stage-name, .qbox *, .faq-end-dark *) { color: #133035; }
body #main #team .cofounder-name-overlay h3 { color: #133035; }
body #main :is(.legal-content p, .qa p, .faq-end p, .home-problem-text p, .hpb-lede, .hpb-facts p,
  .cofounder-body p, .advisor-info p, .social-proof-header p, .next li p, .noads-hero .story, .dated li p,
  .scene p.cap.take1, .sources-scene p.cap, .scene-close .cap.answer) { color: #33414A; }
/* lead lines and emphasised lines take the heading teal */
body #main :is(.pf-lead, .noads-hero .lede, .l-status, .scene-close .cap.q, .scene-close .cap.catch) { color: #133035; }
body #main :is(.legal-meta, .privacy-meta, .sources-panel .caveat) { color: #5A6B78; }
/* the pilot card title uses the same heading font as the rest of the site */
body .pilot-cta .pilot-cta-title { font-family: 'Space Grotesk', 'General Sans', 'Inter', sans-serif; }
/* buttons are navy, dark teal or yellow: the slightly different teal on Tribunal Risk joins the main teal */
.film-page a.btn, .film-page button.btn { background: #0F766E; }
.film-page a.btn:hover, .film-page button.btn:hover { background: #115E59; }

/* the Tribunal Risk banner shows its photo in its own colours: no teal tint, just a soft neutral shade from the
   left so the white title still reads (Firuze, 5 Nov 2026) */
.film-page .pb.has-img {
  background-color: #10181B;
  background-image:
    linear-gradient(90deg, rgba(8, 20, 24, 0.55) 0%, rgba(8, 20, 24, 0.25) 40%, rgba(8, 20, 24, 0) 75%),
    var(--pb-img);
}

/* the Platform steps photo fills its whole column, so the caption sits on the bottom of the photo rather than under
   an empty band (Firuze, 23 Oct 2026) */
body .pf-flow-media { background-size: cover; background-position: center; }
/* the steps panel is the printed flyer's slate teal, with the step numbers in yellow as on the flyer (Firuze, 23 Oct 2026) */
body .pf-flow-text { background: #234753; }
body .pf-flow-num { color: #FFD834; }

/* =========================================
   ACCESSIBILITY OPTIONS (Firuze, 4 Nov 2026)
   A round button fixed to the bottom left of every page opens a small panel of switches. Each choice is kept in
   the visitor's browser (localStorage "satiee-a11y") and a short script at the top of each page's head puts it
   back before anything moves, as a class on <html>:
     a11y-still    stops every animation and transition, and the carousels stop moving on their own
     a11y-big      makes the text larger
     a11y-spacing  adds space between lines, letters and words, as WCAG 1.4.12 describes
     a11y-links    underlines every link in the text
     a11y-focus    shows a thick yellow and dark ring around whatever has keyboard focus
   The button and panel are built by the ACCESSIBILITY block at the end of site.js.
   ========================================= */
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after {
  animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
}
html.a11y-big { font-size: 118%; }
html.a11y-spacing body { letter-spacing: 0.03em; word-spacing: 0.14em; }
/* the taller lines and the gaps between paragraphs only go on reading text: paragraphs, quotes and plain bullet
   lists in the page. Menus, buttons, cards, steps and other layouts are lists too, so before this the gap pushed
   every item after the first one down, which staggered the top bar, the homepage cards, the pilot steps and the
   footer (Firuze, 5 Nov 2026) */
html.a11y-spacing :is(main, article) :is(p, dd, blockquote),
html.a11y-spacing :is(main, article) :is(ul, ol):not([class]) > li { line-height: 1.9 !important; }
html.a11y-spacing :is(main, article) p + p { margin-top: 1.2em; }
html.a11y-spacing :is(main, article) :is(ul, ol):not([class]) > li + li { margin-top: 0.6em; }
/* with larger text or extra spacing, a photo banner grows to fit its title instead of cutting the words off at the
   bottom, which happened on phones on Journey, Careers and Managers (Firuze, 5 Nov 2026) */
html:is(.a11y-big, .a11y-spacing) .pb.pb-photo { height: auto; min-height: min(66.667vw, calc(100vh - 73px), max(380px, 56vh)); }
html.a11y-links :is(main, .sf) a:not([class*="btn"]):not([class*="cta"]):not([class*="card"]):not([class*="tile"]):not([class*="link"]) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-focus :focus-visible { outline: 4px solid #FFD834 !important; outline-offset: 2px !important; box-shadow: 0 0 0 8px #133035 !important; }

.a11y-btn {
  position: fixed; left: 16px; bottom: 16px; z-index: 350;
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 2px solid #FFFFFF; border-radius: 50%; background: #754DD0; color: #FFFFFF; cursor: pointer;
  box-shadow: 0 8px 22px rgba(117, 77, 208, 0.45); transition: transform 0.2s, background 0.2s;
}
/* brand violet, brighter than the dark teal it had, with a white icon at 5.6:1 (Firuze, 5 Nov 2026) */
.a11y-btn:hover { background: #5E3BB5; transform: scale(1.06); }
.a11y-btn:focus-visible { outline: 3px solid #FFD834; outline-offset: 3px; }
.a11y-btn svg { width: 28px; height: 28px; }
.a11y-panel {
  position: fixed; left: 16px; bottom: 80px; z-index: 351;
  width: min(330px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow-y: auto;
  padding: 20px 20px 16px; border-radius: 18px; background: #FFFFFF; color: #133035;
  border: 1px solid #E6E2F5; box-shadow: 0 20px 50px rgba(19, 48, 53, 0.3);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.4; letter-spacing: 0; word-spacing: 0;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
html body .a11y-panel h2 { margin: 0; font-family: 'Space Grotesk', 'General Sans', sans-serif; font-weight: 500; font-size: 1.25rem; color: #133035; }
.a11y-x { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #F3F1FB; color: #133035; cursor: pointer; }
.a11y-x:hover { background: #E6E2F5; }
.a11y-x:focus-visible, .a11y-sw:focus-visible, .a11y-reset:focus-visible { outline: 3px solid #754DD0; outline-offset: 2px; }
.a11y-panel > p { margin: 0 0 10px; color: #5A6B78; font-size: 0.88rem; line-height: 1.45 !important; }
.a11y-sw {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
  padding: 11px 2px; border: 0; border-top: 1px solid #E6E2F5; background: none; color: #133035; text-align: left; cursor: pointer;
  font: inherit; font-weight: 600;
}
.a11y-sw small { display: block; font-weight: 400; font-size: 0.82rem; color: #5A6B78; }
.a11y-sw i { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: #8A84A3; transition: background 0.2s; }
.a11y-sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s; }
/* a switch that is on takes the brand violet of the round button, in place of the old forest green (Firuze, 5 Nov 2026) */
.a11y-sw[aria-checked="true"] i { background: #754DD0; }
.a11y-sw[aria-checked="true"] i::after { transform: translateX(18px); }
.a11y-reset { margin-top: 8px; padding: 6px 0; border: 0; background: none; color: #754DD0; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media print { .a11y-btn, .a11y-panel { display: none !important; } }

/* =========================================
   PILOT CARD ON PHONES: A LIGHT CARD WITH A YELLOW EDGE (Firuze, 6 Nov 2026)
   On phones the split card with the round yellow arrow was tall and odd for a button. It becomes a white card
   with a yellow edge on the left, like the figure boxes on the home page: the title, the line, and the link
   underlined in yellow. The whole card is still the link. The FAQ's "Still have a question?" box does the same.
   ========================================= */
@media (max-width: 640px) {
  html body .pilot-cta-card, html body .pilot-cta-card:hover, html body .pilot-cta-card:active {
    display: block; padding: 20px 20px 22px; border: 1px solid #E6E2F5; border-left: 4px solid #FFD834; border-radius: 14px;
    background: #FFFFFF; box-shadow: 0 6px 18px rgba(19, 48, 53, 0.07);
  }
  html body .pilot-cta-card .pilot-cta-dark, html body .pilot-cta-card.pc-fx .pilot-cta-dark, html body .pilot-cta-card.pc-fx.is-in .pilot-cta-dark {
    display: block; padding: 0; background: none; border-radius: 0; clip-path: none; animation: none;
  }
  html body .pilot-cta-card .pilot-cta-marks, html body .pilot-cta-card .pilot-cta-go { display: none; }
  html body .pilot-cta .pilot-cta-title { font-size: 1.3rem; line-height: 1.25; color: #133035; }
  html body .pilot-cta-card .pilot-cta-light { display: block; padding: 0; }
  html body .pilot-cta .pilot-cta-line { margin: 6px 0 12px; font-size: 0.95rem; line-height: 1.5; color: #33414A; }
  html body .pilot-cta-card .pilot-cta-line em { font-weight: 600; }
  html body .pilot-cta-card .pilot-cta-more { color: #133035; text-decoration: underline; text-decoration-color: #FFD834; text-decoration-thickness: 2px; text-underline-offset: 4px; }
  /* on phones the card is simply there: no fade or delay as it scrolls into view (Firuze, 6 Nov 2026) */
  html body .pilot-cta-card.pc-fx .pilot-cta-light > * { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* =========================================
   SHORTER PHOTO BANNERS AND A TIGHTER FOOTER (Firuze, 6 Nov 2026)
   On laptops and big screens a photo banner is just over half the screen, never less than 380 pixels, so the first
   lines of the page show below it. Phones keep their 3:2 banner, and it still never runs taller than the first screen.
   On phones the footer's four groups sit in three tighter columns, with Legal under Get in touch.
   ========================================= */
.pb.pb-photo { height: min(66.667vw, calc(100vh - 73px), max(380px, 56vh)); }
@media (max-width: 768px) {
  .pb.pb-photo { height: min(66.667vw, calc(100vh - 61px), max(380px, 56vh)); }
}
@media (max-width: 700px) {
  .sf { padding: 32px 0 22px; }
  .sf-top { gap: 22px; }
  .sf-cols { display: block; columns: 3; column-gap: 12px; }
  .sf-cols > div { break-inside: avoid; margin-bottom: 20px; }
  .sf ul { gap: 7px; }
  .sf a { font-size: 0.84rem; }
  .sf-bottom { padding-top: 18px; }
  .sf-copy { font-size: 0.7rem; }
}
/* the Our Mission, Employees, Managers, HR and Pilots banners stay larger than the rest, about three quarters of the
   screen on laptops (Firuze, 6 Nov 2026) */
.pb.pb-photo:is([data-image="Mission image 1"], [data-image="Employee banner"], [data-image="Manager banner"], [data-image="HR banner"], [data-image="Pilots image 1"]) { height: min(66.667vw, calc(100vh - 73px), max(380px, 76vh)); }
@media (max-width: 768px) {
  .pb.pb-photo:is([data-image="Mission image 1"], [data-image="Employee banner"], [data-image="Manager banner"], [data-image="HR banner"], [data-image="Pilots image 1"]) { height: min(66.667vw, calc(100vh - 61px), max(380px, 76vh)); }
}
html:is(.a11y-big, .a11y-spacing) .pb.pb-photo:is([data-image="Mission image 1"], [data-image="Employee banner"], [data-image="Manager banner"], [data-image="HR banner"], [data-image="Pilots image 1"]) { height: auto; min-height: min(66.667vw, calc(100vh - 73px), max(380px, 76vh)); }
/* the Plain titles switch in the accessibility panel (Firuze, 6 Nov 2026): every reflective title, the ones that take on
   the colours behind them (color-dodge), turns solid white, so it reads the same on any photo */
html.a11y-plain :is(.pb.pb-photo h1, .pb.pb-photo h1 strong, .pb.pb-photo .pb-sub, .pb.pb-photo .pb-line, .pb.pb-photo .pb-sub strong, .pb.pb-photo .pb-line strong,
  .home-pilots-band h2, #book.book-dark h3, .md-hl .md-hl-text h2, .pf-flow-text h2, .pf-flow-text h3) { mix-blend-mode: normal !important; color: #FFFFFF !important; }
/* what the name stands for, under the logo in the footer on every page (Firuze, 6 Nov 2026) */
.sf-id { align-self: start; }
.sf-name { max-width: 24ch; margin: 12px 0 0; font-size: 0.85rem; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 900px) { .sf-name { max-width: none; } }
/* each banner photo is placed so its subject shows when a wide screen crops it (Firuze, 6 Nov 2026): the stage light
   in the bottom corner on Media, the chairs on Team, the towers on Journey, more of the hills on About and the faces
   on Tribunal Risk. The two shades on top fill the banner, so only the photo's own position changes. */
.pb.pb-photo.has-img[data-image="Media image 1"] { background-position: center, center, 50% 80%; }
.pb.pb-photo.has-img[data-image="Team image 1"] { background-position: center, center, 50% 72%; }
.pb.pb-photo.has-img[data-image="Journey image 1"] { background-position: center, center, 50% 30%; }
.pb.pb-photo.has-img[data-image="About Us image 1"] { background-position: center, center, 50% 62%; }
.pb.has-img[data-image="TR image 1"] { background-position: center, 50% 30%; }
/* the top bar is drawn on its own layer, so a phone scrolling fast moves it with the screen and it cannot stick
   partway (Firuze, 6 Nov 2026) */
.sh { transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
