/* Fraunces (display serif) + Source Sans 3 (body, matches the slide deck). */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,300..650,0..100,0..1;1,9..144,300..600,0..100,0..1&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==================================================================
   Hero
   ================================================================== */
.hero { margin: 0 0 2.8rem; }

.hero-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(0, 42, 85, 0.16);
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: clamp(330px, 54vh, 540px);
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.4rem, 4.5vw, 3.2rem);
  background: linear-gradient(
    180deg,
    rgba(0, 26, 54, 0.05) 28%,
    rgba(0, 26, 54, 0.46) 64%,
    rgba(0, 26, 54, 0.86) 100%
  );
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.85rem;
}
.hero-eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: #e6a763;
}

.hero-title {
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: clamp(2.3rem, 6vw, 3.7rem);
  font-weight: 540;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  text-shadow: 0 2px 24px rgba(0, 18, 40, 0.35);
}
.hero-title em {
  font-style: italic;
  color: #f1d2a8;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
  max-width: 40rem;
  margin: 0;
}

/* ==================================================================
   Stat strip
   ================================================================== */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 5vw, 3.4rem);
  margin: 1.8rem 0 2.6rem;
  padding: 1.3rem 0;
  border-top: 1px solid #e7e3d8;
  border-bottom: 1px solid #e7e3d8;
}
.stat { display: flex; flex-direction: column; gap: 0.1rem; }
.stat-n {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.1rem;
  font-weight: 560;
  line-height: 1;
  color: #00428f;
}
.stat-l {
  font-size: 0.86rem;
  color: #5c6670;
  max-width: 11rem;
}

/* ==================================================================
   Section heading kicker
   ================================================================== */
.kicker {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  font-weight: 600;
  color: #b96f2b;
  margin: 2.6rem 0 0.4rem;
}

/* ==================================================================
   Session cards (homepage)
   ================================================================== */
.session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin: 1.4rem 0 2.4rem;
}

.session-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.4rem 1.6rem;
  background: #ffffff;
  border: 1px solid #e7e3d8;
  border-top: 3px solid #00428f;
  border-radius: 9px;
  color: #1b232e !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-top-color 0.18s ease;
}
.session-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 42, 85, 0.12);
  border-top-color: #b96f2b;
}

.session-num {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1;
  color: #9cc0e8;
}
.session-card:hover .session-num { color: #e6a763; }

.session-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #5c6670;
}
.session-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 560;
  color: #002a55;
  margin: 0.1rem 0 0.15rem;
}
.session-desc {
  font-size: 0.94rem;
  line-height: 1.45;
  color: #4b545d;
  flex-grow: 1;
  margin: 0;
}
.session-go {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #00428f;
}
.session-card:hover .session-go { color: #b96f2b; }

/* ==================================================================
   Resource links row (homepage)
   ================================================================== */
.reslinks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 1rem;
}
.reslink {
  display: block;
  padding: 1.1rem 1.2rem;
  border: 1px solid #e7e3d8;
  border-radius: 9px;
  background: #ffffff;
  color: #1b232e !important;
  text-decoration: none !important;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.reslink:hover { border-color: #9cc0e8; background: #f6f9fd; }
.reslink strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  color: #002a55;
  margin-bottom: 0.2rem;
}
.reslink span { font-size: 0.9rem; color: #5c6670; }

/* ==================================================================
   Session-page meta + exercise application block
   ================================================================== */
.session-meta {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #00428f;
  background: #eaf1fa;
  border-radius: 6px;
  padding: 0.12rem 0.6rem;
  vertical-align: middle;
}

.application {
  border: 1px solid #e7e3d8;
  border-left: 4px solid #b96f2b;
  border-radius: 10px;
  background: #fcfbf8;
  padding: 1.3rem 1.5rem 0.6rem;
  margin: 1.6rem 0 1.8rem;
}
.application > h2:first-child,
.application > h3:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

/* ==================================================================
   Responsive
   ================================================================== */
@media (max-width: 575px) {
  .stat-row { gap: 1.2rem; }
  .stat-n { font-size: 1.7rem; }
}
