/* Prairie Ridge Energy Partners — one-page site
 * Palette borrowed from the Falcon platform: gray-900 navy surfaces, Flowbite
 * primary blue for actions, gray-50 page, thin gray-200 borders, 12px radius,
 * gold/teal accents used sparingly. */

:root {
  --navy-900: #111827;   /* Falcon dark page */
  --navy-800: #1f2937;   /* Falcon dark card */
  --navy-700: #374151;
  --navy-deep: #001c30;  /* logo background */
  --brand: #1c64f2;      /* Falcon primary-600 */
  --brand-strong: #1a56db;
  --brand-soft: #eef3fe;
  --gold: #ffd64a;
  --teal: #1dffa6;
  --page: #f9fafb;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --muted-dark: #9ca3af;
  --radius: 0.75rem;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 1px 3px rgb(0 0 0 / .04);
  --container: 1120px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 1.25rem; }
.section { padding-block: 5.5rem; }
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .9rem;
}
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 46rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: .6rem; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .35); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn svg { width: 1rem; height: 1rem; }

/* ─── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-deep); /* matches the logo's navy so its box disappears */
  border-bottom: 1px solid rgb(255 255 255 / .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; }
.brand img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #d1d5db; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { padding: .55rem 1rem; color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid rgb(255 255 255 / .2); border-radius: .5rem;
  color: #fff; padding: .45rem .55rem; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding-block: 6.5rem 6rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgb(28 100 242 / .35), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgb(255 214 74 / .10), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / .8), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / .8), transparent 85%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.15rem; color: #cbd5e1; max-width: 36rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #cbd5e1; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12);
  border-radius: 999px; padding: .35rem .85rem .35rem .5rem; margin-bottom: 1.5rem;
}
.hero-pill i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgb(29 255 166 / .18); }
.hero-visual { display: grid; gap: 1rem; }
.stat-card {
  background: rgb(31 41 55 / .8); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; backdrop-filter: blur(6px);
}
.stat-card strong { display: block; font-size: 1.05rem; color: #fff; margin-bottom: .25rem; }
.stat-card span { color: var(--muted-dark); font-size: .92rem; }
.stat-card .k { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: .4rem; }

/* ─── Overview ─────────────────────────────────────────────────────────── */
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.75rem;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon {
  width: 46px; height: 46px; border-radius: .7rem; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 1.1rem;
}
.icon svg { width: 22px; height: 22px; }
.basins { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.25rem; }
.basins span {
  font-size: .85rem; font-weight: 600; color: var(--navy-800);
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: .4rem .9rem;
}
.basins span::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); margin-right: .5rem; vertical-align: 1px; }

/* ─── Falcon ───────────────────────────────────────────────────────────── */
.falcon { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.falcon::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50rem 26rem at 10% 0%, rgb(28 100 242 / .28), transparent 60%);
}
.falcon .container { position: relative; }
.falcon .eyebrow { color: var(--teal); }
.falcon .lead { color: #cbd5e1; }
.falcon-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.falcon-wordmark { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.falcon-wordmark .mark {
  width: 52px; height: 52px; border-radius: .8rem; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), #4f46e5); box-shadow: 0 10px 24px rgb(28 100 242 / .35);
}
.falcon-wordmark .mark svg { width: 30px; height: 30px; }
.falcon-wordmark strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; }
.falcon-wordmark small { display: block; color: var(--muted-dark); font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.falcon-note {
  background: rgb(31 41 55 / .85); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; color: #cbd5e1; font-size: .95rem;
}
.falcon-note strong { color: #fff; }
.falcon-note p:last-child { margin: 0; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cap {
  background: var(--navy-800); border: 1px solid rgb(255 255 255 / .09); border-radius: var(--radius);
  padding: 1.6rem; transition: border-color .2s, transform .2s;
}
.cap:hover { border-color: rgb(28 100 242 / .6); transform: translateY(-2px); }
.cap .icon { background: rgb(28 100 242 / .18); color: #93c5fd; }
.cap h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.cap p { color: var(--muted-dark); margin: 0; font-size: .93rem; }
.pipeline {
  margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius); overflow: hidden; background: rgb(31 41 55 / .6);
}
.pipeline div { padding: 1.1rem 1.25rem; border-right: 1px solid rgb(255 255 255 / .08); }
.pipeline div:last-child { border-right: 0; }
.pipeline b { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.pipeline span { color: #e5e7eb; font-size: .92rem; font-weight: 500; }

/* ─── Leadership ───────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
.person { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; padding: 2rem; }
.person .photo {
  width: 220px; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  background: var(--brand-soft); border: 1px solid var(--border);
}
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person .photo.placeholder { display: grid; place-items: center; color: var(--brand); background: linear-gradient(160deg, #eef3fe, #dbe6fd); }
.person .photo.placeholder svg { width: 64px; height: 64px; opacity: .8; }
.person h3 { font-size: 1.35rem; font-weight: 700; }
.person .role { color: var(--brand); font-weight: 600; font-size: .92rem; margin: .25rem 0 .9rem; }
.person p { color: var(--muted); font-size: .97rem; margin: 0 0 .8rem; max-width: 62rem; }
.person p:last-child { margin: 0; }
.coming-soon {
  display: inline-block; font-size: .78rem; font-weight: 600; color: #b45309; background: #fef3c7;
  border: 1px solid #fde68a; border-radius: 999px; padding: .25rem .7rem; margin-top: .25rem;
}
details.more { margin-top: .5rem; }
details.more summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: .9rem; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: " +"; }
details.more[open] summary::after { content: " \2013"; }
details.more ul { margin: .75rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
details.more li { margin-bottom: .4rem; }

/* ─── Contact band ─────────────────────────────────────────────────────── */
.contact-band { background: var(--brand); color: #fff; padding-block: 3.5rem; }
.contact-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.contact-band h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: .35rem; }
.contact-band p { margin: 0; color: #dbe6fd; }
.contact-band .btn { background: #fff; color: var(--brand-strong); }
.contact-band .btn:hover { background: #eef3fe; color: var(--brand-strong); }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: var(--muted-dark); font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.footer-top img { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-top h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { margin-bottom: .55rem; }
.footer-top a { color: var(--muted-dark); }
.footer-top a:hover { color: #fff; }
.footer-top p { margin-bottom: .5rem; }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .1); padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .82rem; color: #6b7280;
}
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: #9ca3af; }
.footer-bottom a:hover { color: #fff; }
.disclaimer { font-size: .78rem; color: #6b7280; line-height: 1.55; padding-bottom: 1.75rem; }

/* ─── Legal pages (privacy.html, terms.html) ───────────────────────────── */
.legal-hero { background: var(--navy-900); color: #fff; padding-block: 4rem 3.5rem; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: .6rem; }
.legal-hero p { color: var(--muted-dark); margin: 0; }
.legal-body { max-width: 760px; padding-block: 3.5rem 4.5rem; }
.legal-body h2 { font-size: 1.35rem; font-weight: 700; margin: 2.25rem 0 .75rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.05rem; font-weight: 700; margin: 1.4rem 0 .5rem; }
.legal-body p, .legal-body li { color: #374151; font-size: 1rem; }
.legal-body ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.legal-body li { margin-bottom: .4rem; }
.legal-body .notice {
  background: var(--brand-soft); border: 1px solid #c7d7fb; border-radius: var(--radius);
  padding: 1rem 1.25rem; color: var(--navy-800); font-size: .95rem; margin-bottom: 2rem;
}
.legal-body .notice p { margin: 0; color: var(--navy-800); }
.legal-body .back { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; margin-top: 2.5rem; }
.legal-body .back svg { width: 1rem; height: 1rem; }

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid, .falcon-head { grid-template-columns: 1fr; }
  .overview-grid, .cap-grid { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline div:nth-child(2) { border-right: 0; }
  .pipeline div:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / .08); }
  .person { grid-template-columns: 170px 1fr; gap: 1.5rem; }
  .person .photo { width: 170px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding-block: 4rem; }
  .hero { padding-block: 4.5rem 4rem; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); border-bottom: 1px solid rgb(255 255 255 / .1); padding: .5rem 1.25rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: .8rem 0; }
  .nav-links .btn { margin-top: .5rem; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .overview-grid, .cap-grid, .pipeline { grid-template-columns: 1fr; }
  .pipeline div { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
  .pipeline div:last-child { border-bottom: 0; }
  .person { grid-template-columns: 1fr; padding: 1.5rem; }
  .person .photo { width: 150px; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cap, .btn { transition: none; }
}
