/* ============================================================
   Summit Fox Advisors — Design System
   Country/western warmth: fox orange lead, greige/cowhide
   neutrals (warm grey, no brown); forest green quiet accent.
   Roots: Oklahoma plains, Texas, Colorado mountains.
   ============================================================ */

:root {
  /* Brand */
  --orange-500: #f7941d;  /* fox orange (logo) */
  --orange-600: #d97c0a;
  --orange-700: #b05e08;  /* burnt orange */
  --orange-050: #fdf1e0;
  --green-700: #2d6a2f;   /* wordmark green — subtle accent only */
  --green-050: #edf3ea;

  /* Greige neutrals — warm grey, cowhide depth, no brown */
  --greige-900: #2a2824;  /* dark charcoal-greige */
  --greige-800: #3c3933;
  --greige-700: #68635a;  /* mid greige */
  --ink: #2e2b26;
  --ink-soft: #5d584f;
  --paper: #f7f5f0;       /* greige cream */
  --stone: #ebe7df;       /* light greige */
  --line: #dcd7cc;
  --white: #fffefb;

  /* Type */
  --font-head: "Bitter", "Iowan Old Style", Georgia, serif;
  --font-ui: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --shadow: 0 2px 8px rgba(42, 40, 36, 0.07), 0 12px 32px rgba(42, 40, 36, 0.09);
  --shadow-lg: 0 4px 12px rgba(42, 40, 36, 0.09), 0 24px 56px rgba(42, 40, 36, 0.16);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--greige-900);
  line-height: 1.18;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--font-ui);
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none; color: var(--ink);
  letter-spacing: 0.01em;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-600); }

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700; font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer; border: 0;
}
.btn-primary { background: var(--orange-500); color: #fff !important; }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline {
  border: 2px solid var(--greige-700); color: var(--greige-700) !important;
  background: transparent;
}
.btn-outline:hover { background: var(--stone); }
.btn-light { background: var(--white); color: var(--greige-900) !important; }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.nav .btn { padding: 10px 22px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--greige-900);
  margin: 5px 0; border-radius: 2px; transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(28, 26, 23, 0.92) 0%, rgba(28, 26, 23, 0.74) 36%, rgba(28, 26, 23, 0.38) 66%, rgba(28, 26, 23, 0.14) 100%),
    linear-gradient(to top, rgba(28, 26, 23, 0.60) 0%, rgba(28, 26, 23, 0) 42%),
    url("../images/hero/summit-hero.jpg") center 42% / cover no-repeat,
    var(--greige-900);
  color: #fff;
  overflow: hidden;
}
/* Home hero can run a little taller to show the mountain scene */
.hero.hero-home .hero-inner { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }

/* About hero uses the alpine-lake photo (brighter, so a slightly stronger scrim) */
.hero.hero-about {
  background:
    linear-gradient(100deg, rgba(28, 26, 23, 0.94) 0%, rgba(28, 26, 23, 0.80) 38%, rgba(28, 26, 23, 0.44) 68%, rgba(28, 26, 23, 0.18) 100%),
    linear-gradient(to top, rgba(28, 26, 23, 0.58) 0%, rgba(28, 26, 23, 0) 46%),
    url("../images/hero/about-hero.jpg") center 46% / cover no-repeat,
    var(--greige-900);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(72px, 12vw, 130px) 24px;
}
.hero .kicker {
  font-family: var(--font-ui);
  color: var(--orange-500);
  font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: 20px; }
.hero .lede { font-size: 1.25rem; max-width: 54ch; color: rgba(247,246,243,0.9); margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section-alt { background: var(--stone); }
.section-green { background: var(--greige-900); color: #fff; }
.section-green h2 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .kicker, .split .kicker {
  font-family: var(--font-ui);
  color: var(--orange-600);
  font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); }
.card .card-cta {
  margin-top: auto; padding-top: 16px;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.92rem;
  color: var(--orange-600); text-decoration: none;
}
.card .card-cta:hover { text-decoration: underline; }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--orange-050);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--orange-600);
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600; line-height: 1.4;
  color: #fff; max-width: 24ch; margin: 0 auto 14px;
}
.quote-band cite {
  font-style: normal; color: var(--orange-500);
  font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.06em;
}

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.split-img-lg { grid-template-columns: 4fr 5fr; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--ink-soft); }

.photo-caption {
  font-family: var(--font-ui);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--greige-700);
  margin-top: 14px; text-align: center;
}
.photo-caption .photo-credit {
  display: block; margin-top: 3px;
  font-weight: 500; text-transform: none;
  letter-spacing: 0.02em; font-style: italic;
  color: var(--ink-soft);
}

.checklist { list-style: none; margin: 20px 0 26px; }
.checklist li {
  padding-left: 34px; position: relative; margin-bottom: 12px; color: var(--ink);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-050);
  border: 2px solid var(--green-700);
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: 8px;
  width: 6px; height: 10px;
  border: solid var(--green-700); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat .num {
  font-family: var(--font-ui); font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.9rem); color: var(--orange-500);
}
.stat .label { color: rgba(247,246,243,0.85); font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--orange-700), var(--orange-500));
  border-radius: 20px;
  padding: clamp(40px, 7vw, 64px);
  text-align: center; color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(248,247,244,0.92); max-width: 52ch; margin: 0 auto 28px; }
.cta-band .btn-light { color: var(--orange-700) !important; }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; padding: 0; }
.post-card .post-thumb { width: 100%; height: 190px; object-fit: cover; }
.post-card .post-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange-600);
  margin-bottom: 10px;
}
.post-card h3 a { color: var(--greige-900); text-decoration: none; }
.post-card h3 a:hover { color: var(--orange-600); }

.article { max-width: 720px; margin: 0 auto; }
.article-hero {
  width: 100%; max-height: 400px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 2.2rem;
}
.article-header { text-align: center; margin-bottom: 40px; }
.article-header h1 { margin: 10px 0 14px; }
.article-header .post-meta { margin-bottom: 0; }
.article h2 { margin: 2.2rem 0 0.8rem; font-size: 1.5rem; }
.article h3 { margin: 1.8rem 0 0.6rem; }
.article ul, .article ol { margin: 0 0 1rem 1.4rem; }
.article li { margin-bottom: 0.4rem; }
.article blockquote {
  border-left: 4px solid var(--orange-500);
  padding: 4px 0 4px 20px; margin: 1.4rem 0;
  color: var(--ink-soft); font-style: italic;
}

/* ---------- Contact ---------- */
.contact-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
}
.contact-list { list-style: none; }
.contact-list li { margin-bottom: 16px; padding-left: 30px; position: relative; }
.contact-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange-500);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--greige-900); color: rgba(245,243,238,0.82); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 56px 24px 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid img { height: 60px; width: auto; margin-bottom: 16px; }
.site-footer h4 {
  color: #fff; font-family: var(--font-ui); font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(245,243,238,0.82); text-decoration: none; }
.site-footer a:hover { color: var(--orange-500); }
.footer-tagline { max-width: 34ch; font-size: 0.98rem; }
.footer-bottom {
  border-top: 1px solid rgba(245,243,238,0.16);
  padding-top: 22px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 0.88rem; color: rgba(245,243,238,0.55);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split, .split.split-img-lg { grid-template-columns: 1fr; }
  .split-img { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-row { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 0; top: 80px;
    background: var(--paper);
    flex-direction: column; justify-content: flex-start;
    padding-top: 40px; gap: 26px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.15rem; }
  .nav-toggle { display: block; }
  .brand img { height: 44px; }
}
