/* Paul Young Foundation - Main Stylesheet */
:root {
  --primary: #1b3b2b;
  --primary-dark: #12281d;
  --accent: #c59b43;
  --accent-hover: #ad8532;
  --bg: #f8f6f1;
  --surface: #ffffff;
  --tint: #eaf0ec;
  --text: #1f2421;
  --text-muted: #525d56;
  --border: #dce3de;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(27, 59, 43, 0.07);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary);
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.site-header {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.2px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: var(--primary);
  color: var(--accent);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  font-size: 1rem;
  color: var(--primary);
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 4.5rem 0 4rem;
}

.hero-sub {
  padding: 3.25rem 0;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  max-width: 780px;
}

.hero p {
  color: #dce6df;
  font-size: 1.1rem;
  max-width: 680px;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #12281d;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-tint {
  background-color: var(--tint);
}

.section-header {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin-bottom: 0.65rem;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.stat-box {
  background-color: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Lists & Tables */
.styled-list {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}

.styled-list li {
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 0.95rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.info-table th {
  width: 34%;
  background-color: var(--tint);
  color: var(--primary);
  font-weight: 600;
}

/* Contact Form */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.98rem;
  background-color: #ffffff;
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.form-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.88rem;
  color: #c5d4ca;
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: #e6efe9;
}

.breadcrumb span {
  margin: 0 0.4rem;
}

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: #c7d4cc;
  padding: 3.5rem 0 1.75rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1.08rem;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #c7d4cc;
  font-size: 0.93rem;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: #9db0a4;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background-color: var(--surface);
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.85rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-list.open {
    display: flex;
  }
}
