/* ==========================================================================
   Corestar Partners – main stylesheet
   Rebuild of the original Divi child theme ("corestar" by MULTIVISIO)
   ========================================================================== */

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/ubuntu-v15-latin-300.woff2') format('woff2'),
       url('../fonts/ubuntu-v15-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ubuntu-v15-latin-regular.woff2') format('woff2'),
       url('../fonts/ubuntu-v15-latin-regular.woff') format('woff');
}

:root {
  --blue: #0a419b;
  --blue-80: rgba(10, 65, 155, .8);
  --blue-50: rgba(10, 65, 155, .5);
  --blue-70: rgba(10, 65, 155, .7);
  --blue-90: rgba(10, 65, 155, .9);
  --text: #747d88;
  --text-dark: #666;
  --night: #07121f;
  --line: #0a419b;
  --light: #f4f6fa;
  --container: 1080px;
  --gutter: 16px;
  --header-h: 126px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4 {
  color: var(--blue);
  font-weight: 300;
  margin: 0;
  line-height: 1;
}
h1 { font-size: 60px; line-height: 1.3; padding-bottom: 10px; }
h2 { font-size: 42px; padding-bottom: 25px; }
h3, .h3 { font-size: 36px; padding-bottom: 20px; }
h4 { font-size: 20px; font-weight: 400; line-height: 1.4; padding-bottom: 10px; }
h5 { font-size: 18px; font-weight: 400; color: var(--text-dark); padding-bottom: 10px; }

p { margin: 0; padding-bottom: 18px; font-size: 18px; line-height: 28px; font-weight: 300; }
p:last-child { padding-bottom: 0; }
strong, b { font-weight: 400; }

.text ul, .text ol { margin: 0 0 23px; padding-left: 1.1em; }
.text li { font-size: 18px; line-height: 26px; font-weight: 300; }
.text h2 { padding-top: 0; }
.text * + h2 { margin-top: 12px; }
.text h3 { font-size: 28px; padding-top: 10px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 10px 16px; }
.skip-link:focus { left: 16px; top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container {
  width: 80%;
  max-width: var(--container);
  margin: 0 auto;
}
.container--narrow { max-width: 820px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
  border-radius: 3px;
  font: inherit;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  padding: 5px 18px;
  cursor: pointer;
  transition: background-color .2s, color .2s;
  text-decoration: none;
}
.btn:hover, .btn:focus-visible { color: #fff; background: var(--blue); text-decoration: none; }
.btn--small { font-size: 15px; padding: 3px 14px; }
.btn-wrap { text-align: center; padding: 40px 0 0; }
.btn-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.btn-row .btn-wrap { padding-top: 40px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 34px 0;
  height: var(--header-h);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-logo img { height: 50px; width: auto; transition: opacity .3s; }
.site-header.is-scrolled .site-logo { opacity: 0; pointer-events: none; }

.site-header__actions { display: flex; align-items: center; gap: 28px; }

.btn--header {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .85);
  font-size: 16px;
  padding: 4px 16px;
  white-space: nowrap;
}
.btn--header:hover { background: #fff; color: var(--blue); }
.site-header.is-scrolled .btn--header,
.hero-none .btn--header { color: var(--blue); border-color: var(--blue); background: rgba(255, 255, 255, .92); }
.site-header.is-scrolled .btn--header:hover,
.hero-none .btn--header:hover { background: var(--blue); color: #fff; }

.menu-toggle {
  position: relative;
  z-index: 120;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center;
  color: #fff;
}
.menu-toggle__bars { display: grid; gap: 5px; width: 22px; }
.menu-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.site-header.is-scrolled .menu-toggle,
.hero-none .menu-toggle { color: var(--blue); }
.menu-open .menu-toggle { color: #fff !important; }
.menu-open .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-open .btn--header { opacity: 0; pointer-events: none; }
.menu-open .site-header { z-index: 130; }
.menu-open .site-logo { opacity: 1 !important; }

/* Off-canvas navigation (like the original "mobile menu" on all viewports) */
.site-nav {
  position: fixed;
  top: 0; right: 0;
  z-index: 110;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 110px 35px 35px;
  background: var(--night) url('../images/sky.jpg') center / cover no-repeat;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s linear, visibility 0s linear .6s;
}
.site-nav:not([hidden]) { display: block; }
.menu-open .site-nav { opacity: .97; visibility: visible; transition: opacity .6s linear; }
@media (min-width: 981px) {
  .site-nav { width: clamp(380px, 40vw, 800px); box-shadow: 0 0 10px 2px rgba(0, 0, 0, .5); }
}
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: block;
  padding: 10px 5%;
  color: #fff;
  font-size: 1.2em;
  font-weight: 300;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-nav__list a:hover, .site-nav__list a[aria-current] { background: rgba(255, 255, 255, .06); text-decoration: none; }
.site-nav__cta { margin: 30px 5% 0; }
.btn--light { color: #fff; background: transparent; border-color: #fff; }
.btn--light:hover { background: #fff; color: var(--blue); }

/* ---------- Heroes ---------- */

.hero {
  position: relative;
  background: var(--night) url('../images/sky.jpg') center 35% / cover no-repeat;
  color: #fff;
}
.hero--title {
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px 0;
  text-align: center;
}
.hero__title { color: #fff; font-size: 60px; line-height: 1; padding: 0 0 10px; }
.hero--image { height: 400px; }

.hero--video { background: var(--night); height: 100vh; min-height: 520px; overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__mobile { display: none; }
@media (max-width: 979px) {
  .hero--video { height: auto; min-height: 0; }
  .hero__video { display: none; }
  .hero__mobile { display: block; width: 100%; }
}

/* ---------- Sections ---------- */

.section { padding: 54px 0 0; }
.section:last-of-type { padding-bottom: 60px; }
.section--intro { padding-top: 54px; }
.section--tight { padding-top: 30px; }
.section + .section { padding-top: 70px; }
.page-title { padding-bottom: 30px; }
.section-title { text-align: center; padding-bottom: 25px; }
.section-subtitle { text-align: center; padding: 60px 0 40px; }

.lead { font-size: 21px; line-height: 32px; color: var(--blue); }
.firm-statement { border-left: 2px solid var(--blue); padding: 2px 0 2px 20px; margin: 0 0 28px; }

.band {
  margin-top: 90px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--night) url('../images/band.jpg') center / cover no-repeat;
  background-attachment: fixed;
}
.band__title { color: #fff; font-size: 42px; padding: 0; text-align: center; }
.band + .section { padding-top: 54px; }
@media (hover: none), (max-width: 980px) { .band { background-attachment: scroll; } }

/* ---------- Counters ---------- */

.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 5.5%;
  padding: 50px 0 10px;
  text-align: center;
}
.counters--2 { grid-template-columns: repeat(2, 1fr); }
.counter__number {
  color: var(--blue);
  font-size: 4em;
  font-weight: 300;
  line-height: 1.1;
  padding-top: 15px;
  white-space: nowrap;
}
.counter__label { font-size: 16px; line-height: 1.6; padding: 10px 0 0; }
.counter__label strong { color: var(--text-dark); font-weight: 400; }

/* ---------- Blurbs (icon tiles) ---------- */

.blurbs {
  list-style: none;
  margin: 0;
  padding: 50px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 5.5%;
}
.blurbs--4 { grid-template-columns: repeat(4, 1fr); }
.blurb { text-align: center; transition: transform .15s ease-in-out; }
.blurb:hover { transform: translateY(-4px); }
.blurb__link { display: block; color: inherit; }
.blurb__link:hover { text-decoration: none; }
.blurb__icon { width: 110px; height: 110px; margin: 0 auto 30px; object-fit: contain; }
.blurb__title { font-size: 20px; font-weight: 400; color: var(--blue); }

/* ---------- Feature list (values, sectors) ---------- */

.features { padding-top: 40px; display: grid; gap: 50px; }
.features--narrow { max-width: 900px; margin: 0 auto; }
.feature { display: grid; grid-template-columns: 110px 1fr; gap: 50px; align-items: start; scroll-margin-top: 100px; }
.feature__icon { width: 110px; height: 110px; object-fit: contain; }
.feature h3 { font-size: 32px; padding-bottom: 15px; padding-top: 4px; }
.last-updated { font-size: 15px; padding-bottom: 24px; color: var(--text); }

.geo-map { margin: 50px auto 0; width: 100%; max-width: 1080px; }

/* ---------- Tombstones ---------- */

.tomb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 50px 0;
  max-width: 1540px;
  margin: 0 auto;
}
.tomb {
  display: block;
  min-height: 380px;
  padding: 20px;
  color: #fff;
  text-align: center;
  transition: opacity .15s ease-in-out, transform .15s ease-in-out;
}
a.tomb { opacity: .5; }
a.tomb:hover, a.tomb:focus-visible { opacity: 1; transform: translateY(-4px); text-decoration: none; }
.ts-color-1 { background: var(--blue-80); }
.ts-color-2 { background: var(--blue-50); }
.ts-color-3 { background: var(--blue-70); }
.ts-color-4 { background: var(--blue-90); }
.tomb__head { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; font-weight: 400; margin-bottom: 30px; text-align: left; }
.tomb__countries { text-align: right; }
.tomb__name { color: #fff; font-size: 30px; line-height: 1; padding: 20px 0 0; font-weight: 300; }
.tomb__name--cont { padding-top: 0; }
.tomb__name + .tomb__name--cp { padding-top: 20px; }
.tomb__desc { color: #fff; font-size: 15px; line-height: 1.5; padding: 18px 0 0; font-weight: 400; }
@media (min-width: 1440px) and (max-width: 1899px) { .tomb { min-height: 440px; } }

.tomb--detail { min-height: 500px; padding: 20px 20px 40px; }
.tomb--detail .tomb__head { margin-bottom: 0; font-size: 18px; font-weight: 300; }
.tomb__flags { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.flag { width: 25px; height: 15px; object-fit: fill; margin-top: 7px; }
.tomb__logo { display: block; width: 200px; max-width: 100%; height: 100px; object-fit: contain; margin: 55px auto 0; }
.tomb__logo--small { height: 70px; margin-top: 25px; }
.tomb--detail .tomb__desc { font-size: 18px; font-weight: 300; padding-top: 20px; }
.tomb__role { color: #fff; font-size: 18px; line-height: 28px; padding: 30px 0 0; }

/* ---------- Deal page ---------- */

.deal { padding-top: 70px; }
.deal__grid { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; padding-top: 40px; }
.deal__body h2 { font-size: 42px; line-height: 1; }

.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.facts__list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px 30px;
}
.facts__item dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); font-weight: 400; }
.facts__item dd { margin: 2px 0 0; font-size: 17px; line-height: 1.45; color: var(--text-dark); }

/* ---------- Contact block ---------- */

.contact-block { background: var(--light); margin-top: 80px; padding: 50px 0; }
.contact-block + .site-footer, .contact-block:last-child { margin-bottom: 0; }
.contact-block__inner { display: flex; gap: 40px; align-items: center; }
.contact-block__photo { width: 180px; height: 180px; object-fit: cover; flex: none; }
.contact-block__kicker { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; padding-bottom: 6px; }
.contact-block__name { font-size: 30px; line-height: 1.2; padding-bottom: 4px; }
.contact-block__position { font-size: 17px; color: var(--text-dark); padding-bottom: 10px; }
.contact-block__lines { padding-bottom: 18px; }

/* ---------- Team ---------- */

.team { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; padding-top: 60px; }
.team-card { width: 280px; }
.team-tile { position: relative; display: block; width: 214px; height: 360px; margin: 0 auto; overflow: hidden; background: #999; }
.team-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); transition: filter .3s; }
.team-tile:hover img { filter: brightness(1); }
.team-tile__caption { position: absolute; left: 18px; right: 10px; bottom: 16px; color: #fff; line-height: 1.6; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.team-tile__caption strong { display: block; font-size: 18px; font-weight: 400; }
.team-tile__caption span { font-size: 16px; }
.team-tile:hover { text-decoration: none; }
.team-card__body { padding-top: 20px; text-align: center; }
.team-card__body p { font-size: 16px; line-height: 1.6; padding-bottom: 10px; }
.team-card__location { color: var(--blue); }
.team-card__links a { display: inline-block; margin: 0 6px; }

.member { display: grid; grid-template-columns: 1fr 396px; gap: 64px; align-items: start; }
.member__name { font-size: 42px; padding-bottom: 20px; }
.member__position { color: #333; padding-bottom: 6px; }
.member__location { padding-bottom: 6px; }
.member__contact { padding-bottom: 14px; }
.member__phone { color: var(--text); }
.member__social { display: flex; gap: 8px; padding-bottom: 40px; }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding-top: 40px; }
.contact-office h2 { font-size: 26px; padding-bottom: 14px; }
.contact-partners { display: grid; gap: 28px; }
.partner-card { display: flex; gap: 22px; align-items: center; }
.partner-card img { width: 100px; height: 100px; object-fit: cover; flex: none; }
.partner-card p { padding: 0; font-size: 17px; line-height: 1.5; }
.partner-card__name { font-size: 20px !important; }
.partner-card a { font-size: 16px; }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; color: var(--text-dark); font-weight: 400; }
.field input, .field select, .field textarea, .newsletter input {
  font: inherit;
  font-size: 17px;
  color: #333;
  padding: 10px 12px;
  border: 1px solid #c9cfd8;
  border-radius: 3px;
  background: #fff;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus, .newsletter input:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: 14px; }
.form__note { font-size: 14px; line-height: 1.5; padding: 20px 0; }
.alert { padding: 18px 22px; border-radius: 3px; margin-bottom: 24px; }
.alert--success { background: #e8f0fb; color: var(--blue); }
.alert--error { background: #fbeaea; color: #8a1c1c; }
.alert p { font-size: 17px; }

/* ---------- FAQ ---------- */

.faq { padding-top: 30px; border-top: 1px solid #dfe3ea; }
.faq__item { border-bottom: 1px solid #dfe3ea; }
.faq__q { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; position: absolute; right: 6px; top: 18px; font-size: 30px; color: var(--blue); line-height: 1; }
.faq__item[open] .faq__q::after { content: '–'; }
.faq__q h2 { font-size: 24px; line-height: 1.35; padding: 0; display: inline; }
.faq__a { padding-bottom: 24px; }

/* ---------- Insights ---------- */

.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 40px; }
.insight-card__meta { font-size: 14px; padding: 14px 0 6px; }
.insight-card__title { font-size: 26px; line-height: 1.25; padding-bottom: 12px; }
.empty-state { padding-top: 30px; }
.article { padding-top: 70px; }
.article__kicker { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.article__byline { display: flex; gap: 16px; align-items: center; padding-bottom: 30px; }
.article__byline p { font-size: 16px; line-height: 1.5; }
.article__author-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.article__cover { margin-bottom: 30px; width:100% }

.audience-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.audience-link { display: block; padding: 30px; border: 1px solid var(--blue); font-size: 24px; text-align: center; transition: background .2s, color .2s; }
.audience-link:hover { background: var(--blue); color: #fff; text-decoration: none; }

/* ---------- Newsletter ---------- */

.newsletter__title { color: var(--blue); font-size: 16px; font-weight: 400; padding-bottom: 6px; }
.newsletter__text { font-size: 14px; line-height: 1.5; padding-bottom: 10px; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter input { font-size: 15px; padding: 6px 10px; min-width: 0; }
.newsletter .btn { font-size: 15px; padding: 4px 14px; white-space: nowrap; }
.newsletter__privacy { font-size: 12px; line-height: 1.5; padding-top: 8px; }
.newsletter__msg { font-size: 14px; line-height: 1.5; padding-bottom: 8px; }
.newsletter__msg--ok { color: var(--blue); }
.newsletter__msg--error { color: #b3261e; }
.newsletter--article { border: 1px solid #dfe3ea; padding: 28px; }
.newsletter--article .newsletter__title { font-size: 24px; font-weight: 300; }

/* ---------- Footer ---------- */

.site-footer { margin-top: 0; }
.site-footer__nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 57px; }
.site-footer__logo img { width: 44px; margin: 6px 0; }
.site-footer__menu, .site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 25px; }
.site-footer__menu a { font-size: 14px; color: var(--blue); }
.site-footer__info { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; padding: 34px 0 30px; }
.site-footer__bar { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; line-height: 1.6; }
.site-footer__bar li + li::before { content: '·'; margin: 0 10px; color: var(--text); }
.site-footer__bar a { color: var(--text-dark); font-weight: 400; }
.feature__meta { font-size: 16px; line-height: 1.6; padding-top: 10px; }
.feature__meta span { color: var(--blue); font-weight: 400; }
.form__lead { font-size: 17px; padding-top: 24px; color: var(--text-dark); }
.contact-block__name { font-size: 26px !important; }
.contact-block__name a { color: var(--blue); }
.site-footer__info p { font-size: 14px; line-height: 1.6; padding-bottom: 10px; }
.site-footer__name { color: var(--blue); font-weight: 400; }
.site-footer__links { display: flex; gap: 18px; align-items: center; }
.site-footer__social { display: inline-flex; gap: 6px; align-items: center; }
.site-footer__bottom { border-top: 1px solid #e4e8ef; }
.site-footer__bottom .site-footer__row { min-height: 50px; }
.site-footer__copy { font-size: 14px; padding: 0; }
.site-footer__legal a { font-size: 14px; color: var(--text-dark); font-weight: 400; }

/* ---------- Cookie notice ---------- */

.cookie-notice {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #dfe3ea;
  box-shadow: 0 4px 20px rgba(7, 18, 31, .15);
}
.cookie-notice:not([hidden]) { display: flex; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { font-size: 14px; line-height: 1.5; padding: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .tomb-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  :root { --header-h: 90px; }
  .container { width: auto; margin: 0 var(--gutter); }
  .site-header { padding: 20px var(--gutter) 0; }
  .site-logo img { height: 35px; }
  .site-header__actions { gap: 10px; }
  h1, .page-title { font-size: 44px; }
  h2, .band__title, .deal__body h2 { font-size: 34px; }
  h3 { font-size: 28px; }
  .hero__title { font-size: 48px; }
  .hero--title { height: 280px; }
  .hero--image { height: 260px; }
  .tomb-grid { grid-template-columns: repeat(2, 1fr); padding: 30px var(--gutter) 0; gap: 20px; }
  .blurbs--4 { grid-template-columns: repeat(2, 1fr); }
  .deal__grid, .member, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .deal__aside { max-width: 360px; }
  .member__photo { order: -1; max-width: 360px; }
  .site-footer__info { grid-template-columns: 1fr; gap: 24px; }
  .insights { grid-template-columns: 1fr 1fr; }
  .band { height: 220px; margin-top: 60px; }
}
@media (max-width: 640px) {
  .btn--header { font-size: 14px; padding: 3px 10px; }
  h1, .page-title { font-size: 36px; }
  .hero__title { font-size: 38px; }
  h2, .band__title, .deal__body h2 { font-size: 30px; }
  .section-subtitle { font-size: 26px; padding: 40px 0 24px; }
  .counters, .counters--2 { grid-template-columns: 1fr; padding-top: 30px; }
  .blurbs { grid-template-columns: 1fr 1fr; }
  .tomb-grid { grid-template-columns: 1fr; }
  .tomb { min-height: 300px; }
  .feature { grid-template-columns: 1fr; gap: 16px; }
  .feature__icon { width: 80px; height: 80px; }
  .contact-block__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .form__grid { grid-template-columns: 1fr; }
  .site-footer__row { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .site-footer__menu, .site-footer__legal { justify-content: flex-start; }
  .site-footer__info { grid-template-columns: 1fr; gap: 20px; }
  .insights { grid-template-columns: 1fr; }
  .lead { font-size: 19px; line-height: 29px; }
}
@media (max-width: 400px) {
  .site-logo img { height: 28px; }
  .btn--header { padding: 3px 8px; font-size: 13px; }
}

/* ==========================================================================
   Content modules (Insights blocks)
   ========================================================================== */

.blocks > * + * { margin-top: 40px; }
.blocks > :first-child { margin-top: 0; }
.blocks h2 { font-size: 36px; line-height: 1.15; padding-bottom: 0; }
.blocks h3 { font-size: 28px; line-height: 1.2; padding-bottom: 0; }
.blocks h2 + *, .blocks h3 + * { margin-top: 16px; }
.blocks p + p { margin-top: 0; }
.blocks figure { margin-bottom: 0; margin-left: 0; margin-right: 0; }
.blocks figcaption { font-size: 14px; line-height: 1.5; padding-top: 10px; color: var(--text); }
.blocks blockquote {
  margin-left: 0; margin-right: 0; margin-bottom: 0; padding: 6px 0 6px 28px;
  border-left: 2px solid var(--blue);
  color: var(--blue); font-size: 26px; line-height: 1.35; font-weight: 300;
}
.blocks blockquote p { font-size: inherit; line-height: inherit; }
.blocks blockquote footer { font-size: 15px; color: var(--text); padding-top: 10px; }
.blocks hr { border: 0; border-top: 1px solid #dfe3ea; margin: 48px 0; }
.blocks table { width: 100%; border-collapse: collapse; font-size: 16px; }
.blocks th, .blocks td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #dfe3ea; vertical-align: top; }
.blocks th { color: var(--blue); font-weight: 400; }

.block-image img { width: 100%; }
.blocks .block-image--wide { margin-left: calc((820px - min(1080px, 100vw - 32px)) / 2); margin-right: calc((820px - min(1080px, 100vw - 32px)) / 2); }
@media (max-width: 980px) { .blocks .block-image--wide { margin-left: 0; margin-right: 0; } }

.block-gallery ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.block-gallery--2 ul { grid-template-columns: repeat(2, 1fr); }
.block-gallery--4 ul { grid-template-columns: repeat(4, 1fr); }
.block-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.block-image-text { display: grid; gap: 36px; align-items: center; grid-template-columns: 1fr 1fr; }
.block-image-text--third { grid-template-columns: 1fr 2fr; }
.block-image-text--right .block-image-text__media { order: 2; }
.block-image-text--right.block-image-text--third { grid-template-columns: 2fr 1fr; }
.block-image-text__media img { width: 100%; }
.block-image-text__text > * + * { margin-top: 12px; }

.block-callout { color: var(--blue); }
.block-callout p { font-size: 21px; line-height: 32px; }
.block-callout--line { border-left: 2px solid var(--blue); padding: 2px 0 2px 20px; }
.block-callout--box { background: var(--light); padding: 28px 32px; }

.block-figures .counters { padding-top: 10px; }

.block-deals h3 { text-align: center; padding-bottom: 20px; }
.blocks .tomb-grid { grid-template-columns: repeat(2, 1fr); padding: 0; gap: 20px; }

.block-cta { padding: 44px 40px; text-align: center; }
.block-cta--sky { background: var(--night) url('../images/band.jpg') center / cover no-repeat; color: #fff; }
.block-cta--light { background: var(--light); }
.block-cta__title { font-size: 30px; line-height: 1.25; color: var(--blue); padding-bottom: 10px; }
.block-cta--sky .block-cta__title, .block-cta--sky .block-cta__text { color: #fff; }
.block-cta__text { padding-bottom: 22px; }

.block-video video, .block-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; }
.block-video__consent {
  aspect-ratio: 16 / 9; display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center;
  padding: 24px; text-align: center; color: #fff;
  background: var(--night) url('../images/sky.jpg') center / cover no-repeat;
}
.block-video__consent p { font-size: 15px; line-height: 1.5; max-width: 440px; }
.block-video__consent.is-loaded { padding: 0; background: none; display: block; }

@media (max-width: 640px) {
  .block-image-text, .block-image-text--third, .block-image-text--right.block-image-text--third { grid-template-columns: 1fr; gap: 18px; }
  .block-image-text--right .block-image-text__media { order: 0; }
  .block-gallery ul, .block-gallery--4 ul { grid-template-columns: repeat(2, 1fr); }
  .blocks .tomb-grid { grid-template-columns: 1fr; }
  .blocks blockquote { font-size: 22px; }
  .block-cta { padding: 32px 22px; }
}

.block-table__scroll { overflow-x: auto; }
