/* WordPress-specific additions to site.css */
.admin-bar .site-header { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .site-header { top: env(safe-area-inset-top, 0px); } }
.entry > * + * { margin-top: 0; }
.entry h2 { font-size: var(--step-3); margin-top: 0.8em; }
.entry h3 { font-size: var(--step-2); margin-top: 0.6em; }
.entry a { color: var(--brass); text-underline-offset: 3px; }
.entry img { height: auto; }
.entry ul, .entry ol { margin: 0; padding-left: 1.2em; display: grid; gap: 0.45em; }
.entry blockquote { margin: 0; padding-left: 18px; border-left: 2px solid var(--brass-soft); font-family: var(--display); font-size: var(--step-2); font-style: italic; color: var(--ink); }
.entry figure { margin: 0; }
.entry .wp-block-image figcaption, .entry figcaption { font-size: var(--step--1); color: var(--stone); }
.alignwide, .alignfull { max-width: 100%; }
.byline img.avatar { border-radius: 50%; }
.person .bio p { margin: 0; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; background: var(--surface); }
.nav-links .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Insights: topics in preparation */
.post.soon { grid-template-rows: 1fr; }
.soon-ico { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--brass); }
.soon-ico svg { width: 22px; height: 22px; }
.soon-cta { margin-top: 40px; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
@media (max-width: 620px) { .soon-cta { grid-template-columns: 1fr; } }

/* Markets: market cards */
.mk-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.mk-meta span { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); border: 1px solid var(--line); padding: 6px 12px; background: var(--surface); }
.mk-group + .mk-group { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line); }
.mk-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px 48px; align-items: end; margin-bottom: 28px; }
.mk-head > * { min-width: 0; }
.mk-head h2 { font-size: var(--step-3); margin-top: 10px; }
.mk-head p.muted { max-width: 56ch; }
.mk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tv-card { background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-rows: auto 200px 1fr; transition: border-color 0.2s; }
.tv-card:hover { border-color: var(--brass-soft); }
.tv-label { padding: 18px 20px 4px; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.tv-slot { padding: 0 6px; min-width: 0; overflow: hidden; background: linear-gradient(180deg, transparent 55%, rgba(148, 120, 74, 0.05)); }
.tv-slot iframe { color-scheme: light; display: block; }
.tv-note { padding: 14px 20px 18px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--stone); line-height: 1.5; }
.mk-source { margin-top: 32px; }
@media (max-width: 960px) { .mk-grid { grid-template-columns: 1fr 1fr; } .mk-head { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .mk-grid { grid-template-columns: 1fr; } }
.mk-section { padding-top: clamp(40px, 5vw, 64px); }

/* Shared form bits (Contact page and landing page) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--stone); }
.form-error { border: 1px solid #a3402f; color: #a3402f; padding: 12px 14px; font-size: 0.92rem; margin: 0; }

[hidden] { display: none !important; }

/* Resource Center */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hub { background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; align-content: start; }
.hub-icon { width: 40px; height: 40px; color: var(--brass); }
.hub-icon svg { width: 100%; height: 100%; }
.hub h3 { font-size: var(--step-2); }
.hub p { margin: 0; }
.hub-posts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.hub-posts a { color: var(--ink); }
.hub-empty { color: var(--stone); font-style: italic; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 3vw, 28px); }
.guide { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; align-content: start; }
.guide h3 { font-size: var(--step-2); }
.guide p { margin: 0; }
.guide .btn { justify-self: start; min-height: 44px; }
.guide-form { display: grid; gap: 12px; }

/* Principal profile pages */
.founder-top { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-photo { margin: 0; }
.founder-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.founder-intro { display: grid; gap: 16px; }
.founder-intro .lede { color: inherit; opacity: 0.86; }
.founder-links a { color: inherit; }
.founder-facts ul { margin: 8px 0 0; padding-left: 1.1em; display: grid; gap: 6px; }
@media (max-width: 820px) { .founder-top { grid-template-columns: 1fr; } .founder-photo { max-width: 300px; } }

/* Office maps in the footer */
.office-maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); border-bottom: 1px solid rgba(201, 180, 138, 0.2); padding-bottom: 40px; }
.office-map { display: grid; grid-template-rows: auto 1fr; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(201, 180, 138, 0.25); border-radius: 4px; overflow: hidden; }
.office-map-frame { position: relative; aspect-ratio: 16 / 9; min-height: 220px; background: #dfe3ea; }
.office-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.office-map-info { padding: 18px 20px 20px; display: grid; gap: 6px; }
.office-map-info h4 { margin: 0 0 2px; font-family: var(--body); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--brass-soft, #c9ae7c); }
.office-map-info a { color: var(--on-band); }
.office-map-info address { font-style: normal; color: var(--on-band); }
.office-map-info p { margin: 0; }
.office-map-info a { display: inline-block; padding-block: 6px; }
@media (max-width: 760px) { .office-maps { grid-template-columns: 1fr; } }

/* Dropdowns showing their "Select one" placeholder look like placeholders, not answers */
select.is-empty { color: var(--stone); }
select.is-empty option { color: var(--ink); }

/* Booking section used as the Insights hero */
.cta h1 { color: var(--on-band); max-width: 20ch; font-weight: 400; }

/* Phone numbers never break across lines */
a[href^="tel:"] { white-space: nowrap; }

/* Resource Center guides: equal cards, forms and buttons lined up at the bottom */
.guide { display: flex; flex-direction: column; }
.guide > .guide-form, .guide > .form-success { margin-top: auto; }
.guide > p.muted { margin-bottom: 8px; }

/* Social links in the footer */
.socials { display: flex; gap: 10px; margin: 6px 0 0; }
.socials a { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid rgba(201, 180, 138, 0.35); border-radius: 50%; color: var(--on-band); transition: background .2s, color .2s; }
.socials a:hover { background: var(--brass-soft); color: var(--band); }
.socials svg { width: 18px; height: 18px; }

/* Buttons: text centered, also when it wraps onto two lines (header "Book a Conversation") */
.btn { text-align: center; }
.explainers { row-gap: clamp(36px, 4vw, 52px); }

/* SMS consent checkboxes and legal links under the inquiry form */
.check-sms span { font-size: 0.8rem; line-height: 1.5; color: var(--stone); }
.form-legal { margin: 2px 0 0; display: flex; justify-content: center; gap: 10px; font-size: 0.85rem; color: var(--stone); }
.form-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-legal a:hover { color: var(--ink); }
