/* ========================================
   BISON FINANCIAL — Styles
   Clean, modern, single-page website
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1A30;
  --gold: #C8963E;
  --gold-light: #D4AA5C;
  --gold-muted: rgba(200, 150, 62, 0.15);
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --gray-50: #F5F5F3;
  --gray-100: #EBEBEB;
  --gray-200: #D4D4D4;
  --gray-400: #9CA3AF;
  --gray-600: #5A6070;
  --gray-800: #2D3142;
  --text-primary: #1E2128;
  --text-secondary: #5A6070;

  --font-headline: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --max-width: 1140px;
  --section-pad: clamp(72px, 9vw, 120px);
  --section-pad-sm: clamp(48px, 6vw, 80px);

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);

  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.hidden { display: none !important; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --- Focus States --- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --- Section Headers --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.section-header { margin-bottom: 48px; }

.section-eyebrow--light { color: var(--gold-light); }
.section-title--light { color: var(--white); }
.section-desc--light { color: rgba(255, 255, 255, 0.75); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: #B8872F;
  border-color: #B8872F;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200, 150, 62, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--full { width: 100%; }

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav--scrolled {
  border-bottom-color: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.nav__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.nav__logo-text {
  font-family: var(--font-headline);
  font-size: 20px;
  color: var(--navy);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}

.nav__menu a:hover { color: var(--navy); }

.nav__menu a.active {
  color: var(--navy);
}

.nav__menu .nav__cta {
  background: var(--navy);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav__menu .nav__cta:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 150, 62, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 150, 62, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--navy), transparent);
}

.hero__content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-headline);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 720px;
}

.hero__subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 680px;
  padding-top: 40px;
  border-top: 1px solid rgba(200, 150, 62, 0.2);
}

.hero__stat-number {
  display: block;
  font-family: var(--font-headline);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--gold);
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  gap: 56px;
}

.about__text {
  max-width: 640px;
}

.about__text p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  padding: 32px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.pillar__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}

.pillar__icon svg { width: 100%; height: 100%; }

.pillar__title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--navy);
}

.pillar__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ========================================
   MARKET OPPORTUNITY
   ======================================== */
.market {
  padding: var(--section-pad) 0;
  background: var(--navy);
}

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

.market__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
}

.market__card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(200, 150, 62, 0.3);
  transform: translateY(-4px);
}

.market__card-number {
  display: block;
  font-family: var(--font-headline);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.market__card-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.market__card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ========================================
   STRATEGY
   ======================================== */
.strategy {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.strategy__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.strategy__step {
  flex: 1;
  padding: 28px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  position: relative;
}

.strategy__step-num {
  font-family: var(--font-headline);
  font-size: 36px;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.strategy__step-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
}

.strategy__step-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.strategy__connector {
  display: flex;
  align-items: center;
  width: 40px;
  flex-shrink: 0;
  color: var(--gold);
  padding-top: 40px;
}

.strategy__connector svg {
  width: 100%;
  height: auto;
}

/* ========================================
   BORROWERS
   ======================================== */
.borrowers {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.borrowers__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.borrowers__terms {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.borrowers__terms-title {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
}

.terms-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.terms-row:last-child { border-bottom: none; }

.terms-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.terms-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
}

.borrowers__qualifications {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.borrowers__qual-title {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
}

.qual-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.qual-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.qual-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.qual-item strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 2px;
}

.qual-item span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========================================
   INVESTORS
   ======================================== */
.investors {
  padding: var(--section-pad) 0;
  background: var(--navy);
}

.investors__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.investors__returns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.return-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.return-stat__number {
  display: block;
  font-family: var(--font-headline);
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.return-stat__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.return-stat--wide {
  grid-column: 1 / -1;
  padding: 20px 24px;
}

.investors__protect-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 24px;
}

.protect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.protect-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 24px;
}

.protect-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-bottom: 12px;
}

.protect-item strong {
  display: block;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 4px;
}

.protect-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   LEADERSHIP
   ======================================== */
.leadership {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.leader {
  max-width: 720px;
}

.leader__name {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 4px;
}

.leader__role {
  font-size: 16px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.leader__bio {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.leader__competencies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.competency-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gold-muted);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact__text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 8px;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.contact__detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}

.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.15);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy-deep);
  padding: 48px 0 32px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-headline);
  font-size: 12px;
}

.footer__name {
  font-family: var(--font-headline);
  font-size: 18px;
  color: var(--white);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
  max-width: 800px;
}

/* ========================================
   RESPONSIVE — Tablet
   ======================================== */
@media (max-width: 1024px) {
  .about__pillars { grid-template-columns: 1fr; gap: 20px; }
  .market__cards { grid-template-columns: 1fr; gap: 16px; }
  .borrowers__layout { grid-template-columns: 1fr; }
  .investors__grid { grid-template-columns: 1fr; }
  .investors__returns { grid-template-columns: 1fr 1fr; }
  .contact__layout { grid-template-columns: 1fr; }

  .strategy__steps { flex-direction: column; gap: 0; }
  .strategy__connector {
    width: 100%;
    justify-content: center;
    padding: 8px 0;
    transform: rotate(90deg);
    height: 40px;
  }
}

/* ========================================
   RESPONSIVE — Mobile
   ======================================== */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav__menu.open { transform: translateX(0); }

  .nav__menu li { width: 100%; }

  .nav__menu a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__menu .nav__cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
  }

  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero { min-height: auto; padding: 120px 0 64px; }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links { flex-wrap: wrap; gap: 16px; }
}

/* ========================================
   RESPONSIVE — Small mobile
   ======================================== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .protect-grid { grid-template-columns: 1fr; }
  .investors__returns { grid-template-columns: 1fr; }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
