/* =========================================================
   Phoenix Fitness Foundation — Main Stylesheet
   ========================================================= */

:root {
  --forest: #1a3d2e;
  --forest-mid: #2c5c45;
  --forest-light: #3d7a5e;
  --cream: #f5f0e8;
  --cream-dark: #ede6d8;
  --amber: #c49a3c;
  --amber-light: #d4ad55;
  --charcoal: #2a2a2a;
  --muted: #6b7280;
  --white: #ffffff;
  --nav-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  padding-top: var(--nav-height);
}

/* =========================================================
   NAV
   ========================================================= */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--forest);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(196,154,60,0.3);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo span {
  display: block;
  font-size: 0.6rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.75);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.nav-cta {
  background: var(--amber) !important;
  color: var(--forest) !important;
  padding: 8px 20px !important;
  border-radius: 2px;
  font-weight: 600 !important;
  border-bottom: none !important;
}

.nav-cta:hover {
  background: var(--amber-light) !important;
  color: var(--forest) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

/* =========================================================
   HERO (Home page)
   ========================================================= */

.hero {
  background: var(--forest);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(61,122,94,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(196,154,60,0.1) 0%, transparent 50%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 28px;
  max-width: 780px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(245,240,232,0.8);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.35s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.5s forwards;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary {
  background: var(--amber);
  color: var(--forest);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-primary:hover { background: var(--amber-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 36px;
  border: 1px solid rgba(245,240,232,0.4);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* =========================================================
   STATS BAR
   ========================================================= */

.stats-bar {
  background: var(--cream-dark);
  border-bottom: 1px solid rgba(26,61,46,0.1);
  padding: 40px 48px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  border-right: 1px solid rgba(26,61,46,0.12);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* =========================================================
   SECTIONS & LAYOUT
   ========================================================= */

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 48px;
}

.section-full {
  max-width: 100%;
  padding: 0;
}

.section-bg-forest { background: var(--forest); }
.section-bg-dark   { background: var(--charcoal); }
.section-bg-cream  { background: var(--cream-dark); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 20px;
}

.light h2 { color: var(--cream); }

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 12px;
}

.light h3 { color: var(--cream); }

p {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 16px;
}

.light p { color: rgba(245,240,232,0.8); }

.text-muted { color: var(--muted); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* =========================================================
   CARDS
   ========================================================= */

.card {
  background: var(--white);
  border: 1px solid rgba(26,61,46,0.1);
  padding: 40px 36px;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 48px;
  background: var(--amber);
}

.card-forest {
  background: rgba(255,255,255,0.06);
  border-color: rgba(196,154,60,0.2);
}

.card-forest::before { display: none; }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */

.page-hero {
  background: var(--forest);
  padding: 80px 48px 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(196,154,60,0.08) 0%, transparent 70%);
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 680px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(245,240,232,0.75);
  max-width: 560px;
  margin-bottom: 0;
}

/* =========================================================
   UTILITIES
   ========================================================= */

.amber-rule {
  width: 60px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 32px;
}

.prelaunch-badge {
  display: inline-block;
  background: rgba(196,154,60,0.15);
  border: 1px solid rgba(196,154,60,0.4);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  margin-bottom: 24px;
}

/* =========================================================
   STEPS
   ========================================================= */

.step {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  min-width: 48px;
  opacity: 0.7;
}

/* =========================================================
   FORM PLACEHOLDER
   ========================================================= */

.form-placeholder {
  background: var(--white);
  border: 1px solid rgba(26,61,46,0.12);
  border-top: 3px solid var(--amber);
  padding: 48px 40px;
  text-align: center;
}

.form-placeholder .fp-icon {
  font-size: 2rem;
  color: var(--amber);
  margin-bottom: 16px;
}

.form-placeholder h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--forest);
  margin-bottom: 12px;
}

.form-placeholder p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto 28px;
}

.form-note {
  background: var(--cream-dark);
  border: 1px dashed rgba(26,61,46,0.2);
  padding: 20px 24px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
  text-align: left;
}

/* =========================================================
   TEAM
   ========================================================= */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.team-card {
  background: var(--white);
  border: 1px solid rgba(26,61,46,0.1);
  overflow: hidden;
}

.team-card-header {
  background: var(--forest);
  padding: 40px 36px 32px;
  position: relative;
}

.team-card-header::after {
  content: '';
  position: absolute;
  bottom: 0; right: 24px;
  width: 48px;
  height: 2px;
  background: var(--amber);
}

.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.team-title {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.team-body { padding: 36px; }
.team-body p { font-size: 0.95rem; }

/* =========================================================
   IMPACT CALLOUT
   ========================================================= */

.impact-callout {
  background: var(--forest);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.impact-callout::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 40px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18rem;
  color: rgba(196,154,60,0.06);
  line-height: 1;
}

.impact-callout blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  max-width: 740px;
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.impact-callout cite {
  font-size: 0.82rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: #111f18;
  padding: 64px 48px 40px;
  color: rgba(245,240,232,0.6);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.45);
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-nav h4 {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.footer-nav a {
  display: block;
  font-size: 0.88rem;
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.3);
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--forest);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(196,154,60,0.2);
    z-index: 999;
  }

  .hero-content { padding: 60px 24px; }
  .stats-bar    { padding: 32px 24px; }
  .stats-inner  { grid-template-columns: repeat(2, 1fr); }
  .stat-item    { border-right: none; border-bottom: 1px solid rgba(26,61,46,0.12); }
  section       { padding: 64px 24px; }
  .two-col      { grid-template-columns: 1fr; gap: 40px; }
  .three-col    { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-hero    { padding: 60px 24px 56px; }
  .impact-callout { padding: 40px 24px; }
}
