/* ==========================================================================
   M2A Investment Network — theme styles
   ========================================================================== */

/* Fonts (self-hosted, SIL Open Font License) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
	--accent: #64CCC5;
	--teal: #00867D;
	--navy: #0F1C29;
	--navy-2: #1A2B3F;
	--line-dark: #2A3B50;
	--line-darker: #22324A;
	--grey-bg: #F4F4F4;
	--text: #525252;
	--display: "Inter Tight", "Inter", system-ui, sans-serif;
	--serif: "Instrument Serif", Georgia, serif;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 300;
	color: var(--navy);
	background: #ffffff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
img, video, canvas { max-width: 100%; }
a { color: inherit; }
strong, b { font-weight: 600; }
[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: #ffffff; color: var(--navy); padding: 10px 14px; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 40px, 1200px); margin-inline: auto; }
.wrap--hero { width: min(100% - 40px, 1120px); }
.wrap--narrow { width: min(100% - 40px, 1100px); }
.wrap--wide { width: min(100% - 40px, 1280px); }
.wrap--text { width: min(100% - 40px, 760px); }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.muted { color: #8a8a8a; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 14px; font-weight: 500; line-height: 1.2;
	padding: 12px 18px; border-radius: 10px; border: 1px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.btn svg { transition: transform .35s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn--lg { font-size: 15px; padding: 14px 20px; }
.btn--sm { font-size: 13px; padding: 8px 12px; border-radius: 8px; }
.btn--light, .btn--white { background: #ffffff; color: var(--navy); }
.btn--light:hover, .btn--white:hover { background: #e8eef3; color: var(--navy); }
.btn--outline { background: transparent; color: #ffffff; border-color: var(--line-dark); }
.btn--outline:hover { border-color: #ffffff; color: #ffffff; }
.btn--dark { background: var(--navy); color: #ffffff; }
.btn--dark:hover { background: #1F3B5C; color: #ffffff; }
.btn--grey { background: #ededed; color: var(--navy); }
.btn--grey:hover { background: #e0e0e0; color: var(--navy); }

/* Labels and headings ---------------------------------------------------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
	color: #6b6b6b; border: 1px solid #e5e5e5; border-radius: 6px; padding: 5px 9px;
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; }
.eyebrow--mono { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--accent); border-color: var(--line-dark); border-radius: 4px; }
.eyebrow--mono .eyebrow__dot { width: 7px; height: 7px; }
.eyebrow--dark { color: #a3a3a3; border-color: var(--line-dark); }

.h-section {
	margin: 18px 0 0; font-family: var(--display); font-weight: 400;
	font-size: clamp(36px, 4vw, 52px); letter-spacing: -.03em; line-height: 1.05;
}
.h-section .serif { color: #737373; }
.lead { margin: 16px auto 0; max-width: 560px; font-size: 16px; line-height: 1.6; color: var(--text); }

.section { padding: 140px 0; }
.statement + .section--first { padding-top: 0; }
.section-head { text-align: center; margin-bottom: 56px; }

/* Header ----------------------------------------------------------------- */
.site-header { position: relative; z-index: 30; padding: 20px 20px 0; }
.has-overlay-header .site-header { position: absolute; top: 0; left: 0; right: 0; }
.has-solid-header .site-header { background: var(--navy); padding-bottom: 20px; }
.admin-bar.has-overlay-header .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.has-overlay-header .site-header { top: 46px; } }

.nav {
	max-width: 1360px; margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px;
	padding: 10px 12px 10px 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 26px; width: auto; display: block; }
.nav__menu { flex: 1; display: flex; align-items: center; gap: 16px; }
.nav__links {
	list-style: none; margin: 0 auto; padding: 0;
	display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; font-weight: 500;
}
.nav__links a { color: #C9D1DB; text-decoration: none; transition: color .2s ease; }
.nav__links a:hover, .nav__links .current-menu-item > a { color: #ffffff; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__btn { font-size: 13px; font-weight: 500; text-decoration: none; padding: 9px 14px; border-radius: 8px; transition: background-color .2s ease; white-space: nowrap; }
.nav__btn--subtle { color: #ffffff; background: rgba(255, 255, 255, .08); }
.nav__btn--subtle:hover { background: rgba(255, 255, 255, .16); color: #ffffff; }
.nav__btn--light { color: var(--navy); background: #ffffff; }
.nav__btn--light:hover { background: #e8eef3; color: var(--navy); }

.nav__toggle {
	display: none; align-items: center; gap: 10px;
	background: rgba(255, 255, 255, .08); color: #ffffff; border: 0; border-radius: 8px;
	padding: 9px 12px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
	display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -5px; }
.nav__toggle-bars::after { top: 5px; }
.nav.is-open .nav__toggle-bars { background: transparent; }
.nav.is-open .nav__toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
	.nav { flex-wrap: wrap; padding: 10px 10px 10px 16px; }
	.nav__toggle { display: inline-flex; }
	.nav__menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 8px 6px 6px; }
	.nav.is-open .nav__menu { display: flex; }
	.nav__links { flex-direction: column; gap: 0; margin: 0; }
	.nav__links a { display: block; padding: 12px 4px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.nav__actions { padding-top: 4px; }
	.nav__btn { flex: 1; text-align: center; padding: 12px 14px; }
}

/* Background video sections --------------------------------------------- */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #ffffff; padding: 192px 0 72px; }
.has-solid-header .hero { padding-top: 120px; }
.hero__shade {
	position: absolute; inset: 0; z-index: 0;
	background:
		linear-gradient(180deg, rgba(15, 28, 41, 0) calc(100% - 180px), var(--navy) 100%),
		linear-gradient(90deg, rgba(15, 28, 41, .95) 0%, rgba(15, 28, 41, .84) 45%, rgba(15, 28, 41, .6) 100%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow { margin: 0 0 24px; font-size: 14px; color: #cfcfcf; }
.hero__title {
	margin: 0; max-width: 900px; font-family: var(--display); font-weight: 400;
	font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.025em;
}
.hero__title .serif { color: #a3a3a3; }
.hero__intro { margin: 28px 0 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: #d4d4d4; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 110px; }
.hero__chips-label { font-size: 13px; color: #a3a3a3; margin-right: 4px; }
.chip { font-size: 13px; color: #e5e5e5; border: 1px solid var(--line-dark); border-radius: 999px; padding: 7px 14px; background: rgba(15, 28, 41, .35); }
@media (max-width: 600px) {
	.hero { padding-top: 150px; }
	.hero__intro { font-size: 16px; }
	.hero__chips { margin-top: 64px; }
}

/* Investor strip --------------------------------------------------------- */
.strip { padding: 36px 0; border-bottom: 1px solid #efefef; overflow: hidden; }
.strip__label { margin: 0 0 22px; text-align: center; font-size: 13px; color: #6b6b6b; }
.strip__viewport {
	max-width: 1440px; margin: 0 auto; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip__track { display: flex; width: max-content; animation: m2a-marquee 38s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__group {
	display: flex; gap: 72px; padding: 0 72px 0 0; margin: 0; list-style: none;
	font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -.3px; color: #9a9a9a; white-space: nowrap;
}

/* Statement -------------------------------------------------------------- */
.statement { padding: 140px 20px; }
.statement__text {
	margin: 0 auto; max-width: 780px; text-align: center;
	font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; letter-spacing: -.02em; color: var(--navy);
}

/* Verticals -------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.card { background: var(--grey-bg); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 190px; }
.card__num { font-size: 12px; font-weight: 500; color: #8a8a8a; letter-spacing: .05em; }
.card__title { margin: 0; font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; color: var(--navy); }
.card__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); }
.lift { transition: transform .35s ease, box-shadow .35s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15, 28, 41, .12); }

/* Gradient band ---------------------------------------------------------- */
.band { background: linear-gradient(100deg, #001E4C 0%, #005F66 55%, #00867D 100%); padding: 56px 20px; color: #ffffff; }
.band__label { margin: 0 0 26px; text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.band__box {
	max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); border-radius: 14px; padding: 22px 28px;
}
.band__text { margin: 0; max-width: 640px; font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -.02em; }

/* How it works (pinned, scroll-driven) ---------------------------------- */
.how { position: relative; height: calc(var(--steps, 4) * 640px + 600px); }
.how__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 620px; max-height: 960px; display: flex; align-items: center; }
.how__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.how__copy { flex: 1 1 440px; min-width: 0; }
.h-how { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.4vw, 42px); letter-spacing: -.03em; line-height: 1.1; }
.how__intro { margin: 14px 0 32px; max-width: 460px; font-size: 15px; line-height: 1.6; color: var(--text); }
.how__steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e5e5e5; }
.how__step { border-bottom: 1px solid #e5e5e5; padding: 22px 0; }
.how__btn { display: flex; align-items: baseline; gap: 14px; width: 100%; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.how__num { font-size: 11px; font-weight: 500; color: #6b7280; transition: color .3s ease; }
.how__title { font-family: var(--display); font-size: 19px; font-weight: 500; color: #6b6b6b; transition: color .3s ease; }
.how__btn:hover .how__title, .how__step.is-active .how__title { color: var(--navy); }
.how__step.is-active .how__num { color: var(--teal); }
.how__body p { margin: 12px 0 0 32px; max-width: 440px; font-size: 14px; line-height: 1.65; color: var(--text); }
.how__track { margin: 16px 0 0 32px; max-width: 440px; height: 2px; background: #e5e7eb; border-radius: 2px; overflow: hidden; }
.how__bar { height: 2px; width: 0; background: var(--teal); transition: width .15s linear; }
.how__panel { flex: 1 1 420px; min-width: 0; display: flex; }
.how__panel-item {
	flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
	background: var(--navy); color: #ffffff; border-radius: 20px; padding: 36px;
	animation: m2a-fade .45s ease both;
}
.how__panel-item[hidden] { display: none; }
.how__count { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #a3a3a3; }
.how__big { font-family: var(--display); font-size: clamp(56px, 7vw, 96px); font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--accent); overflow-wrap: anywhere; }
.how__caption { margin-top: 10px; font-size: 16px; color: #d4d4d4; }
@media (max-width: 900px) { .how__panel { display: none; } }
/* Without JavaScript: a normal, unpinned list with every step open. */
html:not(.js) .how { height: auto; padding: 140px 0; }
html:not(.js) .how__sticky { position: static; height: auto; min-height: 0; max-height: none; }
html:not(.js) .how__body[hidden] { display: block; }
html:not(.js) .how__panel, html:not(.js) .how__track { display: none; }

/* Track record + globe --------------------------------------------------- */
.track { background: var(--navy); color: #ffffff; padding: 100px 0; overflow: hidden; }
.track__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.track__copy { flex: 1 1 460px; min-width: 0; padding-left: 4%; }
.h-track { margin: 22px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4vw, 56px); letter-spacing: -.035em; line-height: 1.04; }
.h-track .serif { color: #8a8a8a; letter-spacing: -.01em; }
.track__intro { margin: 22px 0 0; max-width: 470px; font-size: 16px; line-height: 1.65; color: #d4d4d4; }
.stats { margin: 48px 0 0; display: flex; flex-wrap: wrap; row-gap: 28px; }
.stat { display: flex; flex-direction: column-reverse; padding: 0 28px; border-right: 1px solid var(--line-dark); }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat__value { margin: 0; font-family: var(--display); font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.stat__label { margin-top: 12px; font-size: 13px; color: #bdbdbd; }
.track__note { margin: 34px 0 0; font-size: 13px; color: #a3a3a3; }
.track__btn { margin-top: 30px; }
.track__globe { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.globe { position: relative; width: 100%; max-width: 760px; aspect-ratio: 1 / 1; }
.globe canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.globe canvas.is-dragging { cursor: grabbing; }
.globe__legend { display: flex; align-items: center; gap: 24px; margin-top: 4px; font-size: 13px; color: #bdbdbd; }
.globe__key { display: inline-flex; align-items: center; gap: 8px; }
.globe__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (max-width: 600px) {
	.track__copy { padding-left: 0; }
	.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
	.stat, .stat:first-child, .stat:last-child { padding: 0 0 0 16px; border-right: 0; border-left: 1px solid var(--line-dark); }
	.stat__value { font-size: 32px; }
}

/* Team ------------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; align-items: end; }
.member {
	position: relative; display: flex; align-items: center; justify-content: center;
	height: 400px; margin-top: var(--offset, 0); border-radius: 18px; overflow: hidden;
	background: var(--tint, #001E4C); color: #ffffff; text-decoration: none;
}
.member__initials { font-family: var(--display); font-size: 96px; font-weight: 500; letter-spacing: -.04em; color: rgba(255, 255, 255, .18); }
.member__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s ease, transform .6s ease; }
.member:hover .member__photo { filter: grayscale(0); transform: scale(1.03); }
.member__plate {
	position: absolute; left: 10px; right: 10px; bottom: 10px;
	background: rgba(15, 28, 41, .72); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 12px 14px;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.member__name { margin: 0; font-size: 15px; font-weight: 600; }
.member__meta { margin: 3px 0 0; font-size: 12px; color: #d4d4d4; }
.member__photo { object-position: center 20%; }
.member__actions { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.member__book {
	flex: 1; display: inline-flex; justify-content: center; align-items: center;
	padding: 8px 10px; border-radius: 8px; background: #ffffff; color: var(--navy);
	font-size: 12px; font-weight: 500; text-decoration: none; transition: background-color .2s ease;
}
.member__book:hover { background: #e8eef3; color: var(--navy); }
.member__li {
	flex: none; width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .12); color: #ffffff; transition: background-color .2s ease;
}
.member__li:hover { background: rgba(255, 255, 255, .24); color: #ffffff; }
.anchor { display: block; position: relative; top: -120px; visibility: hidden; }
@media (max-width: 600px) { .member { margin-top: 0; } }

.podcast {
	margin: 48px auto 0; max-width: 760px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	background: var(--grey-bg); border-radius: 14px; padding: 18px 22px;
}
.podcast__text { margin: 0; font-size: 14px; color: var(--line-dark); }

/* Testimonials ----------------------------------------------------------- */
.quotes { background: var(--grey-bg); padding: 130px 0; }
.h-quotes { margin: 0 0 48px; text-align: center; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.03em; }
.h-quotes .serif { color: #737373; }
.quotes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: #ffffff; border-radius: 16px; padding: 30px; }
.quote__text { margin: 0; }
.quote__text p { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 400; line-height: 1.5; letter-spacing: -.01em; color: var(--navy); }
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__avatar {
	flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
	display: flex; align-items: center; justify-content: center;
	background: var(--navy); color: #ffffff; font-size: 12px; font-weight: 600;
}
.quote__name { display: block; font-size: 14px; font-weight: 600; }
.quote__role { display: block; font-size: 12px; color: #6b6b6b; }

/* Accreditation ---------------------------------------------------------- */
.accr { padding: 130px 0; }
.accr__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.accr__copy { flex: 1 1 460px; min-width: 0; }
.accr__text { margin: 20px 0 0; max-width: 500px; font-size: 16px; line-height: 1.65; color: var(--text); }
.accr__buttons { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.accr__panel { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; background: var(--grey-bg); border-radius: 18px; padding: 32px; }
.accr__panel-label { margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6b6b6b; }
.accr__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; background: #ffffff; border-radius: 12px; padding: 18px 20px; }
.accr__logos img { display: block; height: 52px; width: auto; max-width: 100%; object-fit: contain; }
.accr__panel-text { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text); }

/* Closing call to action ------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #ffffff; padding: 140px 0; }
.cta__shade {
	position: absolute; inset: 0; z-index: 0;
	background:
		linear-gradient(180deg, rgba(15, 28, 41, 0) 55%, var(--navy) 100%),
		linear-gradient(90deg, rgba(15, 28, 41, .85) 0%, rgba(15, 28, 41, .55) 70%, rgba(15, 28, 41, .4) 100%);
}
.cta__inner { position: relative; z-index: 1; }
.h-cta { margin: 20px 0 0; max-width: 860px; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 68px); letter-spacing: -.03em; line-height: 1.04; }
.h-cta .serif { color: #8a8a8a; }
.cta__text { margin: 22px 0 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: #bdbdbd; }
.cta__btn { margin-top: 34px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #ffffff; padding: 0 0 96px; font-size: 14px; }
.has-solid-header .site-footer { margin-top: 100px; padding-top: 60px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 36px; border-top: 1px solid var(--line-darker); }
.footer__brand img { display: block; height: 34px; width: auto; }
.footer__brand p { margin: 10px 0 0; line-height: 1.6; color: #a3a3a3; }
.footer__title { margin: 0 0 10px; font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: #8a8a8a; }
.footer__address { margin: 0 0 12px; line-height: 1.6; color: #d4d4d4; }
.footer__list { list-style: none; margin: 0; padding: 0; line-height: 1.8; }
.footer__list a { color: #a3a3a3; text-decoration: none; transition: color .2s ease; }
.footer__list a:hover { color: #ffffff; }
.footer__bottom { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: #8a94a3; }
.footer__credit { color: #C9D1DB; font-weight: 500; text-decoration: none; }
.footer__credit:hover { color: #ffffff; }

/* Floating "Book a call" pill ------------------------------------------- */
.pill-wrap { position: fixed; left: 0; right: 0; bottom: 18px; z-index: 40; display: flex; justify-content: center; pointer-events: none; }
.pill {
	pointer-events: auto; display: flex; align-items: center; gap: 12px;
	background: var(--navy); color: #ffffff; text-decoration: none;
	border: 1px solid var(--line-darker); border-radius: 999px; padding: 7px 7px 7px 18px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .3s ease;
}
.pill:has(.pill__faces) { padding-left: 8px; }
.pill:hover { transform: translateY(-2px); color: #ffffff; }
.pill__faces { display: flex; }
.pill__face {
	width: 32px; height: 32px; border-radius: 50%; overflow: hidden; border: 2px solid var(--navy);
	display: flex; align-items: center; justify-content: center;
	background: #9a9a9a; color: var(--navy); font-size: 10px; font-weight: 600;
}
.pill__face + .pill__face { margin-left: -10px; background: #d4d4d4; }
.pill__face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.pill__title { display: block; font-size: 13px; font-weight: 600; }
.pill__sub { display: block; font-size: 11px; color: #bdbdbd; }
.pill__icon { width: 36px; height: 36px; margin-left: 6px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--teal); color: var(--navy); transition: transform .3s ease; }
.pill:hover .pill__icon { transform: translateX(2px); }

/* "Book a call" window ------------------------------------------------- */
.book {
	width: min(100% - 32px, 460px); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 20px;
	background: #ffffff; color: var(--navy); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.book::backdrop { background: rgba(15, 28, 41, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.book[open] { animation: m2a-fade .3s ease both; }
.book__inner { position: relative; padding: 32px 28px 24px; }
.book__close {
	position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 10px;
	display: flex; align-items: center; justify-content: center; background: var(--grey-bg); color: var(--navy); cursor: pointer;
}
.book__close:hover { background: #e5e5e5; }
.book__title { margin: 0 40px 0 0; font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.book__text { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--text); }
.book__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.book__item {
	display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: 14px;
	background: var(--grey-bg); color: var(--navy); text-decoration: none; transition: background-color .2s ease;
}
.book__item:hover { background: #e8eef3; }
.book__face {
	flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
	display: flex; align-items: center; justify-content: center; background: var(--navy); color: #ffffff; font-size: 13px; font-weight: 600;
}
.book__face img { width: 100%; height: 100%; object-fit: cover; object-position: center top; background: #1F3B5C; }
.book__who { flex: 1; min-width: 0; }
.book__name { display: block; font-size: 15px; font-weight: 600; }
.book__sector { display: block; margin-top: 2px; font-size: 12px; color: #6b6b6b; }
.book__go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--teal); color: #ffffff; transition: transform .25s ease; }
.book__item:hover .book__go { transform: translateX(2px); }

/* Inner pages ------------------------------------------------------------ */
.page-hero { padding: 80px 0 40px; }
.page-hero__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 60px); letter-spacing: -.03em; line-height: 1.05; }
.prose { font-size: 17px; line-height: 1.7; color: var(--line-dark); }
.prose h2, .prose h3, .prose h4 { font-family: var(--display); font-weight: 500; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; margin: 1.8em 0 .5em; }
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 22px; }
.prose a { color: var(--navy); text-decoration-color: var(--teal); text-underline-offset: 3px; }
.prose img { height: auto; border-radius: 12px; }
.prose .btn { text-decoration: none; }
.post-summary { padding: 24px 0; border-bottom: 1px solid #e5e5e5; }
.post-summary h2 { margin: 0; }
.post-summary h2 a { text-decoration: none; }
.post-summary__date { margin: 6px 0 0; font-size: 13px; color: #6b6b6b; }

/* Animations ------------------------------------------------------------- */
@keyframes m2a-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes m2a-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes m2a-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes m2a-word { from { opacity: .16; } to { opacity: 1; } }
@keyframes m2a-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Headline words slide up on load. */
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.ri { display: inline-block; animation: m2a-up .95s cubic-bezier(.2, .75, .2, 1) both; }
.fade-in { animation: m2a-fade .8s ease-out both; }

/* Sections rise in as they scroll into view (Chrome, Edge, Safari 26+)… */
@supports (animation-timeline: view()) {
	.rv { animation: m2a-rise linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
	.statement__text { view-timeline-name: --stmt; }
	.w { animation: m2a-word linear both; animation-timeline: --stmt; }
}
/* …and with a small script fallback elsewhere (class added by main.js). */
html.io-reveal .rv { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
html.io-reveal .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ri, .fade-in, .rv, .w, .strip__track, .how__panel-item { animation: none !important; }
	html.io-reveal .rv { opacity: 1; transform: none; transition: none; }
	.lift:hover, .btn:hover, .pill:hover { transform: none; }
}


/* Unterseiten (Impressum, Datenschutz) – ergänzt bei der WordPress-Übernahme */
.m2a-page { padding: 64px 0 96px; line-height: 1.65; }
.m2a-page__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin: 0 0 32px; }
.m2a-page__content h2, .m2a-page__content h3 { font-weight: 500; line-height: 1.3; margin: 40px 0 12px; }
/* How it works: bei niedrigen Fenstern nicht über das Banner darüber ragen */
.how__sticky { align-items: safe center; padding-block: 48px; height: auto; min-height: 100vh; min-height: 100svh; max-height: none; }
@media (max-height: 880px) { .how__step { padding: 14px 0; } .how__intro { margin: 10px 0 20px; } .how__body p { margin-top: 8px; } }
/* Track record: Kennzahlen in einer Zeile (Desktop), 2x2 auf schmalen Bildschirmen */
@media (min-width: 761px) { .stats { flex-wrap: nowrap; } .stat { flex: 0 0 auto; padding: 0 clamp(14px, 1.6vw, 28px); } .stat__value { font-size: clamp(30px, 2.6vw, 40px); } }
@media (max-width: 760px) { .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; } .stat, .stat:first-child, .stat:last-child { padding: 0 0 0 16px; border-right: 0; border-left: 1px solid var(--line-dark); } }
/* Team: einzelne Kachel in der letzten Reihe mittig setzen (3-Spalten-Ansicht) */
@media (min-width: 972px) { .team > .member:last-child:nth-child(3n+1) { grid-column: 2; } }
.m2a-page__content a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
