/* =========================================================
   Smithfield Capital Partners
   ========================================================= */

:root {
  --navy:        #0A1F44;
  --navy-deep:   #061530;
  --navy-soft:   #1A3464;
  --navy-tint:   #E8ECF4;
  --gold:        #B8975A;
  --ink:         #0F172A;
  --ink-muted:   #475569;
  --line:        #E5E7EB;
  --line-soft:   #EFF1F4;
  --bg:          #FFFFFF;
  --bg-soft:     #F8FAFC;
  --bg-cream:    #FAF8F3;
  --shadow-sm:   0 1px 2px rgba(10, 31, 68, 0.05);
  --shadow-md:   0 8px 24px rgba(10, 31, 68, 0.08);
  --shadow-lg:   0 24px 60px rgba(10, 31, 68, 0.12);
  --serif:       'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --sans:        'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; font-weight: 600; color: var(--navy-deep); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
}
.section-soft { background: var(--bg-soft); }

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section-head.center {
  margin: 0 auto 64px;
  text-align: center;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.section-lead {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
}
.eyebrow.light { color: var(--gold); }
.section-cta { text-align: center; margin-top: 56px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-deep);
}
.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 2px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--navy-deep);
}
.logo-sub {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-main a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  position: relative;
}
.nav-main a:hover { color: var(--navy); }
.nav-main a.nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 11px 22px;
  border-radius: 2px;
  font-weight: 500;
}
.nav-main a.nav-cta:hover { background: var(--navy-deep); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-deep);
  display: block;
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 180px 0 160px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6, 21, 48, 0.72) 0%, rgba(6, 21, 48, 0.55) 45%, rgba(6, 21, 48, 0.88) 100%),
    url('assets/hero.jpg') center/cover no-repeat;
  background-attachment: scroll;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 21, 48, 0.35) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 920px; z-index: 1; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 28px;
}
.hero-title .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.015em;
}
.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  margin: 0 0 28px;
  letter-spacing: -0.005em;
}
.hero-body {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  margin: 0 0 44px;
  line-height: 1.7;
}
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}
.hero .btn-ghost:hover {
  background: #fff;
  color: var(--navy-deep);
  border-color: #fff;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all .2s ease;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-primary-light {
  background: #fff;
  color: var(--navy);
}
.btn-primary-light:hover { background: var(--navy-tint); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.learn-more span { transition: transform .2s ease; }
.learn-more:hover span { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats {
  background: var(--navy-deep);
  color: #fff;
  padding: 72px 0;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(184, 151, 90, 0.08), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(26, 52, 100, 0.6), transparent 60%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat:last-child { border-right: 0; }
.stat-value {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-tint);
}
.cap-image {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-tint);
}
.cap-body {
  padding: 36px 36px 40px;
}
.cap-body h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--navy-deep);
}
.cap-body p {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
}

/* ---------- Transactions ---------- */
.tx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tx-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tx-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tx-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-tint);
  border-bottom: 3px solid var(--navy);
}
.tx-meta { padding: 22px 22px 26px; }
.tx-value {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.tx-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 4px;
}
.tx-type {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ---------- Sponsors ---------- */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sponsor-card {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .3s ease, transform .3s ease;
}
.sponsor-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
}
.sponsor-range {
  display: inline-block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--navy-tint);
}
.sponsor-card h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 12px;
}
.sponsor-card p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.industry-tile {
  padding: 32px 24px;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-deep);
  letter-spacing: -0.005em;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, color .25s ease;
  display: flex;
  align-items: center;
  min-height: 88px;
}
.industry-tile:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------- Careers ---------- */
.careers {
  background: var(--navy-deep);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(184, 151, 90, 0.12), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(26, 52, 100, 0.45), transparent 55%);
  color: #fff;
}
.careers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.careers-copy h2 {
  color: #fff;
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 480px;
}
.careers-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 500px;
}
.careers-image {
  height: 460px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.04);
  position: relative;
}
.careers-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 21, 48, 0.4));
}

/* ---------- Explore ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.explore-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  color: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
.explore-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.explore-image {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-tint);
}
.explore-body { padding: 32px 32px 36px; }
.explore-body h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--navy-deep);
  font-weight: 500;
}
.explore-body p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 96px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .logo .logo-mark {
  background: #fff;
  color: var(--navy-deep);
}
.footer .logo-name { color: #fff; }
.footer .logo-sub { color: rgba(255, 255, 255, 0.6); }
.footer-tag {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color .2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-col li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(255, 255, 255, 0.6); }
.footer-links a:hover { color: #fff; }
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 920px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .container { padding: 0 28px; }
  .section { padding: 96px 0; }
  .cap-grid { grid-template-columns: 1fr; gap: 24px; }
  .tx-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .explore-grid { grid-template-columns: 1fr; gap: 24px; }
  .careers-inner { grid-template-columns: 1fr; gap: 48px; }
  .careers-image { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (max-width: 820px) {
  .header-inner { height: 72px; }
  .nav-main {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 22px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-main.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-main a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }
  .nav-main a.nav-cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: 0;
    padding: 14px 22px;
  }
  .nav-toggle { display: flex; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }

  .hero { padding: 110px 0 96px; }
  .hero-eyebrow { font-size: 11px; margin-bottom: 20px; }
  .hero-title { margin-bottom: 22px; }
  .hero-subtitle { font-size: 17px; margin-bottom: 22px; }
  .hero-body { font-size: 16px; margin-bottom: 36px; line-height: 1.65; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta-row .btn { width: 100%; padding: 16px 24px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .section-title { font-size: clamp(28px, 6vw, 38px); }
  .section-lead { font-size: 16px; }

  .stats { padding: 56px 0; }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat {
    padding: 24px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .stat-value { font-size: clamp(32px, 9vw, 44px); }
  .stat-label { font-size: 11px; letter-spacing: 0.16em; }

  .cap-image { height: 220px; }
  .cap-body { padding: 28px 24px 32px; }
  .cap-body h3 { font-size: 22px; }
  .cap-body p { font-size: 15px; }

  .tx-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tx-image { height: 140px; }
  .tx-meta { padding: 18px 16px 22px; }
  .tx-value { font-size: 22px; }
  .tx-name { font-size: 14px; }
  .tx-type { font-size: 11px; }

  .sponsor-grid { grid-template-columns: 1fr; gap: 16px; }
  .sponsor-card { padding: 32px 26px; }

  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-tile {
    padding: 22px 16px;
    font-size: 14px;
    min-height: 72px;
  }

  .careers { padding: 80px 0; }
  .careers-inner { gap: 36px; }
  .careers-copy h2 { font-size: clamp(28px, 6vw, 36px); }
  .careers-copy p { font-size: 16px; }
  .careers-image { height: 260px; }

  .explore-image { height: 200px; }
  .explore-body { padding: 26px 24px 30px; }

  .footer { padding: 72px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .header-inner { height: 64px; }
  .nav-main { top: 64px; }
  .logo-mark { width: 36px; height: 36px; font-size: 20px; }
  .logo-name { font-size: 12px; letter-spacing: 0.18em; }
  .logo-sub { font-size: 8px; letter-spacing: 0.22em; }

  .hero { padding: 88px 0 80px; }
  .hero-title {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.08;
  }
  .hero-body { font-size: 15px; }

  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }

  .stat { padding: 20px 10px; }
  .stat-label { font-size: 10px; }

  .tx-grid { grid-template-columns: 1fr; gap: 16px; }
  .tx-image { height: 180px; }

  .industry-grid { grid-template-columns: 1fr; }
  .industry-tile { min-height: 60px; padding: 18px 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
