/* ---------- Flow (Dec 2026, owner: "blend the sections together better, not every section has to be screen height")
   1. Sections take the height of what is in them: the 12 Nov "fit the screen" sizes (photos and portraits grown to
      the window) are replaced by fixed sizes, and the space around sections is a little less.
   2. Grey sections fade in from white and back out, so the light part of a page reads as one surface, not stripes.
   3. Coming soon runs straight into the black projects band: one dark chapter, no seam.
   4. The brand pattern (brand guidelines, page 14) sits quietly in every navy band, as it does in the footer.
   Loaded on every page after footer.css, before mobile.css. */

:root { --ab-sec: clamp(56px, 6vw, 84px); --ab-fade: clamp(72px, 10vw, 160px); }

/* 1. heights from content, not from the window */
@media (min-width: 1025px) {
  .ab-photo-fig .ab-photo { height: auto !important; min-height: 0 !important; aspect-ratio: 5 / 4; }
  .elementor-element-3e64453 .teamy__layout { width: 260px; }
  .elementor-element-170af73 .entry-media img { height: 240px; }
  .ab-rhero--short { height: clamp(440px, 62vh, 620px); }
}
.ab-blog, .ab-quotes, .ab-review, .ab-pod, .ab-up, .ab-map { padding-top: var(--ab-sec) !important; padding-bottom: var(--ab-sec) !important; }

/* 2. grey sections ease in and out of white (not on the Elite and Mary pages, which have their own colours) */
:is(.elementor-element-1dfb2f2, .elementor-element-5947146, .ab-faq, .ab-blog--more, .ab-review, .ab-up, .ab-map):not(:is(.ab-theme-elite, .ab-theme-mary) *) {
  background: linear-gradient(180deg, #fff 0, var(--ab-mist) var(--ab-fade), var(--ab-mist) calc(100% - var(--ab-fade)), #fff 100%) !important; }
.ab-journey { border-top: 0; }

/* 3. Coming soon flows into the projects band */
.ab-projects { background: linear-gradient(180deg, #061533 0, #02070f 220px, #000 420px) !important; }
.ab-soon:has(+ .ab-projects) { padding-bottom: clamp(32px, 4vw, 56px) !important; }
.ab-soon + .ab-projects { padding-top: clamp(24px, 3vw, 40px) !important; }

/* 4. the brand pattern in the navy bands (Mission, Vision, Coming soon, page bands, Thank you, 404) */
:is(.ab-soon, .elementor-element-3adff29, .elementor-element-6b311c1):not(:is(.ab-theme-elite, .ab-theme-mary) *) {
  background: url("/assets/pattern-brand-soft.svg") 0 0 / 160px 40px repeat,
    radial-gradient(120% 90% at 85% 0%, #123f94 0%, rgba(18, 63, 148, 0) 60%), linear-gradient(160deg, #0b2a66 0%, #061533 100%) !important; }

/* the home timeline: one band of brand chevrons along the line (wide screens, where the line runs across); the
   pattern's up and down chevrons echo the years above and below it (owner, Dec 2026: "keep this design") */
@media (min-width: 1025px) {
  .ab-tl__years::before { content: ""; position: absolute; left: -12vw; right: 0; top: 52%; height: 120px; margin-top: -60px;
    z-index: -1; pointer-events: none; opacity: .075; background-color: var(--ab-navy, #0b3682);
    -webkit-mask-image: url("/assets/pattern-brand.svg"), linear-gradient(180deg, rgba(0, 0, 0, .35) 0 40px, #000 40px 80px, rgba(0, 0, 0, .35) 80px 120px), linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
    mask-image: url("/assets/pattern-brand.svg"), linear-gradient(180deg, rgba(0, 0, 0, .35) 0 40px, #000 40px 80px, rgba(0, 0, 0, .35) 80px 120px), linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
    -webkit-mask-size: 160px 40px, 100% 100%, 100% 100%; mask-size: 160px 40px, 100% 100%, 100% 100%;
    -webkit-mask-repeat: repeat, no-repeat, no-repeat; mask-repeat: repeat, no-repeat, no-repeat;
    -webkit-mask-composite: source-in, source-in; mask-composite: intersect, intersect; }
}
@supports not ((mask-composite: intersect) or (-webkit-mask-composite: source-in)) { .ab-tl__years::before { display: none !important; } }

/* slider dots (Pioneers and any other slider, shown on phones): square, like everything else on the site (owner,
   Dec 2026: "make the pioneers slider dots square on phones"). The theme drew a round dot and a round ring. */
.slick-dots li button, .slick-dots li button::before, .slick-dots li button::after { border-radius: 0 !important; }
