/*
Theme Name: Confluence Insight Advisory
Theme URI: https://confluenceinsightadvisory.com/
Author: Confluence Insight Advisory
Description: Lightweight custom theme for Confluence Insight Advisory.
Version: 1.0.3
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: confluence-insight-advisory
*/

:root {
  --navy: #102f4b;
  --navy-deep: #08243b;
  --blue: #2f648a;
  --ink: #14212b;
  --muted: #5f6f79;
  --line: #d9e0e3;
  --paper: #ffffff;
  --tint: #f2f5f4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--navy-deep); font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(3.15rem, 6.3vw, 6.65rem); line-height: .96; }
h2 { font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.06; }
h3 { color: var(--navy-deep); line-height: 1.25; }
p { color: var(--muted); }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 116px; }
.section-tint { background: var(--tint); }
.eyebrow { margin-bottom: 22px; color: var(--blue); font-size: .72rem; font-weight: 750; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }

.site-header { position: relative; z-index: 10; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 38px; }
.brand { margin-right: auto; }
.brand img { width: 210px; }
.desktop-nav { display: flex; align-items: center; gap: 30px; color: #344955; font-size: .87rem; font-weight: 650; }
.desktop-nav a, .footer-grid a { transition: color .2s ease; }
.desktop-nav a:hover, .footer-grid a:hover { color: var(--blue); }
.header-cta { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: .82rem; font-weight: 750; }
.arrow { font-size: 1.05em; }

.hero { min-height: 745px; display: grid; grid-template-columns: 1.42fr .58fr; gap: 80px; align-items: center; padding-block: 112px; }
.hero h1 { max-width: 850px; margin-bottom: 34px; }
.hero-intro { max-width: 700px; font-size: 1.22rem; line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 14px 22px; border: 1px solid transparent; font-size: .82rem; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--navy); }
.button-secondary { color: var(--navy); border-color: var(--line); background: white; }
.button-light { color: var(--navy-deep); background: white; }
.hero-panel { position: relative; overflow: hidden; min-height: 500px; padding: 46px 42px; color: white; background: var(--navy); }
.hero-panel::after { content: ""; position: absolute; right: -165px; bottom: -165px; width: 355px; height: 355px; border: 55px solid rgba(255,255,255,.09); border-radius: 50%; }
.panel-kicker { display: block; margin-bottom: 42px; color: #adc7d8; font-size: .72rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.confluence-list { display: flex; flex-direction: column; margin-bottom: 46px; }
.confluence-list span { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.hero-panel p { position: relative; z-index: 1; color: #d3dfe6; font-size: .95rem; }

.proof-band { color: white; background: var(--navy-deep); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { min-height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 32px 34px; border-right: 1px solid rgba(255,255,255,.15); }
.proof-grid div:first-child { border-left: 1px solid rgba(255,255,255,.15); }
.proof-grid strong { margin-bottom: 13px; font-family: Georgia, "Times New Roman", serif; font-size: 2.5rem; font-weight: 500; }
.proof-grid span { color: #c2d0d8; font-size: .78rem; line-height: 1.55; }

.section-heading { max-width: 770px; margin-bottom: 64px; }
.section-heading h2 { margin-bottom: 0; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.35fr .65fr; gap: 90px; align-items: end; }
.split-heading p:last-child { margin-bottom: 8px; font-size: 1.05rem; }
.compact-heading { margin-bottom: 0; }
.three-up { display: grid; grid-template-columns: repeat(3, 1fr); }
.client-card { min-height: 430px; display: flex; flex-direction: column; padding: 38px 34px; border: 1px solid var(--line); border-right: 0; background: white; }
.client-card:last-child { border-right: 1px solid var(--line); }
.card-number, .large-number { color: #9caab2; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.client-card h3 { max-width: 260px; margin: 82px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; font-weight: 550; }
.client-card p { font-size: .92rem; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 25px; color: var(--navy); font-size: .78rem; font-weight: 750; }
.focus-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: center; }
.focus-list div { display: grid; grid-template-columns: 45px 1fr; gap: 25px; align-items: center; padding: 31px 0; border-bottom: 1px solid #ccd5d7; }
.focus-list div:first-child { border-top: 1px solid #ccd5d7; }
.focus-list span { color: var(--blue); font-size: .72rem; font-weight: 750; }
.focus-list h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; font-weight: 500; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { min-height: 350px; padding: 34px; background: var(--tint); }
.case-card > span { color: var(--blue); font-size: .7rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.case-card h3 { margin: 77px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; font-weight: 500; }
.case-card p { font-size: .9rem; }
.founder-section { padding-block: 118px; color: white; background: var(--navy); }
.founder-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 110px; align-items: center; }
.founder-photo { aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(255,255,255,.24); background: var(--navy-deep); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center center; filter: saturate(.9) contrast(1.03); }
.founder-copy h2, .founder-copy h3 { color: white; }
.founder-copy p { color: #cbd8df; }
.founder-copy .text-link { color: white; }
.cta-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; margin-block: 30px; padding: 75px 70px; color: white; background: var(--blue); }
.cta-section h2 { margin-bottom: 0; color: white; }
.cta-section p { color: #e6eef2; }
.cta-section .eyebrow { color: #d6e4eb; }

.page-hero { padding-top: 130px; padding-bottom: 100px; }
.page-hero h1 { max-width: 1040px; margin-bottom: 38px; }
.page-hero > p:last-child { max-width: 720px; font-size: 1.18rem; }
.about-hero h1 { max-width: 900px; }
.anchor-nav { display: flex; gap: 12px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.anchor-nav a { padding: 11px 15px; color: var(--navy); border: 1px solid var(--line); font-size: .73rem; font-weight: 750; }
.audience-section { padding-block: 120px; scroll-margin-top: 20px; }
.audience-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 105px; }
.audience-intro .large-number { display: block; margin-bottom: 60px; font-size: 1.35rem; }
.audience-intro h2 { font-size: clamp(2.35rem, 3.4vw, 3.5rem); }
.audience-intro > p:last-child { font-size: 1.02rem; }
.audience-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; padding-top: 112px; }
.audience-columns h3 { margin-bottom: 25px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.audience-columns ul { margin: 0; padding: 0; list-style: none; }
.audience-columns li { position: relative; padding: 15px 0 15px 21px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .87rem; }
.audience-columns li::before { content: ""; position: absolute; left: 0; top: 26px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.engagement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.engagement-grid article { min-height: 310px; padding: 30px; background: white; }
.engagement-grid span, .principles-grid span { color: var(--blue); font-family: Georgia, "Times New Roman", serif; }
.engagement-grid h3 { margin: 70px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; }
.engagement-grid p { font-size: .84rem; }

.profile-band { padding-block: 100px; color: white; background: var(--navy); }
.profile-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 105px; align-items: center; }
.profile-photo { width: 100%; }
.profile-layout h2 { color: white; }
.profile-layout p { color: #cbd8df; }
.profile-layout .text-link { color: white; }
.journey-list article { display: grid; grid-template-columns: .45fr .75fr 1.3fr; gap: 55px; padding: 35px 0; border-top: 1px solid var(--line); }
.journey-list article:last-child { border-bottom: 1px solid var(--line); }
.journey-list article > div { display: flex; gap: 25px; color: var(--navy); }
.journey-list article > div span { color: #a5b0b6; }
.journey-list h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 500; }
.journey-list p { margin: 0; font-size: .9rem; }
.credentials-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: start; }
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ccd5d7; border-left: 1px solid #ccd5d7; }
.credentials-grid article { min-height: 170px; display: flex; flex-direction: column; justify-content: center; padding: 28px; border-right: 1px solid #ccd5d7; border-bottom: 1px solid #ccd5d7; }
.credentials-grid strong { margin-bottom: 12px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 500; }
.credentials-grid span { color: var(--muted); font-size: .78rem; }
.principles-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px 45px; }
.principles-grid h3 { margin: 35px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 500; }
.principles-grid p { font-size: .85rem; }

.site-footer { padding-top: 80px; background: var(--tint); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr 1fr; gap: 55px; padding-bottom: 60px; }
.footer-grid img { width: 205px; margin-bottom: 25px; }
.footer-grid p { max-width: 270px; font-size: .82rem; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .78rem; }
.footer-label { margin-bottom: 12px; color: var(--navy); font-size: .69rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid address { color: var(--muted); font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-block: 25px; border-top: 1px solid var(--line); color: #7e8a91; font-size: .7rem; }

@media (max-width: 960px) {
  h1 { font-size: clamp(3rem, 9vw, 5rem); }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 50px; padding-block: 80px; }
  .hero-panel { min-height: auto; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div:nth-child(3) { border-left: 1px solid rgba(255,255,255,.15); }
  .split-heading, .focus-layout, .founder-layout, .audience-layout, .profile-layout, .credentials-layout, .principles-layout { grid-template-columns: 1fr; gap: 55px; }
  .three-up, .case-grid { grid-template-columns: 1fr; }
  .client-card { min-height: 350px; border-right: 1px solid var(--line); border-bottom: 0; }
  .client-card:last-child { border-bottom: 1px solid var(--line); }
  .client-card h3 { margin-top: 55px; }
  .audience-columns { padding-top: 0; }
  .engagement-grid { grid-template-columns: 1fr 1fr; }
  .profile-photo { max-width: 520px; }
  .journey-list article { grid-template-columns: .4fr 1fr; }
  .journey-list article p { grid-column: 2; }
  .cta-section { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 30px, 1180px); }
  .section { padding-block: 80px; }
  .header-inner { min-height: 76px; }
  .brand img { width: 178px; }
  .header-cta { font-size: 0; }
  .header-cta .arrow { display: none; }
  .header-cta::after { content: "↗"; font-size: 1.35rem; }
  .hero { min-height: auto; padding-block: 64px; }
  .hero h1 { font-size: clamp(2.85rem, 14vw, 4.3rem); }
  .hero-intro { font-size: 1.05rem; }
  .hero-panel { padding: 36px 28px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { min-height: 145px; border-left: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
  .focus-list h3 { font-size: 1.3rem; }
  .cta-section { width: 100%; margin-block: 0; padding: 58px 28px; }
  .page-hero { padding-top: 80px; padding-bottom: 65px; }
  .page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .anchor-nav { overflow-x: auto; width: 100%; padding-inline: 15px; }
  .anchor-nav a { white-space: nowrap; }
  .audience-section { padding-block: 80px; }
  .audience-intro .large-number { margin-bottom: 38px; }
  .audience-columns, .engagement-grid, .credentials-grid, .principles-grid { grid-template-columns: 1fr; }
  .journey-list article { grid-template-columns: 1fr; gap: 18px; }
  .journey-list article p { grid-column: auto; }
  .button-light { max-width: 100%; padding-inline: 16px; overflow-wrap: anywhere; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid a { overflow-wrap: anywhere; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
