/*
Theme Name: GeoCom Capital
Theme URI: https://geocomcapital.com/
Author: CoreConcepts Design
Author URI: https://coreconcepts.design/
Description: Custom ClientLayer theme for GeoCom Capital. Design follows the client-approved mockup (final-3, 21 October 2026); all content is editable through ClientLayer.
Version: 1.0.9
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: geocom
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #00183c;
	--navy-2: #001c38;
	--navy-3: #00172c;
	--footer: #081b2b;
	--turquoise: #00bbdf;
	--ink: #001d50;
	--muted: #526774;
	--pale: #edf7fc;
	--banner: #eaf5fb;
	--line: #d7e2e2;
	--accent-text: #0085ac;
	--link: #007da9;
	--rule: #00b9d7;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
a, button { outline-offset: 5px; }
a:focus-visible, button:focus-visible { outline: 2px solid #287d77; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 400; letter-spacing: -.045em; line-height: 1.12; }
h1 { font-size: clamp(42px, 5.2vw, 76px); margin-bottom: 28px; }
h2 { font-size: clamp(32px, 3.5vw, 49px); margin-bottom: 30px; }
h3 { font-size: 21px; font-weight: 500; line-height: 1.35; }
p { margin-bottom: 22px; }
.wrap { width: min(1180px, 90%); margin: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 20px; top: 20px; background: #fff; padding: 10px; z-index: 9; }

/* ---------- Shared components ---------- */
.eyebrow { display: block; text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .17em; margin-bottom: 24px; color: var(--accent-text); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; background: #00bcdf; color: #001d3c; padding: 16px 24px; border: 0; font-size: 13px; font-weight: 600; line-height: 1.5; transition: background .2s; }
.button:hover { background: #65deef; }
.button span { font-size: 22px; }
.text-link { display: inline-block; font-size: 13px; font-weight: 600; color: var(--link); border-bottom: 1px solid #7baba6; padding-bottom: 6px; margin-bottom: 20px; }
.link-row { margin: 0; }
.link-row span { margin: 0 6px; color: var(--muted); }
.large { font-size: 20px; line-height: 1.7; }
.measure { max-width: 730px; color: var(--muted); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; }
.three p { font-size: 15px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
section.wrap:not(.statement) { padding-top: 75px; padding-bottom: 75px; }
.pale { background: var(--pale); padding: 75px 0; }
.navy { background: var(--navy-2); color: #fff; padding: 75px 0; }
.navy p { color: #c4d4dc; }
.navy .eyebrow { color: var(--turquoise); }

/* Short turquoise rule under the big banner headings */
.hero h1::after, .intro h1::after, .global-panel h2::after { content: ''; display: block; width: 55px; height: 3px; background: #00c6df; margin-top: 27px; }

/* ---------- Header ---------- */
.header { display: flex; align-items: center; justify-content: space-between; min-height: 105px; gap: 30px; }
.brand { display: block; line-height: 0; flex-shrink: 0; }
.brand img { width: 205px; height: auto; object-fit: contain; }
.header nav { display: flex; gap: 25px; font-size: 12px; }
.header nav a { padding: 15px 0; position: relative; }
.header nav a:hover { color: #287d77; }
.header nav a[aria-current]::after { content: ''; position: absolute; bottom: 3px; left: 0; right: 0; height: 2px; background: #00b9e0; }

/* ---------- Home: hero ---------- */
/* Photo fills the right 65% of the hero (no extra zoom). The navy overlay and a soft blur run over its left part, so it blends into the background. */
.hero { position: relative; overflow: hidden; color: #fff; background: #071f35; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 65%; background: var(--bg) center / cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,16,34,1) 0%, rgba(0,16,34,1) 35%, rgba(0,16,34,.82) 43%, rgba(0,16,34,.45) 53%, rgba(0,16,34,.12) 63%, rgba(0,16,34,0) 71%); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 39%, rgba(0,0,0,.55) 51%, transparent 65%); mask-image: linear-gradient(90deg, #000 0%, #000 39%, rgba(0,0,0,.55) 51%, transparent 65%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { padding: 100px 0 92px; min-height: 560px; }
.hero .eyebrow { color: #65edff; }
.hero h1 { font-size: clamp(42px, 4.6vw, 66px); max-width: 700px; line-height: 1.08; letter-spacing: -.035em; }
.hero em { font-style: normal; color: #fff; }
.hero p { max-width: 620px; font-size: 18px; line-height: 1.7; color: #fff; }

/* ---------- Home: statement ---------- */
.statement { padding: 85px 0; }
.split-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 970px; color: var(--muted); }

/* ---------- Home: expertise cards ---------- */
.expertise { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
.expertise-item { padding: 25px 24px 0 0; border-top: 2px solid var(--rule); transition: background .2s; }
.expertise-item + .expertise-item { padding-left: 25px; border-left: 1px solid var(--line); }
.expertise-item:hover { background: #e2efed; }
.expertise-item h3 { margin: 15px 0 16px; min-height: 58px; }
.expertise-item p { font-size: 14px; color: var(--muted); min-height: 72px; }
.expertise-item b { font-size: 25px; font-weight: 400; }

/* ---------- Home: global panel ---------- */
.global-panel { position: relative; overflow: hidden; color: #fff; padding: 75px 0; background: var(--navy-3); }
/* The image fades softly into the navy: masked on its left side, so any photo the client picks blends in. */
.global-panel::before { content: ''; position: absolute; inset: 0; background: var(--bg) right -40px center / auto 118% no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 64%); mask-image: linear-gradient(90deg, transparent 30%, #000 64%); pointer-events: none; }
.global-panel > .wrap { position: relative; }
.global-panel h2 { font-size: 44px; }
.global-panel p { max-width: 530px; color: #d4e4ed; }
.global-panel .eyebrow, .global-panel .text-link { color: #58e9ff; }

/* ---------- Home: founder ---------- */
/* The portrait spans exactly from the eyebrow to the "Read the full biography" link. */
.founder-teaser { display: flex; align-items: stretch; gap: 70px; }
.founder-teaser > div { flex: 1 1 auto; max-width: 660px; }
.founder-photo { flex: 0 0 215px; align-self: stretch; width: 215px; height: auto; max-width: none; contain: size; object-fit: cover; object-position: center top; }
.founder-teaser p { color: var(--muted); max-width: 590px; }
.founder-teaser .text-link { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 35px; border-top: 1px solid var(--line); }
.cta h2 { margin-bottom: 0; }

/* ---------- Inner page banners ---------- */
.intro { color: var(--ink); padding: 70px 0; background: linear-gradient(90deg, var(--banner) 25%, #eaf5fbe8 64%, #eaf5fb11), var(--bg) right center / auto 150% no-repeat, var(--banner); }
.intro .eyebrow { color: #008ab9; }
.intro h1 { font-size: clamp(38px, 4.5vw, 62px); }
.intro .lede { max-width: 640px; font-size: 18px; color: #3c4c60; margin-bottom: 0; }
.intro-leadership { background: linear-gradient(90deg, var(--banner) 15%, #eaf5fbe0 53%, #eaf5fb22), var(--bg) right center / cover no-repeat, var(--banner); }
.intro-leadership .lede { max-width: 760px; }
.intro-insights { background: linear-gradient(90deg, var(--banner) 22%, #eaf5fbf0 50%, #eaf5fb22 90%), var(--bg) right center / cover no-repeat, var(--banner); }
.intro-insights .lede { max-width: 62%; }

/* ---------- Insights: Speaking & Media ---------- */
.media-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: center; }
.media-icon { display: block; width: 100%; max-width: 420px; height: auto; justify-self: center; }
.media-grid h2 { margin-bottom: 26px; }
.media-grid .large { color: var(--ink); margin-bottom: 0; }
.intro-contact { background: linear-gradient(90deg, var(--banner) 5%, #eaf5fbe6 40%, #eaf5fb22 73%), var(--bg) right center / cover no-repeat, var(--banner); }
.intro-contact .lede { max-width: 55%; }

/* ---------- Advisory ---------- */
.service { padding: 55px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 25px; }
.service:first-child { padding-top: 0; }
.service h2 { font-size: 37px; }
.service p { max-width: 770px; color: var(--muted); }
.outcome { border-left: 2px solid #66b6ae; padding: 12px 0 0 25px; margin-top: 30px; }
.outcome .eyebrow { margin-bottom: 10px; }
.outcome p { font-size: 14px; }
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 55px; }
.sectors > div { border-top: 1px solid #506775; padding-top: 20px; }
.sectors h3 { margin-top: 16px; font-size: 20px; }
.sectors p { font-size: 13px; }
.sector-photo { display: block; width: 100%; height: 140px; object-fit: cover; margin: 12px 0 3px; }
.sectors > div:nth-child(2) .sector-photo { object-position: center top; }

/* ---------- Leadership ---------- */
.bio-layout { display: grid; grid-template-columns: 300px 1fr; gap: 85px; align-items: start; }
.leadership-photo { display: block; width: 100%; height: auto; margin-bottom: 25px; }
.bio-layout aside h3 { margin-bottom: 8px; }
.bio-layout aside > p { font-size: 13px; }
.biography p { color: var(--muted); }
.biography .large { color: var(--ink); }

/* ---------- Insights ---------- */
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; margin-top: 30px; }
.topics article { border-top: 1px solid var(--line); padding-top: 25px; }
.topics h3 { font-size: 29px; line-height: 1.3; font-weight: 400; }
.topics p { color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-detail { padding: 25px 0; border-top: 1px solid var(--line); margin-top: 40px; }
.contact-detail p { font-size: 17px; overflow-wrap: anywhere; margin-bottom: 10px; }

/* ---------- Generic page content ---------- */
.page-content { padding: 75px 0; }

/* ---------- Footer ---------- */
footer { background: var(--footer); color: #c0d0d5; padding: 48px 0; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 40px; align-items: center; }
.footer-grid p { margin: 0; font-size: 11px; }
.footer-grid .brand img { background: #fff; padding: 8px; width: 175px; }

/* ---------- Tablet ---------- */
@media (max-width: 950px) {
	.header { flex-direction: column; align-items: flex-start; padding: 25px 0; gap: 20px; }
	.header nav { flex-wrap: wrap; gap: 12px 18px; }
	.hero-grid { min-height: 500px; }
	.expertise { grid-template-columns: 1fr 1fr; gap: 25px; }
	.expertise-item + .expertise-item { border-left: 0; padding-left: 0; }
	.sectors { grid-template-columns: repeat(3, 1fr); }
	.bio-layout { grid-template-columns: 230px 1fr; gap: 40px; }
	.contact-layout, .founder-teaser { gap: 40px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
	.wrap { width: 88%; }
	.header { min-height: 0; gap: 14px; }
	.header nav { font-size: 11px; gap: 4px 16px; }
	.header nav a { padding: 8px 0; }
	.brand img { width: 185px; }
	.hero::before { left: 0; width: 100%; background-position: 62% center; }
	.hero::after { background: rgba(0,16,34,.74); }
	.global-panel::before { background-position: 65% center; background-size: auto 100%; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
	.hero-grid { padding: 65px 0; min-height: 510px; }
	.hero h1 { font-size: 43px; }
	.hero p { max-width: 95%; }
	/* The client's line breaks are for wide screens; on phones the text flows. */
	.hero p br, .intro .lede br { display: none; }
	.statement, .pale, .navy, .global-panel { padding: 50px 0; }
	section.wrap:not(.statement) { padding-top: 50px; padding-bottom: 50px; }
	.split-copy, .founder-teaser, .bio-layout, .contact-layout, .three, .topics { grid-template-columns: 1fr; gap: 25px; }
	.contact-layout { gap: 45px; }
	.expertise { grid-template-columns: 1fr 1fr; gap: 22px; }
	.expertise-item h3 { font-size: 18px; min-height: 72px; }
	.expertise-item p { font-size: 13px; min-height: 100px; }
	.section-heading, .cta { flex-direction: column; align-items: flex-start; }
	.section-heading { gap: 10px; }
	.sectors { grid-template-columns: 1fr 1fr; }
	.service { padding: 35px 0; }
	.service h2 { font-size: 29px; }
	.founder-teaser { flex-direction: column; gap: 25px; }
	.founder-photo { flex: none; align-self: flex-start; width: 230px; height: 336px; contain: none; }
	.media-grid { grid-template-columns: 1fr; gap: 30px; }
	.media-icon { max-width: 260px; justify-self: start; }
	.global-panel h2 { font-size: 36px; }
	.bio-layout aside { border-bottom: 1px solid var(--line); padding-bottom: 30px; }
	.leadership-photo { max-width: 300px; }
	.intro { padding: 50px 0; }
	.intro, .intro-leadership, .intro-insights, .intro-contact { background: linear-gradient(90deg, #eaf5fbfa, #eaf5fbe8 60%, #eaf5fb88), var(--bg) 70% center / cover no-repeat, var(--banner); }
	.intro h1 { font-size: 39px; }
	.intro-insights .lede, .intro-contact .lede { max-width: 100%; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media print {
	.header nav, .cta { display: none; }
	body { font-size: 11pt; }
	.hero, .intro, .navy, .global-panel { background: #fff; color: var(--navy); }
	.global-panel::before, .hero::before, .hero::after { display: none; }
	.hero p, .intro .lede, .navy p, .global-panel p { color: var(--ink); }
	section { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
