:root {
  --ink: #263967;
  --ink-2: #31487e;
  --teal: #3b568f;
  --teal-soft: #e8edf8;
  --accent: #aeb7cd;
  --accent-soft: #dce4f5;
  --cream: #f3f5fa;
  --paper: #fbfcff;
  --white: #ffffff;
  --text: #293958;
  --muted: #69758e;
  --line: #dce2ef;
  --shadow: 0 24px 70px rgba(38, 57, 103, .12);
  --radius: 18px;
  --font-sans: Arial, "Helvetica Neue", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased
}

body.menu-open {
  overflow: hidden
}

img {
  display: block;
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  cursor: pointer
}

.container {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase
}

.eyebrow.light {
  color: var(--accent-soft)
}

h1,
h2,
h3,
p {
  margin-top: 0
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.07
}

h1 {
  font-size: clamp(3.5rem, 6.7vw, 6.4rem);
  margin-bottom: 26px
}

h2 {
  font-size: clamp(2.45rem, 4.7vw, 4.7rem);
  margin-bottom: 24px
}

h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent)
}

.body-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8
}

.lead-copy {
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: .22s ease
}

.button:hover {
  transform: translateY(-2px)
}

.button-accent {
  background: var(--accent);
  color: var(--ink)
}

.button-accent:hover {
  background: #6079b2;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18)
}

.button-outline {
  border-color: rgba(255, 255, 255, .55);
  color: var(--white)
}

.button-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .08)
}

.button-dark {
  background: var(--ink);
  color: var(--white)
}

.button-dark:hover {
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(38, 57, 103, .18)
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--accent)
}

/* Header */
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(38, 57, 103, .08);
  backdrop-filter: blur(14px);
  transition: height .2s ease, box-shadow .2s ease
}

.site-header.is-scrolled {
  height: 74px;
  box-shadow: 0 12px 32px rgba(38, 57, 103, .08)
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto
}

.brand img {
  height: 60px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  transition: height .2s ease
}

.site-header.is-scrolled .brand img {
  height: 51px
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #596984
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  transition: color .2s ease
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink)
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1)
}

.site-nav .nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white)
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  background: var(--teal);
  color: var(--white)
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: .22s ease
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* Reference-inspired hero system */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ink);
  color: var(--white)
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(26, 44, 83, .94) 0%, rgba(31, 51, 93, .84) 45%, rgba(45, 66, 111, .34) 100%), var(--hero-image);
  background-position: center;
  background-size: cover
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  z-index: -1;
  background: linear-gradient(transparent, rgba(19, 34, 70, .36))
}

.hero {
  padding-bottom: 44px
}

.hero-inner {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 86px 0 34px
}

.hero-copy {
  max-width: 760px
}

.hero-copy h1 {
  max-width: 720px
}

.hero-lead {
  max-width: 620px;
  color: #e1e7f3;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 34px
}

.hero-signals {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.signal {
  padding: 24px;
  background: rgba(28, 45, 83, .62);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px
}

.signal strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white)
}

.signal span {
  display: block;
  margin-top: 8px;
  color: #d3dbec;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase
}

.page-hero-inner {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
  max-width: 860px
}

.page-hero h1 {
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  margin-bottom: 18px
}

.page-hero-inner>p:last-child {
  max-width: 640px;
  color: #dfe5f2;
  font-size: 18px;
  margin: 0
}

/* Corporate content rhythm */
.intro,
.about-intro,
.services-overview,
.publishers-intro,
.contact-section {
  padding: 118px 0;
  background: var(--white)
}

.split,
.intro-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 90px;
  align-items: start
}

.intro-copy p {
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 28px
}

.stats-strip {
  margin-top: 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.stat {
  padding: 28px 30px
}

.stat:first-child {
  padding-left: 0
}

.stat:not(:last-child) {
  border-right: 1px solid var(--line)
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 39px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase
}

.section-paper {
  background: var(--cream)
}

.section-dark {
  background: var(--ink);
  color: var(--white)
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px
}

.section-heading h2 {
  margin-bottom: 0
}

.section-heading>p {
  color: var(--muted);
  margin: 0
}

/* Services */
.services-preview,
.principles,
.publisher-facts,
.partnership-model {
  padding: 112px 0
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(38, 57, 103, .09);
  transition: .25s ease
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent
}

.service-number {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 64px
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 15px
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px
}

.card-arrow {
  margin-top: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  transition: .22s ease
}

.service-card:hover .card-arrow {
  background: var(--ink);
  color: var(--white)
}

/* Image story band */
.story-band {
  padding: 110px 0;
  background: var(--white)
}

.story-band-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 74px;
  align-items: center
}

.editorial-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #dfe4ef
}

.editorial-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover
}

.editorial-tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase
}

.story-copy h2 {
  max-width: 580px
}

.story-copy>.body-copy {
  max-width: 560px
}

.feature-list {
  margin-top: 38px;
  border-top: 1px solid var(--line)
}

.feature-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line)
}

.feature-item span {
  font-family: var(--font-serif);
  color: var(--accent);
  font-size: 18px
}

.feature-item h3 {
  font-size: 15px;
  margin-bottom: 4px
}

.feature-item p {
  color: var(--muted);
  font-size: 13px;
  margin: 0
}

/* International / CTA */
.international {
  padding: 105px 0;
  background: var(--ink-2);
  color: var(--white)
}

.international-inner {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
  align-items: end
}

.international h2 {
  margin-bottom: 0
}

.international-copy p {
  color: #d2daea;
  max-width: 520px;
  margin-bottom: 26px
}

.final-cta {
  padding: 105px 0;
  background: var(--teal);
  color: var(--white)
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end
}

.cta-inner h2 {
  margin-bottom: 0
}

.cta-copy {
  max-width: 450px
}

.cta-copy p {
  color: #e5eaf4;
  margin-bottom: 20px
}

/* About */
.content-image {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  margin-top: 36px
}

.content-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.story {
  padding: 110px 0;
  background: var(--cream)
}

.story-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 90px
}

.timeline {
  border-top: 1px solid #d5ddeb
}

.timeline-item {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #d5ddeb
}

.timeline-item>span {
  font-family: var(--font-serif);
  font-size: 27px;
  color: var(--accent)
}

.timeline-item h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--ink)
}

.timeline-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0
}

.vision {
  padding: 100px 0;
  background: var(--ink);
  color: var(--white)
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.vision-card {
  min-height: 360px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.vision-card h2 {
  font-size: 34px;
  line-height: 1.3;
  margin: 0
}

.vision-card.accent {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent)
}

.vision-card.accent .eyebrow {
  color: var(--ink)
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line)
}

.principle {
  background: var(--white);
  padding: 31px;
  min-height: 220px
}

.principle span {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--accent)
}

.principle h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 400;
  margin-top: 45px
}

.principle p {
  color: var(--muted);
  font-size: 13px;
  margin: 0
}

/* Services page */
.service-detail-section {
  padding: 72px 0 105px;
  background: var(--cream)
}

.service-detail {
  scroll-margin-top: 90px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 34px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid #d5ddeb
}

.detail-number {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--accent);
  align-self: start
}

.detail-copy h2 {
  font-size: 40px;
  margin-bottom: 16px
}

.detail-copy p:last-child {
  max-width: 650px;
  color: var(--muted);
  margin: 0
}

.detail-visual {
  height: 185px;
  background: var(--white);
  border: 1px solid rgba(38, 57, 103, .08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  position: relative
}

.detail-visual::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  right: -30px;
  bottom: -32px;
  opacity: .45
}

.detail-visual span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal)
}

.detail-visual strong {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 400;
  color: var(--ink)
}

/* Publishers */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.fact-card {
  background: var(--white);
  padding: 34px;
  min-height: 280px;
  border: 1px solid rgba(38, 57, 103, .08)
}

.fact-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 57px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1
}

.fact-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-top: 42px
}

.fact-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 50px 1fr 50px 1fr;
  align-items: stretch
}

.flow-card {
  background: var(--cream);
  padding: 32px;
  min-height: 235px
}

.flow-card span {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--accent)
}

.flow-card h3 {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 400;
  margin-top: 50px
}

.flow-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 24px
}

/* Contact — no form, map beside information */
.contact-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 24px;
  align-items: stretch
}

.contact-panel {
  padding: 44px;
  background: var(--white);
  border: 1px solid rgba(38, 57, 103, .08);
  box-shadow: var(--shadow)
}

.contact-panel h2 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  margin-bottom: 18px
}

.contact-info-list {
  display: grid;
  gap: 18px;
  margin: 34px 0 0
}

.contact-info-item {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line)
}

.contact-info-item:last-child {
  padding-bottom: 0;
  border-bottom: 0
}

.contact-info-label {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase
}

.contact-info-item p,
.contact-info-item address {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.8
}

.contact-info-item a {
  color: var(--ink);
  font-weight: 700
}

.contact-info-item a:hover {
  text-decoration: underline
}

.social-block {
  margin-top: 34px
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px
}

.social-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(38, 57, 103, .08);
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, color .22s ease
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  pointer-events: none
}

.social-icon:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--ink)
}

.contact-map-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(38, 57, 103, .08);
  box-shadow: var(--shadow);
  background: var(--cream)
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0
}


/* MEPD brand additions */
.company-reach {
  padding: 96px 0
}

.reach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px
}

.reach-card {
  min-height: 190px;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(38, 57, 103, .09);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease
}

.reach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}

.reach-card strong {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink)
}

.reach-card>span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--teal)
}

.country-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 26px
}

.country-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--teal-soft);
  border: 1px solid rgba(59, 86, 143, .1);
  border-radius: 12px
}

.country-flag {
  font-size: 25px;
  line-height: 1
}

.country-flag-image {
  width: 32px;
  height: 24px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(59, 86, 143, .14);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
}

.country-card strong {
  font-size: 13px;
  color: var(--ink)
}

.partners-section {
  padding: 108px 0
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px
}

.partner-card {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(38, 57, 103, .09);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}

.partner-logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--teal-soft);
  color: var(--ink);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.03em;
  border: 1px solid rgba(59, 86, 143, .12)
}

.partner-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin: 18px 0 4px
}

.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px
}

.partner-logo-placeholder {
  background: linear-gradient(180deg, #eef2fb 0%, #e7edf9 100%)
}

.partner-logo-icon {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: .95
}

.products-publishers {
  padding: 108px 0;
  background: var(--white)
}

.products-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: start
}

.products-copy p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px
}

.secondary-contact {
  margin-top: 10px !important
}

.social-icon {
  cursor: pointer
}

/* Footer */
.site-footer {
  padding: 66px 0 30px;
  background: #ffffff;
  color: #1D2F59
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr 1fr;
  gap: 42px
}

.site-footer .brand img {
  height: 66px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  filter: none
}

.footer-brand-block>p {
  max-width: 310px;
  margin-top: 18px
}

.site-footer p,
.site-footer a,
.site-footer span {
  font-size: 12px
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.footer-label {
  margin-bottom: 10px !important;
  color: #1D2F59;
  font-size: 10px !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em
}

.site-footer a:hover {
  color: var(--accent)
}

.footer-note {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right
}

.footer-note p {
  font-family: var(--font-serif);
  font-size: 22px !important;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: auto
}

.footer-note span {
  font-size: 10px
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1)
}

.reveal.is-visible {
  opacity: 1;
  transform: none
}

.reveal-delay {
  transition-delay: .08s
}

.reveal-delay-2 {
  transition-delay: .16s
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

@media(max-width:900px) {
  .container {
    width: min(100% - 40px, 760px)
  }

  .site-header {
    height: 76px
  }

  .site-header.is-scrolled {
    height: 70px
  }

  .brand img {
    height: 52px
  }

  .site-header.is-scrolled .brand img {
    height: 48px
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 60
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    padding: 105px 26px 35px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    font-size: 20px
  }

  .site-nav.is-open {
    transform: translateX(0)
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
  }

  .site-nav a::after {
    display: none
  }

  .site-nav .nav-cta {
    margin-top: 18px;
    padding: 14px 16px;
    text-align: center
  }

  .hero::before,
  .page-hero::before {
    background-image: linear-gradient(90deg, rgba(26, 44, 83, .94), rgba(9, 36, 50, .7)), var(--hero-image)
  }

  .hero-inner {
    min-height: 580px
  }

  .signal-row {
    grid-template-columns: 1fr 1fr 1fr
  }

  .split,
  .intro-grid,
  .story-band-grid,
  .international-inner,
  .story-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 46px
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .section-heading>p {
    max-width: 560px
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .editorial-image {
    min-height: 470px
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .vision-grid {
    grid-template-columns: 1fr
  }

  .principle-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .service-detail {
    grid-template-columns: 55px 1fr
  }

  .detail-visual {
    grid-column: 2
  }

  .fact-grid {
    grid-template-columns: 1fr
  }

  .flow-grid {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .flow-arrow {
    height: 32px;
    transform: rotate(90deg)
  }

  .contact-panel {
    padding: 36px
  }

  .contact-map-card iframe {
    min-height: 440px
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer-note {
    align-items: flex-start;
    text-align: left
  }
}

@media(max-width:560px) {
  .container {
    width: calc(100% - 32px)
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem)
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem)
  }

  .button {
    width: 100%
  }

  .hero {
    padding-bottom: 28px
  }

  .hero-inner {
    min-height: 580px;
    padding: 70px 0 30px
  }

  .hero-copy h1 {
    max-width: 100%
  }

  .hero-lead {
    font-size: 16px
  }

  .signal-row {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .signal {
    padding: 18px
  }

  .intro,
  .about-intro,
  .services-overview,
  .publishers-intro,
  .contact-section {
    padding: 78px 0
  }

  .stats-strip {
    margin-top: 55px;
    grid-template-columns: 1fr
  }

  .stat,
  .stat:first-child {
    padding: 20px 0
  }

  .stat:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .services-preview,
  .principles,
  .publisher-facts,
  .partnership-model,
  .story-band,
  .story {
    padding: 78px 0
  }

  .service-grid {
    grid-template-columns: 1fr
  }

  .service-card {
    min-height: 260px
  }

  .service-number {
    margin-bottom: 45px
  }

  .editorial-image {
    min-height: 340px
  }

  .international,
  .final-cta {
    padding: 78px 0
  }

  .page-hero-inner {
    min-height: 360px;
    padding: 54px 0
  }

  .content-image {
    min-height: 300px
  }

  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 16px
  }

  .vision {
    padding: 72px 0
  }

  .vision-card {
    min-height: 300px;
    padding: 28px
  }

  .vision-card h2 {
    font-size: 28px
  }

  .principle-grid {
    grid-template-columns: 1fr
  }

  .service-detail-section {
    padding: 35px 0 75px
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 38px 0
  }

  .detail-number {
    font-size: 20px
  }

  .detail-visual {
    grid-column: 1
  }

  .detail-copy h2 {
    font-size: 34px
  }

  .contact-panel {
    padding: 28px
  }

  .contact-map-card iframe {
    min-height: 340px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px
  }

  .footer-brand-block,
  .footer-note {
    grid-column: 1/-1
  }

  .footer-note p {
    margin-bottom: 12px
  }
}

/* UX polish: visual publishing journey, micro-interactions and navigation helpers */
.journey-section {
  padding: 112px 0;
  background: var(--white)
}

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px
}

.journey-track::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 58px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  opacity: .45
}

.journey-step {
  position: relative;
  z-index: 1;
  min-height: 270px;
  padding: 28px 24px 26px;
  background: var(--paper);
  border: 1px solid rgba(38, 57, 103, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.journey-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent
}

.journey-number {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 17px
}

.journey-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 23px;
  box-shadow: 0 0 0 8px var(--white)
}

.journey-step h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px
}

.journey-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.journey-step.reveal {
  transition-delay: calc(var(--step) * 90ms)
}

.editorial-image img,
.content-image img {
  transition: transform .5s cubic-bezier(.16, 1, .3, 1)
}

.service-card,
.fact-card,
.principle,
.vision-card,
.contact-panel,
.contact-map-card {
  will-change: transform
}

.button,
.text-link,
.social-icon,
.service-card,
.fact-card,
.principle,
.vision-card {
  transition-timing-function: cubic-bezier(.16, 1, .3, 1)
}

.text-link:hover {
  color: var(--teal)
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(38, 57, 103, .24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .22s ease
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-2px)
}

.back-to-top span {
  font-size: 20px;
  line-height: 1
}

@media(min-width:901px) and (prefers-reduced-motion:no-preference) {
  .hero::before {
    animation: heroImageDrift 18s ease-in-out infinite alternate
  }

  @keyframes heroImageDrift {
    from {
      transform: scale(1)
    }

    to {
      transform: scale(1.035)
    }
  }
}

@media(max-width:900px) {
  .journey-track {
    grid-template-columns: repeat(2, 1fr)
  }

  .journey-track::before {
    display: none
  }
}

@media(max-width:560px) {
  .journey-section {
    padding: 78px 0
  }

  .journey-track {
    grid-template-columns: 1fr
  }

  .journey-step {
    min-height: auto
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px
  }
}

@media(prefers-reduced-motion:reduce) {
  .journey-step.reveal {
    transition-delay: 0s
  }

  .editorial-image img,
  .content-image img {
    transform: none !important
  }
}

@media(max-width:900px) {
  .reach-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .service-detail {
    grid-template-columns: 55px 1fr
  }
}

@media(max-width:560px) {

  .reach-grid,
  .partners-grid,
  .country-grid {
    grid-template-columns: 1fr
  }

  .reach-card {
    min-height: 150px
  }

  .partner-card {
    min-height: 180px
  }

  .service-detail {
    grid-template-columns: 1fr
  }

  .detail-number {
    margin-bottom: 4px
  }
}


/* === MEPD UI/UX refinement v3 === */
:root {
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --surface-blue: #edf2fb;
  --border-soft: rgba(38, 57, 103, .10);
  --shadow-soft: 0 10px 35px rgba(38, 57, 103, .08);
  --shadow-hover: 0 20px 54px rgba(38, 57, 103, .14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

html {
  scroll-padding-top: 96px
}

body {
  background: #fff
}

main {
  overflow: hidden
}

::selection {
  background: var(--accent-soft);
  color: var(--ink)
}

a,
button {
  outline: none
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(77, 103, 161, .35);
  outline-offset: 4px;
  border-radius: 8px
}

[id] {
  scroll-margin-top: 96px
}

.container {
  width: min(1240px, calc(100% - 64px))
}

/* Header: lighter footprint, clearer active state */
.site-header {
  height: 78px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(38, 57, 103, .07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7);
  backdrop-filter: blur(18px) saturate(140%)
}

.site-header.is-scrolled {
  height: 70px;
  box-shadow: 0 10px 32px rgba(38, 57, 103, .08)
}

.brand img {
  height: 54px
}

.site-header.is-scrolled .brand img {
  height: 48px
}

.site-nav {
  gap: 28px;
  font-size: 12px
}

.site-nav a:not(.nav-cta)::after {
  height: 2px;
  bottom: 0;
  border-radius: 999px
}

.site-nav .nav-cta {
  padding: 11px 18px;
  box-shadow: 0 8px 20px rgba(38, 57, 103, .14)
}

/* Type + rhythm */
.eyebrow {
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: .20em
}

h1 {
  font-size: clamp(3.35rem, 6.1vw, 5.95rem);
  line-height: 1.02
}

h2 {
  font-size: clamp(2.25rem, 4.15vw, 4.15rem);
  line-height: 1.05
}

.body-copy {
  line-height: 1.75
}

.section-heading {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 52px;
  align-items: end;
  margin-bottom: 42px
}

.section-heading>p {
  line-height: 1.7
}

/* Hero: stronger contrast and calmer visual hierarchy */
.hero,
.page-hero {
  background: #20355f
}

.hero::before,
.page-hero::before {
  background-image: linear-gradient(90deg, rgba(25, 43, 82, .96) 0%, rgba(25, 43, 82, .87) 42%, rgba(25, 43, 82, .42) 74%, rgba(25, 43, 82, .20) 100%), var(--hero-image)
}

.hero::after,
.page-hero::after {
  height: 120px;
  background: linear-gradient(transparent, rgba(15, 31, 64, .22))
}

.hero {
  padding-bottom: 32px
}

.hero-inner {
  min-height: 560px;
  padding: 72px 0 30px
}

.hero-copy {
  max-width: 730px
}

.hero-copy h1 {
  max-width: 690px
}

.hero-lead {
  max-width: 590px;
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 28px
}

.signal-row {
  gap: 12px
}

.signal {
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(31, 51, 93, .66);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05)
}

.signal strong {
  font-size: 21px
}

.signal span {
  margin-top: 6px
}

.page-hero-inner {
  min-height: 360px;
  padding: 64px 0;
  max-width: 820px
}

.page-hero h1 {
  font-size: clamp(3.05rem, 5.4vw, 5.2rem);
  max-width: 850px
}

.page-hero-inner>p:last-child {
  font-size: 17px;
  line-height: 1.7
}

/* Buttons */
.button {
  min-height: 48px;
  padding: 12px 21px;
  box-shadow: none;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s ease, background .2s ease, border-color .2s ease
}

.button:hover {
  transform: translateY(-2px)
}

.button-dark {
  box-shadow: 0 10px 24px rgba(38, 57, 103, .16)
}

.text-link {
  border-bottom-color: rgba(77, 103, 161, .45)
}

/* Section rhythm */
.intro,
.about-intro,
.services-overview,
.publishers-intro,
.contact-section {
  padding: 96px 0
}

.services-preview,
.principles,
.publisher-facts,
.partnership-model,
.journey-section {
  padding: 94px 0
}

.story-band,
.story {
  padding: 96px 0
}

.international,
.final-cta {
  padding: 88px 0
}

.section-paper {
  background: linear-gradient(180deg, #f6f8fc 0%, #f2f5fb 100%)
}

/* Home intro / stats */
.split,
.intro-grid {
  gap: 72px
}

.stats-strip {
  margin-top: 62px;
  padding: 0 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f8faff, #eef3fb);
  box-shadow: var(--shadow-soft);
  overflow: hidden
}

.stat {
  padding: 25px 26px
}

.stat:first-child {
  padding-left: 8px
}

.stat strong {
  font-size: 36px
}

/* Cards */
.service-grid {
  gap: 16px
}

.service-card {
  min-height: 285px;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8);
  overflow: hidden
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #8ea3d0);
  opacity: 0;
  transition: opacity .22s ease
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(77, 103, 161, .10)
}

.service-card:hover::before {
  opacity: 1
}

.service-number {
  margin-bottom: 52px
}

.service-card h3 {
  font-size: 25px
}

.card-arrow {
  width: 38px;
  height: 38px
}

/* Image-led sections */
.story-band-grid {
  gap: 66px
}

.editorial-image,
.content-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft)
}

.editorial-image {
  min-height: 520px
}

.editorial-image::after,
.content-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  border-radius: inherit
}

.story-copy>.body-copy {
  max-width: 535px
}

.feature-list {
  margin-top: 30px
}

.feature-item {
  padding: 17px 0
}

/* WHY MEPD country list */
.country-grid {
  gap: 10px;
  margin: 16px 0 24px
}

.country-card {
  min-height: 56px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #f3f6fc;
  border: 1px solid var(--border-soft);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease
}

.country-card:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 9px 24px rgba(38, 57, 103, .08)
}

.country-flag-image {
  width: 36px;
  height: 25px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(20, 35, 65, .10)
}

.country-card strong {
  font-size: 13px
}

/* Publishing journey */
.journey-track {
  gap: 16px
}

.journey-track::before {
  top: 56px;
  opacity: .30
}

.journey-step {
  min-height: 245px;
  padding: 25px 24px;
  border-radius: var(--radius-md);
  background: #fbfcff;
  border: 1px solid var(--border-soft)
}

.journey-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover)
}

.journey-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  box-shadow: 0 0 0 7px #fff
}

/* About: reach, vision, principles */
.company-reach {
  padding: 88px 0
}

.reach-grid {
  gap: 12px
}

.reach-card {
  min-height: 170px;
  padding: 24px;
  border-radius: var(--radius-md);
  border-color: var(--border-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7)
}

.reach-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover)
}

.reach-card strong {
  font-size: clamp(2.05rem, 3.5vw, 3.15rem)
}

.vision-card,
.principle {
  border-radius: var(--radius-md);
  overflow: hidden
}

/* Services: turn list into scan-friendly cards without changing copy */
.service-detail-section {
  padding: 66px 0 92px;
  background: #f6f8fc
}

.service-detail-section .container {
  display: grid;
  gap: 14px
}

.service-detail {
  grid-template-columns: 68px 1fr;
  gap: 22px;
  align-items: center;
  padding: 25px 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 2px 10px rgba(38, 57, 103, .035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.service-detail:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(77, 103, 161, .16)
}

.detail-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf2fb;
  color: var(--accent);
  font-size: 15px;
  margin: 0
}

.detail-copy h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  margin: 1px 0 7px
}

.detail-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65
}

.detail-copy .eyebrow {
  margin-bottom: 4px;
  font-size: 9px
}

/* Publishers: logo-first cards; logos are file-based and replaceable */
.partners-section {
  padding: 94px 0
}

.partners-grid {
  gap: 14px;
  align-items: stretch
}

.partner-card {
  min-height: 248px;
  padding: 22px;
  border-radius: var(--radius-md);
  border-color: var(--border-soft);
  justify-content: flex-start;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7)
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover)
}

.partner-logo {
  width: 100%;
  height: 92px;
  border: 0;
  border-radius: 14px;
  background: #f7f9fd;
  overflow: hidden
}

.partner-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px
}

.partner-card>div:last-child {
  display: flex;
  flex-direction: column;
  flex: 1
}

.partner-card h3 {
  font-size: 19px;
  line-height: 1.2;
  margin: 18px 0 6px
}

.partner-card p {
  margin-top: auto;
  padding-top: 8px
}

.products-publishers {
  padding: 94px 0
}

.products-grid {
  gap: 74px
}

.products-copy p {
  line-height: 1.78
}

/* Contact */
.contact-layout {
  gap: 18px
}

.contact-panel,
.contact-map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft)
}

.contact-panel {
  background: #fff
}

.social-icon {
  box-shadow: 0 8px 18px rgba(38, 57, 103, .10)
}

/* CTA + footer */
.international {
  background: linear-gradient(135deg, #2f477c 0%, #263967 65%, #22345f 100%)
}

.final-cta {
  background: linear-gradient(135deg, #3b568f, #4c68a4)
}

.site-footer {
  padding: 58px 0 28px;
  background: #f3f3f3
}

.footer-grid {
  gap: 36px
}

.site-footer a {
  transition: color .18s ease, opacity .18s ease
}

.site-footer a:hover {
  color: #fff
}

/* Small interaction improvements */
.service-card,
.journey-step,
.reach-card,
.partner-card,
.country-card,
.service-detail {
  will-change: transform
}

@media(hover:hover) {

  .editorial-image:hover img,
  .content-image:hover img {
    transform: scale(1.025)
  }
}

@media(max-width:900px) {
  .container {
    width: min(100% - 40px, 780px)
  }

  .site-header {
    height: 72px
  }

  .site-header.is-scrolled {
    height: 68px
  }

  .brand img {
    height: 50px
  }

  .site-nav {
    padding-top: 92px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(16px)
  }

  .hero-inner {
    min-height: 530px;
    padding-top: 62px
  }

  .hero::before,
  .page-hero::before {
    background-image: linear-gradient(90deg, rgba(25, 43, 82, .95), rgba(25, 43, 82, .72)), var(--hero-image)
  }

  .signal-row {
    grid-template-columns: repeat(3, 1fr)
  }

  .split,
  .intro-grid,
  .story-band-grid,
  .international-inner,
  .story-grid,
  .contact-layout {
    gap: 42px
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .editorial-image {
    min-height: 430px
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .service-detail {
    grid-template-columns: 58px 1fr;
    padding: 22px
  }
}

@media(max-width:560px) {
  .container {
    width: calc(100% - 28px)
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem)
  }

  h2 {
    font-size: clamp(2.1rem, 10.8vw, 3.25rem)
  }

  .hero {
    padding-bottom: 22px
  }

  .hero-inner {
    min-height: 510px;
    padding: 52px 0 26px
  }

  .hero-lead {
    font-size: 15px
  }

  .signal-row {
    grid-template-columns: 1fr
  }

  .signal {
    padding: 16px 18px
  }

  .page-hero-inner {
    min-height: 330px;
    padding: 48px 0
  }

  .intro,
  .about-intro,
  .services-overview,
  .publishers-intro,
  .contact-section {
    padding: 68px 0
  }

  .services-preview,
  .principles,
  .publisher-facts,
  .partnership-model,
  .journey-section,
  .story-band,
  .story,
  .partners-section,
  .products-publishers {
    padding: 68px 0
  }

  .stats-strip {
    padding: 4px 18px;
    border-radius: 20px
  }

  .stat,
  .stat:first-child {
    padding: 18px 0
  }

  .stat strong {
    font-size: 32px
  }

  .service-grid {
    grid-template-columns: 1fr
  }

  .service-card {
    min-height: 245px;
    padding: 24px
  }

  .editorial-image {
    min-height: 320px;
    border-radius: 20px
  }

  .country-grid {
    grid-template-columns: 1fr
  }

  .journey-track {
    grid-template-columns: 1fr
  }

  .journey-step {
    min-height: auto
  }

  .reach-grid,
  .partners-grid {
    grid-template-columns: 1fr
  }

  .reach-card {
    min-height: 145px
  }

  .service-detail-section {
    padding: 44px 0 68px
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
    border-radius: 16px
  }

  .detail-number {
    width: 42px;
    height: 42px
  }

  .partner-card {
    min-height: 220px
  }

  .partner-logo {
    height: 86px
  }

  .contact-panel,
  .contact-map-card {
    border-radius: 20px
  }

  .international,
  .final-cta {
    padding: 68px 0
  }

  .footer-grid {
    gap: 30px 18px
  }
}

/* Footer logo sizing and alignment fix */
.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 220px;
  max-width: 100%;
}

.site-footer .footer-brand-block .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.site-footer .footer-brand-block .brand img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 92px !important;
  max-height: 92px !important;
  object-fit: contain;
  padding-left: 0 !important;
  margin: 0 auto !important;
}

.site-footer .footer-brand-block>img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 200px !important;
  max-height: 64px !important;
  object-fit: contain;
  margin: 8px auto 0 !important;
}

@media(max-width:900px) {
  .footer-brand-block {
    width: 200px
  }

  .site-footer .footer-brand-block .brand img {
    max-width: 84px !important;
    max-height: 84px !important
  }

  .site-footer .footer-brand-block>img {
    max-width: 185px !important;
    max-height: 58px !important
  }
}

@media(max-width:560px) {
  .footer-brand-block {
    width: 180px;
    margin-inline: auto
  }

  .site-footer .footer-brand-block .brand img {
    max-width: 76px !important;
    max-height: 76px !important
  }

  .site-footer .footer-brand-block>img {
    max-width: 165px !important;
    max-height: 52px !important
  }
}

/* === FINAL REQUESTED FIXES: mobile menu, services spacing, partners layout === */

/* Keep the Services heading visually connected to its service cards. */
.services-overview {
  padding-bottom: 28px !important;
}

.service-detail-section {
  padding-top: 18px !important;
}

/* OUR PARTNERS: intro copy belongs with the logo list, not on the far right. */
.partners-section .section-heading {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  align-items: start !important;
  margin-bottom: 30px !important;
}

.partners-section .section-heading > p {
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Make every partner logo fit its frame consistently regardless of source dimensions. */
.partner-card {
  overflow: hidden;
}

.partner-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
}

.partner-logo-img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 88% !important;
  max-height: 68px !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 900px) {
  /* backdrop-filter on the sticky header can make a fixed child behave like it is
     constrained to the header. Disable it on tablet/mobile and make the nav a true
     viewport overlay. */
  .site-header,
  .site-header.is-scrolled,
  body.menu-open .site-header {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 1000 !important;
  }

  .site-header .brand {
    position: relative;
    z-index: 1002;
  }

  .menu-toggle {
    position: relative !important;
    z-index: 1003 !important;
  }

  .site-nav {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    padding: 96px 24px 30px !important;
    margin: 0 !important;
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 1001 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    transform: translateX(100%) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-nav.is-open {
    transform: translateX(0) !important;
  }

  .site-nav a {
    position: relative;
    z-index: 1;
  }

  body.menu-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .partner-logo-img {
    max-width: 84% !important;
    max-height: 64px !important;
  }
}

@media (max-width: 560px) {
  .services-overview {
    padding-bottom: 22px !important;
  }

  .service-detail-section {
    padding-top: 12px !important;
  }

  .partners-section .section-heading {
    margin-bottom: 24px !important;
  }

  .partner-card {
    min-height: 205px !important;
    padding: 20px !important;
  }

  .partner-logo {
    height: 92px !important;
    padding: 10px !important;
  }

  .partner-logo-img {
    max-width: 82% !important;
    max-height: 60px !important;
  }
}
