/* ================================================
   PRONGHORN EQUITY PARTNERS
   Main Stylesheet
   ================================================ */

/* 1. RESET & BASE
   ================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* 2. CUSTOM PROPERTIES
   ================================================ */
:root {
  --navy-deep:  #0D0C18;
  --navy:       #1A1830;
  --navy-mid:   #22203E;
  --navy-light: #2E2B4A;
  --gold:       #D4B896;
  --gold-light: #E8D4BA;
  --gold-dark:  #B89B74;
  --white:      #F0EDE6;
  --white-dim:  #B8B3AA;
  --muted:      #6E6A62;
  --border:     rgba(212, 184, 150, 0.14);
  --border-mid: rgba(212, 184, 150, 0.22);
  --border-strong: rgba(212, 184, 150, 0.35);

  --container-max: 1160px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);

  --transition:      0.28s ease;
  --transition-slow: 0.55s ease;

  --navbar-height: 76px;
}

/* 3. TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  color: var(--white);
}

h1 {
  font-size: clamp(2.375rem, 5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 600;
}

p {
  color: var(--white-dim);
  line-height: 1.8;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.675rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* 4. LAYOUT UTILITIES
   ================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.gold-rule--center {
  margin: 1.5rem auto;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 {
  margin-top: 0.5rem;
}

/* 5. NAVIGATION
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: var(--navy-deep);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-logo-icon {
  width: 48px;
  height: 48px;
  background-image: url('Logo 2.png');
  background-size: 130%;
  background-position: top center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.nav-logo:hover .nav-logo-icon {
  opacity: 0.8;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.nav-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.07em;
  line-height: 1;
}

.nav-logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  position: relative;
  transition: color var(--transition);
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* 6. BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 184, 150, 0.22);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* 7. HERO — MAIN (Home Page)
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(13, 12, 24, 0.70), rgba(13, 12, 24, 0.70)),
    url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: calc(var(--navbar-height) + 4.5rem) 0 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.hero-inner {
  max-width: 800px;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.675rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero h1 {
  margin-bottom: 1.75rem;
}

.hero h1 .gold-text {
  color: var(--gold);
}

.hero-rule {
  width: 52px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--white-dim);
  max-width: 580px;
  margin-bottom: 2.75rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* PAGE HERO — inner pages */
.page-hero {
  background-color: var(--navy-deep);
  background-image: radial-gradient(ellipse at 25% 55%, rgba(46, 43, 74, 0.5) 0%, transparent 65%);
  padding: calc(var(--navbar-height) + 4rem) 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.875rem, 4vw, 3.125rem);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.page-hero .hero-rule {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-hero p {
  font-size: 1.0625rem;
  max-width: 500px;
}

/* 8. HOME — WHY PRONGHORN
   ================================================ */
.why-pronghorn {
  background-color: var(--navy);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-mid);
  border: 1px solid var(--border-mid);
}

.pillar {
  background: var(--navy);
  padding: 2.75rem 2.25rem;
  border-top: 2px solid transparent;
  transition: border-top-color var(--transition), background var(--transition);
}

.pillar:hover {
  border-top-color: var(--gold);
  background: var(--navy-mid);
}

.pillar-numeral {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.pillar h3 {
  font-size: 1.175rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.pillar p {
  font-size: 0.9375rem;
  color: var(--white-dim);
  line-height: 1.78;
}

/* 9. HOME — INVESTMENT CRITERIA
   ================================================ */
.criteria {
  background-color: var(--navy-deep);
}

.criteria-intro {
  max-width: 520px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.criteria-intro p {
  margin-top: 0.875rem;
  font-size: 1.0625rem;
}

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-mid);
}

.criterion {
  padding: 2.75rem 2.5rem;
  border-right: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  transition: background var(--transition);
}

.criterion:hover {
  background: rgba(212, 184, 150, 0.03);
}

.criterion:nth-child(even) {
  border-right: none;
}

.criterion:nth-last-child(-n+2) {
  border-bottom: none;
}

.criterion-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 1rem;
}

.criterion h3 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
  color: var(--white);
}

.criterion p {
  font-size: 0.9375rem;
  color: var(--white-dim);
  line-height: 1.78;
}

/* 10. HOME — CTA STRIP
   ================================================ */
.cta-section {
  background-color: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-section h2 {
  max-width: 520px;
  margin: 0 auto 1rem;
}

.cta-section .cta-sub {
  max-width: 460px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 11. PHOTO BREAK
   ================================================ */
.photo-break {
  height: clamp(320px, 45vw, 520px);
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.photo-break::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 12, 24, 0.60);
}

/* 12. ABOUT PAGE
   ================================================ */
.about-narrative {
  background-color: var(--navy);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.about-text h2 {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.about-text .gold-rule {
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.03125rem;
  margin-bottom: 1.375rem;
  line-height: 1.82;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-aside {
  padding-top: 0.25rem;
}

.about-quote {
  border-left: 2px solid var(--gold);
  padding: 1.75rem 2rem;
  background: var(--navy-mid);
  margin-bottom: 1.5rem;
}

.about-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 0;
}

.about-stat {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.about-stat:first-of-type {
  border-top: 1px solid var(--border);
}

.about-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
}

.about-stat-label {
  font-size: 0.9375rem;
  color: var(--white-dim);
  line-height: 1.6;
  padding-top: 0.25rem;
}

.about-stat-body {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.7;
  opacity: 0.7;
  margin-top: 1.25rem;
}

.about-values {
  background-color: var(--navy-deep);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--border-mid);
}

.value-item {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  display: flex;
  gap: 1.25rem;
}

.value-item:nth-child(even) {
  border-right: none;
}

.value-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.value-bar {
  width: 2px;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 40px;
}

.value-body h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.value-body p {
  font-size: 0.9375rem;
  color: var(--white-dim);
  line-height: 1.75;
}

.about-cta {
  background-color: var(--navy);
  text-align: center;
  border-top: 1px solid var(--border);
}

.about-cta h2 {
  max-width: 440px;
  margin: 0 auto 1rem;
}

.about-cta p {
  max-width: 400px;
  margin: 0 auto 2.25rem;
}

/* 12. CONTACT PAGE
   ================================================ */
.contact-main {
  background-color: var(--navy);
  min-height: calc(60vh - var(--navbar-height));
}

.contact-layout {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.contact-info h2 {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact-info .gold-rule {
  margin-bottom: 1.75rem;
}

.contact-info > p {
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  padding: 1.25rem 1.375rem;
  border: 1px solid var(--border-mid);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.contact-link-item:hover {
  border-color: var(--gold);
  transform: translateX(5px);
  background: rgba(212, 184, 150, 0.03);
}

.contact-link-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-link-icon svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
}

.contact-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-link-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
}

.contact-link-value {
  font-size: 0.9375rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
}

.contact-panels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.25rem;
}

.contact-panel {
  padding: 1.875rem;
  border: 1px solid var(--border-mid);
  border-top: 2px solid var(--gold);
}

.contact-panel-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
}

.contact-panel h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
  color: var(--white);
}

.contact-panel p {
  font-size: 0.9375rem;
  color: var(--white-dim);
  line-height: 1.75;
}

/* 13. FOOTER
   ================================================ */
.site-footer {
  background-color: var(--navy-deep);
  border-top: 1px solid var(--border);
}

.footer-body {
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.footer-brand {
  max-width: 260px;
}

.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 1.25rem;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer-logo:hover {
  opacity: 1;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.footer-columns {
  display: flex;
  gap: 4.5rem;
  align-items: flex-start;
}

.footer-col-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col-links a {
  font-size: 0.875rem;
  color: var(--white-dim);
  transition: color var(--transition);
}

.footer-col-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* 14. SCROLL ANIMATIONS
   ================================================ */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.08s; }
.animate-delay-2 { transition-delay: 0.16s; }
.animate-delay-3 { transition-delay: 0.24s; }
.animate-delay-4 { transition-delay: 0.32s; }

/* 15. RESPONSIVE
   ================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-top: none;
    border-left: 2px solid transparent;
    padding: 2rem 2rem;
  }

  .pillar:hover {
    border-left-color: var(--gold);
    border-top-color: transparent;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-aside {
    padding-top: 0;
  }

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

  .value-item:nth-child(even) {
    border-right: none;
  }

  .value-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border-mid);
  }

  .value-item:last-child {
    border-bottom: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.25rem;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    z-index: 999;
    border-top: 1px solid var(--border);
  }

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

  .nav-link {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

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

  .criterion {
    border-right: none !important;
  }

  .criterion:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border-mid);
  }

  .criterion:last-child {
    border-bottom: none;
  }

  .footer-top {
    flex-direction: column;
    gap: 2.25rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-columns {
    gap: 2.75rem;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Disable fixed attachment on mobile — iOS doesn't support it */
  .hero,
  .photo-break {
    background-attachment: scroll;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

  .hero-cta {
    width: 100%;
  }

  .cta-buttons {
    width: 100%;
  }

  .criteria-grid {
    border: none;
    gap: 1px;
    background: var(--border-mid);
  }

  .criterion {
    background: var(--navy-deep);
    border: none !important;
    padding: 1.875rem 1.5rem;
  }
}
