/* SJKMC public landing — professional organization site */
:root {
  --navy: #0b1f3a;
  --navy-mid: #163a5f;
  --blue: #1a5f9e;
  --blue-soft: #e8f1f9;
  --slate: #4a5568;
  --slate-light: #718096;
  --text: #1a202c;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e0;
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.12);
  --radius: 10px;
  --radius-lg: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-mid);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.2;
  gap: 0.2rem;
}

.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 200px;
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--slate-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav a:not(.btn-login) {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-nav a:not(.btn-login):hover {
  color: var(--navy);
}

.btn-login {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--white) !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

.btn-login:hover {
  background: var(--navy-mid);
}

.btn-login-ghost {
  background: transparent;
  color: var(--navy) !important;
  border: 1px solid var(--border-strong);
}

.btn-login-ghost:hover {
  background: var(--bg);
  border-color: var(--slate-light);
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #1e4a73 55%, #2a5f8f 100%);
  color: var(--white);
  padding: 3.5rem 1.5rem 0;
}

.hero-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3.5rem;
}

.badge {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: 0.92;
  max-width: 32em;
}

.hero-lead strong {
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--white);
  color: var(--navy) !important;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white) !important;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.hero-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-figure img {
  display: block;
  width: 100%;
  min-height: 300px;
  max-height: 400px;
  object-fit: cover;
}

/* Highlights bar */
.highlights {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  margin-top: -1px;
}

.highlights-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.highlight-item {
  padding: 1.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

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

.highlight-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-light);
  margin-bottom: 0.35rem;
}

.highlight-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

/* Sections */
.section {
  padding: 4.5rem 1.5rem;
}

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

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-wide {
  max-width: var(--max);
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 38em;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head .section-lead {
  margin-bottom: 0;
}

/* Images */
.section-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.section-figure img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.split-text .section-lead {
  margin-bottom: 0;
}

/* About cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.section-alt .about-card {
  background: var(--white);
}

.about-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.about-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card-icon {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* Programs */
.programs-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.program-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.program-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.program-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.55;
}

.programs-visual img {
  min-height: 320px;
  object-fit: cover;
}

/* Contact */
.contact-intro {
  margin-bottom: 2rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
}

.contact-card-primary {
  background: var(--blue-soft);
  border-color: #c5d9ed;
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-card > p {
  margin: 0 0 0.75rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.contact-email {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-link-out {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.contact-hint {
  margin: 0 !important;
  font-size: 0.85rem !important;
  color: var(--slate-light) !important;
}

.funding-note {
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.6;
}

.funding-note strong {
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 180px;
  margin-bottom: 0.35rem;
  filter: brightness(0) invert(1);
}

.footer-brand-sub {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0.15rem;
}

.footer-tagline {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  opacity: 0.65;
  max-width: 22em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

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

.footer-copy,
.footer-photos {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.55;
}

.footer-photos a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-photos a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-layout,
  .split-block,
  .programs-layout,
  .about-grid,
  .contact-cards,
  .highlights-inner {
    grid-template-columns: 1fr;
  }

  .highlight-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .highlight-item:last-child {
    border-bottom: none;
  }

  .hero-figure {
    order: -1;
  }

  .hero-figure img {
    max-height: 280px;
    min-height: 200px;
  }

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

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .header-nav a:not(.btn-login) {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-layout {
    padding-bottom: 2rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
