/* ============================================
   HOMEPAGE STYLES
============================================ */

/* HERO */
.hero {
  padding: clamp(3rem, 6vw, 5rem) 0 var(--section-gap);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 166, 138, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 720px; }
.hero-sub {
  font-size: 1.2rem;
  margin: 2rem 0 2.5rem;
  max-width: 600px;
  color: var(--color-ink-soft);
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-graphic svg { width: 100%; height: auto; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { order: -1; max-width: 320px; margin: 0 auto; }
}

/* STATS */
.stats {
  background: var(--color-ink);
  color: var(--color-bg);
  padding: 4rem 0;
  border-radius: 32px;
  margin: 0 var(--gutter);
  max-width: calc(var(--max-width) - 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
  border-right: 1px solid rgba(245, 241, 234, 0.15);
  text-align: left;
}
.stat:last-child { border-right: none; }
.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 241, 234, 0.55);
  margin-bottom: 0.75rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  color: var(--color-bg);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.stat-plus {
  color: var(--color-accent-bright);
  font-style: italic;
}
.stat-desc {
  font-size: 0.95rem;
  color: rgba(245, 241, 234, 0.7);
}
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat { border-right: none; padding: 0 1rem; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(245, 241, 234, 0.15); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-right: none; }
  .stat { padding: 1rem 0; border-bottom: 1px solid rgba(245, 241, 234, 0.15); }
  .stat:last-child { border-bottom: none; }
}

/* PARTNERS */
.partners { padding: 4rem 0 2rem; }
.partners-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}
.logo-placeholder {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  color: var(--color-accent);
  opacity: 0.7;
  transition: all 0.3s;
  cursor: pointer;
  letter-spacing: -0.02em;
}
.logo-placeholder:hover { opacity: 1; transform: translateY(-2px); }
@media (max-width: 1100px) {
  .partners-row { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.5rem; }
}
@media (max-width: 600px) {
  .partners-row { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .logo-placeholder { font-size: 1.35rem; }
}

/* WHAT WE DO */
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.what-graphic svg { max-width: 400px; width: 100%; }
.what-content p { margin-top: 1.5rem; font-size: 1.15rem; }
@media (max-width: 860px) {
  .what-grid { grid-template-columns: 1fr; gap: 3rem; }
  .what-graphic { max-width: 280px; }
}

/* WHY PIGEON */
.why { background: var(--color-bg-alt); padding: var(--section-gap) 0; }
.why-header { text-align: center; margin-bottom: 4rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  background: var(--color-bg);
  padding: 3rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px -20px rgba(31, 107, 92, 0.25);
}
.why-icon {
  width: 72px;
  height: 72px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.why-icon svg { width: 100%; height: 100%; }
.why-card h3 { margin-bottom: 1rem; }
.why-card p { font-size: 1rem; max-width: 320px; }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* WHO WE ARE */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.who-image { border-radius: 24px; overflow: hidden; }
.who-image svg { width: 100%; height: auto; display: block; }
.who-content p { margin-top: 1.25rem; font-size: 1.1rem; }
@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* CAREERS */
.careers-cta { background: var(--color-ink); color: var(--color-bg); border-radius: 32px; margin: 0 auto; max-width: calc(var(--max-width) - 2 * var(--gutter)); padding: 5rem 3rem; }
.careers-cta h2 { color: var(--color-bg); }
.careers-cta p { color: rgba(245, 241, 234, 0.75); }
.careers-cta .eyebrow { color: var(--color-accent-bright); }
.careers-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 100%;
  padding: 0;
}
.careers-graphic svg { max-width: 350px; width: 100%; margin-left: auto; }
@media (max-width: 860px) {
  .careers-grid { grid-template-columns: 1fr; gap: 2rem; }
  .careers-graphic { max-width: 240px; margin: 0 auto; }
  .careers-cta { padding: 4rem 2rem; }
}
