/* Lake AI Hub — navy/gold with fresh energy. WCAG-AA conscious. */
:root {
  --navy: #0b1e3f;
  --navy-deep: #071428;
  --gold: #e8b93c;
  --gold-light: #f2c94c;
  --gold-dark: #b8892a;
  --cream: #fff9ef;
  --white: #ffffff;
  --ink: #1c2b4a;
  --muted: #5a6b8c;
  --sky: #7fd4ff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(7, 20, 40, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
section[id] { scroll-margin-top: 76px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.0625rem;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--navy-deep);
  padding: 0.75rem 1.25rem; font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 30, 63, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--gold);
}
.nav {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.25rem; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { color: var(--white); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav-links a { color: #dbe4f5; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-light); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -10%, #14305e 0%, var(--navy-deep) 60%);
  color: var(--white); text-align: center;
  padding: 5rem 1.25rem 4.5rem;
}
.hero-nodes { position: absolute; inset: 0; opacity: 0.5; pointer-events: none; }
.hero-nodes svg { width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero-kicker {
  color: var(--gold-light); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.85rem; margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; margin: 0 0 1rem; }
.hero-accent { color: var(--gold-light); }
.hero-def { font-size: 1.25rem; font-weight: 600; color: #f4e9d2; margin: 0 0 0.75rem; }
.hero-sub { color: #c6d3ea; max-width: 600px; margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.node-pulse { animation: pulse 3s ease-in-out infinite; transform-origin: 400px 200px; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.75; } }
.node-float { animation: floaty 7s ease-in-out infinite; }
.node-float.d2 { animation-delay: -2s; } .node-float.d3 { animation-delay: -4s; } .node-float.d4 { animation-delay: -5.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) {
  .node-pulse, .node-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #14305e; }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- sections ---------- */
.section { padding: 4.5rem 1.25rem; }
.section-dark { background: var(--navy-deep); color: var(--white); }
.section-cream { background: var(--cream); }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap-narrow { max-width: 780px; }
.kicker {
  color: var(--gold-dark); font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 0.85rem; margin: 0 0 0.6rem;
}
.kicker-light { color: var(--gold-light); }
.section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.2; margin: 0 0 0.8rem; color: var(--navy); }
.section-dark h2 { color: var(--white); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0 0 2.2rem; }
.lede-light { color: #c6d3ea; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(7, 20, 40, 0.18); }
.card h3 { margin: 0.9rem 0 0.5rem; color: var(--navy); font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card-icon { width: 44px; height: 44px; }
.card-icon svg { width: 100%; height: 100%; }
.helpers-foot { text-align: center; margin-top: 2.5rem; }
.helpers-foot p { color: var(--muted); margin-bottom: 1.2rem; }

/* ---------- quiz ---------- */
.quiz-card, .quiz-result {
  background: var(--white); color: var(--ink); border-radius: 20px;
  padding: 2.25rem; max-width: 680px; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.quiz-progress { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; align-items: center; }
.quiz-progress .dot { width: 12px; height: 12px; border-radius: 50%; background: #d7deeC; background: #d7deec; }
.quiz-progress .dot.done { background: var(--gold); }
.quiz-progress .q-count { margin-left: auto; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.quiz-q { font-size: 1.35rem; color: var(--navy); margin: 0 0 1.25rem; }
.quiz-opts { display: grid; gap: 0.7rem; }
.quiz-opt {
  display: block; width: 100%; text-align: left; padding: 0.95rem 1.15rem;
  border: 2px solid #e2e8f2; border-radius: 12px; background: #f7f9fd;
  font-size: 1.02rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
.quiz-opt:hover { border-color: var(--gold); background: #fffdf4; }
.quiz-back {
  margin-top: 1.25rem; background: none; border: none; color: var(--muted);
  font-weight: 600; cursor: pointer; text-decoration: underline; font-size: 0.95rem;
}
.quiz-result h3 { color: var(--navy); font-size: 1.7rem; margin: 0.4rem 0 0.8rem; }
.quiz-result ul { margin: 0 0 1.5rem; padding-left: 1.25rem; color: var(--muted); }
.quiz-result li { margin-bottom: 0.4rem; }
.result-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.result-cta .btn-ghost { border-color: var(--navy); color: var(--navy); }
.result-cta .btn-ghost:hover { border-color: var(--gold-dark); color: var(--gold-dark); }
.email-capture { border-top: 1px solid #e2e8f2; padding-top: 1.5rem; }
.email-capture label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.email-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.email-row input {
  flex: 1; min-width: 220px; padding: 0.85rem 1.1rem; border-radius: 999px;
  border: 2px solid #d7deec; font-size: 1rem;
}
.email-note { font-size: 0.95rem; color: var(--muted); margin: 0.7rem 0 0; }

/* ---------- prompt ---------- */
.prompt-box {
  background: var(--navy); color: var(--white); border-radius: 20px;
  padding: 2rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.prompt-box::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(232,185,60,0.35) 0%, transparent 70%);
}
.prompt-label { color: var(--gold-light); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; margin: 0 0 1rem; }
.prompt-text { margin: 0 0 1.5rem; font-size: 1.08rem; line-height: 1.7; border-left: 4px solid var(--gold); padding-left: 1.1rem; color: #f2f5fb; }
.copy-note { min-height: 1.4em; color: var(--gold-light); font-weight: 600; margin: 0.7rem 0 0; font-size: 0.95rem; }

/* ---------- class ---------- */
.class-card {
  display: flex; gap: 1.75rem; background: var(--white); border-radius: 20px;
  padding: 2rem; box-shadow: var(--shadow); align-items: flex-start; flex-wrap: wrap;
  border-left: 6px solid var(--gold);
}
.class-date {
  background: var(--navy); color: var(--white); border-radius: 14px;
  min-width: 96px; text-align: center; padding: 1rem 0.5rem;
}
.class-month { display: block; color: var(--gold-light); font-weight: 800; letter-spacing: 0.12em; font-size: 0.9rem; }
.class-day { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.class-info { flex: 1; min-width: 260px; }
.class-info h3 { margin: 0 0 0.5rem; color: var(--navy); font-size: 1.35rem; }
.class-info p { margin: 0.3rem 0; color: var(--muted); }
.class-desc { margin-top: 0.8rem !important; }
.class-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* ---------- news ---------- */
.news-more { text-align: center; margin: 2.5rem 0 0; }
.outlet-head { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin: 2.5rem 0 1.25rem; }
.outlet-head:first-child { margin-top: 0; }
.outlet-head h3 { margin: 0; color: var(--navy); font-size: 1.35rem; }
.outlet-head .news-tag { margin: 0; }
.event-venue { color: var(--gold-dark); font-weight: 700; font-size: 0.95rem; margin: -0.25rem 0 0.5rem; }
.section-dark .event-venue { color: var(--gold-light); }
.news-link { color: var(--navy); text-decoration: none; }
.news-link:hover { text-decoration: underline; color: var(--gold-dark); }
.news-tag {
  display: inline-block; background: var(--navy); color: var(--gold-light);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.news-means {
  background: var(--cream); border-radius: 10px; padding: 0.8rem 1rem;
  margin-top: 1rem; font-size: 0.98rem; color: var(--ink);
}
.news-means strong { color: var(--navy); }

/* ---------- faq ---------- */
.faq-item { border-bottom: 1px solid #e8dcc3; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0.25rem; font-size: 1.08rem; font-weight: 700; color: var(--navy);
}
.faq-q .faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; }
.faq-a { padding: 0 0.25rem 1.25rem; color: var(--muted); margin: 0; max-width: 62ch; }

/* ---------- helpers banner ---------- */
.helpers-banner { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.helpers-banner img { display: block; width: 100%; height: auto; }

/* ---------- next steps / funnel ---------- */
.paths { align-items: stretch; }
.path-card { display: flex; flex-direction: column; border-top: none; border: 2px solid #e2e8f2; }
.path-card h3 { margin-top: 0; }
.path-card p { flex: 1; }
.path-card .btn { margin-top: 1.25rem; align-self: flex-start; }
.path-img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 1rem; }
.path-logo { display: block; width: 100%; max-width: 190px; height: auto; border-radius: 10px; margin: 0 auto 1rem; }
.path-featured {
  background: var(--gold); border-color: var(--gold-dark);
  box-shadow: 0 16px 40px rgba(232,185,60,0.35);
}
.path-featured h3, .path-featured p { color: var(--navy-deep); }
.path-featured .path-tag { color: var(--gold-light); }
.path-featured .btn-navy { background: var(--navy-deep); }
.path-tag {
  display: inline-block; align-self: flex-start;
  background: var(--navy-deep); color: var(--gold-light);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 999px; margin: 0 0 0.9rem;
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #c6d3ea; padding: 3rem 1.25rem 2rem; }
.footer-inner { display: grid; gap: 1.25rem; }
.footer-brand .brand-text { font-size: 1.3rem; }
.footer-brand p { margin: 0.5rem 0 0; font-size: 0.98rem; max-width: 520px; }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer nav a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { text-decoration: underline; }
.footer-note { font-size: 0.88rem; color: #8fa0c2; margin: 0; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .section { padding: 3.25rem 1.1rem; }
  .hero { padding: 3.5rem 1.1rem 3rem; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .quiz-card, .quiz-result { padding: 1.5rem; }
  .quiz-opt { padding: 1.05rem 1.1rem; }
  .email-row .btn { width: 100%; }
  .class-card { gap: 1.25rem; }
  .class-cta .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .btn { transition: none; }
}
