/* ============================================================
   SIDESTREAM — SHARED STYLESHEET
   Fonts: Barlow Condensed (headlines) + Barlow (body)
   Colors: Yellow #FFE500 · Pink #FF1D8E · Black #0A0A0A
============================================================ */

/* Fonts moved to <link rel="preconnect"> + <link rel="stylesheet"> in each page <head> for non-render-blocking load. */

/* ── RESET ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow:     #FFE500;
  --pink:       #FF1D8E;
  --black:      #0A0A0A;
  --off-black:  #141414;
  --dark:       #1A1A1A;
  --white:      #FFFFFF;
  --cream:      #F5F0E6;     /* warm off-white for section backgrounds */
  --cream-soft: #FAF6EC;     /* lighter cream for card backgrounds */
  --grey:       #ECE7DC;     /* warm grey, harmonised with cream */
  --mid-grey:   #D9D2C2;
  --muted:      #6B6660;
  --nav-h:      156px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:      1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', system-ui, sans-serif;
  background: var(--cream);
  color: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; image-rendering: -webkit-optimize-contrast; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: inherit; }
ul { list-style: none; }

/* ── LAYOUT ────────────────────────── */
.container { width: min(var(--max-w), 100% - 48px); margin-inline: auto; }
.section    { padding-block: 100px; }
.section-sm { padding-block: 64px; }

/* ── TYPOGRAPHY ────────────────────── */
.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.h1 { font-size: clamp(3.5rem, 8vw, 7rem); }
.h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.8;
  color: var(--muted);
}

/* ── BUTTONS ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn-yellow  { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-yellow:hover { background: transparent; color: var(--yellow); }
.btn-pink    { background: var(--pink); color: var(--white); border-color: var(--pink); }
.btn-pink:hover { background: transparent; color: var(--pink); }
.btn-white   { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }
.btn-outline-black { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline-black:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ── REVEAL ANIMATIONS ─────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ── NAVIGATION ────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,229,0,0.12);
}

.nav__inner {
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.nav .nav__logo {
  flex-shrink: 0 !important;
  flex-basis: auto !important;
  flex-grow: 0 !important;
  display: block;
  min-width: 0;
}
.nav .nav__logo img {
  height: 96px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: none;
}
@media (max-width: 1280px) {
  .nav .nav__logo img { height: 80px; }
  .nav__links { gap: 20px !important; }
}
@media (max-width: 1180px) {
  .nav .nav__logo img { height: 72px; }
  .nav__links { gap: 16px !important; }
  .nav__links a { font-size: 0.82rem !important; letter-spacing: 0.08em !important; }
}
/* Ensure other flex children can shrink instead */
.nav .nav__inner > .nav__links {
  min-width: 0;
}

.nav__links {
  display: flex; align-items: center; gap: 28px;
}
.nav__links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active { color: var(--yellow); }

/* Dropdown */
.nav__dropdown { position: relative; padding-block: 12px; }
.nav__dropdown::after {
  /* invisible bridge so hover doesn't break between link and menu */
  content: '';
  position: absolute;
  top: 100%; left: -16px; right: -16px;
  height: 18px;
}
.nav__dropdown > a::after { content: ' ▾'; opacity: 0.6; }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  background: var(--black);
  border: 1px solid rgba(255,229,0,0.18);
  min-width: 240px;
  padding: 8px 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  transform: translateX(-50%) translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, background 0.2s;
}
.nav__dropdown-menu a:hover { color: var(--yellow); background: rgba(255,229,0,0.06); }

.nav__cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 22px;
  background: var(--yellow); color: var(--black);
  transition: all 0.25s; flex-shrink: 0;
}
.nav__cta:hover { background: var(--pink); color: var(--white); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--ease) 0.3s; }

/* Mobile menu */
.nav__mobile {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 100vw);
  background: var(--black);
  z-index: 300;
  padding: 100px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column; gap: 24px;
}
.nav__mobile.open { transform: none; }
.nav__mobile a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 20px;
}
.nav__mobile a:hover { color: var(--yellow); }
.nav__mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 1.5rem; line-height: 1;
}
.nav__overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 290;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.nav__overlay.open { opacity: 1; pointer-events: all; }

/* ── PAGE HERO (subpages) ──────────── */
.page-hero {
  min-height: 55vh;
  background: var(--black);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.3;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black) 20%, transparent 100%);
}
.page-hero__content {
  position: relative; z-index: 2;
  padding-block: 60px;
}
.page-hero__eyebrow { color: var(--yellow); margin-bottom: 16px; }
.page-hero__title { color: var(--white); }
.page-hero__title span { color: var(--yellow); }
.page-hero__sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem; max-width: 600px;
  margin-top: 16px; line-height: 1.75;
}

/* ── MARQUEE ───────────────────────── */
.marquee-band {
  background: var(--pink);
  padding-block: 16px;
  overflow: hidden; white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 75s linear infinite; }
.marquee-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); padding-inline: 28px;
  display: flex; align-items: center; gap: 28px;
}
.marquee-item::after { content: '✦'; font-size: 0.6rem; color: var(--yellow); }
.marquee-item--stat { color: var(--yellow); }
.marquee-item--solution { color: rgba(255,255,255,0.95); background: rgba(0,0,0,0.25); padding: 4px 12px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── CTA BAND ──────────────────────── */
.cta-band {
  background: var(--black);
  padding-block: 120px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band__bg {
  position: absolute;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 800; text-transform: uppercase;
  color: rgba(255,255,255,0.025);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none; letter-spacing: -0.04em;
}
.cta-band__inner { position: relative; z-index: 2; }
.cta-band__eyebrow { color: var(--yellow); margin-bottom: 20px; }
.cta-band__title { color: var(--white); margin-bottom: 20px; }
.cta-band__title span { color: var(--yellow); }
.cta-band__sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.5);
  max-width: 480px; margin-inline: auto;
  line-height: 1.8; margin-bottom: 48px;
}
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ────────────────────────── */
.footer { background: var(--off-black); padding-block: 72px 36px; }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
.footer__logo { margin-bottom: 16px; }
.footer__logo img { height: 68px; width: auto; }
.footer__tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 16px;
}
.footer__desc {
  font-size: 0.88rem; color: rgba(255,255,255,0.4);
  line-height: 1.8; max-width: 260px;
}
.footer__contact { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.footer__contact a {
  font-size: 0.83rem; color: rgba(255,255,255,0.4);
  display: flex; align-items: flex-start; gap: 8px; transition: color 0.2s;
}
.footer__contact a:hover { color: var(--yellow); }
.footer__contact svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 3px; }

.footer__col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.88rem; color: rgba(255,255,255,0.32); transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.78rem;
}
.footer__copy { color: rgba(255,255,255,0.22); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: rgba(255,255,255,0.22); transition: color 0.2s; }
.footer__legal a:hover { color: var(--white); }

/* ── CARDS ─────────────────────────── */
.card {
  background: var(--white);
  padding: 40px 32px;
  border: 1px solid var(--mid-grey);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--yellow); }

/* ── ICON BOX ──────────────────────── */
.icon-box {
  width: 52px; height: 52px;
  background: var(--black);
  display: grid; place-items: center; flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; color: var(--yellow); }

/* ── STAT PILL ─────────────────────── */
.stat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,229,0,0.12);
  color: var(--yellow);
  padding: 6px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ── RESPONSIVE ────────────────────── */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .nav__links   { gap: 18px; }
}
@media (max-width: 768px) {
  .section  { padding-block: 72px; }
  .nav__links, .nav__dropdown-menu, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ── BLOG POST PAGES ───────────────── */
.post-hero { background: var(--black); color: var(--white); padding-top: calc(var(--nav-h) + 80px); padding-bottom: 80px; }
.post-hero__inner { max-width: 820px; margin: 0 auto; padding-inline: 24px; }
.post-cat { font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 20px; }
.post-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.2rem,5vw,4rem); font-weight: 800; text-transform: uppercase; line-height: 1.05; color: var(--white); margin-bottom: 28px; }
.post-meta { font-size: 0.88rem; color: rgba(255,255,255,0.55); display: flex; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.post-cover { max-width: 1100px; margin: -40px auto 0; padding-inline: 24px; position: relative; z-index: 2; }
.post-cover img { width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.post-body { max-width: 760px; margin: 0 auto; padding-block: 80px; padding-inline: 24px; font-size: 1.05rem; line-height: 1.85; color: var(--dark); }
.post-body h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; text-transform: uppercase; margin-top: 56px; margin-bottom: 20px; line-height: 1.15; color: var(--black); }
.post-body h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 700; text-transform: uppercase; margin-top: 32px; margin-bottom: 14px; color: var(--black); }
.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol { margin: 16px 0 24px 24px; }
.post-body li { margin-bottom: 10px; }
.post-body a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.post-body a:hover { color: var(--black); }
.post-body strong { color: var(--black); font-weight: 700; }
.post-callout { background: var(--grey); border-left: 4px solid var(--yellow); padding: 24px 28px; margin: 32px 0; font-size: 1rem; line-height: 1.75; }
.post-stat { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; color: var(--pink); font-size: 1.15em; }
.post-related { background: var(--grey); padding-block: 80px; }
.post-related__header { text-align: center; margin-bottom: 48px; }
.post-related__header .eyebrow { color: var(--pink); margin-bottom: 12px; }
.post-related__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; padding-inline: 24px; }
.post-related__card { display: block; background: var(--white); padding: 32px; border-top: 3px solid var(--yellow); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.post-related__card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.08); border-top-color: var(--pink); }
.post-related__cat { font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.post-related__card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; line-height: 1.15; color: var(--black); }
@media (max-width: 768px) { .post-related__grid { grid-template-columns: 1fr; } }

/* ── WHATSAPP FLOATING CTA ─────────── */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 250;
  background: #25D366;
  color: #fff;
  padding: 14px 22px 14px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(37,211,102,0.4), 0 4px 8px rgba(0,0,0,0.18);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.04); background: #1FBA5A; box-shadow: 0 16px 36px rgba(37,211,102,0.5), 0 6px 12px rgba(0,0,0,0.2); }
.wa-fab svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-fab__label { white-space: nowrap; }
@media (max-width: 600px) {
  .wa-fab { right: 16px; bottom: 16px; padding: 12px 14px; }
  .wa-fab__label { display: none; }
  .wa-fab svg { width: 28px; height: 28px; }
}
@media print { .wa-fab { display: none; } }

/* ── STICKY MOBILE CTA BAR ────────────────────────────────── */
.sticky-cta-mobile {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: none;
  background: var(--black); border-top: 2px solid var(--yellow);
  padding: 12px 14px;
  gap: 10px;
  z-index: 95;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
}
.sticky-cta-mobile.visible { transform: translateY(0); }
.sticky-cta-mobile__btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 14px;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s;
}
.sticky-cta-mobile__btn--primary { background: var(--yellow); color: var(--black); }
.sticky-cta-mobile__btn--primary:hover { background: #FFEC4C; }
.sticky-cta-mobile__btn--secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); }
.sticky-cta-mobile__btn--secondary:hover { border-color: var(--yellow); color: var(--yellow); }
@media (max-width: 768px) {
  .sticky-cta-mobile { display: flex; }
  .wa-fab { bottom: 76px; }  /* lift WhatsApp above sticky bar */
}
@media print { .sticky-cta-mobile { display: none; } }

/* ── Our Mission video section (homepage + about) ──────────── */
.mission-video { background: var(--cream); padding-block: 90px; position: relative; }
.mission-video__inner { max-width: 980px; margin: 0 auto; padding-inline: 24px; text-align: center; }
.mission-video__eyebrow { color: var(--pink); margin-bottom: 12px; }
.mission-video__title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 800; text-transform: uppercase; line-height: 1; color: var(--black); margin-bottom: 14px; }
.mission-video__title span { color: var(--pink); }
.mission-video__sub { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 640px; margin: 0 auto 36px; }
.mission-video__frame { aspect-ratio: 16/9; max-width: 880px; margin: 0 auto; background: var(--black); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.18); border: 1px solid var(--mid-grey); }
.mission-video__frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--black); }

/* ── Mid-page Book-a-Call CTA strip (inline on subpages) ────── */
.mid-cta-strip {
  background: var(--black);
  color: var(--white);
  padding: 36px 0;
  border-top: 1px solid rgba(255,229,0,0.2);
  border-bottom: 1px solid rgba(255,229,0,0.2);
}
.mid-cta-strip__inner {
  max-width: 980px;
  margin: 0 auto;
  padding-inline: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.mid-cta-strip__text {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 280px;
}
.mid-cta-strip__text strong {
  color: var(--yellow);
  font-weight: 700;
}
.mid-cta-strip__btn {
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .mid-cta-strip__inner { flex-direction: column; align-items: flex-start; }
  .mid-cta-strip__btn { width: 100%; justify-content: center; }
}

/* ── Mobile fallbacks for inline-style grids on new sections ─── */
@media (max-width: 900px) {
  /* "Sectors We Work In" homepage block — 3 cols → 2 cols */
  section[style*="background: var(--cream)"] > div > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Comparison table parent on for-companies */
  div[style*="grid-template-columns: 1fr 1.4fr"] { grid-template-columns: 1fr !important; }
  /* Hero pilot-banner already responsive — leave alone */
}
@media (max-width: 600px) {
  section[style*="grid-template-columns: repeat(3, 1fr)"],
  section[style*="grid-template-columns: repeat(3, 1fr)"] > div > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Inline 3-col sectors / problems grids → single column */
  div[style*="display: grid"][style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  /* 2-col layouts → single column */
  div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ── BREADCRUMBS ──────────────────────────────────────────── */
.breadcrumbs {
  background: var(--cream);
  padding: 14px 0;
  border-bottom: 1px solid var(--mid-grey);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.breadcrumbs__inner {
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--pink); }
.breadcrumbs__sep { color: var(--mid-grey); }
.breadcrumbs__current { color: var(--black); font-weight: 700; }

/* ── NEWSLETTER STRIP ─────────────────────────────────────── */
.newsletter-strip {
  background: var(--black);
  color: var(--white);
  padding-block: 56px;
  border-top: 3px solid var(--yellow);
}
.newsletter-strip__inner {
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.newsletter-strip__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800; text-transform: uppercase;
  line-height: 1.1; color: var(--white);
}
.newsletter-strip__title span { color: var(--yellow); }
.newsletter-strip__sub { font-size: 0.92rem; color: rgba(255,255,255,0.6); margin-top: 8px; line-height: 1.6; max-width: 540px; }
.newsletter-strip__form { display: flex; gap: 8px; }
.newsletter-strip__form input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 18px;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  outline: none;
  min-width: 280px;
}
.newsletter-strip__form input:focus { border-color: var(--yellow); }
.newsletter-strip__form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-strip__form button {
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 14px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-strip__form button:hover { background: #FFEC4C; }
@media (max-width: 768px) {
  .newsletter-strip__inner { grid-template-columns: 1fr; }
  .newsletter-strip__form input { min-width: 0; flex: 1; }
}

/* ── JS INIT ───────────────────────── */
/* Scroll reveal handled per-page via shared initReveal() */

/* ── PERFORMANCE: content-visibility for below-fold sections ── */
/* Allows browser to skip rendering until section is near viewport */
.testimonials,
.awards,
.faq-section,
.newsletter-strip,
.blog-grid-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

/* ── PERFORMANCE: image aspect-ratio hints to prevent CLS ── */
img[width][height] { aspect-ratio: attr(width) / attr(height); }
