/* Trinity Marketing Partners — main styles */
:root {
	--navy: #0B1A33;
	--navy-line: #24395E;
	--red: #B31942;
	--ink: #111114;
	--muted: #4A4F5A;
	--muted-2: #5A5F6B;
	--line: #D3D7DE;
	--line-2: #E3E6EB;
	--gray: #F4F6F9;
	--soft: #C9D3E3;
	--soft-2: #E3E8F0;
	--btn: #000000;
	--btn-hover: #262626;
	--grad-navy: linear-gradient(160deg, #1C3760 0%, #0B1A33 52%, #060E1D 100%);
	--grad-red: linear-gradient(160deg, #B31942 0%, #8A1234 50%, #560B21 100%);
	--serif: 'Playfair Display', Georgia, serif;
	--sans: 'DM Sans', Arial, sans-serif;
	--h2: clamp(34px, 3.8vw, 52px);
	--section-pad: 64px;
	--radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
main { flex: 1 0 auto; }
.entry-content figcaption { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted-2); text-align: center; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image { margin: 0 !important; width: auto !important; max-width: none !important; }
.entry-content .wp-block-gallery.has-nested-images > figcaption { grid-column: 1 / -1; }
@media (max-width: 560px) { .entry-content .wp-block-gallery.has-nested-images { grid-template-columns: 1fr; } }
a { color: var(--navy); }
a:hover { color: var(--red); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
em { font-style: italic; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; padding: 10px 16px; background: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--article { max-width: 760px; }
.section { padding: var(--section-pad) 0; }
.section-pad { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section--tight-top { padding-top: 48px; }
.section--gray { background: var(--gray); }
.dark { background: var(--grad-navy); color: #fff; }
.red { background: var(--grad-red); color: #fff; }
.dark a:not(.btn), .red a:not(.btn) { color: #fff; }

.stack-20, .stack-28, .stack-40, .stack-48, .stack-56 { display: flex; flex-direction: column; }
.stack-20 { gap: 20px; } .stack-28 { gap: 28px; } .stack-40 { gap: 40px; } .stack-48 { gap: 48px; } .stack-56 { gap: 56px; }

/* Type */
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--red); }
.eyebrow--soft { color: var(--soft); }
.eyebrow--white { color: #fff; }
.eyebrow--bar { padding-left: 14px; border-left: 5px solid var(--red); color: #fff; }
.h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.1; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: var(--h2); line-height: 1.12; color: var(--navy); text-wrap: balance; }
.dark .h2, .red .h2 { color: #fff; }
.h3 { font-size: 24px; line-height: 1.25; color: var(--navy); }
.dark .h3 { color: #fff; }
.body { font-size: 18px; line-height: 1.55; color: var(--muted); }
.dark .body { color: var(--soft-2); }
.red .body { color: #fff; }
.lede { font-size: 18px; line-height: 1.55; color: var(--muted); }
.dark .lede { color: var(--soft-2); }
.section-head .lede { max-width: 720px; }
.kicker { font-size: 15px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-2); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 16px; }
.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head--narrow { max-width: 900px; }
.section-head--wide { max-width: 900px; }
@media (min-width: 900px) { .one-line { white-space: nowrap; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px; border-radius: 999px; background: var(--btn); color: #fff; border: 2px solid var(--btn); font-family: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease; }
.btn:hover, .btn:focus-visible { color: #fff; background: var(--btn-hover); border-color: var(--btn-hover); transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 28px rgba(5, 11, 23, .28); }
.btn:active { transform: translateY(0) scale(.99); box-shadow: 0 4px 10px rgba(5, 11, 23, .2); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--md { min-height: 52px; padding: 0 28px; font-size: 17px; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 18px; }
.btn--center { align-self: center; }
.btn--outlined { border-color: #fff; }
.btn--outlined:hover { border-color: #fff; }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 12px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } html { scroll-behavior: auto; } }

.pill { display: inline-block; align-self: flex-start; border-radius: 999px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }
.pill--red { background: var(--red); color: #fff; font-size: 14px; padding: 8px 16px; }
.pill--sm { font-size: 12px; padding: 6px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line-2); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: Montserrat, Arial, sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 5px; color: var(--navy); }
.brand__sub { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--navy); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 600; }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--red); }
.site-nav__cta { margin-left: 8px; }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle__bar { display: block; height: 3px; border-radius: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
@media (max-width: 900px) {
	.nav-toggle { display: flex; }
	.site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: #fff; border-bottom: 1px solid var(--line-2); box-shadow: 0 18px 30px rgba(11, 26, 51, .12); display: none; }
	.nav-open .site-nav { display: flex; }
	.site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 18px; }
	.site-nav__cta { margin: 16px 0 0; }
	.nav-open .nav-toggle__bar:nth-child(2) { transform: translateY(10.5px) rotate(45deg); }
	.nav-open .nav-toggle__bar:nth-child(3) { opacity: 0; }
	.nav-open .nav-toggle__bar:nth-child(4) { transform: translateY(-10.5px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__inner { position: relative; display: flex; align-items: center; gap: 48px; padding-top: 96px; padding-bottom: 88px; }
.hero__copy { width: 64%; display: flex; flex-direction: column; gap: 22px; }
.hero__eyebrow { margin-bottom: 24px; font-size: 17px; font-weight: 600; letter-spacing: 8px; text-transform: uppercase; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.1; max-width: 780px; }
.hero__bar { width: 120px; height: 7px; background: var(--red); margin: 6px 0 4px; }
.hero__mark { width: 36%; display: flex; justify-content: center; }
.hero__mark svg { width: 580px; max-width: 130%; height: auto; opacity: .35; margin-right: -80px; }

/* Logo strip */
.logo-strip { border-bottom: 1px solid var(--line-2); }
.logo-strip__inner { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.logo-strip__label { font-size: 14px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--muted-2); }
.logo-strip img { display: block; width: auto; }
.logo-strip__logos { flex: 1 1 auto; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 40px; max-width: 900px; }
.logo-strip img[height="40"] { height: 40px; } .logo-strip img[height="44"] { height: 44px; } .logo-strip img[height="60"] { height: 60px; } .logo-strip img[height="32"] { height: 32px; } .logo-strip img[height="34"] { height: 30px; }
.logo-black { filter: brightness(0); }

/* Problem / fix */
.pf { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pf__col { width: 50%; padding: 40px 44px; display: flex; flex-direction: column; }
.pf__label { margin-bottom: 12px; font-size: 26px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--red); }
.pf__col--fix { background: linear-gradient(160deg, #24457A 0%, #0B1A33 55%, #050B17 100%); }
.pf__col--fix .pf__label { color: #fff; }
.pf__item { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.pf__col--fix .pf__item { border-top-color: var(--navy-line); }
.pf__num { width: 52px; flex: none; font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--red); line-height: 1.2; }
.pf__col--fix .pf__num { color: #8FA3C2; }
.pf .h3 { font-size: 26px; }
.pf .body { margin-top: 6px; }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--340 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--440 { grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); }

/* Results */
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.client-tile { height: 128px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; padding: 16px 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.client-tile img { display: block; max-width: 100%; width: auto; object-fit: contain; }
.client-tile--case { border: 2px solid var(--red); }
@media (min-width: 1100px) { .client-grid { grid-template-columns: repeat(5, 1fr); } .client-tile { padding: 16px 20px; } }
.client-tile a { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--red); text-decoration: none; }
.divider-head { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.divider-head h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; color: var(--navy); white-space: nowrap; }
.divider-head span { flex: 1; height: 2px; background: var(--red); }
.case { display: flex; flex-direction: column; gap: 18px; padding: 40px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--red); border-radius: var(--radius); box-shadow: 0 14px 36px rgba(11, 26, 51, .10); }
.case__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case__top img { display: block; width: 170px; height: 72px; object-fit: contain; object-position: left center; }
.case__title { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.2; color: var(--navy); }
.stats { display: flex; gap: 32px; padding-top: 8px; margin-top: auto; }
.stat { flex: 1; border-top: 3px solid var(--navy); padding-top: 14px; color: var(--muted-2); }
.stat__num { font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.stat--red { border-top-color: var(--red); }
.stat--red .stat__num { color: var(--red); }
.stat p + p { margin-top: 4px; }

/* Difference */
.card { display: flex; flex-direction: column; gap: 16px; padding: 40px 36px; background: #fff; color: var(--ink); border-radius: var(--radius); }
.card--accent { border-top: 6px solid var(--red); }
.dark .card .h3 { color: var(--navy); }
.dark .card .body { color: var(--muted); }
.card__num { font-family: var(--serif); font-style: italic; font-size: 48px; line-height: 1; color: var(--red); }
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 24px 28px; border: 1px solid var(--navy-line); border-radius: 16px; }
.callout svg { flex: none; }
.callout p { flex: 1 1 400px; font-size: 18px; line-height: 1.5; color: var(--soft-2); }
.callout b { color: #fff; }
.callout a { font-weight: 700; font-size: 17px; }

/* Services */
.svc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-auto-rows: 192px; gap: 16px; }
.svc-label { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #2A4E87 0%, #0B1A33 60%, #050B17 100%); border-radius: 12px; font-size: 20px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; }
.svc { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 24px; border: 1px solid #fff; border-radius: 12px; }
.svc__icon { display: block; height: 30px; }
.svc__icon--lg { margin: -5px 0 -5px -3px; height: 40px; }
.svc__title { margin-top: 4px; font-size: 20px; }

/* In-house roles */
.role { display: flex; flex-direction: column; gap: 14px; padding: 40px 40px 36px; background: #fff; color: var(--ink); border-radius: var(--radius); border-top: 6px solid var(--red); }
.role__title { font-size: 24px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.role__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; min-height: 64px; }
.role__brand img { display: block; width: auto; }
.role__brand--text { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1; color: var(--navy); gap: 12px; }
.role__brand--text span { font-size: 24px; font-style: italic; color: var(--muted-2); }
.dark .role .body { color: var(--muted); }
.role__award { margin-top: auto; align-self: flex-start; padding: 12px 24px; font-size: 21px; font-weight: 700; color: var(--navy); background: #EEF1F6; border-radius: 999px; }

/* Approach */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.step__num { font-size: 14px; font-weight: 700; color: var(--navy); }
.step .h3 { font-size: 22px; }
.step--first { border: 2px solid var(--red); }
.step--first .step__num, .step--first .h3 { color: var(--red); }
.step--first .pill { margin-top: auto; }
.step--last { border: 0; background: var(--grad-navy); color: #fff; }
.step--last .h3 { color: #fff; }
.step--last .step__num, .step--last .body { color: var(--soft); }

/* Compare */
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 17px; }
.cmp th, .cmp td { padding: 16px 12px; text-align: center; }
.cmp thead th { color: var(--soft); font-weight: 600; }
.cmp thead th:first-child { text-align: left; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }
.cmp tbody tr { border-top: 1px solid var(--navy-line); }
.cmp tbody th { text-align: left; font-weight: 600; }
.cmp td { color: var(--soft); }
.cmp .cmp__us { background: var(--red); color: #fff; font-weight: 700; }
.cmp thead .cmp__us { border-radius: 12px 12px 0 0; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.cmp tbody tr:last-child .cmp__us { border-radius: 0 0 12px 12px; }

/* Insights */
.insights-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-card__media { display: block; height: 280px; background: var(--navy); }
.post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.post-card__body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 12px; }
.post-card__label { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); }
.post-card__title { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.25; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a:hover { color: var(--red); }
.newsletter { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 28px 32px; background: var(--gray); border-radius: 16px; }
.newsletter__label { flex: 1 1 280px; font-weight: 700; font-size: 18px; color: var(--navy); }
.newsletter__form, .newsletter__embed { flex: 2 1 420px; display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter__form input { flex: 1 1 240px; min-height: 48px; padding: 0 16px; border: 1px solid #8A8F99; border-radius: 10px; font: inherit; font-size: 16px; }
.newsletter__form .btn { min-height: 48px; padding: 0 26px; font-size: 16px; }

/* About */
.about__inner { display: flex; gap: 64px; align-items: center; }
.about { background: linear-gradient(135deg, #1C3760 0%, #0B1A33 48%, #060E1D 100%); }
.about__photos { width: 40%; position: relative; padding-bottom: 40px; }
.about__portrait { display: block; width: 100%; aspect-ratio: 31 / 38; object-fit: cover; object-position: center 30%; border-radius: 16px; }
.about__inset { position: absolute; right: -28px; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; object-position: center 22%; border: 6px solid #fff; border-radius: 50%; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.about__copy { width: 60%; display: flex; flex-direction: column; gap: 18px; }
.about__name { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; }
.about__role { font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--soft); }
.about__bio { margin-top: 6px; font-size: 19px; line-height: 1.6; }
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; padding-top: 10px; }
.cred { border-left: 4px solid var(--red); padding-left: 14px; }
.cred__title { font-weight: 700; font-size: 18px; }
.cred__sub { margin-top: 2px; font-size: 15px; color: var(--soft); }
.partners { display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.partners svg { flex: none; }
.partners p { font-size: 17px; font-style: italic; line-height: 1.45; color: var(--soft); }
.partners b { font-style: normal; color: #fff; }
.about .btn { align-self: flex-start; margin-top: 8px; }

/* Contact */
.contact__bar { width: 96px; height: 5px; background: #fff; }
.contact__title { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 72px); line-height: 1.08; max-width: 900px; }
.contact__lede { font-size: 20px; line-height: 1.5; max-width: 680px; }
.contact__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.contact__links a:not(.btn) { font-weight: 600; font-size: 18px; }

/* Testimonials */
.quote { margin: 0; display: flex; flex-direction: column; gap: 20px; padding: 40px; background: var(--gray); border-radius: var(--radius); border-left: 6px solid var(--red); }
.quote__mark { font-family: var(--serif); font-size: 72px; line-height: .6; color: var(--red); }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.45; color: var(--navy); }
.quote figcaption { display: flex; align-items: center; gap: 16px; font-size: 16px; color: var(--muted); }
.quote figcaption img { width: auto; }
.quote figcaption b { color: var(--navy); }

/* Footer */
.site-footer { background: linear-gradient(180deg, #0B1A33 0%, #050B17 100%); color: var(--soft); }
.site-footer__inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; }
.site-footer__values { font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #fff; }
.site-footer a { color: var(--soft); }
.site-footer a:hover { color: #fff; }

/* Page hero (Insights, pages, 404) */
.page-hero__inner { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.page-hero .lede { max-width: 720px; }

/* Article */
.article__header .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.article__header .eyebrow a { text-decoration: none; }
.article__meta { color: var(--soft); font-size: 16px; }
.article__image { margin-top: 48px; }
.article__image img { display: block; width: 100%; border-radius: 16px; }
.entry-content { padding-top: 40px; padding-bottom: 24px; font-size: 19px; line-height: 1.7; color: #22252B; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.8em; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.2; color: var(--navy); }
.entry-content h3 { margin-top: 1.6em; font-size: 24px; color: var(--navy); }
.entry-content a { color: var(--red); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin-left: 0; padding-left: 20px; border-left: 4px solid var(--red); font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--navy); }
.article__footer { padding-bottom: var(--section-pad); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags a { padding: 6px 14px; border-radius: 999px; background: var(--gray); color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; }
.tags a:hover { background: var(--line-2); }
.article__nav { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-weight: 700; }
.article__nav a { text-decoration: none; }
.nav-links { display: flex; gap: 16px; justify-content: center; font-weight: 700; }
.nav-links .page-numbers { padding: 6px 12px; }
.nav-links .current { color: var(--red); }

/* Responsive */
@media (max-width: 900px) {
	.hero__mark { display: none; }
	.hero__copy { width: 100%; }
	.pf, .about__inner { flex-direction: column; }
	.pf__col, .about__photos, .about__copy { width: 100%; }
	.about__photos { max-width: 480px; margin: 0 auto; }
	.about__copy { align-self: stretch; }
}
@media (max-width: 560px) {
	:root { --section-pad: 48px; }
	.hero__inner { padding-top: 64px; padding-bottom: 64px; }
	.hero__eyebrow { letter-spacing: 5px; margin-bottom: 8px; }
	.grid--300, .grid--320, .grid--340, .grid--440 { grid-template-columns: minmax(0, 1fr); }
	.one-line { white-space: normal; }
	.pf__col { padding: 32px 24px; }
	.pf__label { font-size: 22px; }
	.pf .h3 { font-size: 22px; }
	.case, .role, .card { padding: 32px 24px; }
	.stats { gap: 16px; }
	.case__top { flex-wrap: wrap; }
	.case__top img { width: 150px; height: 60px; }
	.svc-row { grid-auto-rows: auto; }
	.svc-label { min-height: 72px; }
	.svc { min-height: 150px; }
	.stat__num { font-size: 32px; }
	.role__award { font-size: 17px; padding: 10px 18px; }
	.about__inset { right: 8px; }
	.divider-head h3 { font-size: 26px; white-space: normal; }
	.btn--lg { padding: 0 26px; font-size: 17px; }
	.btn-row .btn { width: 100%; }
	.newsletter { padding: 24px 20px; }
	.site-footer__inner { flex-direction: column; }
	.page-hero__inner, .article__header .wrap { padding-top: 48px; padding-bottom: 48px; }
	.entry-content { font-size: 18px; }
}


/* Phone refinements */
@media (max-width: 560px) {
	.cmp { min-width: 0; font-size: 13px; table-layout: fixed; }
	.cmp th, .cmp td { padding: 12px 4px; }
	.cmp thead th { font-size: 12px; line-height: 1.25; vertical-align: bottom; }
	.cmp thead th:first-child { width: 34%; font-size: 10px; letter-spacing: 1.5px; }
	.cmp thead .cmp__us { letter-spacing: 1px; font-size: 11px; }
	.cmp tbody th { font-size: 13px; line-height: 1.3; }
	.cmp-wrap { overflow-x: visible; }
	.svc-row { grid-template-columns: 1fr 1fr; gap: 10px; }
	.svc-label { grid-column: 1 / -1; min-height: 52px; font-size: 16px; }
	.svc { min-height: 0; padding: 16px 14px; gap: 6px; }
	.svc__title { font-size: 16px; line-height: 1.25; }
	.svc .body { font-size: 14px; line-height: 1.4; }
	.svc__icon { height: 26px; } .svc__icon svg { width: 26px; height: 26px; }
	.svc__icon--lg { margin: 0; height: 30px; } .svc__icon--lg svg { width: 32px; height: 32px; }
	.role__award { border-radius: 16px; }
}

@media (max-width: 560px) {
	.logo-strip__inner { gap: 14px; }
	.logo-strip__label { width: 100%; font-size: 12px; letter-spacing: 3px; }
	.logo-strip__logos { width: 100%; gap: 10px; }
	.logo-strip img[height="40"] { height: 21px; } .logo-strip img[height="44"] { height: 25px; } .logo-strip img[height="60"] { height: 34px; } .logo-strip img[height="32"] { height: 15px; } .logo-strip img[height="34"] { height: 16px; }
	.about__photos { width: 67%; max-width: 300px; margin: 0 auto; }
	.about__inset { width: 50%; right: -24px; border-width: 4px; }
}
/* Logo artwork (e.g. Step 47): show the whole mark, never crop it. */
.post-card__media img[src*="lockup"] { object-fit: contain; object-position: center; }

/* One size for every section headline on phones, with balanced line breaks */
@media (max-width: 560px) { .h2 { font-size: 32px; line-height: 1.15; } .eyebrow { font-size: 13px; letter-spacing: 3px; } }

/* Contact form */
.contact-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(5, 11, 23, .45); overflow: auto; }
.contact-dialog::backdrop { background: rgba(5, 11, 23, .7); backdrop-filter: blur(3px); }
.contact-dialog > .contact-form, .contact-dialog > .contact-form__thanks { padding: 32px 40px 28px; border-top: 6px solid var(--red); }
.contact-dialog__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gray); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; }
.contact-dialog__close:hover { background: var(--line-2); }
.contact-card { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--red); border-radius: var(--radius); padding: 40px; box-shadow: 0 14px 36px rgba(11, 26, 51, .10); }
.contact-form, .contact-form__thanks { display: flex; flex-direction: column; gap: 10px; }
.contact-form__title { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; color: var(--navy); padding-right: 40px; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 6px; }
.contact-form__grid p { display: flex; flex-direction: column; gap: 6px; }
.contact-form__full { grid-column: 1 / -1; }
.contact-form label { font-size: 14px; font-weight: 700; color: var(--navy); }
.contact-form label span { color: var(--red); }
.contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #8A8F99; border-radius: 10px; font: inherit; font-size: 16px; line-height: 1.45; color: var(--ink); resize: vertical; min-height: 70px; }
.contact-form textarea:focus { outline: 3px solid rgba(11, 26, 51, .25); border-color: var(--navy); }
.contact-form input, .contact-form select { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #8A8F99; border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.contact-form input:focus, .contact-form select:focus { outline: 3px solid rgba(11, 26, 51, .25); border-color: var(--navy); }
.contact-form .btn { align-self: flex-start; margin-top: 6px; min-height: 52px; }
.contact-form__fine { font-size: 14px; color: var(--muted-2); }
.contact-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__thanks .btn { align-self: flex-start; margin-top: 8px; }
.page-hero .lede a { color: #fff; font-weight: 700; }
@media (max-width: 560px) {
	.contact-form__grid { grid-template-columns: 1fr; }
	.contact-dialog > .contact-form, .contact-dialog > .contact-form__thanks { padding: 36px 22px 28px; }
	.contact-card { padding: 28px 20px; }
	.contact-form .btn { align-self: stretch; }
}

.contact-form__logo { display: block; width: 40px; height: 40px; }

/* ---------- v1.3: ICP segments ---------- */
.hero__sub { max-width: 600px; font-size: 20px; line-height: 1.5; color: var(--soft-2); }
.paths { display: grid; grid-template-columns: max-content; gap: 12px; padding-top: 10px; }
.path { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.path:hover, .path:focus-visible { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.path__tag { font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #fff; padding: 5px 10px; border-radius: 999px; background: var(--red); }
.path__text { font-size: 16px; color: var(--soft-2); }
.path__arrow { color: var(--soft); transition: transform .2s ease; }
.path:hover .path__arrow { transform: translateX(3px); }

.segs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.seg { display: flex; flex-direction: column; padding: 40px 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; scroll-margin-top: 96px; }
.seg--dark { border-color: transparent; background: linear-gradient(160deg, #24457A 0%, #0B1A33 55%, #050B17 100%); }
.seg__head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 24px; }
.seg__tag { font-size: 26px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--red); }
.seg--dark .seg__tag { color: #fff; }
.seg__for { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--navy); }
.seg--dark .seg__for { color: var(--soft); }
.seg__ask { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-2); padding-bottom: 4px; }
.seg--dark .seg__ask { color: #8FA3C2; }
.seg__qs { list-style: none; margin: 0; padding: 0; }
.seg__qs li { padding: 18px 0; border-top: 1px solid var(--line-2); }
.seg--dark .seg__qs li { border-top-color: var(--navy-line); }
.seg__q { font-size: 22px; line-height: 1.3; color: var(--navy); }
.seg--dark .seg__q { color: #fff; }
.seg__qs .body { margin-top: 4px; font-size: 17px; }
.seg__foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.seg--dark .seg__foot { border-top-color: var(--navy-line); }
.seg__how { font-size: 17px; line-height: 1.55; color: var(--muted); }
.seg__how b { color: var(--navy); }
.seg--dark .seg__how { color: var(--soft-2); }
.seg--dark .seg__how b { color: #fff; }

.kicker__seg { color: var(--red); }

.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.faq__head { position: sticky; top: 110px; align-items: flex-start; }
.faq__head .btn { margin-top: 8px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 20px; line-height: 1.35; font-weight: 700; color: var(--navy); }
.faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .2s ease, border-color .2s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--red); border-color: var(--red); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item summary:hover .faq__q { color: var(--red); }
.faq__item .body { padding: 0 52px 24px 0; font-size: 17px; }

@media (max-width: 900px) {
	.segs { grid-template-columns: 1fr; }
	.faq { grid-template-columns: 1fr; gap: 32px; }
	.faq__head { position: static; }
}
@media (max-width: 560px) {
	.hero__sub { font-size: 17px; }
	.paths { grid-template-columns: 1fr; }
	.path { width: 100%; padding: 12px 14px; gap: 12px; }
	.path__text { font-size: 15px; flex: 1; }
	.seg { padding: 28px 22px; }
	.seg__tag { font-size: 22px; }
	.seg__for { font-size: 19px; }
	.seg__q { font-size: 19px; }
	.seg__qs .body, .seg__how { font-size: 16px; }
	.faq__q { font-size: 17px; }
	.faq__item .body { padding-right: 0; font-size: 16px; }
}

/* v1.3.1: clearer hero paths, aligned segment cards */
.paths-wrap { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.paths__label { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--soft); }
.paths { padding-top: 0; }
.path__text { font-size: 16px; color: var(--soft-2); }
.path__text b { color: #fff; font-weight: 700; margin-right: 4px; }
@media (min-width: 901px) {
	.segs { grid-template-rows: repeat(7, auto); row-gap: 0; }
	.seg { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
	.seg__qs { display: contents; }
	.seg__qs li { display: flex; flex-direction: column; }
	.seg__foot { margin-top: 0; align-self: end; }
}
.path { justify-content: space-between; }
