/*
Theme Name: Best of Indianapolis
Author: Site Team
Theme URI: https://bestofindianapolis.net/
Description: Custom theme for Best of Indianapolis: local answers from the businesses who do the work. Hand-drawn Indy map design, Newsreader + Mulish, navy and red from the logo.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: boi
License: Proprietary
*/

:root {
	--ink: #1F2A5C;
	--ink-soft: #4A5370;
	--red: #C8102E;
	--red-dark: #A30D25;
	--sky: #E8F1FB;
	--sky-2: #F3F8FD;
	--sun: #F5C518;
	--line: #D5DDE5;
	--paper: #FFFFFF;
	--radius: 8px;
	--wrap: 1200px;
	--gutter: 24px;
	--display: "Newsreader", Georgia, "Times New Roman", serif;
	--body: "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;
	--swash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C55 5 120 4.2 180 5.6c40 .9 80 2.6 116 5.4' fill='none' stroke='%23F5C518' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons, chips, tags ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--body); font-weight: 700; font-size: .95rem; line-height: 1;
	padding: 14px 22px; border-radius: 6px; border: 1.5px solid var(--red);
	background: var(--red); color: #fff; text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--red); }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--sm { padding: 10px 16px; font-size: .875rem; }
.arrow::after { content: "\2192"; display: inline-block; margin-left: 6px; transition: transform .2s; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }
.tag {
	display: inline-block; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700;
	letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; line-height: 1.3;
}
.tag--red { background: var(--red); }
.eyebrow { font-family: var(--body); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

/* hand-drawn swash under headings */
.swash { display: inline; background-image: var(--swash); background-repeat: no-repeat; background-size: 100% .38em; background-position: 0 100%; padding-bottom: .12em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.site-logo { flex: 0 0 auto; display: block; }
.site-logo img { width: 300px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 6px; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-category-ancestor > a { color: var(--red); }
.main-nav .sub-menu { display: none; }
.header-cta { flex: 0 0 auto; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 6px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Section frame ---------- */
.section { padding: 72px 0; }
.section--sky { background: var(--sky); }
.section-head { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.4rem); margin: 0; }
.section-head p { margin: 0; color: var(--ink-soft); font-family: var(--display); font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 100%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 24px; padding: 56px 0 60px; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 24px; }
.hero__sub { font-family: var(--display); font-size: 1.22rem; line-height: 1.55; color: var(--ink); max-width: 33rem; margin-bottom: 28px; }
.search-bar { display: flex; max-width: 540px; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(31,42,92,.07); }
.search-bar label { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.search-bar svg { width: 20px; height: 20px; color: var(--ink-soft); flex: 0 0 auto; }
.search-bar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1rem; color: var(--ink); padding: 16px 0; background: transparent; min-width: 0; }
.search-bar input::placeholder { color: #737a92; }
.search-bar button { border: 0; background: var(--red); color: #fff; font: inherit; font-weight: 700; padding: 0 28px; cursor: pointer; }
.search-bar button:hover { background: var(--red-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 6px; padding: 8px 12px; color: var(--ink); text-decoration: none; font-size: .86rem; font-weight: 600; transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip svg { width: 18px; height: 18px; color: var(--ink); flex: 0 0 auto; }
.hero__map { position: relative; margin-right: -40px; }
.hero__map img { width: 100%; height: auto; mix-blend-mode: multiply; }
.map-label { position: absolute; transform: translate(-50%, -50%); background: #fff; border: 2px solid var(--ink); border-radius: 4px; padding: 3px 9px; font-family: var(--body); font-weight: 800; font-size: clamp(.62rem, 1vw, .82rem); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); transition: transform .2s; }
a.map-label:hover { color: var(--red); border-color: var(--red); box-shadow: 2px 2px 0 var(--red); }

/* ---------- Topic cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,42,92,.08); }
.topic-card__img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.topic-card__body { padding: 18px 18px 8px; }
.topic-card h3 { font-size: 1.32rem; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.topic-card h3 a { color: var(--ink); text-decoration: none; }
.topic-card h3 a:hover { color: var(--red); }
.topic-card h3 svg { width: 22px; height: 22px; color: var(--red); flex: 0 0 auto; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { border-top: 1px solid var(--line); }
.link-list li:first-child { border-top: 0; }
.link-list a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.4; }
.link-list a:hover { color: var(--red); }

/* ---------- Questions ---------- */
.q-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.q-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,42,92,.08); color: var(--ink); }
.q-card__top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.q-card__top svg { width: 40px; height: 40px; flex: 0 0 auto; color: var(--ink); }
.q-card:nth-child(even) .q-card__top svg { color: var(--red); }
.q-card h3 { font-size: 1.12rem; line-height: 1.25; margin: 0; }
.q-card p { font-family: var(--display); font-size: 1rem; color: var(--ink-soft); margin: 0 0 16px; flex: 1; }
.q-card .label { font-size: .8rem; font-weight: 800; color: var(--ink); }
.q-card:nth-child(even) .label { color: var(--red); }

/* ---------- Experts ---------- */
.expert-card { padding: 26px 20px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.expert-card__logo { height: 92px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.expert-card__logo img { max-height: 84px; max-width: 80%; width: auto; object-fit: contain; }
.expert-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.expert-card .meta { font-size: .85rem; color: var(--ink-soft); margin-bottom: 10px; }
.expert-card .foot { border-top: 1px solid var(--line); width: 100%; margin-top: auto; padding-top: 14px; }
.expert-card .foot a { font-weight: 700; font-size: .92rem; text-decoration: none; }
.expert-card .tag { margin-bottom: 16px; }
.invite-card { border: 2px dashed var(--ink); background: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.invite-card svg { width: 84px; height: 72px; color: var(--ink); margin-bottom: 10px; }
.invite-card h3 { font-size: 1.4rem; margin: 0; }
.invite-card p { color: var(--ink-soft); margin: 0 0 14px; }

/* ---------- Promise band ---------- */
.promise { background: var(--sky); padding: 30px 0; }
.promise__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.promise__list li { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 20px; }
.promise__list li + li { border-left: 1.5px solid rgba(31,42,92,.35); }
.promise__list svg { width: 48px; height: 48px; flex: 0 0 auto; color: var(--ink); }
.promise__list strong { font-family: var(--display); font-size: 1.28rem; line-height: 1.25; font-weight: 700; }

/* ---------- Latest ---------- */
.latest { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 36px; }
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: stretch; }
.feature__img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.feature__body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.feature__body h3 { font-size: 1.6rem; line-height: 1.15; }
.feature__body h3 a, .mini h3 a { color: var(--ink); text-decoration: none; }
.feature__body h3 a:hover, .mini h3 a:hover { color: var(--red); }
.feature__body p { font-family: var(--display); color: var(--ink-soft); font-size: 1rem; }
.feature__body .more, .mini .more { font-weight: 700; font-size: .9rem; text-decoration: none; }
.latest__list { border-left: 1px solid var(--line); padding-left: 32px; display: flex; flex-direction: column; }
.mini { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.mini:first-child { border-top: 0; padding-top: 0; }
.mini img { width: 132px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.mini h3 { font-size: 1.05rem; line-height: 1.25; margin-bottom: 6px; }
.thumb-fallback { background: var(--sky) url("assets/images/footer-skyline.webp") center / cover; }

/* ---------- Featured CTA band ---------- */
.cta-band { position: relative; padding: 0; overflow: hidden; }
.cta-band__inner { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; text-align: center; background-image: url("assets/images/cta-band.webp"); background-size: cover; background-position: center; border-radius: 0; }
.cta-band__content { max-width: 560px; padding: 44px 20px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.cta-band p { font-family: var(--display); font-size: 1.1rem; margin-bottom: 18px; }
.cta-band small { display: block; margin-top: 14px; color: var(--ink-soft); font-size: .82rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 52px 0 28px; }
.site-footer a { color: #E6EAF5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(6, 1fr); gap: 26px; }
.footer-brand img.logo-white { width: 230px; filter: brightness(0) invert(1); }
.footer-brand .skyline { width: 230px; margin-top: 14px; opacity: .9; mix-blend-mode: lighten; }
.footer-col h2 { color: #fff; font-family: var(--body); font-size: .95rem; font-weight: 800; margin: 0 0 10px; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 6px; font-size: .85rem; line-height: 1.35; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: #C9D1E3; }

/* ---------- Archive / listing ---------- */
.page-hero { background: var(--sky); padding: 48px 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 10px; }
.page-hero p { font-family: var(--display); font-size: 1.15rem; color: var(--ink-soft); max-width: 46rem; margin: 0; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; }
.post-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); text-decoration: none; margin-bottom: 8px; }
.post-card h2, .post-card h3 { font-size: 1.22rem; line-height: 1.22; margin-bottom: 8px; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--red); }
.post-card p { font-size: .93rem; color: var(--ink-soft); margin-bottom: 12px; flex: 1; }
.post-card .date { font-size: .8rem; color: var(--ink-soft); }
.pagination { margin-top: 44px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 700; background: #fff; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { text-align: center; padding: 40px 0; }

/* ---------- Single guide ---------- */
.article-hero { background: var(--sky); padding: 44px 0 0; }
.article-hero__inner { max-width: 860px; margin: 0 auto; }
.article-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.08; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .88rem; color: var(--ink-soft); padding-bottom: 28px; }
.article-figure { max-width: 1000px; margin: 0 auto; position: relative; top: 0; }
.article-figure img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; max-width: 1100px; margin: 0 auto; padding: 44px 0 72px; }
.entry-content { font-size: 1.08rem; line-height: 1.75; min-width: 0; }
.entry-content > * { max-width: 70ch; }
.entry-content h2 { font-size: 1.85rem; margin: 1.6em 0 .55em; }
.entry-content h3 { font-size: 1.38rem; margin: 1.4em 0 .5em; }
.entry-content h4 { font-size: 1.15rem; margin: 1.3em 0 .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--red); }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--sun); font-family: var(--display); font-size: 1.2rem; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--sky); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content iframe { max-width: 100%; }
.entry-content a { font-weight: 600; }
.answer-box { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 2em; }
.answer-box .eyebrow { display: block; margin-bottom: 6px; }
.answer-box p { font-family: var(--display); font-size: 1.15rem; line-height: 1.55; margin: 0; }
.sidebar { position: relative; }
.sidebar__sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.side-box h2 { font-size: 1.15rem; margin-bottom: 10px; }
.side-box--sky { background: var(--sky); border-color: var(--sky); }
.side-box--expert { border: 2px solid var(--ink); }
.side-box--expert img { max-height: 70px; width: auto; margin: 8px 0 12px; }
.side-box p { font-size: .92rem; color: var(--ink-soft); }
.disclosure { font-size: .84rem; color: var(--ink-soft); background: var(--sky-2); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; margin: 0 0 1.6em; }
.related { background: var(--sky); padding: 60px 0; }
.related .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tags-row { margin-top: 2em; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Plain pages ---------- */
.page-content { max-width: 820px; margin: 0 auto; padding: 48px 0 80px; }
.page-content > .entry-content > * { max-width: none; }

/* ---------- Search form on inner pages ---------- */
.search-bar--inline { margin-top: 20px; }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	.card, .q-card, .btn, .chip { transition: none !important; }
	.card:hover, .q-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.site-logo img { width: 240px; }
	.main-nav a { padding: 10px 8px; font-size: .9rem; }
	.footer-grid { grid-template-columns: repeat(4, 1fr); }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.header-cta { display: none; }
	.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; margin: 0; padding: 8px var(--gutter) 18px; box-shadow: 0 12px 24px rgba(31,42,92,.08); }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
	.main-nav .mobile-cta { display: block; margin-top: 14px; }
	.hero__grid { grid-template-columns: 1fr; padding: 40px 0 36px; }
	.hero__map { margin: 0 -10px; order: 2; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.latest { grid-template-columns: 1fr; }
	.latest__list { border-left: 0; padding-left: 0; }
	.article-wrap { grid-template-columns: 1fr; gap: 32px; }
	.sidebar__sticky { position: static; }
	.post-grid, .related .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.promise__list { grid-template-columns: 1fr; gap: 10px; }
	.promise__list li { justify-content: flex-start; }
	.promise__list li + li { border-left: 0; border-top: 1.5px solid rgba(31,42,92,.2); padding-top: 14px; }
}
@media (min-width: 961px) { .main-nav .mobile-cta { display: none; } }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 640px) {
	:root { --gutter: 16px; }
	body { font-size: 1rem; }
	.section { padding: 48px 0; }
	.site-header__inner { min-height: 64px; }
	.site-logo img { width: 200px; }
	.section-head { gap: 8px; margin-bottom: 22px; }
	.hero__sub { font-size: 1.08rem; }
	.search-bar button { padding: 0 18px; }
	.grid-4, .post-grid, .related .post-grid { grid-template-columns: 1fr; }
	.feature { grid-template-columns: 1fr; }
	.feature__img { min-height: 200px; aspect-ratio: 16 / 9; }
	.mini { grid-template-columns: 104px 1fr; }
	.mini img { width: 104px; }
	.map-label { font-size: .58rem; padding: 2px 6px; box-shadow: 1px 1px 0 var(--ink); }
	.cta-band__inner { min-height: 0; background-size: auto 100%; }
	.cta-band__content { background: rgba(232,241,251,.88); border-radius: 10px; margin: 24px 16px; padding: 26px 18px; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.article-hero h1 { font-size: 2rem; }
	.entry-content { font-size: 1.02rem; }
}

/* ===== Fidelity pass 1 ===== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
.section-head h2 { font-size: clamp(2.1rem, 3.6vw, 2.8rem); letter-spacing: -0.025em; }
.section-head p { font-size: 1.15rem; }
.hero { background: #E4EEF7; }
.hero__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.25fr); gap: 8px; padding: 36px 0 34px; }
.hero h1 { font-size: clamp(3rem, 6.6vw, 5.8rem); margin-bottom: 20px; }
.hero__sub { font-size: 1.32rem; }
.hero__map { margin-right: -96px; margin-left: -30px; }
.hero__map img { mix-blend-mode: normal; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%); }
.map-label { font-size: clamp(.68rem, 1.3vw, 1.12rem); padding: 4px 10px; letter-spacing: .04em; box-shadow: none; border-width: 2px; border-radius: 3px; line-height: 1.1; }
.search-bar { max-width: 560px; }
.search-bar input { font-size: 1.05rem; padding: 18px 0; }
.chip { font-size: .92rem; padding: 10px 14px; }
.chip svg { width: 22px; height: 22px; }
.topic-card h3 { font-size: 1.5rem; }
.link-list a { font-family: var(--display); font-size: 1.02rem; }
.q-card h3 { font-size: 1.32rem; }
.q-card p { font-size: 1.1rem; }
.q-card__top svg { width: 52px; height: 52px; stroke-width: 2; }
.q-card .label { font-size: .9rem; }
.expert-card h3 { font-size: 1.42rem; }
.expert-card .meta { font-size: .95rem; }
.expert-card .foot a { font-size: 1.02rem; }
.invite-card h3 { font-size: 1.6rem; }
.invite-card p { font-size: 1.05rem; }
.invite-card .btn { font-size: 1rem; padding: 12px 20px; }
.promise { padding: 46px 0; }
.promise__list svg { width: 64px; height: 64px; stroke-width: 1.4; }
.promise__list strong { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; max-width: 15ch; display: block; }
.feature__body h3 { font-size: 1.9rem; }
.mini h3 { font-size: 1.2rem; }
.cta-band__inner { min-height: 420px; background-position: center 50%; background-size: 100% auto; background-color: #FBFCFE; }
.cta-band__content { max-width: 760px; }
.cta-band h2 { font-size: clamp(1.9rem, 3.1vw, 2.6rem); white-space: nowrap; }
.cta-band p { font-size: 1.2rem; max-width: 30rem; margin-left: auto; margin-right: auto; }
.footer-brand img.logo-white { filter: none; }
.footer-col h2 { font-family: var(--display); font-size: 1.1rem; font-weight: 700; }
.footer-col li { font-family: var(--display); font-size: .98rem; }
@media (max-width: 1200px) { .cta-band__inner { background-size: cover; } }
@media (max-width: 960px) { .hero__map { margin: 0 -16px; } .cta-band h2 { white-space: normal; } }
@media (max-width: 640px) { .hero h1 { font-size: 3rem; } .map-label { font-size: .6rem; padding: 2px 5px; } .cta-band__inner { min-height: 0; } }

/* ===== Fidelity pass 2 ===== */
.hero__copy { position: relative; z-index: 2; }
.hero__map { margin-left: 0; z-index: 1; }
.chips { flex-wrap: nowrap; gap: 8px; }
.chip { padding: 9px 11px; font-size: .88rem; white-space: nowrap; }
@media (max-width: 1240px) { .chips { flex-wrap: wrap; } }
.topic-card__img { aspect-ratio: 16 / 9; }
.q-card p { color: var(--ink); font-size: 1.12rem; }
.q-card__top svg { stroke-width: 2.2; }
.expert-card .foot { margin-top: 6px; }
.expert-card .meta { font-family: var(--display); }
.promise { padding: 72px 0; }
.promise__list strong { font-size: clamp(1.55rem, 2.4vw, 2rem); }
.promise__list .swash { display: inline-block; background-size: 100% .32em; }
.promise__list svg { width: 76px; height: 76px; }
.mini__ph { width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; }
.cta-band__inner { background: linear-gradient(180deg, #fff 0, #fff 6%, #E1ECFA 6%, #E1ECFA 94%, #fff 94%); background-image: none; background-color: transparent; min-height: 400px; overflow: hidden; }
.cta-band__inner::before { content: ""; position: absolute; inset: 24px 0; background: #E1ECFA; border-radius: 40px 60px 30px 50px / 20px 30px 20px 30px; z-index: 0; }
.cta-band__art { position: absolute; bottom: 24px; height: calc(100% - 48px); width: auto; z-index: 1; pointer-events: none; mix-blend-mode: multiply; }
.cta-band__art--left { left: max(0px, calc(50% - 720px)); }
.cta-band__art--right { right: max(0px, calc(50% - 700px)); }
.cta-band__content { position: relative; z-index: 2; }
.cta-band p { font-size: 1.32rem; }
.cta-band .btn { font-size: 1.05rem; padding: 16px 30px; }
.cta-band small { font-size: .92rem; }
.site-footer { background: #16285A; }
.footer-brand img.logo-white, .footer-brand .skyline { width: 260px; }
.footer-copy { font-size: .85rem; color: #C9D1E3; margin: 10px 0 0; }
.footer-col h2 { font-size: 1.2rem; }
.footer-col li { font-size: 1.04rem; }
@media (max-width: 1100px) { .cta-band__art { opacity: .35; } }
@media (max-width: 640px) { .cta-band__art--right { display: none; } .cta-band__art--left { height: 60%; opacity: .25; } .cta-band__inner::before { inset: 12px 0; } }

/* ===== Fidelity pass 3 ===== */
.cta-band__art { mix-blend-mode: normal; bottom: 10px; height: calc(100% - 20px); }
.cta-band__inner { min-height: 440px; }
.cta-band p { font-size: 1.4rem; }
.cta-band small { font-size: 1rem; }
.q-card__top svg { stroke-width: 2.6; }
.q-card p { font-size: 1.18rem; }
.promise { padding: 84px 0; }
.promise__list svg { width: 84px; height: 84px; }
.promise__list strong { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; padding: 32px 0 28px; }
	.hero__map { margin: 0 -16px; }
	.chips { flex-wrap: wrap; }
}
@media (max-width: 640px) {
	.hero h1 { font-size: 3rem; }
	.hero__sub { font-size: 1.08rem; }
	.chip { white-space: normal; }
	.search-bar button { padding: 0 16px; }
	.promise { padding: 40px 0; }
	.promise__list svg { width: 52px; height: 52px; }
	.promise__list strong { font-size: 1.35rem; }
	.footer-brand .skyline { width: 180px; }
	.cta-band__inner { min-height: 0; }
	.cta-band p { font-size: 1.1rem; }
}

/* ===== Final touches ===== */
.hero__grid.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.promise__list strong { max-width: 18ch; }
.topic-card h3 { font-size: 1.6rem; }
@media (max-width: 640px) {
	.cta-band__inner::before { inset: 12px 16px; border-radius: 14px; }
	.cta-band__content { background: transparent; margin: 12px 16px; padding: 36px 18px; }
}

/* ===== Guide template (Stage 4) ===== */
.article-hero { padding: 36px 0 0; background: linear-gradient(180deg, var(--sky) 0, var(--sky) calc(100% - 90px), #fff calc(100% - 90px)); }
.article-hero__inner { max-width: 1000px; }
.article-hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1.06; letter-spacing: -0.025em; max-width: 18ch; }
.article-meta { padding-bottom: 22px; font-family: var(--display); font-size: .98rem; }
.article-figure { max-width: 1000px; margin: 0 auto; }
.article-figure img { border-radius: 14px; max-height: 470px; aspect-ratio: 2.4 / 1; }
.article-wrap { max-width: 1000px; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 28px; }
.entry-content p[data-boi="disclosure"], .disclosure { position: relative; background: var(--sky); border: 0; border-radius: 8px; padding: 16px 18px 16px 62px; font-family: var(--display); font-size: 1rem; line-height: 1.5; color: var(--ink); }
.entry-content p[data-boi="disclosure"] > svg { position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; color: var(--ink); }
.entry-content p[data-boi="disclosure"] strong { font-weight: 600; }
.answer-box { border: 1px solid var(--line); border-left: 5px solid var(--red); padding: 18px 24px 20px; }
.answer-box .eyebrow { font-size: .78rem; }
.answer-box p { font-size: 1.28rem; color: var(--ink); }
.entry-content { font-family: var(--display); font-size: 1.12rem; }
.entry-content h2 { font-size: 2rem; letter-spacing: -0.02em; }
.entry-content blockquote { font-style: italic; color: var(--ink); }
.side-box { border-radius: 10px; padding: 22px; }
.side-box--expert { border: 1.5px solid var(--ink); }
.side-box--expert img { max-height: 110px; max-width: 100%; margin: 14px auto 16px; display: block; }
.side-box--expert h2 { font-size: 1.3rem; margin-bottom: 4px; }
.side-box h2 { font-family: var(--display); }
.side-search label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; margin-bottom: 12px; }
.side-search svg { width: 18px; height: 18px; color: var(--ink-soft); flex: 0 0 auto; }
.side-search input { border: 0; outline: 0; font: inherit; font-size: .92rem; padding: 11px 0; width: 100%; background: transparent; color: var(--ink); }
.side-search .btn { width: 100%; }
.side-box--sky { text-align: center; padding: 26px 22px; }
.side-box--sky .side-art { height: 96px; width: auto; margin: 0 auto 12px; }
.side-box--sky h2 { font-size: 1.55rem; line-height: 1.15; }
.side-box--sky .btn { padding: 13px 34px; font-size: 1rem; }
.related { padding: 52px 0 64px; }
.related .post-card h3 { font-size: 1.3rem; }
@media (max-width: 960px) { .article-hero h1 { max-width: none; } .article-figure img { aspect-ratio: 16 / 9; } }

/* ===== Guide template fixes ===== */
.article-hero h1 { max-width: 860px; font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-top: 6px; }
.article-meta { padding-bottom: 8px; font-size: 1.05rem; }
.article-meta .tag { font-size: .85rem; padding: 5px 12px; }
.article-hero .wrap > .article-figure { margin-top: 18px; }
.entry-content { font-size: 1.2rem; }
.entry-content h2 { font-size: 2.1rem; }
.entry-content h3 { font-size: 1.5rem; }
.side-box--sky .side-art { height: 150px; }
.post-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.related .post-card h3 { font-size: 1.4rem; }
.site-footer { padding: 72px 0 32px; }
.footer-brand img.logo-white, .footer-brand .skyline { width: 300px; }
.boi-latest.wp-block-latest-posts { list-style: none; padding: 0; gap: 24px; }
.boi-latest li { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 18px; overflow: hidden; background: #fff; }
.boi-latest li > * { margin-left: 18px; margin-right: 18px; }
.boi-latest .wp-block-latest-posts__featured-image { margin: 0 0 14px; }
.boi-latest .wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.boi-latest .wp-block-latest-posts__post-title { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; display: block; line-height: 1.25; }
.boi-latest .wp-block-latest-posts__post-date { font-size: .82rem; color: var(--ink-soft); }
.boi-latest .wp-block-latest-posts__post-excerpt { font-size: .93rem; color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 960px) {
	.article-wrap { grid-template-columns: 1fr; gap: 32px; }
	.sidebar__sticky { position: static; }
	.footer-brand img.logo-white, .footer-brand .skyline { width: 240px; }
}
@media (max-width: 640px) {
	.article-hero h1 { font-size: 2.05rem; }
	.entry-content { font-size: 1.05rem; }
	.entry-content h2 { font-size: 1.6rem; }
	.site-footer { padding: 48px 0 28px; }
	.boi-latest.wp-block-latest-posts.is-grid li { width: 100%; margin-right: 0; }
}
.post-card p { line-height: 1.5; max-height: 4.5em; }
.entry-content { line-height: 1.8; }

/* Hero map is now a transparent cut-out: no fade mask needed */
.hero__map img { -webkit-mask-image: none; mask-image: none; mix-blend-mode: normal; }

/* Get Featured page + core buttons/tables in content */
.entry-content .lead { font-family: var(--display); font-size: 1.35rem; line-height: 1.55; color: var(--ink); }
.entry-content .wp-block-button__link { background: var(--red); color: #fff; border-radius: 6px; padding: 14px 26px; font-family: var(--body); font-weight: 700; text-decoration: none; display: inline-block; }
.entry-content .wp-block-button__link:hover { background: var(--red-dark); color: #fff; }
.entry-content ol li::marker { color: var(--red); font-weight: 700; }
