/* ============================================================
   The Bison Foundation — style.css
   ============================================================ */

/* 1. CSS Reset / Box-Sizing
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* 2. Design Tokens (CSS Custom Properties)
   ============================================================ */
:root {
  --color-dark: #2d3940;
  --color-teal: #29c4a9;
  --color-teal-hover: #1fa896;
  --color-light-bg: #f5f7f8;
  --color-white: #ffffff;
  --color-body: #3e3e3e;
  --color-secondary: #666666;
  --color-border: #e2e2e2;

  --font-family: "Open Sans", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  --header-height: 80px;
  --border-radius: 8px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.14);
  --transition: 0.25s ease;

  --max-width: 1100px;
  --section-padding: 80px 0;
  --container-padding: 0 20px;
}

/* 3. Base Typography
   ============================================================ */
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-body);
  background-color: var(--color-white);
  padding-top: var(--header-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}
h4 {
  font-size: 1.1rem;
}

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

strong {
  font-weight: 700;
}

/* 4. Utility Classes
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: var(--container-padding);
}

.text-center {
  text-align: center;
}
.text-white {
  color: var(--color-white) !important;
}
.text-teal {
  color: var(--color-teal) !important;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-5 {
  margin-top: 3rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}
.split-section.reverse > * {
  direction: ltr;
}

/* Section Titles */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-secondary);
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.section-title + .section-subtitle,
.section-title + p {
  margin-top: 0.75rem;
}

/* 5. Buttons
   ============================================================ */
.cta-band .btn-primary {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.cta-band .btn-primary:hover {
  background-color: #0f1f20;
  border-color: #0f1f20;
  color: var(--color-white);
}

.cta-band .btn-outline {
  background-color: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.cta-band .btn-outline:hover {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-white);
  border: 2px solid var(--color-teal);
}

.btn-primary:hover {
  background-color: var(--color-teal-hover);
  border-color: var(--color-teal-hover);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
}

.btn-outline:hover {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* 6. Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* 7. Logo
   ============================================================ */
.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  height: 55px;
  width: auto;
  border-radius: 4px;
}

/* 8. Navigation
   ============================================================ */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  transition:
    color var(--transition),
    background-color var(--transition);
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--color-teal);
}

.site-nav a.active {
  color: var(--color-teal);
  border-bottom: 2px solid var(--color-teal);
}

.nav-cta {
  background-color: var(--color-teal);
  color: var(--color-white) !important;
  border-radius: var(--border-radius) !important;
  padding: 0.45rem 1rem !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background-color: var(--color-teal-hover) !important;
  color: var(--color-white) !important;
}

/* 9. Dropdown
   ============================================================ */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-item > a::after {
  content: "▾";
  font-size: 0.7rem;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background-color: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 1.1rem !important;
  border-radius: 0 !important;
  font-size: 0.85rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background-color: rgba(41, 196, 169, 0.15);
  color: var(--color-teal) !important;
}

/* 10. Mobile Menu / Hamburger
   ============================================================ */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 6px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 11. Hero Sections
   ============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 60px 20px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1rem;
  background: rgba(41, 196, 169, 0.15);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(41, 196, 169, 0.4);
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Page Hero (smaller interior pages) */
.page-hero {
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-hero .subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* 12. Sections
   ============================================================ */
.section {
  padding: var(--section-padding);
}

.section-light {
  background-color: var(--color-light-bg);
}

.section-dark {
  background-color: var(--color-dark);
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.8);
}

.section-teal {
  background-color: var(--color-teal);
}

.section-teal .section-title,
.section-teal h2,
.section-teal h3 {
  color: var(--color-dark);
}

.section-teal p {
  color: var(--color-dark);
  opacity: 0.85;
}

/* 13. Cards
   ============================================================ */
.card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.card-text {
  font-size: 0.95rem;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}

/* Dark section cards */
.section-dark .card {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-dark .card:hover {
  background-color: rgba(255, 255, 255, 0.11);
}

.section-dark .card-title {
  color: var(--color-white);
}

.section-dark .card-text {
  color: rgba(255, 255, 255, 0.7);
}

/* 14. BISON Acronym Cards
   ============================================================ */
.bison-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.bison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
}

.bison-letter {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.bison-word {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.bison-desc {
  font-size: 0.9rem;
  color: var(--color-secondary);
}

/* 15. Team / People Cards
   ============================================================ */
.team-card {
  text-align: center;
  padding: 2rem 1rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--color-teal);
  box-shadow: var(--box-shadow);
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.team-title {
  font-size: 0.9rem;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 16. Partner Logos
   ============================================================ */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.partner-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.partner-logo img {
  max-height: 70px;
  max-width: 160px;
  width: auto;
  filter: grayscale(80%) opacity(0.7);
  transition: filter var(--transition);
}

.partner-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

/* 17. Gift Shop Product Cards
   ============================================================ */
.product-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
}

.product-card.dark-card {
  background-color: var(--color-dark);
}

.product-card .product-logo-wrap {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  background-color: var(--color-light-bg);
}

.product-card.dark-card .product-logo-wrap {
  background-color: var(--color-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card .product-logo-wrap img {
  max-height: 80px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
}

.product-card .product-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card.dark-card .product-body h3 {
  color: var(--color-white);
}

.product-card.dark-card .product-body p {
  color: rgba(255, 255, 255, 0.75);
}

.product-card .product-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.product-card .product-body p {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  flex: 1;
}

.product-card .product-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

/* 18. Support / Herd member sections
   ============================================================ */
.person-section {
  padding: var(--section-padding);
}

.person-section + .person-section {
  padding-top: 0;
}

.person-photo {
  width: 100%;
  max-width: 380px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  object-fit: cover;
}

.person-name {
  font-size: 1.4rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.person-subtitle {
  color: var(--color-teal);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* 19. Forms
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--color-body);
  background-color: var(--color-white);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(41, 196, 169, 0.15);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-secondary);
  margin-top: 0.4rem;
}

/* Inline newsletter form */
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
  flex-wrap: wrap;
}

.newsletter-form .form-control {
  flex: 1;
  min-width: 200px;
}

/* Status messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.alert-success {
  background-color: rgba(41, 196, 169, 0.12);
  border: 1.5px solid var(--color-teal);
  color: #1a7a6e;
}

.alert-error {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1.5px solid #dc3545;
  color: #842029;
}

/* 20. Contact Info
   ============================================================ */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(41, 196, 169, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-text strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-secondary);
  margin-bottom: 0.2rem;
}

.contact-info-text a {
  color: var(--color-teal);
  font-weight: 600;
}

.contact-info-text a:hover {
  color: var(--color-teal-hover);
}

/* 21. Footer
   ============================================================ */
.site-footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 55px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-teal);
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-teal);
}

.footer-bottom {
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--color-teal);
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--color-teal-hover);
}

/* 22. Pull Quote / Blockquote
   ============================================================ */
blockquote {
  border-left: 4px solid var(--color-teal);
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background-color: rgba(41, 196, 169, 0.07);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-dark);
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* List styles for content sections */
.content-list {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.content-list li {
  margin-bottom: 0.5rem;
  color: var(--color-body);
}

.content-list.ordered {
  list-style: decimal;
}

/* 23. Connections / Angel Farms etc
   ============================================================ */
.external-link-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-teal);
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border: 1.5px solid var(--color-teal);
  border-radius: 50px;
  transition:
    background-color var(--transition),
    color var(--transition);
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

.external-link-badge:hover {
  background-color: var(--color-teal);
  color: var(--color-white);
}

/* 24. Teal CTA Band
   ============================================================ */
.cta-band {
  background-color: var(--color-teal);
  padding: 60px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(45, 57, 64, 0.8);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.cta-band .btn-group {
  justify-content: center;
}

/* 25. Numbered Steps
   ============================================================ */
.steps-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.steps-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.steps-list li::before {
  content: counter(steps);
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: var(--color-teal);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* 26. Image + text split helpers
   ============================================================ */
.split-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}

/* 27. Responsive — 768px breakpoint
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 50px 0;
  }

  body {
    padding-top: var(--header-height);
  }

  /* Mobile nav */
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  .site-nav > a,
  .nav-item > a {
    width: 100%;
    padding: 0.85rem 1rem !important;
    font-size: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0 !important;
  }

  .nav-cta {
    margin: 0.75rem 0 0 !important;
    border-radius: var(--border-radius) !important;
    text-align: center;
    padding: 0.75rem 1rem !important;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item > a::after {
    margin-left: auto;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: none;
  }

  .dropdown.open {
    display: block;
  }

  .dropdown a {
    padding-left: 2rem !important;
    font-size: 0.9rem !important;
  }

  /* Grids to single column */
  .grid-2,
  .grid-3,
  .grid-4,
  .split-section,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .split-image img {
    max-height: 280px;
  }

  .hero {
    min-height: 460px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .page-hero {
    min-height: 220px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .form-control {
    min-width: 0;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    text-align: center;
  }

  .team-photo {
    width: 120px;
    height: 120px;
  }

  .footer-grid {
    gap: 2rem;
  }

  .person-photo {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 40px 16px;
  }

  .bison-letter {
    font-size: 2.2rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* 28. BISON 5-column grid responsiveness
   ============================================================ */
@media (max-width: 900px) {
  .grid-5[style*="repeat(5"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .grid-5[style*="repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* 29. Fade-in scroll animation
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Stagger siblings inside a grid when they share a parent */
.fade-in > .bison-card:nth-child(2),
.fade-in > .card:nth-child(2),
.fade-in > .team-card:nth-child(2) {
  transition-delay: 0.08s;
}

.fade-in > .bison-card:nth-child(3),
.fade-in > .card:nth-child(3),
.fade-in > .team-card:nth-child(3) {
  transition-delay: 0.16s;
}

.fade-in > .bison-card:nth-child(4),
.fade-in > .card:nth-child(4),
.fade-in > .team-card:nth-child(4) {
  transition-delay: 0.24s;
}

.fade-in > .bison-card:nth-child(5),
.fade-in > .card:nth-child(5) {
  transition-delay: 0.32s;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
