/* ── CWS Website — Styles ──────────────────────────────────────────── */
/* Brand: deep_blue #1A365D, medium_blue #2C5282, gold #D69E2E,       */
/*        dark #2D3748, light #F7FAFC                                  */
/* ──────────────────────────────────────────────────────────────────── */

/* ── Reset & Base ──────────────────────────────────────────────────── */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2D3748;
  background: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: #1A365D;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  max-width: 65ch;
  margin-bottom: 1rem;
}

a {
  color: #2C5282;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #D69E2E;
}

.gold { color: #D69E2E; }
.lead { font-size: 1.25rem; font-weight: 500; color: #1A365D; }

/* ── Layout ────────────────────────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: #F7FAFC;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #D69E2E;
  margin: 0.75rem auto 0;
}

/* ── Navigation ────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 54, 93, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(214, 158, 46, 0.2);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.nav-brand:hover {
  color: #D69E2E;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #D69E2E;
}

/* ── Hero ──────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1A365D 0%, #2C5282 50%, #1A365D 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(214, 158, 46, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(44, 82, 130, 0.15) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D69E2E;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

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

/* ── Buttons ───────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #D69E2E;
  color: #1A365D;
}

.btn-primary:hover {
  background: #ECC94B;
  color: #1A365D;
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn-outline:hover {
  border-color: #D69E2E;
  color: #D69E2E;
}

/* ── Mission & Vision ──────────────────────────────────────────────── */

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.mission-block {
  padding: 2.5rem;
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
}

.mission-block h3 {
  margin-bottom: 1rem;
  color: #1A365D;
  text-align: center;
}

.mission-block p {
  color: #4A5568;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: center;
  max-width: 100%;
}

/* ── About ─────────────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: #4A5568;
}

.about-verse blockquote {
  background: #F7FAFC;
  border-left: 4px solid #D69E2E;
  padding: 2rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #1A365D;
  line-height: 1.6;
  border-radius: 0 4px 4px 0;
}

.about-verse cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: normal;
  color: #D69E2E;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* ── Divisions ─────────────────────────────────────────────────────── */

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.division-card {
  background: #FFFFFF;
  padding: 2.5rem 2rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  transition: box-shadow 0.2s, transform 0.2s;
}

.division-card:hover {
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.1);
  transform: translateY(-2px);
}

.division-icon {
  color: #D69E2E;
  margin-bottom: 1.5rem;
}

.division-card h3 {
  margin-bottom: 1rem;
}

.division-card p {
  color: #4A5568;
  font-size: 0.95rem;
}

/* ── Principles ────────────────────────────────────────────────────── */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.principle {
  padding-left: 1rem;
  border-left: 3px solid #E2E8F0;
  transition: border-color 0.2s;
}

.principle:hover {
  border-color: #D69E2E;
}

.principle-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: #D69E2E;
  letter-spacing: 0.1em;
}

.principle h4 {
  margin: 0.25rem 0 0.5rem;
}

.principle p {
  color: #4A5568;
  font-size: 0.95rem;
}

/* ── Tools ─────────────────────────────────────────────────────────── */

.tools-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #4A5568;
  max-width: 500px;
  margin: -1rem auto 2.5rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.tool-card {
  display: block;
  background: #FFFFFF;
  padding: 2.5rem 2rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.tool-card:hover {
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.1);
  transform: translateY(-2px);
  border-color: #D69E2E;
  color: inherit;
}

.tool-card-soon {
  opacity: 0.6;
  cursor: default;
}

.tool-card-soon:hover {
  transform: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border-color: #E2E8F0;
}

.tool-icon {
  color: #D69E2E;
  margin-bottom: 1.5rem;
}

.tool-card h3 {
  margin-bottom: 1rem;
}

.tool-card p {
  color: #4A5568;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.tool-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2C5282;
  letter-spacing: 0.02em;
}

.tool-card:hover .tool-link {
  color: #D69E2E;
}

.tool-card-soon .tool-link {
  color: #A0AEC0;
}

/* ── Team ──────────────────────────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-member {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #D69E2E;
  margin-bottom: 0.5rem;
}

.team-member h4 {
  margin-bottom: 0.5rem;
}

.team-member p {
  color: #718096;
  font-size: 0.9rem;
  margin: 0 auto;
}

/* ── Contact ───────────────────────────────────────────────────────── */

.contact-section {
  text-align: center;
}

.contact-text {
  font-size: 1.15rem;
  color: #4A5568;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ── Footer ────────────────────────────────────────────────────────── */

.footer {
  background: #1A365D;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand strong {
  color: #FFFFFF;
  font-size: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}

.footer-verse {
  text-align: right;
  font-size: 0.85rem;
}

.footer-verse em {
  display: block;
  color: rgba(255, 255, 255, 0.6);
}

.footer-verse span {
  color: #D69E2E;
  font-weight: 600;
}

/* ── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .divisions-grid {
    grid-template-columns: 1fr;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-verse {
    text-align: center;
  }

  .hero {
    min-height: 90vh;
    padding: 5rem 1.5rem 3rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
