/* Success City Foundation - Website Styles
   Brand: Deep Forest Green, Champagne Gold, Charcoal, Cream/White
   Voice: intelligent, human, youthful, clear, practical, thoughtful, confident, warm, credible
*/

:root {
  --green: #1B4D3E;
  --green-dark: #0F2E25;
  --green-light: #2A6B55;
  --gold: #C9A227;
  --gold-light: #E0C36A;
  --gold-dark: #A8841A;
  --charcoal: #2D2D2D;
  --charcoal-light: #4A4A4A;
  --cream: #F9F6F0;
  --cream-dark: #F0EBE3;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --text: #2D2D2D;
  --text-muted: #5A5A5A;
  --border: #E5E0D8;
  --shadow: 0 4px 20px rgba(27, 77, 62, 0.08);
  --shadow-hover: 0 8px 30px rgba(27, 77, 62, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-dark);
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--green-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--charcoal);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-alt {
  background: var(--cream);
}

.section-dark {
  background: var(--green-dark);
  color: var(--white);
}

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255,255,255,0.85);
}

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--charcoal-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

.nav-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--green-dark);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero */
.hero {
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  background: linear-gradient(160deg, var(--cream) 0%, var(--white) 60%, rgba(201, 162, 39, 0.06) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(27, 77, 62, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  color: var(--green-dark);
}

.hero-content .tagline {
  font-size: 1.15rem;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-content .lead {
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 380px;
}

.hero-card .quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--green);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero-card .attribution {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Approach flow */
.approach-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0;
}

.approach-step {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.6rem 1.1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.approach-step span {
  color: var(--gold);
  font-weight: 700;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-light);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(27, 77, 62, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--green);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  flex-grow: 1;
  font-size: 0.95rem;
}

.card-link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-link:hover {
  color: var(--gold-dark);
}

/* Question section */
.question-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.question-block .question {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--green-dark);
  margin-bottom: 1.25rem;
  font-style: italic;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.team-photo {
  height: 220px;
  background: linear-gradient(145deg, var(--cream-dark), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  font-size: 3rem;
  position: relative;
}

.team-photo .placeholder {
  opacity: 0.5;
}

.team-info {
  padding: 1.25rem;
}

.team-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-info .role {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-info .bio {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Forms / CTA boxes */
.cta-box {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-box h2, .cta-box h3 {
  color: var(--white);
}

.cta-box p {
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

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

/* Pathways */
.pathways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pathway {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}

.pathway:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.pathway h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pathway ul {
  margin: 1rem 0;
}

.pathway li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.pathway li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand .logo-text span {
  color: rgba(255,255,255,0.6);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  max-width: 280px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--green-dark);
}

/* Page header */
.page-header {
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  background: linear-gradient(160deg, var(--cream) 0%, var(--white) 100%);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header .breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-header .breadcrumb a {
  color: var(--green);
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.max-w-md { max-width: 640px; margin-left: auto; margin-right: auto; }

.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.note {
  background: rgba(27, 77, 62, 0.06);
  border-left: 4px solid var(--green);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

.note strong {
  color: var(--green-dark);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 1rem;
  }
  .nav-cta.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--header-height) + 220px);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0 1.5rem 1.5rem;
    gap: 0.75rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3.5rem 0;
  }
  .hero {
    padding: calc(var(--header-height) + 2.5rem) 0 3.5rem;
  }
}

/* Future feature badges */
.future-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--cream-dark);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Extra polish */
.nav-links a:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 2000;
  border-radius: 4px;
}
.skip-link:focus {
  top: 1rem;
}

.newsletter-bar {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}
.newsletter-bar p {
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}
.newsletter-bar .form-row {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-bar input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
}
.newsletter-bar input:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
