/* Chinese Energetics — course landing page
   Palette and typography follow the Canva reference: warm cream,
   charcoal ink, serif display, letter-spaced sans labels, mustard accent. */

:root {
  --bg: #f1eee7;
  --bg-deep: #e9e5da;
  --panel: #e0dacb;
  --ink: #29271f;
  --ink-soft: #5d584c; /* meets 4.5:1 on the cream background */
  --line: #d6d0c2;
  --accent: #8E1111;
  --white: #fbfaf6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* anchor targets land clear of the sticky nav; the Dates link
     drops the visitor right on the calendar download button */
  scroll-padding-top: 100px;
}

/* scroll-reveal choreography.
   Content is visible by default; the hidden-then-revealed state applies
   ONLY when the visitor welcomes motion, so reduced-motion users always
   see everything with no dependency on JS or animation. */
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .journey .jcol.reveal:nth-child(2) { transition-delay: 0.10s; }
  .journey .jcol.reveal:nth-child(3) { transition-delay: 0.20s; }
  .journey .jcol.reveal:nth-child(4) { transition-delay: 0.30s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html, body { max-width: 100%; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 1.12;
}

/* ---------- shared pieces ---------- */

.label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

a { touch-action: manipulation; }

.btn {
  display: inline-block;
  padding: 15px 36px;
  border: 1px solid #7a0f0f;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  /* lacquered volume, same light as the outcome cards */
  background: linear-gradient(165deg, #9e1b15 0%, #8E1111 45%, #701010 100%);
  box-shadow:
    inset 0 1px 0 rgba(251, 250, 246, 0.25),
    inset 0 -2px 5px rgba(0, 0, 0, 0.25),
    0 8px 18px rgba(142, 17, 17, 0.26),
    0 18px 38px rgba(38, 37, 31, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.25s ease;
}

.btn:hover {
  background: linear-gradient(165deg, #8a1410 0%, #7a0f0f 50%, #5e0b0b 100%);
  transform: translateY(-2px);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(251, 250, 246, 0.25),
    inset 0 -2px 5px rgba(0, 0, 0, 0.25),
    0 12px 24px rgba(142, 17, 17, 0.32),
    0 26px 52px rgba(38, 37, 31, 0.16);
}

.btn-small { padding: 11px 24px; font-size: 10px; }

.wordmark {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav .wordmark { text-transform: none; letter-spacing: 0.06em; font-size: 17px; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(241, 238, 231, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links { display: flex; gap: 28px; }

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 24px 88px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(52px, 9vw, 96px);
  margin: 22px 0 10px;
}

.taiji-halo {
  display: block;
  width: 46px;
  margin: 24px auto 0;
  /* the shadow lives on the halo, so it holds still while the symbol turns */
  filter: drop-shadow(0 7px 14px rgba(142, 17, 17, 0.30))
          drop-shadow(0 16px 30px rgba(38, 37, 31, 0.14));
}

.taiji {
  width: 46px;
  height: 46px;
  display: block;
  /* the joining halves travel in from outside the symbol's box */
  overflow: visible;
}

/* a slow, meditative turn; stands still for reduced-motion visitors */
@media (prefers-reduced-motion: no-preference) {
  .taiji { animation: taiji-turn 30s linear infinite; }
  @keyframes taiji-turn {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  /* first load of the session: yang glides in from far left, yin from far
     right, fully visible the whole way, they join with a long soft
     deceleration, the ring settles, then the turn begins */
  .taiji.tj-intro { animation-delay: 1.9s; }
  .tj-intro .tj-yang { animation: tj-join-yang 1.7s cubic-bezier(0.33, 1, 0.68, 1) both; }
  .tj-intro .tj-yin  { animation: tj-join-yin  1.7s cubic-bezier(0.33, 1, 0.68, 1) both; }
  .tj-intro .tj-ring { animation: tj-ring-in 0.6s ease-out 1.25s both; }
  @keyframes tj-join-yang {
    from { transform: translateX(-340px); opacity: 0; }
    10%  { opacity: 1; }
    to   { transform: translateX(0); opacity: 1; }
  }
  @keyframes tj-join-yin {
    from { transform: translateX(340px); opacity: 0; }
    10%  { opacity: 1; }
    to   { transform: translateX(0); opacity: 1; }
  }
  @keyframes tj-ring-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

.hero-text {
  max-width: 560px;
  margin: 26px auto 36px;
}

/* ---------- sections ---------- */

.section {
  padding: 88px 24px;
}

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

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin-top: 14px;
}

.section-intro {
  margin: 18px auto 0;
  max-width: 600px;
  color: var(--ink-soft);
}

/* ---------- numbered list (how it works) ---------- */

.numbered {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}

.numbered li {
  display: flex;
  gap: 36px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.numbered li:last-child { border-bottom: 1px solid var(--line); }

.num {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--ink-soft);
  flex: 0 0 48px;
  padding-top: 2px;
}

.numbered h3 {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.numbered p { color: var(--ink-soft); max-width: 520px; }

/* ---------- what you'll learn (red outcome cards) ---------- */

.outcomes {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ocard {
  /* lacquered volume: lit from above, deepening below, double shadow */
  background: linear-gradient(165deg, #9e1b15 0%, #8E1111 45%, #701010 100%);
  color: var(--white);
  border-radius: 18px;
  padding: 28px 22px 26px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(251, 250, 246, 0.22),
    inset 0 -2px 6px rgba(0, 0, 0, 0.22),
    0 12px 24px rgba(142, 17, 17, 0.22),
    0 30px 60px rgba(38, 37, 31, 0.16);
  /* opacity included so the scroll-reveal fade stays smooth on these cards */
  transition: transform 0.45s ease, box-shadow 0.35s ease, opacity 0.6s ease;
}

.ocard:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(251, 250, 246, 0.22),
    inset 0 -2px 6px rgba(0, 0, 0, 0.22),
    0 18px 34px rgba(142, 17, 17, 0.30),
    0 40px 80px rgba(38, 37, 31, 0.20);
}

.oicon {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto 16px;
  color: rgba(251, 250, 246, 0.92);
}

.ocard h3 {
  font-size: 22px;
  color: var(--white);
}

@media (prefers-reduced-motion: no-preference) {
  .outcomes .ocard.reveal:nth-child(2) { transition-delay: 0.08s; }
  .outcomes .ocard.reveal:nth-child(3) { transition-delay: 0.16s; }
  .outcomes .ocard.reveal:nth-child(4) { transition-delay: 0.24s; }
}

/* desktop matches the mobile order: Classical + Pulse on top,
   Meridian studies + Manual practice below */

@media (max-width: 760px) {
  .outcomes { grid-template-columns: 1fr; gap: 14px; }
  .ocard {
    max-width: 260px;
    width: 100%;
    margin: 0 auto;
    padding: 18px 16px 16px;
    border-radius: 14px;
  }
  .oicon { width: 22px; height: 22px; margin-bottom: 10px; }
  .ocard h3 { font-size: 17px; }
}

/* ---------- the journey (stepped columns, dates as pedestals) ---------- */

.journey {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 22px;
  align-items: flex-end;
}

.jcol {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: flex 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: flex-grow;
}

.jcol.open { flex: 1.9; }

/* the stepped pedestal carries each level's dates */
.jped {
  margin-top: 16px;
  background: rgba(142, 17, 17, 0.06);
  border-top: 2px solid var(--accent);
  display: flex;
  justify-content: center;
  padding: 14px 10px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--ink);
  white-space: nowrap;
}

.jcol:nth-child(1) .jped { height: 48px; }
.jcol:nth-child(2) .jped { height: 120px; }
.jcol:nth-child(3) .jped { height: 192px; }
.jcol:nth-child(4) .jped { height: 264px; }

.jcard {
  position: relative;
  background: #fffdf9;
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(38, 37, 31, 0.07);
  padding: 30px 26px 24px;
  cursor: pointer;
  transition: box-shadow 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}

.jcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(38, 37, 31, 0.12);
}

.jcol.open .jcard {
  border-color: #6f0d0d;
  box-shadow: 0 30px 70px rgba(38, 37, 31, 0.16);
}

.jcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* start / summit tags, riding the card's top edge */
.jtag {
  position: absolute;
  top: -13px;
  left: 22px;
  background: var(--accent);
  color: var(--white);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(142, 17, 17, 0.28);
}

.jhead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

.jnum {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  display: grid;
  place-items: center;
}

.jcard h3 {
  font-size: 28px;
  margin: 0;
  color: var(--ink);
}

/* the title chip: what you become — camel gold, from the reference */
.jbecome {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 16px;
  border: 1px solid #b08a45;
  border-radius: 999px;
  background: rgba(176, 138, 69, 0.09);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #86682c;
}

/* mobile-only rising line and in-card date; desktop pedestals carry both */
.jrise { display: none; }
.jdate { display: none; }

/* smooth reveal: grid-rows glide, then bullets fade up in sequence */
.jmore {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 0.45s ease,
              margin 0.45s ease;
}

.jmore-in { overflow: hidden; min-height: 0; }

.jcol.open .jmore { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }

.jmore ul { list-style: none; }

.jmore li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.jcol.open .jmore li { opacity: 1; transform: none; }

.jcol.open .jmore li:nth-child(1) { transition-delay: 0.20s; }
.jcol.open .jmore li:nth-child(2) { transition-delay: 0.26s; }
.jcol.open .jmore li:nth-child(3) { transition-delay: 0.32s; }
.jcol.open .jmore li:nth-child(4) { transition-delay: 0.38s; }
.jcol.open .jmore li:nth-child(5) { transition-delay: 0.44s; }
.jcol.open .jmore li:nth-child(6) { transition-delay: 0.50s; }

.jmore li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.jcta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.jplus {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
              background 0.3s ease, color 0.3s ease;
}

.jcol.open .jplus {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.jhint-open { display: none; }
.jcol.open .jhint-closed { display: none; }
.jcol.open .jhint-open { display: inline; }

/* gentle ripple on closed cards' plus, only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .jcol:not(.open) .jplus { animation: jpulse 2.6s ease-in-out infinite; }
  @keyframes jpulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(142, 17, 17, 0.30); }
    55%      { box-shadow: 0 0 0 8px rgba(142, 17, 17, 0); }
  }
}

/* ---------- how the training works (flow with arrows) ---------- */

.flow {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.flow .jcol,
.flow .jcol.open { flex: 1; }

/* compact flow cards: number, title, and mode share one line */
.flow .jcard { padding: 24px 26px 20px; }
.flow .jhead { margin-bottom: 0; gap: 10px; }
.flow .jnum { width: 34px; height: 34px; flex: 0 0 34px; font-size: 17px; }
.flow .jcard h3 { font-size: 25px; white-space: nowrap; }
.flow .jhead .label { white-space: nowrap; padding-top: 3px; margin-left: auto; }
.flow .jcta { margin-top: 14px; padding-top: 0; }
.flow .jplus { width: 24px; height: 24px; flex: 0 0 24px; }
.flow .jmore li { font-size: 15.5px; }

/* first-cycle date, aligned with the title (34px num + 10px gap) */
.flow .jfirst {
  margin: 6px 0 0 44px;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  color: var(--ink-soft);
}

.farrow {
  flex: 0 0 42px;
  display: flex;
  justify-content: center;
  margin-top: 52px;
  color: var(--accent);
}

@media (max-width: 760px) {
  .flow { display: block; }
  .farrow { margin: 6px auto 12px; transform: rotate(90deg); width: 46px; }
  /* mobile keeps the previous compact cycle cards */
  .flow .jcard { padding: 18px 20px 16px; }
  .flow .jnum { width: 30px; height: 30px; flex: 0 0 30px; font-size: 16px; }
  .flow .jcard h3 { font-size: 22px; }
  .flow .jcta { margin-top: 12px; }
  .flow .jmore li { font-size: 14.5px; }
  .flow .jfirst { margin-left: 40px; font-size: 16px; }
}

/* ---------- dates: calendar download ---------- */

/* the button follows the cycles on the same cream; no double section gap */
#schedule { padding-top: 0; }

.cal { text-align: center; }

.cal-note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ---------- your instructor ---------- */

.instructor {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.ifig {
  position: relative;
  margin: 0;
}

.ifig img {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow:
    0 12px 24px rgba(142, 17, 17, 0.14),
    0 30px 60px rgba(38, 37, 31, 0.18);
}

.ifig-note { display: none; }

/* graceful frame while the portrait file is not yet in place */
.ifig-empty img { display: none; }
.ifig-empty {
  aspect-ratio: 4 / 5;
  border: 1.5px dashed rgba(142, 17, 17, 0.45);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ifig-empty .ifig-note {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ibody h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 10px 0 20px;
}

.ibody p {
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 560px;
}

.ibody h3 {
  font-size: 25px;
  margin: 26px 0 12px;
}


/* mirrored block: photo on the right */
.instructor + .instructor { margin-top: 80px; }
.instructor-flip { grid-template-columns: 1fr 280px; }
.instructor-flip .ibody { order: 1; }
.instructor-flip .ifig { order: 2; }

@media (max-width: 860px) {
  .instructor { grid-template-columns: 1fr; gap: 30px; }
  .ifig { max-width: 250px; margin: 0 auto; width: 100%; }
  .ibody { text-align: center; }
  /* stacked: photo always above the text */
  .instructor-flip .ifig { order: 1; }
  .instructor-flip .ibody { order: 2; }
  .instructor + .instructor { margin-top: 64px; }
}

/* ---------- tuition ---------- */

.tuition {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.price {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(56px, 8vw, 84px);
  line-height: 1;
}

.price span { font-size: 0.45em; letter-spacing: 0.08em; }

.price-note {
  margin: 12px 0 40px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
}

.tuition-cta { margin-top: 44px; }

/* quiet scarcity line under the enroll buttons */
.seats {
  margin-top: 14px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
}

/* six included squares, the site's white card language */
.tincl {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tcard {
  background: #fffdf9;
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  padding: 36px 26px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(38, 37, 31, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.6s ease;
}

.tcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(38, 37, 31, 0.12);
}

.ticon {
  width: 34px;
  height: 34px;
  display: block;
  margin: 0 auto 14px;
  color: var(--accent);
}

.tcard h3 { font-size: 23px; margin-bottom: 7px; }

.tcard p { font-size: 14.5px; color: var(--ink-soft); }

@media (prefers-reduced-motion: no-preference) {
  .tincl .tcard.reveal:nth-child(2) { transition-delay: 0.06s; }
  .tincl .tcard.reveal:nth-child(3) { transition-delay: 0.12s; }
  .tincl .tcard.reveal:nth-child(4) { transition-delay: 0.18s; }
  .tincl .tcard.reveal:nth-child(5) { transition-delay: 0.24s; }
  .tincl .tcard.reveal:nth-child(6) { transition-delay: 0.30s; }
}

@media (max-width: 900px) {
  .tincl { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .tincl { grid-template-columns: 1fr; gap: 14px; }
  .tcard {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 18px 18px;
    border-radius: 14px;
  }
  .ticon { width: 24px; height: 24px; margin-bottom: 10px; }
  .tcard h3 { font-size: 18px; margin-bottom: 4px; }
  .tcard p { font-size: 13px; }
}

/* ---------- closing ---------- */

.closing {
  text-align: center;
  padding: 110px 24px;
}

.closing h2 { font-size: clamp(36px, 6vw, 58px); max-width: 700px; margin: 0 auto; }

.closing p { margin: 20px 0 36px; color: var(--ink-soft); }

/* ---------- faq (accordion) ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.fitem {
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.fitem:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.fq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  color: var(--ink);
}

.fa {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 0.4s ease;
}

.fa-in { overflow: hidden; min-height: 0; }

.fa p {
  padding: 0 48px 12px 0;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.fa-in > p:last-child { padding-bottom: 24px; }

.fa strong { font-weight: 500; color: var(--ink); }

.fitem.open .fa { grid-template-rows: 1fr; opacity: 1; }

.fitem.open .jplus {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: #b9b4a6;
  text-align: center;
  padding: 56px 24px;
  font-size: 13px;
}

.footer .wordmark { color: var(--white); display: block; margin-bottom: 18px; }

.footer p + p { margin-top: 8px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  /* the journey stacks; the date joins the card, the pedestal retires */
  .journey { display: block; }
  .jcol { margin-bottom: 20px; }
  .jped { display: none; }
  .jdate {
    display: block;
    margin-top: 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 17px;
    color: var(--ink);
  }
  .jrise { display: block; height: 2px; background: var(--line); position: relative; margin: 20px 10px 14px 0; overflow: visible; }
  .jrise i { position: absolute; left: 0; top: 0; height: 100%; background: var(--accent); }
  .jcol:nth-child(1) .jrise i { width: 25%; }
  .jcol:nth-child(2) .jrise i { width: 50%; }
  .jcol:nth-child(3) .jrise i { width: 75%; }
  .jcol:nth-child(4) .jrise i { width: 100%; }
  /* the graduating cap rides the tip of each level's line */
  .jcap {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -54%);
    width: 19px;
    height: 19px;
    color: var(--accent);
    background: #fffdf9;
    border-radius: 50%;
    padding: 1px;
  }
  .jcol:nth-child(1) .jcap { left: 25%; }
  .jcol:nth-child(2) .jcap { left: 50%; }
  .jcol:nth-child(3) .jcap { left: 75%; }
  .jcol:nth-child(4) .jcap { left: 100%; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .hero { padding: 64px 20px 60px; }
  .section { padding: 64px 20px; }
  .numbered li { gap: 20px; }
}

