/* Mobiclicks — main stylesheet
   One stylesheet for every page. Linked as /assets/css/main.css?v=YYYYMMDD — bump the version
   on every page when this file changes (see CLAUDE.md). */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/montserrat-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #00a0de;
  --blue-dark: #0086bb;
  --blue-card: rgba(0, 160, 222, 0.87);
  --grey-card: rgba(107, 107, 107, 0.82);
  --grey-btn: #878787;
  --grey-light: #ededed;
  --grey-bar: #8c8c8c;
  --ink: #444444;
  --ink-soft: #6d6d6d;
  --ink-dark: #0c0c0c;
  --white: #ffffff;
  --header-bg: rgba(0, 0, 0, 0.8);
  --header-h: 88px;
  --container: 1140px;
  --radius-card: 33px;
  --radius-img: 25px;
  --shadow-card: 3px 5px 10px 0 rgba(0, 0, 0, 0.42);
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  /* The old site asked for a "Typo Hoop" font it never loaded, so these headings have always
     rendered as bold Arial. Kept that way on purpose. */
  --font-display: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--white); padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--header-bg);
  height: var(--header-h);
  transition: background-color .3s;
}
/* Home page: header is see-through over the slider until the visitor scrolls (main.js toggles .is-top) */
.site-header.is-top { background: transparent; }
.site-header.is-top .site-header__logo img { width: 75px; }
.site-header__inner {
  height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-header__logo img { width: 60px; height: auto; transition: width .3s; }
main { padding-top: var(--header-h); }
/* A hero that should sit underneath the translucent header */
.under-header { margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }

.nav { display: flex; align-items: center; }
.nav__list, .nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav__link:hover, .nav__link:focus-visible { color: rgba(255, 255, 255, 0.43); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__caret { width: 8px; height: 8px; fill: currentColor; }
.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #000; padding: 6px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__sub .nav__sub { top: 0; left: 100%; }
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub,
.nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub .nav__link { color: var(--white); padding: 12px 20px; justify-content: space-between; font-size: 13px; }
@media (min-width: 1025px) and (max-width: 1240px) { .nav__link { font-size: 13px; letter-spacing: 1.5px; padding: 8px 8px; } }
.nav__sub .nav__link:hover, .nav__sub .nav__link:focus-visible { background: var(--white); color: var(--ink-dark); }
.nav__sub .nav__link[aria-current="page"] { color: var(--blue); }
.nav__toggle { display: none; }

.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  color: var(--white); transition: opacity .2s;
}
.social a:hover { opacity: .85; color: var(--white); }
.social svg { width: 13px; height: 13px; fill: currentColor; }
.social .fb { background: #3b5998; }
.social .tw { background: #1da1f2; }
.social .ig { background: #262626; }
.social .li { background: #0077b5; }
.social .yt { background: #cd201f; }
.social--mobile { display: none; justify-content: center; margin: 0 0 24px; }

@media (max-width: 1024px) {
  .site-header__social { display: none; }
  .social--mobile { display: flex; }
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 0; color: var(--white); cursor: pointer;
  }
  .nav__toggle svg { width: 26px; height: 26px; fill: currentColor; }
  .nav__panel {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #000; display: none;
  }
  .nav.is-open .nav__panel { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .nav__link { color: var(--white); padding: 14px 24px; font-size: 13px; justify-content: space-between; width: 100%; }
  .nav__sub, .nav__sub .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; min-width: 0; background: #151515; padding: 0;
  }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__sub .nav__link { padding-left: 40px; }
  .nav__sub .nav__sub .nav__link { padding-left: 56px; }
  .nav__item:hover > .nav__sub { display: none; }
  .nav__item.is-open:hover > .nav__sub { display: block; }
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-block;
  padding: 13px 50px; border-radius: 30px; border: 0;
  font-family: var(--font); font-size: 18px; font-weight: 500; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover, .btn--blue:focus-visible { background: var(--white); color: var(--blue); }
.btn--grey { background: var(--grey-btn); color: var(--white); font-size: 21px; box-shadow: 0 10px 0 -8px rgba(0, 0, 0, 0.16); }
.btn--grey:hover, .btn--grey:focus-visible { background: var(--blue); color: var(--white); }
.btn--small { padding: 10px 24px; font-size: 15px; border-radius: 4px; }
.btn--small.btn--blue:hover { background: #7c7c7c; color: var(--white); }

/* ---------------------------------------------------------------- Headings */
.display {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  color: var(--blue); font-size: 42px; text-align: center; margin: 0;
}
.lead-heading { font-size: 32px; font-weight: 400; color: var(--ink); text-align: center; padding: 30px 50px 0; margin: 0; }
/* Section titles: full-width like the original (blue: 60px in from each side; grey: medium weight) */
.section-title {
  font-size: 32px; font-weight: 600; line-height: 1.3; text-transform: uppercase; color: var(--blue);
  text-align: center; margin: 58px 60px 60px; padding: 0;
}
.section-title--dark { color: #4f4f4f; font-weight: 500; margin: 77px 18px 42px; }

/* ---------------------------------------------------------------- Home: slider */
/* Same shape as the old Slider Revolution banner: height = 44.3% of the page width */
.slider { position: relative; height: 44.3vw; min-height: 420px; overflow: hidden; background: #222; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease; text-align: center; color: var(--white);
}
.slide::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide__content { position: relative; padding: 30px 24px 60px; max-width: 900px; }
.slide__title { font-size: clamp(26px, 3.1vw, 44px); font-weight: 500; line-height: 1.17; margin: 0 auto 30px; max-width: 16em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.slide .btn { min-width: min(340px, 80vw); padding: 14px 40px; border: 1.4px solid var(--white); border-radius: 50px; text-transform: uppercase; font-weight: 400; }
.slider__arrow {
  position: absolute; top: 50%; z-index: 2; width: 70px; height: 70px; margin-top: -35px;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.1); cursor: pointer; transition: background-color .2s;
}
.slider__arrow:hover, .slider__arrow:focus-visible { background: rgba(0, 0, 0, 0.35); }
.slider__arrow::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -4px;
  border: solid var(--white); border-width: 0 0 3px 3px; transform: rotate(45deg);
}
.slider__arrow--prev { left: 20px; }
.slider__arrow--next { right: 20px; }
.slider__arrow--next::before { margin-left: -10px; transform: rotate(-135deg); }
@media (max-width: 767px) { .slider__arrow { width: 44px; height: 44px; margin-top: -22px; } .slider__arrow--prev { left: 8px; } .slider__arrow--next { right: 8px; } }

/* ---------------------------------------------------------------- Home: welcome + product tiles */
.welcome { padding: 190px 20px 110px; text-align: center; }
.welcome .lead-heading { padding-top: 8px; font-weight: 500; }
.welcome__chevrons { display: block; width: 42px; height: 76px; margin: 28px auto 0; color: var(--blue); }

.blob-section { position: relative; }
.blob-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blob) center / cover no-repeat; opacity: var(--blob-opacity, .1);
}
/* Rows run edge to edge: text half + photo tile half, like the original. Per-row spacing via --row-pad. */
.tile-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; padding: var(--row-pad, 0 0 40px); }
.tile-row > * { min-width: 0; }
.tile-row__text { text-align: center; padding: 0 60px; }
.tile-row__text h2 { font-size: 32px; font-weight: 500; line-height: 1.3; color: var(--ink); padding: 20px 0 22px; margin: 0; }
.tile-row__text .tile-logo { width: 256px; max-width: 100%; margin: 0 auto; }
.tile { display: block; background: var(--blue); text-decoration: none; color: var(--white); box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.22); }
.tile:hover { color: var(--white); }
.tile img { width: 100%; aspect-ratio: 525 / 277; object-fit: cover; }
.tile__title { font-family: var(--font-display); font-weight: 700; font-size: 38px; line-height: 1; text-align: center; padding: 20px 10px; margin: 0; }

/* ---------------------------------------------------------------- Page hero (inner pages) */
/* Same box as the old Elementor hero: 428px tall, content centred over the full height (the translucent header
   sits on top of it), white wave divider at the bottom (.hero__divider).
   Per page: --hero-title-pt (space above the title, default 70px), --hero-pb (extra space below the content). */
.hero {
  position: relative; min-height: 428px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 10px calc(10px + var(--hero-pb, 0px));
  text-align: center; color: var(--white);
  background: #333 var(--hero) var(--hero-pos, center) / cover no-repeat;
}
.hero.under-header { padding-top: 10px; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--hero-shade, 0.36)); }
.hero > * { position: relative; }
.hero__title { font-size: 47px; font-weight: 600; line-height: 1.3; margin: 0 0 15px; padding-top: var(--hero-title-pt, 70px); }
.hero__title--medium { font-weight: 500; }
.hero .btn { margin-top: 20px; padding: 15px 50px; border: 2px solid var(--white); font-weight: 400; line-height: 1; }
.hero .btn--blue:hover, .hero .btn--blue:focus-visible { border-color: var(--blue); }
/* Product logo overlapping the bottom-right edge (19% of the width, like the original) */
.hero__logo { position: absolute; z-index: 2; right: 41px; bottom: -24px; width: calc((100% - 51px) * .19); }
/* Wave divider: <div class="hero__divider"><svg viewBox="0 0 1000 100" preserveAspectRatio="none">…</svg></div>; height via --wave-h */
.hero__divider {
  position: absolute; left: 0; right: 0; bottom: -1px; height: var(--wave-h, 25px);
  overflow: hidden; line-height: 0; transform: rotate(180deg); pointer-events: none;
}
.hero__divider svg { display: block; position: relative; left: 50%; width: calc(100% + 1.3px); height: 100%; transform: translateX(-50%); fill: var(--white); }

/* ---------------------------------------------------------------- Split band (blue text half + image half) */
/* Split band runs nearly edge to edge (10px in from each side); both halves cast a soft shadow, like the original.
   Base text = 25px Montserrat (Mirrors). --sm = 22px justified caps-height lines (most pages); --drop pushes the text
   down like the original's big top margin; --top keeps it at the top instead of centred. */
.split { display: grid; grid-template-columns: 1fr 1fr; margin: 0 10px; align-items: stretch; }
.split > * { min-width: 0; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5); }
.split__text {
  position: relative; z-index: 1; background: var(--blue); color: var(--white);
  font-size: 25px; line-height: 1.5; padding: 60px 10px 60px 55px;
  display: flex; flex-direction: column; justify-content: center;
}
.split__text p { margin: 0 0 1.5em; }
.split__text p:last-child { margin-bottom: 0; }
.split__text--sm { font-size: 22px; line-height: 2.2; letter-spacing: .3px; text-align: justify; padding: 10px 80px; }
.split__text--drop { padding: 132px 80px 40px; }
.split__text--top { justify-content: flex-start; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- Feature cards (rounded, grey or blue) */
/* Two equal halves, 50px top/bottom padding, 120px between cards, like the original.
   Column padding via custom properties so a card can match its original exactly:
   --tpad (text half, default 0 80px 0 42px), --mpad (image half, default 0 35px 0 0 / media-first 0 0 0 35px).
   Presets: .card--inset (text 80px in from the left), .card--wide (text 113px in), .card--img-inset (image 59px from the right).
   .card__media--shadow: image 19px narrower with a drop shadow (--img-shadow). --lh: line height of the text. */
.cards { display: flex; flex-direction: column; margin: 0 17px 0 18px; padding-bottom: 10px; }
.card {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0;
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  padding: 50px 0; margin: 20px 0 100px; color: var(--white);
  background: var(--grey-card);
}
.card > * { min-width: 0; }
.card__text { padding: var(--tpad, 0 80px 0 42px); }
.card__media { padding: var(--mpad, 0 35px 0 0); }
.card--media-first { --mpad: 0 0 0 35px; }
.card--media-first .card__media { order: -1; }
.card--inset { --tpad: 0 42px 0 80px; }
.card--wide { --tpad: 0 84px 0 113px; }
.card--img-inset { --mpad: 0 59px 0 0; }
.card--blue { background: var(--blue-card); }
.card--solid-blue { background: var(--blue); }
.card--solid-grey { background: #6b6b6b; }
/* A card group that starts a new band (after another group, or at the top of a blob background) */
.cards + .cards, .blob-section > .cards:first-child { padding-top: 10px; }
.card h2, .card h3 { font-size: 32px; font-weight: 600; line-height: 1.3; text-transform: uppercase; color: var(--white); margin: 50px 0 22px; }
.card h2:not(:last-child), .card h3:not(:last-child) { margin-bottom: 42px; }
.card h2:last-child, .card h3:last-child { margin-bottom: var(--h3-mb, 22px); }
.card__text > p, .card__sub { font-size: 25px; line-height: var(--lh, 1); margin: 0 0 50px; }
.card__text--prose { --lh: 1.5; }
.card__text--prose > p:only-child { margin: 0; padding: 29px 0 38px; }
.card img, .card video { border-radius: var(--radius-img); width: 100%; margin: 0; }
.card__media--shadow img { width: calc(100% - 19px); border-radius: 24px; box-shadow: var(--img-shadow, 0 25px 28px 0 rgba(0, 0, 0, .17)); }
.card__media--shadow-soft { --img-shadow: 0 11px 9px 0 rgba(0, 0, 0, .22); }
/* Image 22px wider than its half (reaches towards the text), as on some original cards */
.card__media--wide img { width: calc(100% + 22px); max-width: none; }
.card__media--full img { width: 100%; }

/* Closing line under the cards (Mirrors, Creative) */
.outro { padding: 54px 0 70px; }
.outro__text { font-size: 32px; font-weight: 500; line-height: 1.3; color: var(--ink); text-align: center; margin: 0; padding: 30px 50px 0; }
.outro--boxed { max-width: 1140px; margin: 0 auto; padding: 0 10px 10px; }

/* ---------------------------------------------------------------- Generic content */
.prose { max-width: 900px; margin: 0 auto; padding: 0 20px; font-size: 18px; color: var(--ink-dark); }
.prose h2 { font-size: 28px; color: var(--blue); margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose img { margin: 0 auto 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.center { text-align: center; }
.page-outro { padding: 14px 20px 20px; }
.welcome.page-outro { padding: 62px 20px 70px; }
.welcome.page-outro .lead-heading { max-width: none; }
.page-outro .lead-heading { max-width: 1000px; margin: 0 auto; }

/* ---------------------------------------------------------------- Posts */
.post-back { max-width: var(--container); margin: 0 auto; padding: 25px 20px 0; text-align: right; }
.post-title { background: var(--blue); color: var(--white); margin-top: 14px; }
.post-title h1 { font-size: 26px; font-weight: 600; text-align: center; padding: 30px 20px; margin: 0; max-width: var(--container); margin-inline: auto; }
.post-body { padding: 40px 20px 60px; }
.post-body .prose > img:first-child, .post-body .video { margin-bottom: 30px; }

/* ---------------------------------------------------------------- Video */
.video { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: rgba(0, 0, 0, .85); padding: 24px; }
.video-modal.is-open { display: grid; }
.video-modal__box { width: min(1000px, 100%); }
.video-modal__close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--white); font-size: 40px; line-height: 1; cursor: pointer; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--grey-light); margin-top: 30px; padding: 48px 25px 7px; text-align: center; }
.site-footer__logo { width: 324px; max-width: 80%; margin: 0 auto 54px; }
/* Footer menu: the main menu again (with its dropdowns), in grey Verdana like the original */
.footer-nav, .footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin-bottom: 36px; font-family: Verdana, Geneva, sans-serif; }
.footer-nav:last-of-type { margin-bottom: 0; }
.footer-nav li { position: relative; }
.footer-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 15px; color: var(--ink-soft); font-size: 15px; text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus-visible, .footer-nav a[aria-current="page"] { color: var(--blue); }
.footer-nav .nav__caret { width: 10px; height: 10px; fill: currentColor; }
.footer-nav ul {
  position: absolute; bottom: 100%; left: 0; z-index: 5; min-width: 200px; text-align: left;
  background: var(--white); box-shadow: 0 4px 18px rgba(0, 0, 0, .15); padding: 6px 0;
  display: none;
}
.footer-nav ul ul { bottom: auto; top: 0; left: 100%; }
.footer-nav li:hover > ul, .footer-nav li:focus-within > ul { display: block; }
.footer-nav > li:last-child > ul { left: auto; right: 0; }
/* Phones: each footer menu collapses behind a small ☰ button, like the original */
.footer-toggle { display: none; }
@media (max-width: 767px) {
  .site-footer__logo { width: 170px; margin-bottom: 26px; }
  .footer-toggle { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 14px; padding: 0; border: 0; border-radius: 3px; background: rgba(0, 0, 0, 0.06); color: #33373d; cursor: pointer; }
  .footer-toggle svg { width: 16px; height: 16px; fill: currentColor; }
  .footer-nav, .footer-nav:last-of-type { display: none; margin: 0 0 14px; }
  .footer-nav.is-open { display: block; }
  .footer-nav a { display: flex; justify-content: center; padding: 10px; }
  .footer-nav ul { position: static; box-shadow: none; background: rgba(0, 0, 0, 0.04); min-width: 0; text-align: center; }
  .footer-nav ul a { justify-content: center; }
}
.footer-nav ul a { display: flex; justify-content: space-between; width: 100%; padding: 9px 18px; font-size: 14px; }
.copyright { background: var(--grey-bar); color: var(--white); text-align: center; font-size: 19px; padding: 30px 20px 37px; margin: 0; }

/* ---------------------------------------------------------------- Cookie notice */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--blue); color: var(--white);
  display: none; align-items: center; justify-content: center; gap: 24px; padding: 14px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .15);
}
.cookie.is-visible { display: flex; }
.cookie__logo { background: var(--white); border-radius: 50%; width: 56px; height: 56px; padding: 6px; flex: none; }
.cookie p { margin: 0; font-size: 16px; }
.cookie a { color: var(--white); text-decoration: underline; }
.cookie__btn {
  background: var(--white); color: #000; border: 0; border-radius: 100px; padding: 10px 32px;
  font-family: var(--font); font-size: 13px; font-weight: 600; text-transform: uppercase; cursor: pointer;
}
.cookie__btn:hover { background: #000; color: var(--white); }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .tile-row { grid-template-columns: 1fr; }
  .tile-row .tile { order: -1; }
  .tile-row__text { padding: 20px 20px 50px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .display { font-size: 30px; }
  .welcome { padding: 60px 16px 50px; }
  .welcome.page-outro { padding: 40px 16px 40px; }
  .lead-heading, .tile-row__text h2 { font-size: 28px; line-height: 1.3; padding: 16px 10px 0; }
  .tile-row__text h2 { padding: 20px 0 24px; }
  .tile-row__text { padding: 0 20px 20px; }
  .tile__title { font-size: 36px; }
  .slider { height: 73vw; min-height: 0; }
  .slide__title { font-size: 17px; margin-bottom: 14px; }
  .slide__content { padding: 50px 16px 20px; }
  .slide .btn { min-width: 0; width: 60vw; padding: 10px 20px; font-size: 14px; }
  .btn--grey { font-size: 21px; padding: 13px 50px; }
  .cookie { flex-wrap: wrap; text-align: center; gap: 12px; }
  .cookie__logo { display: none; }
  .post-title h1 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .tile, .nav__sub { transition: none; }
}

/* ---------------- Building blocks on tablets and phones (hero, section titles, split band, cards, outro) */
@media (max-width: 1024px) {
  .split, .card { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split__text, .split__text--sm, .split__text--drop { padding: 30px 40px; text-align: center; }
  .cards { margin: 0 10px; }
  .card { padding: var(--m-pad, 40px 0); margin: 0 0 var(--m-gap, 50px); text-align: center; }
  .cards > .card:last-child { margin-bottom: var(--m-last, 0px); }
  .card__text { padding: 0 40px; }
  .card .card__media { order: 1; padding: 0 40px; }
  .card h2, .card h3 { margin: 0 0 20px; }
  .card h2:not(:last-child), .card h3:not(:last-child) { margin-bottom: 20px; }
  .card__text > p, .card__sub, .card__text--prose > p:only-child { line-height: 1.3; margin: 0 0 30px; padding: 0; }
  .card h3:last-child { margin-bottom: 25px; }
  .card__media--shadow img { margin: 0 auto; }
  .hero__logo { width: 180px; bottom: -24px; }
}
@media (max-width: 767px) {
  .hero { min-height: 416px; }
  .hero__title { font-size: var(--hero-title-m, 45px); }
  .hero__logo { position: static; width: 35%; margin: 90px auto -63px; }
  .section-title { font-size: 24px; margin: 28px 20px 20px; }
  .section-title--dark { font-size: 23px; margin: var(--mt-m, var(--mt, 77px)) 10px 42px; }
  .split__text { font-size: 20px; line-height: 1.4; padding: 29px 20px 35px; }
  .split__text--sm, .split__text--drop { font-size: 18px; line-height: 2.2; padding: 10px 20px; }
  .card { padding: var(--m-pad, 30px 0 25px); }
  .card__text { padding: 0; }
  .card .card__media { padding: 0 10px; }
  .card h2, .card h3 { font-size: var(--m-h3, 28px); margin: 0 0 20px; }
  .card__media--shadow img { width: 100%; }
  .card__media--shadow-soft img { width: calc(100% - 19px); }
  .card h2:not(:last-child), .card h3:not(:last-child) { margin-bottom: 20px; }
  .card h3:last-child { margin-bottom: 25px; }
  .card__text > p, .card__sub, .card__text--prose > p:only-child { font-size: var(--m-fs, 25px); margin: 0 20px 32px; }
  .outro { padding: 8px 0 6px; }
  .outro__text { padding: 30px 50px 0; }
}

/* ---------------- Product + Expertise pages (mirrors, location, magnifi-2, sports-moments, strategy, creative, reporting, case-studies) */
/* Hero whose button hangs lower without taking up space (Location) */
.hero--btn-low .btn { margin: 38px 0 -90px; }
/* Blob backgrounds placed like the original: natural size from the top-left corner (--repeat: tiled; --pull: 32px higher) */
.blob-section--natural::before { background-position: 0 0; background-size: auto; }
.blob-section--repeat::before { background-repeat: repeat; }
@media (min-width: 1025px) { .blob-section--pull { margin-top: -32px; } }
.split__text--caps { text-transform: uppercase; }
/* Grey title with its own top spacing (case studies) */
.section-title--dark { margin-top: var(--mt, 77px); }
/* Reporting: 25px text with tall 45px lines */
.card__text--report > p { line-height: 45px; margin: 0; padding-top: 29px; }
/* Case study card: centred client name + "Watch Video" button with a white outline */
.case-study .card__text { text-align: center; }
.case-study h3, .case-study h3:not(:last-child) { font-size: 25px; font-weight: 400; line-height: 1; text-transform: none; margin: 0 0 22px; }
.case-study .btn { padding: 15px 50px; border: 2px solid var(--white); font-size: 18px; font-weight: 400; line-height: 1; }
.case-study .btn--blue:hover, .case-study .btn--blue:focus-visible { border-color: var(--blue); }
.case-study .btn--grey { background: rgba(107, 107, 107, 0.87); box-shadow: none; }
.case-study .btn--grey:hover, .case-study .btn--grey:focus-visible { background: var(--white); color: #6b6b6b; border-color: #6b6b6b; }
@media (max-width: 1024px) {
  .card__text--report > p { line-height: 1.3; padding: 0; margin: 0 0 30px; }
  .card__media--wide img { width: 100%; }
}
@media (max-width: 767px) {
  .section-title--dark { margin-top: var(--mt-m, var(--mt, 77px)); }
  .card__text--report > p { margin: 0 10px 30px; }
  .case-study h3, .case-study h3:not(:last-child) { font-size: 25px; line-height: 1.3; margin: 0 20px 50px; }
  .case-study .card__text { padding-bottom: 10px; }
  .case-study .btn { padding: 15px 50px; font-size: 18px; }
}

/* ---------------- Location page: before/after image (grey → colour).
   Static stand-in for the old draggable comparison slider: shows half grey / half colour,
   hovering or focusing reveals the full colour image. */
.compare { position: relative; overflow: hidden; border-radius: 35px; }
.compare img { border-radius: 0; }
.compare .compare__before {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(0 50% 0 0); transition: clip-path .6s ease;
}
.compare::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1px;
  background: var(--white); transition: left .6s ease, opacity .6s ease;
}
.compare:hover .compare__before, .compare:focus-visible .compare__before { clip-path: inset(0 100% 0 0); }
.compare:hover::after, .compare:focus-visible::after { left: 100%; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .compare .compare__before, .compare::after { transition: none; }
}

/* ---------------- About Us + Offices pages (history timeline, ethos, people grid, office cards) */
/* Measurements copied from the old Elementor pages (1440px wide desktop, 390px phone). */
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/roboto-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Taller hero (About Us, Rate Card): 462px with a deeper, wider wave */
.hero--tall { min-height: 459px; }
.hero__divider--wide svg { width: calc(146% + 1.3px); }
.hero--bottom { --hero-pos: center bottom; }
/* Phone social icons under these heroes: 42px icons, 7px apart, 62px row (as on the old About/Offices/Contact pages) */
@media (max-width: 767px) {
}
/* About: big blue section titles */
.about-title { font-size: 43px; font-weight: 700; line-height: 1.3; text-transform: uppercase; color: var(--blue); text-align: center; margin: 0; padding: 60px 50px 40px; }
/* History: image + rounded text box per year, joined by triple chevrons */
.history { margin-top: 14px; padding-bottom: 10px; }
.timeline { max-width: 1120px; margin: 0 auto; padding-top: 20px; }
.timeline__item { position: relative; }
.timeline__media { position: absolute; left: 17px; top: 10px; width: 525px; }
.timeline__media img { width: 100%; }
.timeline__item--up .timeline__media { top: -36px; }
.timeline__item--last .timeline__media { left: 10px; width: 539px; }
.timeline__item--flip .timeline__media { left: 561px; width: 448px; }
.timeline__box {
  position: relative; width: 561px; margin-left: 474px; padding: 24px 45px 28px 52px;
  background: var(--blue); color: var(--white); border-radius: 20px; font-size: 18px; line-height: 1.5;
}
.timeline__item--flip .timeline__box { margin-left: 0; min-height: 228px; padding-top: 30px; background: #a8a8a8; border-radius: 50px; }
.timeline__item--last .timeline__box { min-height: 177px; padding: 34px 45px 28px 62px; }
.timeline__box h3 { font-size: 22px; font-weight: 700; line-height: 1.3; text-transform: uppercase; color: var(--white); margin: 0 0 12px -2px; }
.timeline__box p { margin: 0 0 27px; }
.timeline__box p:last-child { margin-bottom: 0; }
.timeline__arrow { display: block; position: relative; height: 74px; }
.timeline__item--flip + .timeline__arrow { height: 107px; }
.timeline__arrow::before {
  content: ""; position: absolute; left: 50%; top: -1px; width: 44px; height: 88px; margin-left: -22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 901'%3E%3Cpath id='c' fill='%2300a0de' d='M207 381.5L12.7 187.1c-9.4-9.4-9.4-24.6 0-33.9l22.7-22.7c9.4-9.4 24.5-9.4 33.9 0L224 284.5l154.7-154c9.4-9.3 24.5-9.3 33.9 0l22.7 22.7c9.4 9.4 9.4 24.6 0 33.9L241 381.5c-9.4 9.4-24.6 9.4-34 0z'/%3E%3Cuse href='%23c' y='184'/%3E%3Cuse href='%23c' y='389'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* Ethos: centred statements */
.ethos { padding-bottom: 133px; text-align: center; }
.ethos p { font-size: 22px; font-weight: 500; line-height: 1.8; color: var(--ink); margin: 0; padding: 40px 67px 0; }
/* People: 4 photos per row; the job title button opens the bio above it (native <details>) */
.people-section { padding-bottom: 10px; }
.people-section .about-title { padding: 7px 50px 20px; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; margin: 0 17px; }
.person { padding: 32px 30px; text-align: center; }
.person__photo { position: relative; }
.person__photo img { width: 100%; transition: transform .3s; }
.person__photo:hover img { transform: scale(1.1); }
.person__name { position: absolute; left: 20px; right: 20px; top: calc(100% - 47px); transform: translateY(-50%); margin: 0; font-size: 18px; font-weight: 500; line-height: 1.2; color: var(--white); pointer-events: none; }
.person__bio { position: relative; margin-top: 42px; }
.person__bio summary {
  display: inline-block; max-width: 100%; list-style: none; cursor: pointer;
  padding: 10px 25px; border: 2px solid var(--white); border-radius: 32px; background: var(--blue); color: var(--white);
  font-family: Roboto, Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 21px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.person__bio summary::-webkit-details-marker { display: none; }
.person__bio summary:hover, .person__bio summary:focus-visible, .person__bio[open] summary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.person__bio-text {
  position: absolute; z-index: 5; left: 50%; bottom: 100%; width: 392px; max-width: calc(100vw - 20px); transform: translateX(-50%);
  padding: 19px; border-radius: 20px; text-align: left; background: var(--blue); color: var(--white); font-size: 15px; line-height: 1.5;
}
.person__bio-text p { margin: 0 0 .8em; }
.person__bio-text p:last-child { margin-bottom: 0; }

/* Offices */
.intro-band { padding: 58px 0 58px; text-align: center; }
.intro-band h2 { font-size: 32px; font-weight: 600; line-height: 1.3; text-transform: uppercase; color: var(--blue); margin: 0; padding: 0 60px; }
.intro-band p { font-size: 32px; font-weight: 400; line-height: 1.3; color: #7a7a7a; margin: 0; padding: 90px 67px 0; }
.office { margin-top: 14px; padding: 67px 0 10px; }
.office--first { padding-top: 111px; }
.office__title { font-size: 32px; font-weight: 500; line-height: 1.3; text-transform: uppercase; color: #4f4f4f; text-align: center; margin: 0 0 41px; }
.office__photo { width: 562px; max-width: calc(100% - 20px); margin: 0 auto 39px; position: relative; left: -9px; border-radius: 24px; box-shadow: 0 6px 18px 0 rgba(0, 0, 0, .27); }
.office-card {
  display: grid; align-items: center; max-width: 1120px; margin: 0 auto 100px; padding: 50px 0;
  border-radius: 33px; box-shadow: 3px 5px 10px 0 rgba(0, 0, 0, .42); background: rgba(0, 160, 222, .87); color: var(--white);
}
.office-card--sa { grid-template-columns: 57.989% 42.011%; }
.office-card--kenya { grid-template-columns: 41.933% 58.067%; align-items: start; background: #6b6b6b; }
.office-card--ny { grid-template-columns: 50% 50%; align-items: start; }
.office__title + .office-card { margin-top: 62px; }
.office-card__text { min-width: 0; padding: 0 20px 0 70px; }
.office-card__map { min-width: 0; margin-right: 50px; }
.office-card--kenya .office-card__map { margin: 0 0 0 50px; }
.office-card__map iframe { display: block; width: 100%; height: 278px; border: 0; }
.office-card h3 { font-size: 27px; font-weight: 600; line-height: 1.3; text-transform: uppercase; color: var(--white); margin: 0 0 5px; }
.office-card p { font-size: 19px; line-height: 1.5; margin: 0 0 12.5px; }
.office-card p + h3 { margin-top: 34.5px; }
.office-card p:last-child { margin-bottom: 28.5px; }
.office-card a { color: #222; text-decoration: none; }
.office-card a:hover, .office-card a:focus-visible { color: var(--white); }

@media (max-width: 1024px) {
  .timeline { padding: 20px 10px 0; }
  .timeline__item { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .timeline__media, .timeline__item--last .timeline__media, .timeline__item--flip .timeline__media { position: static; width: 100%; margin: 0; }
  .timeline__item--flip .timeline__media { order: 1; }
  .timeline__box, .timeline__item--flip .timeline__box, .timeline__item--last .timeline__box { width: auto; min-height: 0; margin: 0; }
  .timeline__arrow, .timeline__item--flip + .timeline__arrow { height: 90px; }
  .timeline__arrow::before { top: 1px; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 10px; }
  .office-card { margin: 0 10px 100px; }
  .office-card__text { padding: 0 20px 0 40px; }
  .office-card__map { margin-right: 30px; }
  .office-card--kenya .office-card__map { margin: 0 0 0 30px; }
}
@media (max-width: 767px) {
  .timeline__item { display: flex; flex-direction: column; align-items: stretch; }
  .timeline__item--flip .timeline__media { order: 0; }
  .office-card, .office-card--sa, .office-card--kenya, .office-card--ny { display: flex; flex-direction: column; align-items: stretch; margin: 0 10px 100px; padding: 30px 0; text-align: center; }
  .office-card__map, .office-card--kenya .office-card__map { order: -1; margin: 0 10px; }
  .hero--tall { min-height: 430px; --hero-pb: 34px; }
  .about-title { font-size: 34px; padding: 25px 10px 35px; }
  .history { margin-top: 0; padding-bottom: 30px; }
  .timeline { padding: 0; }
  .timeline__media, .timeline__item--last .timeline__media, .timeline__item--flip .timeline__media { max-width: none; }
  .timeline__box, .timeline__item--flip .timeline__box, .timeline__item--last .timeline__box { max-width: none; width: auto; margin: 0 10px; padding: 11px 20px 26px; text-align: left; font-size: 17px; line-height: 1.66; }
  .timeline__item--flip .timeline__box { padding-top: 12px; font-size: 16px; }
  .timeline__box h3 { font-size: 24px; text-align: center; margin: 0 0 20px; }
  .timeline__box p { margin-bottom: 25px; }
  .timeline__arrow::before { top: 11px; }
  .timeline__arrow:nth-of-type(1) { height: 118px; }
  .timeline__arrow:nth-of-type(2) { height: 68px; }
  .timeline__arrow:nth-of-type(3) { height: 56px; }
  .timeline__arrow:nth-of-type(4) { height: 67px; }
  .timeline__item--up .timeline__media { margin-bottom: -1px; }
  .timeline__item--flip .timeline__media { margin-bottom: -9px; }
  .timeline__item--up ~ .timeline__item--flip .timeline__media { margin-bottom: 0; }
  .timeline__item--last .timeline__media { margin-bottom: -29px; }
  .ethos { padding-bottom: 30px; }
  .ethos .about-title { padding-bottom: 16px; }
  .ethos p { font-size: 22px; padding: 20px 30px 0; }
  .people-section .about-title { font-size: 24px; padding: 7px 10px 20px; }
  .people { grid-template-columns: minmax(0, 1fr); max-width: none; margin: 0 10px; }
  .person { padding: 30px; }
  .person__name { left: 27px; right: 27px; }
  .person__bio summary { line-height: 14px; }
  .person__bio-text { font-size: 14px; }
  .intro-band { padding: 38px 0 154px; }
  .intro-band h2 { font-size: 24px; padding: 0 10px; }
  .intro-band p { font-size: 21px; padding: 18px 30px 0; }
  .office { margin-top: 0; padding: 0 0 10px; }
  .office--first { padding-top: 0; }
  #Kenya { padding-top: 67px; }
  #NYOffices { padding-top: 67px; }
  .office__title { font-size: 23px; margin-bottom: 42px; }
  .office__photo { width: 179px; left: -10px; margin-bottom: 39px; }
  .office__title + .office-card { margin-top: 20px; }
  #Kenya .office__title { margin-bottom: 20px; }
  .office-card, .office-card--sa, .office-card--kenya, .office-card--ny { margin-bottom: 100px; }
  .office-card--kenya { padding: 10px 0 15px; margin-bottom: 0; }
  .office-card__text { padding: 0; }
  .office-card h3 { margin: 0; }
  .office-card p { line-height: 1.66; margin: 0; }
  .office-card h3 + p { margin-top: 32px; }
  .office-card h3:first-child + p { margin-top: 20px; }
  .office-card p + h3 { margin-top: 48px; }
  .office-card p + p { margin-top: 60px; }
  .office-card p:last-child { margin-bottom: 28.5px; }
}
@media (max-width: 520px) {
  .person__bio-text { width: auto; left: 0; right: 0; transform: none; max-width: none; }
}

/* ---------------- Contact, YouTube Shorts form, POPIA, Privacy Policy, Rate Card pages */
/* Measurements copied from the old Elementor pages (1440px wide desktop, 390px phone). */
/* Contact: intro (shared .intro-band, see About/Offices) + gradient "Quote form" panel */
.quote-panel { margin-top: 51px; padding: 30px 20px 23px; border-radius: 10px 10px 0 0; color: var(--white); background: linear-gradient(140deg, #0c0c0c 0%, var(--blue) 66%); }
.quote-panel__title { max-width: 552px; margin: 0 auto; font-size: 30px; font-weight: 400; line-height: 1.3; text-transform: uppercase; text-align: center; }
.quote-panel__title b { font-weight: 700; }
.quote-panel__title::after { content: ""; display: block; width: 64%; height: 1px; margin: 10px auto 0; background: var(--white); }
/* Enquiry forms (contact + YouTube Shorts) — measured from the old Elementor forms. Sent by main.js to the
   Google Apps Script in tools/forms-apps-script.gs (endpoint in partials/head.html). */
.site-form { max-width: 552px; margin: 49px auto 0; font-family: Verdana, Geneva, sans-serif; font-size: 15px; text-align: left; }
.site-form__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
.site-form__field { margin: 0 0 7px; }
.site-form__field--full { grid-column: 1 / -1; }
.site-form label { display: block; color: #afafaf; line-height: 22.5px; }
.site-form__req { color: #ff1e1e; }
.site-form input, .site-form textarea {
  display: block; width: 100%; min-height: 44px; padding: 10.5px; margin-top: 7px;
  font: inherit; color: #666; background: #fff; border: 1px solid #69727d; border-radius: 3px;
}
.site-form textarea { height: 96px; resize: vertical; }
.site-form input:focus, .site-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.site-form .is-invalid { border-color: #ff1e1e; }
.site-form__error { display: block; margin-top: 4px; color: #ff1e1e; font-size: 13px; }
.site-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-form__submit {
  display: block; width: 100%; min-height: 40px; margin-top: 14px; padding: 0 24px;
  font: 500 15px Verdana, Geneva, sans-serif; color: #0c0c0c; background: #fff; border: 0; border-radius: 3px; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.site-form__submit:hover, .site-form__submit:focus-visible { background: #0c0c0c; color: #fff; }
.site-form__submit[disabled] { opacity: .6; cursor: wait; }
.site-form__msg { margin: 10px 0 0; min-height: 1em; }
.site-form__msg.is-success { color: #61ce70; }
.site-form__msg.is-error { color: #ff1e1e; }
.site-form__msg a { color: inherit; text-decoration: underline; }
/* YouTube Shorts version: wider, grey labels, 2px borders, blue button */
.site-form--light { max-width: 914px; margin-top: 0; }
.site-form--light label { color: #616161; }
.site-form--light input, .site-form--light textarea { min-height: 46px; border-width: 2px; }
.site-form--light textarea { height: 98px; }
.site-form--light .site-form__submit { background: #00a0df; color: #fff; }
.site-form--light .site-form__submit:hover, .site-form--light .site-form__submit:focus-visible { background: #0c0c0c; }

/* POPIA: black text, bullet list, two caret links */
.popia { max-width: 1120px; margin: 0 auto; padding: 60px 0 19px; font-size: 17px; line-height: 1.5; color: #000; }
.popia p { margin: 0 0 1.5em; }
.popia ul { margin: 0 0 1.5em; padding: 0; list-style: disc outside; }
.popia a { color: #222; text-decoration: none; }
.popia a:hover, .popia a:focus-visible { color: var(--blue); }
.popia .legal-links { list-style: none; margin: 45px 0 0; padding: 0; }
.legal-links li + li { margin-top: -6px; }
.legal-links a {
  display: inline-flex; align-items: center; gap: 14px; max-width: 100%; padding: 15px 30px; border-radius: 4px;
  font-size: 19px; font-weight: 700; line-height: 1; color: #050505; text-align: center;
}
.legal-links a::before { content: ""; flex: none; border: solid transparent; border-width: 6px 0 6px 7px; border-left-color: currentColor; }

/* Privacy Policy: the old page's blocks (text, 4 heading styles), 20px apart */
.pp { display: flex; flex-direction: column; max-width: 1120px; margin: 0 auto; padding: 10px 0; font-size: 19px; line-height: 1.5; color: #000; overflow-wrap: break-word; }
.pp > * { margin: 0 0 20px; }
.pp-text { padding-top: 34px; }
.pp-text p { margin: 0 0 1.5em; }
.pp-text ul { margin: 0 0 1.5em; padding: 0; list-style: disc outside; }
.pp-text li > ul { margin: 0 0 0 1.5em; }
.pp-text a { color: #222; text-decoration: none; }
.pp-h { font-weight: 600; line-height: 1.3; color: var(--blue); }
.pp-h--lg { font-size: 25px; text-transform: uppercase; text-decoration: underline; }
.pp-h--sub { font-size: 20px; text-transform: uppercase; }
.pp-h--u { font-size: 20px; text-decoration: underline; }
.pp-h--dark { font-size: 21px; color: #000; }

/* Rate card image */
.hero--rate { --hero-pos: left center; }
.rate-card { padding: 10px 0 103px; }
.rate-card img { width: 1079px; max-width: calc(100% - 20px); margin: 0 auto; }

/* YouTube Shorts landing page (the old page had no menu bar; ours keeps the site header on top) */
@font-face {
  font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(/assets/fonts/oswald-latin.woff2) format("woff2");
}
.ys-hero {
  display: flex; align-items: center; min-height: 411px;
  background: #0099e0 url(/media/2025/02/Untitled-2.png) center / cover no-repeat; color: var(--white);
}
.ys-hero.under-header { padding-top: 0; padding-bottom: 20px; }
.ys-hero__text { max-width: 1124px; margin-left: 41px; font-family: Oswald, "Arial Narrow", var(--font-display); font-size: 30px; line-height: 1.3; }
.ys-hero__text p, .ys-hero__text h1 { font: inherit; margin: 0 0 17px; }
.ys-hero__text b { font-weight: 700; }
.ys-form { margin-bottom: -33px; padding: 56px 20px 59px; background: #fff url(/media/2025/02/Picture1.png); }

@media (max-width: 767px) {
  .intro-band--contact { padding-bottom: 44px; }
  .quote-panel { margin-top: 0; padding: 50px 30px 43px; }
  .quote-panel__title { font-size: 23px; }
  .site-form__grid { grid-template-columns: 1fr; }
  .popia { padding: 59px 10px 19px; line-height: 1.66; }
  .popia ul:not(.legal-links) { padding-left: 20px; }
  .legal-links a { justify-content: center; }
  .pp { padding: 10px; line-height: 1.66; }
  .pp-h { padding-top: 28px; font-size: 24px; }
  .hero--rate { min-height: 450px; --hero-pb: 14px; }
  .rate-card { margin-top: 20px; padding: 10px 0; }
  .rate-card img { width: 72%; }
  .ys-hero.under-header { padding: 88px 0 0; }
  .ys-hero__text { max-width: 250px; margin-left: 40px; font-size: 21px; }
  .ys-form { padding: 56px 10px 59px; }
}

/* ---------------- Posts (generated by _tools/build-posts.mjs), Resources grid, Playbooks */
/* Roboto: the old posts' buttons ("Back to Resources", "See article") were Elementor's default Roboto 500 */
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/roboto-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Posts: the old Elementor post template — 1120px column with 10px gutters, centred 18px text,
   20px between blocks (image / video / text / button), paragraphs 27px apart. */
.post-back { max-width: 1140px; padding: 25px 10px 0; }
.btn--small.post-btn { padding: 15px 30px; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-weight: 500; line-height: 1; border-radius: 4px; }
.post-title { margin-top: 24px; }
.post-title h1 { max-width: 1140px; padding: 40px 10px; font-size: 26px; line-height: 1; }
.post-body { padding: 10px 0; }
.post-prose { max-width: 1140px; padding: 0 10px; text-align: center; line-height: 1.5; }
.post-prose > * { margin: 0 0 20px; }
.post-body .post-prose .video { margin-bottom: 20px; }
.post-body .post-prose > :last-child { margin-bottom: 0; }
.post-text { display: flow-root; }
.post-text p { margin: 0 0 27px; }
.post-text a { color: #222; text-decoration: none; }
.post-text a:hover { color: var(--blue); }
.post-text--bold { font-weight: 600; }
.post-text--flush p:last-child { margin-bottom: 0; }
/* date / time line on the two Blog posts (Elementor "post info": Roboto 16px, blue icons, #ddd divider) */
.post-prose .post-info { display: flex; justify-content: center; flex-wrap: wrap; font-family: Roboto, Arial, sans-serif; font-size: 16px; line-height: 24px; color: #54595f; }
.post-info__item { position: relative; display: inline-flex; align-items: center; gap: 5px; margin: 0 13px; }
.post-info__item + .post-info__item::before { content: ""; position: absolute; top: 0; bottom: 0; left: -13px; border-left: 1px solid #ddd; }
.post-info svg { width: 14px; height: 14px; fill: #6ec1e4; }
.post-media { display: block; }
.post-prose .post-media img { width: var(--w, auto); max-width: var(--mw, 100%); margin: 0 auto; }

/* Resources: hero with the old white wave at the bottom (Elementor shape divider, 182% wide, 39px high) */
.hero.hero--resources { min-height: 418px; }
.hero--wave { overflow: hidden; }
.hero .hero__wave {
  position: absolute; left: 50%; bottom: -1px; width: calc(182% + 1.3px); height: 39px;
  fill: var(--white); transform: translateX(-50%) rotate(180deg);
}
/* Resources: grey panel, CSS-only category filter (radio inputs + sibling selectors, no JS) */
.resources { max-width: 1229px; margin: 30px auto 10px; padding: 24px 0 10px; background: #f7f7f7; }
.res-filter__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.res-filter { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 0 30px; }
.res-filter label { position: relative; margin-bottom: 15px; padding: 0 20px 0 18px; font-size: 23px; line-height: 24px; font-style: italic; color: #000; cursor: pointer; }
.res-filter label:first-child { padding-left: 0; }
.res-filter label::after { content: "/"; position: absolute; top: 0; right: 0; font: normal 14px/24px Arial, "Helvetica Neue", Helvetica, sans-serif; color: #bbb; }
.res-filter label:last-child::after { content: none; }
.res-filter label:hover { color: var(--blue); }
#rf-all:checked ~ .res-filter [for="rf-all"],
#rf-documents:checked ~ .res-filter [for="rf-documents"],
#rf-news:checked ~ .res-filter [for="rf-news"],
#rf-videos:checked ~ .res-filter [for="rf-videos"],
#rf-blog:checked ~ .res-filter [for="rf-blog"] { color: var(--blue); }
#rf-all:focus-visible ~ .res-filter [for="rf-all"],
#rf-documents:focus-visible ~ .res-filter [for="rf-documents"],
#rf-news:focus-visible ~ .res-filter [for="rf-news"],
#rf-videos:focus-visible ~ .res-filter [for="rf-videos"],
#rf-blog:focus-visible ~ .res-filter [for="rf-blog"] { outline: 2px solid var(--blue); outline-offset: 2px; }
#rf-documents:checked ~ .res-grid .res-card:not([data-cat="documents"]),
#rf-news:checked ~ .res-grid .res-card:not([data-cat="news"]),
#rf-videos:checked ~ .res-grid .res-card:not([data-cat="videos"]),
#rf-blog:checked ~ .res-grid .res-card:not([data-cat="blog"]) { display: none; }
/* "All" on desktop: the old 3-column masonry (columns worked out by the build script). Filtered views, tablets
   and phones: the columns dissolve (display: contents) and the cards run in list order (--o). */
.res-grid { display: flex; gap: 20px; padding-top: 10px; }
.res-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; list-style: none; margin: 0; padding: 0; }
.res-filter__input:not(#rf-all):checked ~ .res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.res-filter__input:not(#rf-all):checked ~ .res-grid .res-col { display: contents; }
.res-card { order: var(--o); background: var(--white); border-radius: 6px 6px 10px 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); overflow: hidden; }
.res-card__link { display: block; color: var(--ink-dark); text-decoration: none; }
.res-card__link:hover { color: var(--ink-dark); }
.res-card__link img { width: 100%; transition: opacity .2s; }
.res-card__link:hover img { opacity: .85; }
.res-card__text { display: block; padding: 25px 20px 35px; text-align: center; font-size: 14px; line-height: 28px; }
.res-card__title { font-size: 18px; font-weight: 500; line-height: 28px; letter-spacing: 1.96px; text-transform: capitalize; }

/* Playbooks: blue title band + three rounded PDF cards, all set in Oswald like the original */
.band-title { display: grid; place-items: center; min-height: 192px; padding: 10px; background: #00a0df; }
.band-title h1 { margin: 0 0 15px; font-family: Oswald, "Arial Narrow", sans-serif; font-size: 47px; font-weight: 600; line-height: 1.8; letter-spacing: .7px; color: var(--white); text-align: center; }
.playbooks { max-width: 1140px; margin: 0 auto; padding: 60px 10px 0; display: grid; grid-template-columns: 360fr 362fr 352fr; gap: 21px; font-family: Oswald, "Arial Narrow", sans-serif; }
.playbook { display: flex; flex-direction: column; align-items: flex-start; padding: 15px; border-radius: 19px; box-shadow: 0 0 2px rgba(0, 0, 0, .5); }
.playbook img { width: calc(100% + 28px); max-width: none; margin: -14px -14px 0; border-radius: 18px 18px 0 18px; aspect-ratio: 525 / 263; object-fit: cover; }
.playbook h2 { margin: 0; padding-top: 18px; font-size: 23px; font-weight: 600; line-height: 30px; color: #00a0df; }
.playbook p { margin: 20px 0 21px; font-size: 16px; line-height: 24px; color: #505050; }
.playbook .btn { padding: 12px 24px; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 15px; background: #00a0df; border-radius: 5px; box-shadow: 0 1px 4px rgba(0, 0, 0, .34); }
.playbook .btn:hover { background: #00a0df; color: var(--white); box-shadow: 0 0 10px rgba(0, 0, 0, .3); }
/* Playbooks: phone-only row of blue social icons above the title band (as on the old page) */
.pb-social { display: none; }

@media (max-width: 1024px) {
  .res-grid, .res-filter__input:not(#rf-all):checked ~ .res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .res-col { display: contents; }
}
@media (max-width: 767px) {
  .post-title { margin-top: 10px; }
  .post-title h1 { font-size: 20px; padding: 30px 20px; }
  .post-text { padding: 0 20px; }
  .post-text p { line-height: 1.66; }
  .post-text p:last-child, .post-text--flush p:last-child { margin-bottom: 30px; }
  .post-media + .post-text, .video + .post-text, .post-info + .post-text { margin-top: -20px; }
  .hero.hero--resources { min-height: 408px; --hero-title-pt: 60px; }
  .hero--resources .hero__title { font-size: 45px; }
  .resources { margin: 10px; }
  .res-filter { justify-content: flex-start; padding-top: 30px; }
  .res-grid, .res-filter__input:not(#rf-all):checked ~ .res-grid { display: flex; flex-direction: column; align-items: stretch; }
  .band-title h1 { font-size: 45px; }
  .playbooks { grid-template-columns: 1fr; padding: 70px 30px 0; gap: 20px; }
  .playbook p { font-size: 15px; line-height: 1.66; }
  .pb-social { display: flex; justify-content: center; gap: 7px; padding: 10px 0; }
  .pb-social a { width: 42px; height: 42px; background: #00a0df; }
  .pb-social svg { width: 21px; height: 21px; }
}

/* ---------------------------------------------------------------- Phone-only social icons under the hero (partial: social-band) */
.social-band { display: none; }
@media (max-width: 767px) {
  .social-band { display: flex; justify-content: center; gap: 7px; list-style: none; margin: 0; padding: 10px 0; }
  .social-band a { width: 42px; height: 42px; }
  .social-band svg { width: 21px; height: 21px; }
}

/* ---------------------------------------------------------------- Home page on phones (matches the original's phone layout) */
@media (max-width: 767px) {
  .slider { height: 88vw; }
  .welcome .display { font-size: 36px; }
  .welcome .lead-heading { font-size: 32px; line-height: 1.3; padding: 44px 44px 0; }
  .welcome { padding: 40px 16px 60px; }
  .welcome__chevrons { width: 44px; height: 80px; margin-top: 50px; }
  .welcome.page-outro { padding: 60px 16px 60px; }
  .welcome.page-outro .lead-heading { padding-top: 30px; }
  .tile-row__text h2 { font-size: 32px; padding: 20px 34px 26px; }
  .tile-row__text .tile-logo { width: 190px; }
}

/* ---------------------------------------------------------------- Oct 2026 content changes */
/* Magnifi logo beside the Sportsmoments tile on the home page (the Mirrors logo there was a mistake) */
.tile-row__text .tile-logo--magnifi { width: 210px; margin: 17px auto; }
@media (max-width: 767px) { .tile-row__text .tile-logo--magnifi { width: 170px; } }
