/* Incisive Investments site styles
   Palette comes from the logo: navy roof, sky-blue roof, orange for actions only. */
:root {
  --navy: #0c1f4a;
  --navy-2: #1d3a78;
  --navy-dark: #061335;
  --sky: #29a8e0;
  --sky-soft: #9fd6f1;
  --wash: #eaf6fd;
  --ink: #050d1c;
  --topbar: #353a3f;
  --orange: #f26907;
  --btn: #f7941d;
  --text: #24304a;
  --muted: #5d6b82;
  --rule: #d9e3ee;
  --radius: 10px;
  --heading: "Bitter", Georgia, serif;
  --body: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 18px/1.65 var(--body); }
img { max-width: 100%; height: auto; }
a { color: #1477b8; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--heading); color: var(--navy); line-height: 1.2; margin: 1.6em 0 .55em; letter-spacing: -.01em; }
h1 { font-size: 2.3rem; font-weight: 700; }
h2 { font-size: 1.7rem; font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 9; }
.ic { width: 1em; height: 1em; vertical-align: -.15em; }

/* top bar, logo, menu */
.topbar { background: var(--topbar); color: #fff; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 22px; padding: 6px 20px; }
.topbar a { color: #fff; }
.topbar .call { font-size: 16px; margin-right: 12px; }
.topbar .call a { color: var(--btn); font-weight: 700; }
.logo-bar { text-align: center; padding: 18px 16px 16px; }
.logo-bar img { width: 124px; height: auto; display: inline-block; }
.mainnav { background: var(--navy); position: relative; z-index: 4; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.mainnav li { position: relative; }
.mainnav a { display: block; color: #fff; padding: 11px 15px; font-size: 18px; }
.mainnav a:hover, .mainnav a.active { background: var(--navy-dark); text-decoration: none; }
.mainnav li ul { display: none; position: absolute; top: 100%; left: 0; background: var(--navy); min-width: 270px; flex-direction: column; box-shadow: 0 10px 24px rgba(6, 19, 53, .3); }
.mainnav li:hover > ul, .mainnav li:focus-within > ul { display: flex; }
.mainnav li ul a { font-size: 16px; padding: 9px 18px; }
.menu-btn { display: none; }

/* hero and page banners: navy, or your own photo under a navy shade */
.hero, .banner { background-color: var(--navy); background-size: cover; background-position: center; color: #fff;
  background-image: radial-gradient(circle at 85% 20%, rgba(41, 168, 224, .35), transparent 55%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.hero h1, .banner h1 { color: #fff; }
.hero.has-photo, .banner.has-photo { background-image: linear-gradient(90deg, rgba(12,31,74,.94) 0%, rgba(12,31,74,.82) 45%, rgba(12,31,74,.35) 100%), var(--photo); }
.hero { padding: 56px 0 60px; }
.hero .copy { max-width: 520px; }
.hero h1 { font-size: 2.6rem; margin: 0 0 .35em; }
.hero .sub { font-size: 1.3rem; font-weight: 600; color: #fff; margin: 0 0 .2em; }
.hero .sub2 { color: var(--sky-soft); margin: 0 0 1.2em; }
.hero .lead-form { margin: 0; max-width: 460px; background: #fff; color: var(--text); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.hero .lead-form .consent span { color: var(--muted); }
.banner { min-height: 320px; display: flex; align-items: center; }
.banner .wrap { width: 100%; }
.banner .copy { max-width: 640px; padding: 56px 0; }
.banner h1 { font-size: 2.5rem; margin: 0 0 .35em; }
.banner p { font-size: 1.2rem; color: #dbe8f8; margin: 0; }
.banner .copy::before, .hero .copy::before { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; background: var(--btn); margin-bottom: 18px; }

/* page body */
main { padding: 48px 0 56px; min-width: 0; }
main#main.wrap { padding: 48px 20px 56px; }
main.wrap > article > :first-child, .content > :first-child { margin-top: 0; }
.content h1:first-child { margin-top: 0; }
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; align-items: start; }
.has-text-align-center, .content [style*="text-align: center"] { text-align: center; }
.page-title { text-align: center; }
hr, .wp-block-separator { border: 0; border-top: 1px solid var(--rule); margin: 32px 0; }
.content ul li, .content ol li { margin-bottom: .35em; }
.lede { font-size: 1.15rem; }

/* images: never bigger than they need to be */
.content img, .content figure { max-width: min(100%, 560px); }
.content figure { margin: 1.4em auto; }
.content figure img, .content p > img { display: block; margin: 0 auto; border-radius: var(--radius); }
.content .alignleft, .content .alignright { max-width: 42%; }
.alignleft { float: left; margin: 4px 22px 10px 0; }
.alignright { float: right; margin: 4px 0 10px 22px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 15px; color: var(--muted); text-align: center; margin-top: 6px; }
.content::after, .clearfix::after { content: ""; display: block; clear: both; }

/* bands: full-width color breaks between sections */
.band { margin: 44px calc(50% - 50vw); padding: 44px calc(50vw - 50%); background: var(--wash); }
.band > :first-child { margin-top: 0; }
.band > :last-child { margin-bottom: 0; }
.band.navy { background: var(--navy); color: #e8f0fb; }
.band.navy h2, .band.navy h3 { color: #fff; }
.band.navy a { color: var(--sky-soft); }

/* trust note */
.cred { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--rule); border-left: 5px solid var(--sky); border-radius: var(--radius); padding: 18px 20px; margin: 1.6em 0; }
.cred .ic { width: 34px; height: 34px; color: var(--sky); flex: none; margin-top: 2px; }
.cred p:last-child { margin-bottom: 0; }

/* steps: a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 1.2em 0 .6em; counter-reset: step; }
.step { position: relative; padding-top: 6px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: #fff; font: 700 1.3rem var(--heading); }
.step h3 { margin: .5em 0 .3em; }
.step p { margin: 0; }

/* situations: icon tiles */
.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.2em 0; padding: 0; list-style: none; }
.sit { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); color: var(--text); height: 100%; }
a.sit:hover { border-color: var(--sky); text-decoration: none; box-shadow: 0 6px 18px rgba(12, 31, 74, .08); }
.sit .tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--wash); color: var(--navy-2); }
.sit .tile .ic { width: 24px; height: 24px; }
a.sit .tile { background: var(--sky); color: #fff; }
.sit strong { display: block; color: var(--navy); font-size: 1.02rem; line-height: 1.3; }
.sit small { display: block; color: var(--muted); font-size: 15px; line-height: 1.4; margin-top: 2px; }

/* where I buy: cards with a slice of each county's scene */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 1.2em 0; }
.area { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--rule); color: var(--text); }
.area:hover { text-decoration: none; border-color: var(--sky); }
.area .pic { height: 96px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: var(--sky-soft); }
.area .pic .ic { width: 30px; height: 30px; }
.area .pic[style] .ic { display: none; }
.area .txt { padding: 12px 16px 14px; }
.area strong { display: block; font-family: var(--heading); color: var(--navy); font-size: 1.15rem; }
.area small { color: var(--muted); font-size: 15px; }
.hoods { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.hoods a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--rule); color: var(--navy); }
.hoods a:hover { border-color: var(--sky); text-decoration: none; }
.hoods .ic { color: var(--sky); }

/* results / before-after */
.result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.result img { border-radius: var(--radius); max-width: 100%; display: block; }
.result h2 { margin-top: 0; }

/* compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1em 0 1.5em; font-size: 17px; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--heading); font-weight: 600; }
.compare thead th:nth-child(2) { background: var(--sky); }
.compare tbody th { background: var(--wash); color: var(--navy); font-weight: 600; width: 26%; }
.table-scroll { overflow-x: auto; }

/* offices (county pages) */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1em 0 1.2em; padding: 0; list-style: none; }
.offices li { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; margin: 0; }
.offices .ic { width: 28px; height: 28px; color: var(--sky); display: block; margin-bottom: 6px; }
.offices strong { display: block; color: var(--navy); }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.facts li { display: flex; gap: 8px; }
.facts .ic { color: var(--sky); flex: none; margin-top: 5px; }
.formula { background: var(--wash); color: var(--navy); border-radius: var(--radius); padding: 16px 18px; text-align: center; font: 600 1.1rem var(--heading); }
.note { font-size: 15px; color: var(--muted); }

/* deals */
.deal { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin: 1.4em 0; padding: 20px 22px; border: 1px solid var(--rule); border-left: 5px solid var(--sky); border-radius: var(--radius); background: #fff; }
.deal.no-photo { grid-template-columns: 1fr; }
.deal .photos { display: grid; gap: 10px; }
.deal img { width: 100%; border-radius: 8px; max-height: 280px; object-fit: cover; }
.deal h3 { margin-top: 0; font-size: 1.3rem; }
.deal dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 0 0 .9em; font-size: 16px; }
.deal dt { font-weight: 600; color: var(--navy); }
.deal dd { margin: 0; }
.deal p { margin: 0; }

/* legacy blocks from older posts */
.alert-primary { background: var(--wash); color: var(--navy); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 1.2em; }
.Grey { background: var(--wash); margin: 32px calc(50% - 50vw); padding: 24px calc(50vw - 50%); }
.row { display: flex; flex-wrap: wrap; gap: 0 16px; }
.col-12 { flex: 1 1 100%; } .col-8 { flex: 1 1 64%; } .col-6 { flex: 1 1 46%; } .col-4 { flex: 1 1 30%; } .col-2 { flex: 0 0 12%; }
.threecol-one { flex: 1 1 28%; min-width: 180px; }
.twocol-one { display: inline-block; vertical-align: top; width: 48%; }
.wp-block-columns { display: flex; gap: 28px; margin: 0 0 1em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 1.5em 0; }
.btn, .wp-block-button__link { display: inline-block; background: var(--btn); color: #1a1a1a; padding: 10px 22px; border-radius: 6px; }

/* video */
.video { position: relative; max-width: 560px; margin: 1em auto; aspect-ratio: 16/9; background: #000; cursor: pointer; overflow: hidden; border-radius: var(--radius); }
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.video .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; background: rgba(20, 20, 20, .8); border-radius: 12px; }
.video .play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }

/* forms */
.lead-form { background: var(--ink); color: #fff; padding: 22px 22px 18px; border-radius: var(--radius); max-width: 520px; margin: 1.6em auto; text-align: left; box-shadow: 0 14px 30px rgba(5, 13, 28, .18); }
.lead-form h3 { color: #fff; margin-top: 0; }
.lead-form label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 10px; color: inherit; }
.lead-form label b { color: #ff6b6b; font-weight: 700; }
.lead-form input:not([type=checkbox]), .lead-form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 11px; font: inherit; font-size: 16px; border: 1px solid #c8d3e0; border-radius: 6px; background: #fff; color: #111; }
.lead-form small { display: block; font-weight: 400; font-size: 13px; }
.lead-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form button { width: 100%; background: var(--btn); color: #1a1a1a; border: 0; padding: 12px; font: 600 17px var(--body); border-radius: 6px; cursor: pointer; margin-top: 4px; }
.lead-form button:hover { background: #ffa634; }
.lead-form button[disabled] { opacity: .6; cursor: wait; }
.lead-form .consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 12px; line-height: 1.4; margin: 6px 0 10px; }
.lead-form .consent input { margin-top: 2px; flex: none; }
.lead-form .consent span { color: #c3cddc; }
.lead-form .hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .form-msg { margin: 8px 0 0; font-size: 15px; }
.lead-form .form-msg:empty { display: none; }
.cf-turnstile { margin: 6px 0 8px; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; line-height: 1.25; color: var(--muted); margin: -6px 0 22px; }
.privacy-note svg { width: 26px; height: 26px; fill: var(--muted); }
.form-band { margin: 48px calc(50% - 50vw) 0; padding: 40px calc(50vw - 50%); background: var(--navy); color: #e8f0fb; text-align: center; }
.form-band h2 { color: #fff; margin-top: 0; }
.form-band .lead-form { background: #fff; color: var(--text); box-shadow: none; }
.form-band .lead-form .consent span { color: var(--muted); }
.form-band + .privacy-note, .form-band .privacy-note { color: #c3cddc; }
.form-band .privacy-note svg { fill: #c3cddc; }

/* sidebar */
.sidebar { padding-top: 48px; }
.widget { margin-bottom: 28px; }
.widget h3 { margin-top: 0; font-size: 1.3rem; }
.widget.blue { background: var(--navy); color: #e8f0fb; padding: 20px 20px 24px; border-radius: var(--radius); }
.widget.blue h3 { color: #fff; }
.btn-white { display: block; background: #fff; color: var(--navy); text-align: center; padding: 8px 10px; border-radius: 6px; font-weight: 600; }
.widget.dark { background: var(--ink); color: #fff; padding: 18px 16px; border-radius: var(--radius); }
.widget.dark h3 { color: #fff; }
.widget.dark .lead-form { padding: 0; margin: 0; background: none; box-shadow: none; }
.widget.recent ul { list-style: none; padding: 0; }
.widget.recent li { margin-bottom: 12px; line-height: 1.35; font-size: 16px; }

/* blog */
.blog-list h1 { margin-top: 0; }
.excerpt { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.excerpt h2 { font-size: 1.45rem; margin: 0 0 .2em; }
.excerpt h2 a { color: var(--navy); }
.meta { font-size: 15px; color: var(--muted); margin-bottom: .6em; }
.pager { display: flex; justify-content: space-between; margin-top: 30px; }
.post-cta { border-top: 1px solid var(--rule); margin-top: 36px; padding-top: 8px; }

/* footer */
.site-footer { background: var(--navy); color: #d5def0; text-align: center; font-size: 13px; padding: 34px 0 26px; }
.site-footer a { color: #fff; }
.footlinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.social { display: flex; justify-content: center; gap: 10px; margin-bottom: 12px; }
.social svg { width: 22px; height: 22px; fill: #fff; }
.blurb { max-width: 720px; margin: 0 auto 18px; }
.contact a.ph { font-weight: 700; }
.contact a.em { color: var(--btn); font-weight: 700; }
.copy { margin: 36px 0 0; }

/* tablets and phones */
@media (max-width: 900px) {
  .with-side { grid-template-columns: 1fr; gap: 0; }
  .sidebar { padding-top: 0; }
  .situations, .areas, .offices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  .topbar .wrap { font-size: 13px; gap: 2px 12px; }
  .topbar .call { width: 100%; text-align: center; margin: 0; }
  .menu-btn { display: block; width: 100%; background: none; border: 0; color: #fff; font: inherit; padding: 10px; cursor: pointer; }
  .mainnav ul { display: none; flex-direction: column; }
  .mainnav ul.open { display: flex; }
  .mainnav li ul { position: static; display: flex; box-shadow: none; background: var(--navy-dark); }
  .mainnav li ul a { padding-left: 32px; }
  .hero { padding: 32px 0 36px; }
  .hero h1 { font-size: 1.95rem; }
  .banner { min-height: 0; }
  .hero.has-photo, .banner.has-photo { background-image: linear-gradient(rgba(12,31,74,.86), rgba(12,31,74,.86)), var(--photo); }
  .banner .copy { padding: 36px 0 40px; }
  .banner h1 { font-size: 1.9rem; }
  main, main#main.wrap { padding-top: 32px; }
  .steps, .situations, .areas, .offices, .facts, .result, .deal { grid-template-columns: 1fr; }
  .wp-block-columns, .row, .col-8, .wp-block-media-text { display: block; }
  .col-2 { display: none; }
  .alignleft, .alignright, .content .alignleft, .content .alignright { float: none; display: block; margin: 0 auto 12px; max-width: 100%; }
  .lead-form .pair { grid-template-columns: 1fr; gap: 0; }
  .band, .Grey, .form-band { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.hoods span { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--rule); color: var(--navy); }
.offices strong { margin-bottom: 4px; }

/* home hero: centered */
.hero .copy { margin: 0 auto; text-align: center; max-width: 640px; }
.hero .copy::before { margin-left: auto; margin-right: auto; }
.hero .lead-form { margin: 0 auto; text-align: left; }
.hero.has-photo { background-image: linear-gradient(rgba(12,31,74,.84), rgba(12,31,74,.84)), var(--photo); }

/* intro block with your photo (photo shows only once you add it) */
.intro { text-align: center; max-width: 760px; margin: 0 auto; }
.intro h2 { margin-top: 0; }
.intro.with-photo { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: center; text-align: left; max-width: 900px; }
.headshot { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--sky), 0 14px 30px rgba(12, 31, 74, .18); display: block; }
@media (max-width: 700px) {
  .intro.with-photo { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .headshot { margin: 0 auto; width: 170px; height: 170px; }
}
