@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

/* Life Changing University — editorial, warm, brand-driven, now with more punch.
   Palette sampled from the logo: royal blue, red, gold.
   Fonts (Google): Newsreader = display/headings, Hanken Grotesk = body/UI. */

:root {
  --blue: #1f57a3;
  --blue-dark: #16407a;
  --blue-deep: #0f2f5c;
  --red: #a81d18;
  --gold: #c2a01a;
  --gold-bright: #e6b820;
  --gold-soft: #d9b84a;
  --ink: #262019;
  --muted: #6f665b;
  --bg: #fdfbf7;
  --alt: #f6f0e6;
  --line: #e7ded0;
  --white: #ffffff;
  --max: 1120px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.72;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .foot-brand { font-family: var(--serif); }

a { color: var(--blue); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin: 0 0 .7em;
}
.eyebrow-light { color: var(--gold-bright); }

/* ---- Header ---- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px; flex-wrap: wrap;
}
.brand { display: inline-flex; line-height: 0; }
.logo { height: 50px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav a { font-family: var(--sans); text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 600; position: relative; padding: 2px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav a:not(.btn):hover { color: var(--blue); }
.nav a:not(.btn):hover::after { width: 100%; }

.btn {
  font-family: var(--sans); display: inline-block; background: var(--blue); color: #fff;
  text-decoration: none; padding: 11px 22px; border-radius: 3px; border: 1px solid var(--blue);
  font-size: .92rem; font-weight: 700; letter-spacing: .01em;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,47,92,.22); }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: none; }
.btn-ghost:hover { background: transparent; color: var(--red); border-color: var(--red); box-shadow: none; }
.btn-login { background: #2767c4; border-color: #2767c4; }
.btn-login:hover { background: var(--blue); border-color: var(--blue); }
.btn[aria-disabled="true"] { opacity: .9; cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.btn-ghost[aria-disabled="true"]:hover { color: var(--blue); border-color: var(--blue); }
.btn-sm { padding: 7px 15px; font-size: .82rem; }

/* Big/bold CTA variants (hero) */
.btn-lg { padding: 15px 30px; font-size: 1.02rem; border-radius: 4px; }
.btn-gold { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--blue-deep); }
.btn-gold:hover { background: #f2c62c; border-color: #f2c62c; color: var(--blue-deep); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.btn-outline-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--blue-deep); box-shadow: 0 10px 26px rgba(0,0,0,.28); }

/* ---- Utility bar (account actions) ---- */
.utility-bar { background: var(--blue-deep); border-bottom: 1px solid var(--blue-deep); }
.utility-bar .container { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 8px 24px; }
.utility-bar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.utility-bar .btn-ghost:hover { color: var(--blue-deep); background: #fff; border-color: #fff; }
@media (max-width: 480px) {
  .utility-bar .container { justify-content: center; flex-wrap: wrap; gap: 8px; }
}

/* ---- Hero (washed photo as background) ---- */
.hero { position: relative; overflow: hidden; background: var(--blue-deep); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 75%; display: block;
  /* wash the photo out so it reads as a subtle background, not a competing picture */
  filter: saturate(.6) brightness(.9) contrast(.95);
  opacity: .45;
  transform: scale(1.06);
  animation: heroPan 30s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 120% at 80% 6%, rgba(230,184,32,.12) 0%, rgba(230,184,32,0) 46%),
    linear-gradient(90deg, rgba(9,28,56,.90) 0%, rgba(11,34,66,.78) 52%, rgba(13,40,78,.62) 100%),
    linear-gradient(0deg, rgba(9,28,56,.70) 0%, rgba(9,28,56,0) 60%);
}
.hero-inner { padding: 92px 24px 96px; max-width: 720px; }
.hero-logo {
  display: block; width: fit-content; background: #fff; padding: 14px 22px; border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28); margin: 0 auto 28px; line-height: 0;
}
.hero-logo img { width: min(300px, 68vw); height: auto; display: block; }
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; margin: 0 0 .32em;
  color: #fff; font-weight: 700; letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero h1 .accent { color: var(--gold-bright); }
.hero .lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: rgba(255,255,255,.92); margin: 0 0 1.7em; max-width: 60ch; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-rule { width: 88px; height: 4px; background: var(--gold-bright); border: 0; border-radius: 3px; margin: 0 0 24px; }
.hero-call { margin: 22px 0 0; color: rgba(255,255,255,.9); font-size: 1.02rem; }
.hero-call a { color: var(--gold-bright); font-weight: 700; text-decoration: none; white-space: nowrap; }
.hero-call a:hover { text-decoration: underline; }

/* ---- Hero motion: slow background pan + staggered entrance ---- */
@keyframes heroPan { from { transform: scale(1.06); } to { transform: scale(1.15); } }
@keyframes heroUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ruleGrow { from { opacity: 0; width: 0; } to { opacity: 1; width: 88px; } }
.hero-inner > * { animation: heroUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > .hero-logo { animation-delay: 0s; }
.hero-inner > .eyebrow { animation-delay: .08s; }
.hero-inner > .hero-rule { animation: ruleGrow .7s ease .16s both; }
.hero-inner > h1 { animation-delay: .20s; }
.hero-inner > .lede { animation-delay: .32s; }
.hero-inner > .hero-cta { animation-delay: .44s; }
.hero-inner > .hero-call { animation-delay: .54s; }

/* ---- Stat / credential band (blue) ---- */
.stat-band { background: var(--blue-deep); color: #fff; border-top: 4px solid var(--gold-bright); }
.stat-band .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 46px 24px; text-align: center; }
.stat { padding: 0 8px; }
.stat .num { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--gold-bright); font-weight: 700; display: block; margin-bottom: .28em; }
.stat .label { font-family: var(--sans); font-size: .95rem; color: rgba(255,255,255,.9); }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.16); }
@media (max-width: 640px) {
  .stat-band .container { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-top: 28px; }
}

/* ---- Main / sections ---- */
main .container { padding-top: 64px; padding-bottom: 64px; }
main p { max-width: 70ch; }
.lead-intro { font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; color: var(--ink); max-width: 62ch; }
.page-title { color: var(--blue); margin: 0 0 .5em; font-size: 2.5rem; line-height: 1.08; }
.lead-in { font-size: 1.12rem; color: var(--muted); max-width: 68ch; }
section { margin-bottom: 52px; }
/* Full-bleed sections must not inherit the content-section bottom margin
   (that gap was showing the page background as a strip under the hero). */
.hero, .page-hero { margin-bottom: 0; }
h2 { color: var(--ink); font-size: 1.9rem; line-height: 1.18; margin: 0 0 .6em; }
h3 { color: var(--blue); margin: 0 0 .3em; font-size: 1.25rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 40px; }

/* Alt section band */
.band { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .container { padding-top: 64px; padding-bottom: 64px; }

/* ---- Programs as cards ---- */
.program-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.program-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: 0 6px 20px rgba(15,47,92,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 16px 38px rgba(15,47,92,.16); border-color: var(--gold-soft); }
.program-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--alt); }
.program-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.program-card:hover .program-card-media img { transform: scale(1.05); }
.program-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.program-card-body h3 { margin: 0 0 .35em; font-size: 1.3rem; color: var(--blue); transition: color .2s ease; }
.program-card:hover .program-card-body h3 { color: var(--red); }
.program-card-body p { margin: 0 0 1.1em; color: var(--ink); font-size: .98rem; }
.more { font-family: var(--sans); font-weight: 700; text-decoration: none; color: var(--red); font-size: .95rem; margin-top: auto; }
.more .arw { display: inline-block; transition: transform .2s ease; }
.program-card:hover .more .arw { transform: translateX(5px); }

/* ---- Tables (ruled, editorial) ---- */
table { border-collapse: collapse; width: 100%; margin: 20px 0; font-family: var(--sans); }
caption { caption-side: top; text-align: left; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
thead th { border-bottom: 2px solid var(--ink); color: var(--ink); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---- Program page hero banner ---- */
.page-hero { position: relative; overflow: hidden; background: var(--blue-deep); isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(9,28,56,.92) 0%, rgba(12,38,74,.72) 55%, rgba(15,47,92,.35) 100%); }
.page-hero .container { padding: 66px 24px; max-width: var(--max); }
.page-hero .eyebrow { color: var(--gold-bright); }
.page-hero .page-title { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); margin-bottom: .3em; }
.page-hero .lead-in { color: rgba(255,255,255,.9); }
.page-hero .hero-rule { margin: 0 0 22px; }
/* Solid (no-photo) page hero — deep blue with a soft gold glow */
.page-hero-solid { background:
    radial-gradient(120% 150% at 88% -10%, rgba(230,184,32,.20) 0%, rgba(230,184,32,0) 46%),
    linear-gradient(120deg, #0b2547 0%, #123a72 100%); }
.page-hero-solid::after { display: none; }

/* ---- CTA band (conversion) ---- */
.cta-band { background: linear-gradient(120deg, #0b2547 0%, #123a72 100%); color: #fff; border-top: 4px solid var(--gold-bright); text-align: center; }
.cta-band .container { padding: 56px 24px; }
.cta-band h2 { color: #fff; font-size: 1.9rem; line-height: 1.18; margin: 0 0 .35em; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 0 auto 1.5em; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-phone { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-bright); font-weight: 700; margin: 0 0 .5em; }
.cta-phone a { color: var(--gold-bright); text-decoration: none; }
.cta-phone a:hover { text-decoration: underline; }

/* ---- Faith / mission band (image background) ---- */
.faith-band { position: relative; overflow: hidden; isolation: isolate; background: #1a1410; color: #fff; text-align: center; }
.faith-band .bg { position: absolute; inset: 0; z-index: -2; }
.faith-band .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 75%; opacity: .5; filter: saturate(.85); }
.faith-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,15,12,.84) 0%, rgba(26,20,16,.66) 60%, rgba(20,15,12,.78) 100%); }
.faith-band .container { padding: 88px 24px; max-width: 820px; }
.faith-band .eyebrow { color: var(--gold-bright); }
.faith-band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.42; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.4); }

/* ---- Contact details ---- */
.phone-lg { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--blue); text-decoration: none; line-height: 1; }
.phone-lg:hover { color: var(--red); }
main address { font-style: normal; line-height: 1.6; }

/* ---- Bios ---- */
.bio { display: grid; grid-template-columns: 150px 1fr; gap: 30px; align-items: start; padding: 36px 0; border-top: 1px solid var(--line); }
.bio:last-of-type { border-bottom: 1px solid var(--line); }
.bio-photo { width: 150px; }
.bio-photo img { width: 100%; height: auto; max-width: 155px; border-radius: 3px; display: block; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15,47,92,.10); }
.bio-photo .role { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-top: 10px; display: block; }
.bio-body h3 { font-size: 1.5rem; margin-bottom: .15em; }
.bio-body p { max-width: none; }

.note { background: #fbf3da; border-left: 3px solid var(--gold); padding: 10px 16px; font-size: .86rem; color: var(--muted); font-family: var(--sans); margin: 14px 0; }

img.feature { max-width: 100%; height: auto; border-radius: 3px; display: block; }

ul.clean, ol.clean { padding-left: 22px; max-width: 70ch; }
ul.clean li, ol.clean li { margin-bottom: 8px; }

/* ---- Footer ---- */
.site-footer { border-top: 4px solid var(--gold-bright); background: var(--blue-deep); color: rgba(255,255,255,.8); font-family: var(--sans); font-size: .92rem; }
.site-footer .container { padding: 40px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 40px; }
.foot-brand { color: #fff; font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.foot-brand span { display: block; font-family: var(--serif); font-style: italic; font-size: .85rem; font-weight: 400; color: var(--gold-bright); }
.foot-contact { display: grid; gap: 4px; line-height: 1.5; }
.foot-contact .foot-phone a { color: var(--gold-bright); font-weight: 700; text-decoration: none; }
.foot-contact address { font-style: normal; color: rgba(255,255,255,.72); }
.site-footer a { color: #fff; }

/* ---- Animations ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; transform: none; }
  .hero-inner > *, .hero-inner > .hero-rule { animation: none; opacity: 1; width: auto; }
  .hero-inner > .hero-rule { width: 88px; }
  .program-card, .program-card-media img, .more .arw { transition: none; }
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero-inner { padding: 70px 24px 78px; }
  .page-hero .container { padding: 52px 24px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .bio { grid-template-columns: 1fr; gap: 16px; }
  .bio-photo { width: 150px; }
  .program-grid { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .page-title { font-size: 1.95rem; }
  h2 { font-size: 1.55rem; }
}

/* ---- Pull quote + two-column list (program pages) ---- */
.pull-quote {
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--blue);
  border-left: 3px solid var(--gold); padding: 6px 0 6px 20px; margin: 26px 0; max-width: 60ch;
}
.pull-quote .attr { display: block; font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-top: 8px; }
.two-col-list { columns: 2; column-gap: 44px; max-width: 76ch; }
.two-col-list li { break-inside: avoid; }
@media (max-width: 640px) { .two-col-list { columns: 1; } }
