/*
Theme Name: Prairie Ridge Solutions
Theme URI: https://prairieridgesolutions.com
Author: Prairie Ridge Digital
Description: A fast, accessible, independent WordPress theme for Prairie Ridge Solutions.
Version: 1.5.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: prairie-ridge-solutions
*/

:root {
  --prs-ink: #11283b;
  --prs-navy: #0b2030;
  --prs-blue: #1f597d;
  --prs-sky: #e8f3f7;
  --prs-gold: #c7a24d;
  --prs-cream: #f7f4ed;
  --prs-white: #fff;
  --prs-muted: #5b6a73;
  --prs-line: #d8e1e5;
  --prs-radius: 18px;
  --prs-shadow: 0 18px 45px rgba(11, 32, 48, .11);
  --prs-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--prs-ink); background: var(--prs-white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: var(--prs-blue); text-underline-offset: 3px; }
.social-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; text-decoration: none; }
.social-link span { display: inline-grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; background: #1877f2; font-family: Arial, sans-serif; font-size: 1.15rem; font-weight: 800; }
.social-link--linkedin span { background: #0a66c2; font-size: .82rem; }
.social-list { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.digital-credit { display: inline-block; margin-top: 9px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .65em; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.02em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.15rem; }
.wrap { width: min(calc(100% - 40px), var(--prs-width)); margin-inline: auto; }
.site-main { min-height: 65vh; }
.eyebrow { display: block; margin-bottom: 12px; color: var(--prs-blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lede { max-width: 720px; color: var(--prs-muted); font-size: 1.16rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 2px solid var(--prs-blue); border-radius: 999px; background: var(--prs-blue); color: var(--prs-white); font-weight: 750; text-decoration: none; transition: .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--prs-navy); border-color: var(--prs-navy); }
.button--light { background: transparent; color: var(--prs-ink); border-color: rgba(17, 40, 59, .28); }
.button--light:hover { color: var(--prs-white); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.topbar { padding: 8px 0; background: var(--prs-navy); color: #d8e8ef; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 18px; }
.topbar a { color: inherit; text-decoration: none; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(17, 40, 59, .08); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--prs-navy); text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50% 50% 50% 12px; background: linear-gradient(145deg, var(--prs-blue), var(--prs-navy)); color: white; font-family: Georgia, serif; font-weight: 700; }
.brand-text { line-height: 1.05; }
.brand-text strong { display: block; font-family: Georgia, serif; font-size: 1.07rem; }
.brand-text small { color: var(--prs-muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { max-width: 285px; max-height: 72px; width: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--prs-ink); font-size: .91rem; font-weight: 700; text-decoration: none; }
.site-nav .button, .site-nav .button:visited { color: var(--prs-white); }
.site-nav .button:hover, .site-nav .button:focus-visible { color: var(--prs-white); }
.menu-toggle { display: none; padding: 9px 12px; border: 1px solid var(--prs-line); border-radius: 10px; background: white; font: inherit; }
.mobile-only { display: none; }

.hero { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 145px) 0 100px; background: linear-gradient(120deg, var(--prs-cream) 0 62%, var(--prs-sky) 62%); }
.hero::after { position: absolute; right: -8vw; bottom: -24vw; width: 52vw; height: 52vw; border: 1px solid rgba(31,89,125,.17); border-radius: 50%; box-shadow: 0 0 0 70px rgba(31,89,125,.05), 0 0 0 140px rgba(31,89,125,.04); content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 70px; }
.hero h1 span { display: block; color: var(--prs-blue); }
.hero-card { padding: 36px; border: 1px solid rgba(31,89,125,.2); border-radius: 28px; background: rgba(255,255,255,.78); box-shadow: var(--prs-shadow); }
.hero-card .quote { font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.35; }
.hero-card strong { display: block; margin-top: 20px; }

.section { padding: 92px 0; }
.section--tint { background: var(--prs-cream); }
.section--dark { background: var(--prs-navy); color: var(--prs-white); }
.section--dark .eyebrow { color: #8fc4da; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading > * { max-width: 690px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 32px; border: 1px solid var(--prs-line); border-radius: var(--prs-radius); background: var(--prs-white); box-shadow: 0 8px 25px rgba(11,32,48,.05); }
.card-number { color: var(--prs-gold); font-family: Georgia, serif; font-size: 2rem; }
.card a { font-weight: 800; }
.check-list { margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 10px 0; padding-left: 26px; }
.check-list li::before { position: absolute; left: 0; color: var(--prs-gold); content: "✓"; font-weight: 900; }
.bio-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 72px; }
.portrait-card { margin: 0; overflow: hidden; border: 1px solid var(--prs-line); border-radius: 32px 32px 86px 32px; background: var(--prs-sky); box-shadow: var(--prs-shadow); }
.portrait-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.portrait-card figcaption { padding: 28px 32px 34px; color: var(--prs-navy); }
.portrait-card strong { display: block; font-family: Georgia, serif; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.08; }
.portrait-card small { display: block; margin-top: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.licensed { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--prs-line); color: var(--prs-muted); font-size: .92rem; }
.cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 45px; border-radius: 28px; background: var(--prs-blue); color: white; box-shadow: var(--prs-shadow); }
.cta h2 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3rem); }
.cta .button { border-color: white; background: white; color: var(--prs-navy); }

.page-hero { padding: 85px 0 55px; background: var(--prs-cream); }
.section--compact { padding-top: 24px; }
.security-note { margin-top: 28px; padding: 20px 24px; border-left: 4px solid var(--prs-blue); background: var(--prs-sky); border-radius: 0 12px 12px 0; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 6vw, 4.8rem); }
.content-narrow { max-width: 820px; }
.content-narrow h2 { margin-top: 2rem; font-size: 2rem; }
.notice { margin: 28px 0; padding: 24px; border-left: 4px solid var(--prs-gold); background: var(--prs-cream); font-size: .9rem; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--prs-line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; margin-bottom: 6px; font-weight: 750; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid #adbec7; border-radius: 10px; background: white; color: var(--prs-ink); font: inherit; }
textarea { min-height: 150px; resize: vertical; }
.field { margin-bottom: 18px; }
.consent-field { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 10px; margin: 20px 0; padding: 18px; border: 1px solid var(--prs-line); border-radius: 12px; background: var(--prs-cream); }
.consent-field input { width: auto; margin-top: 5px; }
.consent-field label { margin: 0; font-size: .82rem; font-weight: 500; line-height: 1.55; }
.status { margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; background: #e9f5ec; }
.schedule-frame { width: 100%; min-height: 850px; border: 0; border-radius: 18px; background: var(--prs-cream); }

.site-footer { padding: 65px 0 24px; background: #071722; color: #d6e1e6; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr; gap: 55px; }
.site-footer h3 { color: white; font-family: inherit; font-size: 1rem; }
.site-footer a { color: #d6e1e6; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin: 7px 0; }
.disclosure { margin-top: 45px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: #aebfc7; font-size: .73rem; }
.copyright { margin-top: 18px; color: #8fa5af; font-size: .75rem; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pagination .page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--prs-line); border-radius: 9px; background: white; font-weight: 800; text-decoration: none; }
.pagination .current { border-color: var(--prs-blue); background: var(--prs-blue); color: white; }

@media (max-width: 900px) {
  .topbar { display: none; }
  .menu-toggle { display: inline-block; }
  .site-nav { position: absolute; top: 82px; right: 20px; left: 20px; display: none; padding: 22px; border: 1px solid var(--prs-line); border-radius: 14px; background: white; box-shadow: var(--prs-shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav li { margin: 12px 0; }
  .site-nav .mobile-only { display: block; margin: 12px 0; }
  .site-nav .button { margin-top: 12px; }
  .hero-grid, .bio-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 28px), var(--prs-width)); }
  .hero { padding-top: 68px; }
  .grid-2, .grid-3, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .section-heading { display: block; }
  .brand-text small { display: none; }
  .cta { padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
