/* ================================
   Prairie Oak Advisors — styles.css
   ================================ */

:root {
  --forest: #1f3d2b;
  --forest-dark: #142a1c;
  --forest-light: #2c5339;
  --gold: #a8813c;
  --gold-light: #c9a660;
  --cream: #f8f2e7;
  --cream-dark: #efe6d4;
  --white: #fffdf9;
  --text: #2b2b26;
  --text-light: #5c5a52;
  --border: #e2d6ba;
  --shadow: 0 10px 30px rgba(20, 42, 28, 0.08);
  --radius: 6px;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--forest);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 620px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest h2, .section-forest h3 { color: var(--white); }
.section-forest .lede { color: rgba(248, 242, 231, 0.82); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 42px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); box-shadow: inset 0 0 0 2px var(--white); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
  box-shadow: inset 0 0 0 2px var(--forest);
}
.btn-outline-dark:hover { background: var(--forest); color: var(--white); box-shadow: inset 0 0 0 2px var(--forest); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo-link img { height: 62px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--forest);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active { border-bottom-color: var(--gold); }

.main-nav .btn { padding: 15px 58px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--forest);
  cursor: pointer;
}

@media (max-width: 860px) {
  .main-nav ul {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open ul { display: flex; }
  .main-nav ul li { border-top: 1px solid var(--border); }
  .main-nav ul li a { display: block; padding: 16px 24px; }
  .main-nav .btn { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--forest-dark) 0%, var(--forest) 55%, var(--forest-light) 100%);
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,42,28,0.55) 0%, rgba(20,42,28,0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}
.hero-text { max-width: 600px; }
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content h1 { color: var(--white); margin-bottom: 18px; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.hero-content p { color: rgba(248,242,231,0.88); font-size: 1.1rem; max-width: 560px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-logo { flex: 0 0 auto; }
.hero-logo img { height: 215px; width: auto; }

@media (max-width: 860px) {
  .hero-content { flex-direction: column; text-align: center; gap: 30px; }
  .hero-text { max-width: 100%; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-logo img { height: 140px; }
}

.video-note {
  position: relative;
  z-index: 2;
  font-size: 0.72rem;
  color: rgba(248,242,231,0.5);
  padding: 0 24px 18px;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--forest);
  color: var(--white);
  padding: 70px 0;
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(248,242,231,0.85); margin: 18px 0 0; text-align: left; }

.page-hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}
.page-hero-logo { flex: 0 0 auto; }
.page-hero-logo img {
  height: 190px;
  width: auto;
}
.page-hero-text { max-width: 560px; }

.page-hero.reverse .page-hero-inner { flex-direction: row-reverse; }

@media (max-width: 760px) {
  .page-hero-inner { flex-direction: column; text-align: center; gap: 30px; }
  .page-hero.reverse .page-hero-inner { flex-direction: column; }
  .page-hero-logo img { height: 130px; }
  .page-hero-text { max-width: 100%; }
  .page-hero-text .lede { text-align: center; margin-left: auto; margin-right: auto; }
}

/* ---------- Grid / Cards ---------- */
.grid {
  display: grid;
  gap: 32px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
}
.card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 0.98rem; }
.card p strong { color: var(--forest); font-weight: 700; }

.card.photo-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: none;
}
.photo-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.photo-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 242, 231, 0.86);
}
.photo-card-content {
  position: relative;
  padding: 34px 28px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}
.photo-card-content .icon-badge { background: rgba(255,253,249,0.9); }

/* ---------- Section header ---------- */
.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

/* ---------- Two column layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}
.split img, .split .media-placeholder { border-radius: var(--radius); box-shadow: var(--shadow); }

.media-placeholder {
  background: var(--cream-dark);
  border: 1px dashed var(--gold-light);
  color: var(--text-light);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  padding: 24px;
  border-radius: var(--radius);
}
.home-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-placeholder.wide {
  max-width: 800px;
  min-height: 280px;
  margin: 0 auto 48px;
}

.story-photo {
  max-width: 800px;
  margin: 0 auto 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* ---------- Prose (long-form story copy) ---------- */
.prose {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.85;
}
.prose p { margin-bottom: 22px; }
.prose h3 {
  text-align: center;
  margin: 46px 0 20px;
}
.prose-emphasis {
  font-weight: 700;
  color: var(--forest);
}
.prose-pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--forest);
  text-align: center;
  line-height: 1.5;
  margin: 38px 0 !important;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 32px 24px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(248,242,231,0.18);
  border-radius: var(--radius);
}
.step-number {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-light);
  margin-bottom: 10px;
  display: block;
}
.step h3 { color: var(--white); margin-bottom: 8px; }
.step p { color: rgba(248,242,231,0.78); font-size: 0.94rem; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-photo {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: var(--cream-dark);
  border: 1px dashed var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0 auto 20px;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.team-photo.has-photo {
  border: none;
  background: none;
  padding: 0;
  box-shadow: var(--shadow);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card h3 { margin-bottom: 2px; }
.team-role {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.team-bio { color: var(--text-light); font-size: 0.95rem; text-align: left; margin-bottom: 12px; }
.team-bio:last-child { margin-bottom: 0; }

/* ---------- Quote / pull block ---------- */
/* ---------- Stat grid ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 700px) { .stat-grid { grid-template-columns: repeat(1, 1fr); } }
.stat-number {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--forest);
  margin-bottom: 6px;
}
.stat-caption {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}
.stat-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 18px;
}

/* ---------- Fact list ---------- */
.fact-list { list-style: none; max-width: 720px; margin: 32px auto 0; }
.fact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}
.fact-list li strong { color: var(--forest); }

.pull-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--forest);
  font-style: italic;
  line-height: 1.4;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gold);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 30px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--forest);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.98rem;
  background: var(--white);
}
.form-field textarea { min-height: 130px; resize: vertical; }

.contact-info-card {
  background: var(--forest);
  color: var(--cream);
  padding: 40px 32px;
  border-radius: var(--radius);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 20px; }
.contact-info-card .row { margin-bottom: 18px; font-size: 0.96rem; }
.contact-info-card .row span {
  display: block;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: rgba(248,242,231,0.75);
  padding: 64px 0 30px;
  font-size: 0.88rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248,242,231,0.15);
  margin-bottom: 30px;
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 30px; } }
.footer-top .logo-link img { height: 50px; margin-bottom: 16px; }
.footer-top h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-top ul { list-style: none; }
.footer-top ul li { margin-bottom: 10px; }
.footer-top a:hover { color: var(--gold-light); }

.footer-disclosure {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(248,242,231,0.55);
}
.footer-disclosure p { margin-bottom: 12px; }
.footer-disclosure a { text-decoration: underline; }
.footer-links { margin: 14px 0; }
.footer-links a { margin-right: 16px; color: rgba(248,242,231,0.7); text-decoration: underline; }
.footer-bottom {
  margin-top: 24px;
  font-size: 0.78rem;
  color: rgba(248,242,231,0.45);
}

.placeholder-flag {
  display: inline-block;
  background: rgba(168,129,60,0.15);
  color: var(--gold);
  border: 1px dashed var(--gold);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
