/* =====================================================
   JotJive Education Foundation — One Page Launch Site
===================================================== */

:root {
  --ink: #14243d;
  --ink-deep: #091425;
  --blue: #264f8f;
  --cream: #fff8ec;
  --paper: #ffffff;
  --gold: #d99a22;
  --gold-soft: #f8dfaa;
  --text: #4f5a6d;
  --muted: #758096;
  --line: #dde5f0;
  --shadow: 0 24px 70px rgba(13, 28, 53, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    linear-gradient(rgba(255, 248, 236, 0.88), rgba(255, 248, 236, 0.88)),
    url("assets/bg.jpeg") center center / cover no-repeat fixed;
}

body::before,
body::after,
.hero-pattern,
#foundationGlow {
  display: none !important;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), 88%);
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 229, 240, 0.85);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid rgba(221, 229, 240, 0.9);
  border-radius: 18px;
  padding: 9px 12px;
  box-shadow: 0 12px 28px rgba(20, 36, 61, 0.07);
}

.brand img {
  width: clamp(190px, 21vw, 280px);
  max-height: 72px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink);
  border: 1px solid transparent;
  transition: 0.22s ease;
}

.main-nav a:hover {
  border-color: rgba(217, 154, 34, 0.35);
  background: var(--cream);
  color: var(--blue);
}

/* Typography */

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(31px, 3.6vw, 48px);
  line-height: 1.08;
  margin-bottom: 14px;
}

h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
  margin-bottom: 10px;
}

p {
  color: var(--text);
  font-size: 16px;
}

/* Hero */

.hero-section {
  position: relative;
  padding: 86px 0 76px;
  overflow: hidden;
  background: transparent;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 0;
  width: 5px;
  height: 100%;
  max-height: 280px;
  border-radius: 999px;
  background: linear-gradient(var(--gold), rgba(38, 79, 143, 0.15));
}

.hero-lead {
  max-width: 720px;
  color: #566174;
  font-size: clamp(17px, 1.6vw, 19px);
}

.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  transition: 0.22s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--ink));
  box-shadow: 0 16px 34px rgba(38, 79, 143, 0.24);
}

.btn-soft {
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(217, 154, 34, 0.28);
}

.btn-primary:hover,
.btn-soft:hover {
  transform: translateY(-2px);
}

.foundation-card {
  position: relative;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(221, 229, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.foundation-card::before {
  display: none !important;
}

.hero-card {
  padding: 28px;
}

.logo-frame {
  min-height: 158px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(221, 229, 240, 0.9);
  border-radius: 26px;
}

.logo-frame img {
  width: min(320px, 100%);
  max-height: 130px;
  object-fit: contain;
}

.card-rule {
  width: 72px;
  height: 4px;
  margin: 26px 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

/* Mission */

.mission-section {
  padding: 26px 0 62px;
  background: transparent;
}

.mission-wrap {
  max-width: 900px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(221, 229, 240, 0.95);
  box-shadow: 0 20px 60px rgba(20, 36, 61, 0.08);
  text-align: center;
}

.mission-wrap p {
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Focus */

.focus-section {
  padding: 70px 0;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(221, 229, 240, 0.8);
  border-bottom: 1px solid rgba(221, 229, 240, 0.8);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p {
  margin-bottom: 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.focus-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(20, 36, 61, 0.07);
  transition: 0.22s ease;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 72px rgba(20, 36, 61, 0.12);
  border-color: rgba(217, 154, 34, 0.45);
}

.focus-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 22px;
  background: var(--cream);
  font-size: 28px;
}

.focus-card p {
  margin-bottom: 0;
}

/* Launch */

.launch-section {
  padding: 72px 0;
  background: transparent;
}

.launch-card {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 28px;
    align-items: center;
    padding: clamp(28px, 4vw, 42px);

    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(221, 229, 240, 0.9);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(20, 36, 61, 0.10);
}

.launch-card h2 {
    color: var(--ink);
}

.launch-card p {
    color: var(--text);
}

.launch-card p {
  opacity: 0.82;
  margin-bottom: 0;
}

.launch-badge {
    background: #f8fafc;
    border: 1px solid rgba(217, 154, 34, 0.25);
    border-radius: 22px;
    padding: 22px;
}

.launch-badge strong {
    color: var(--gold);
}

.launch-badge span {
    color: var(--text);
}

/* Footer */

.site-footer {
  padding: 26px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(221, 229, 240, 0.95);
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* Motion */

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 900px) {
  .nav-wrap,
  .hero-grid,
  .launch-card {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    justify-content: center;
    padding: 14px 0;
  }

  .main-nav {
    justify-content: center;
  }

  .hero-section {
    padding: 58px 0 52px;
  }

  .hero-copy::before {
    display: none;
  }

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

@media (max-width: 560px) {
  .container {
    width: 91%;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }
s
  .brand img {
    width: min(250px, 100%);
  }

  .main-nav a {
    font-size: 12px;
    padding: 8px 10px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

.site-header .brand {
  width: auto !important;
  min-width: 0 !important;
  padding: 4px 8px !important;
}

.site-header .brand img {
  width: 100px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

.hero-card .logo-frame img {
  width: 420px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

.site-header {
  padding: 10px 0 !important;
}

.nav-wrap {
  min-height: 92px !important;
}

.launch-badge {
  text-align: center !important;
}

.launch-badge strong {
  display: block !important;
  text-align: center !important;
  margin-bottom: 6px !important;
}

.launch-badge span {
  display: block !important;
  text-align: center !important;
}

html {
  scroll-padding-top: 120px;
}

.foundation-card,
.mission-wrap,
.focus-card,
.launch-card,
.logo-frame,
.launch-badge,
.brand {
  border: 2px solid rgba(20, 36, 61, 0.35) !important;
}

.main-nav a {
  font-size: 16px !important;
  padding: 13px 18px !important;
}