:root {
  --navy: #123f36;
  --navy-2: #195849;
  --gold: #d59637;
  --cream: #fbf4e8;
  --ink: #173d35;
  --muted: #64766f;
  --line: #e5dccd;
  --shadow: 0 24px 70px rgba(23, 61, 53, 0.12);
}

body {
  color: var(--ink);
  background: #fffdf9;
}

.site-header {
  height: 82px;
  border-bottom-color: #e9dfd1;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(18px);
}

.site-header nav a { color: #36564d; }
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: #c86d3f; }
.login { color: #174d41; border-color: #174d41; }
.login:hover { color: #fff; background: #174d41; }

.home-hero {
  min-height: 700px;
  background: #f8efe2;
}

.home-hero .hero-image {
  background-image: url('/assets/hero-ocean.jpeg');
  background-position: center;
  filter: saturate(0.96);
}

.home-hero .hero-image::after {
  background:
    linear-gradient(90deg, rgba(250, 245, 236, 0.98) 0%, rgba(250, 245, 236, 0.93) 28%, rgba(250, 245, 236, 0.67) 48%, rgba(250, 245, 236, 0.1) 72%, transparent 100%),
    linear-gradient(0deg, rgba(18, 63, 54, 0.12), transparent 45%);
}

.home-hero .hero-copy {
  width: min(67%, 930px);
  min-height: 700px;
  padding-left: clamp(72px, 11vw, 172px);
  color: #123f36;
}

.home-hero .eyebrow { color: #a26039; text-shadow: none; }
.home-hero .hero-welcome { color: #bf623a !important; text-shadow: none; }
.home-hero .hero-copy h1 { color: #123f36; text-shadow: none; }
.home-hero .slogan.family { color: #ca6d3f; text-shadow: none; }
.home-hero .slogan.rise { color: #147565; text-shadow: none; }
.home-hero .hero-secondary { color: #174d41; border-color: #174d41; }
.home-hero .hero-secondary:hover { color: #fff; background: #174d41; }
.hero-primary { background: #174d41; }
.hero-primary:hover { background: #0d392f; }

.service-bar {
  border-top: 1px solid #eee1d0;
  box-shadow: 0 16px 38px rgba(72, 54, 33, 0.08);
}
.service-bar a { color: #bb693d; }
.live-section { background: #123f36; }
.feed-card {
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(5, 35, 29, 0.15);
}
.feed-card img,
.feed-card .feed-placeholder { height: 205px; }
.feed-body { padding: 23px; }
.feed-meta,
.feed-card .feed-link { color: #b9683c; }
.story-showcase { background: #0f493c; }
.path-card { border-radius: 20px; }
.path-card.navy { background: #174d41; }
.path-card.gold-card { background: #c7793f; }
.button { border-radius: 9px; }

.page-hero {
  min-height: 470px;
  border-bottom: 1px solid #eadfce;
}
.page-hero::before {
  background: linear-gradient(90deg, rgba(12, 57, 47, 0.92) 0%, rgba(12, 57, 47, 0.62) 48%, rgba(12, 57, 47, 0.12) 78%);
}
.about-hero { background-image: url('/assets/about-olive.jpeg'); }
.story-hero {
  min-height: 540px;
  background-image: url('/assets/testimonies-sunrise.jpeg');
  background-position: center 48%;
}
.training-hero {
  background-image: url('/assets/training-path.jpeg');
  background-position: center 48%;
}
.giving-hero {
  background-image: url('/assets/giving-lake.jpeg');
  background-position: center 55%;
}
.news-hero {
  background-image: url('/assets/news-meadow.jpeg');
  background-position: center 52%;
}
.contact-hero {
  background-image: url('/assets/contact-boston.jpeg');
  background-position: center 52%;
}
.page-hero .wrap { padding-left: clamp(10px, 4vw, 52px); }
.page-hero h1 { max-width: 860px; text-wrap: balance; }
.page-hero p:not(.eyebrow) { max-width: 610px; }

.course-grid .cms-item,
.give-methods article,
.contact-grid article {
  border: 1px solid #eadfce;
  border-radius: 20px;
  background: #fbf4e8;
}

/* Visit & contact: Boston arrival, a clear Saturday rhythm, and a calm midweek invitation. */
.contact-page { background: #fffdf9; }
.contact-hero { min-height: 560px; }
.contact-hero::before {
  background: linear-gradient(90deg, rgba(8, 49, 42, 0.91) 0%, rgba(8, 49, 42, 0.63) 48%, rgba(8, 49, 42, 0.08) 82%);
}
.visit-section { padding: 92px 0; background: #fffdf9; }
.visit-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: clamp(42px, 7vw, 104px); align-items: start; }
.visit-schedule > h2 { max-width: 680px; margin: 7px 0 40px; color: #123f36; font-family: "Noto Serif SC", Georgia, serif; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.22; }
.visit-timeline { position: relative; display: grid; gap: 0; }
.visit-timeline::before { position: absolute; top: 18px; bottom: 18px; left: 86px; width: 1px; background: #dec9a8; content: ""; }
.visit-timeline article { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding: 0 0 42px; }
.visit-timeline article:last-child { padding-bottom: 0; }
.visit-timeline time { z-index: 1; width: 86px; padding: 9px 8px; color: #fff; border-radius: 99px; background: #c96e40; text-align: center; font-weight: 900; box-shadow: 0 8px 22px rgba(160, 81, 43, .2); }
.visit-timeline article:last-child time { background: #174d41; }
.visit-timeline h3 { margin: 2px 0 9px; color: #163f36; font-size: 24px; }
.visit-timeline p { max-width: 650px; margin: 0 0 18px; color: #60736c; font-size: 16px; line-height: 1.8; }
.visit-timeline .button { display: inline-flex; width: auto; }
.visit-location { position: sticky; top: 110px; padding: 38px; overflow: hidden; border: 1px solid #e5d8c2; border-radius: 30px; background: linear-gradient(145deg, #f8ebd4, #fff9ee); box-shadow: 0 26px 60px rgba(70, 50, 24, .1); }
.location-pin { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 30px; color: #fff; border-radius: 18px; background: #174d41; font-size: 28px; }
.visit-location small, .contact-details small, .online-study-card > small { color: #b5663c; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.visit-location h2 { margin: 9px 0 4px; color: #123f36; font-family: Georgia, serif; font-size: 32px; }
.visit-location p { color: #60736c; font-size: 16px; line-height: 1.75; }
.visit-location .location-note { padding-top: 18px; border-top: 1px solid #dfcfb3; }
.visit-location a { display: inline-flex; margin-top: 9px; color: #b75e36; font-weight: 900; }
.online-study-section { padding: 88px 0; color: #fff; background: #103f35; }
.online-study-section .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(45px, 8vw, 120px); align-items: center; }
.online-study-copy h2 { margin: 8px 0 18px; color: #fff; font-family: "Noto Serif SC", Georgia, serif; font-size: clamp(38px, 4.5vw, 58px); }
.online-study-copy > p:not(.eyebrow) { max-width: 520px; color: #d6e4de; font-size: 17px; line-height: 1.85; }
.online-study-card { min-height: 310px; padding: clamp(32px, 5vw, 56px); border: 1px solid rgba(255,255,255,.17); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)); box-shadow: 0 28px 70px rgba(0,0,0,.18); }
.online-study-card h3 { margin: 15px 0 10px; color: #fff; font-family: "Noto Serif SC", Georgia, serif; font-size: clamp(28px, 3.2vw, 42px); }
.online-study-card strong { display: block; margin: 0 0 16px; color: #efbd73; font-size: 19px; }
.online-study-card p { max-width: 650px; margin: 0 0 25px; color: #dce9e4; font-size: 16px; line-height: 1.8; white-space: pre-line; }
.study-join { display: inline-flex; background: #d59637; }
.study-placeholder { display: inline-flex; padding: 11px 15px; color: #c4d5cf; border: 1px solid rgba(255,255,255,.23); border-radius: 9px; font-weight: 800; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 82px; padding-bottom: 96px; }
.contact-details article { padding: clamp(30px, 4vw, 50px); border: 1px solid #e6dac7; border-radius: 26px; background: #fbf4e8; }
.contact-details article:nth-child(2) { background: #f3eee4; }
.contact-details h2 { margin: 10px 0; color: #123f36; font-family: "Noto Serif SC", Georgia, serif; font-size: 32px; }
.contact-details p { color: #61736c; line-height: 1.8; }
.contact-details a { display: inline-flex; margin-top: 10px; color: #b85f37; font-size: clamp(19px, 2vw, 25px); font-weight: 900; }

@media (max-width: 860px) {
  .visit-layout, .online-study-section .wrap { grid-template-columns: 1fr; }
  .visit-location { position: static; }
  .contact-details { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .contact-hero { min-height: 480px; }
  .visit-section, .online-study-section { padding: 64px 0; }
  .visit-timeline::before { left: 43px; }
  .visit-timeline article { grid-template-columns: 88px 1fr; gap: 14px; }
  .visit-timeline time { width: 78px; font-size: 13px; }
  .visit-location, .online-study-card { border-radius: 22px; }
}
.training-next { border-radius: 22px; background: #123f36; }
.public-course { border-color: #e6ded1; background: linear-gradient(145deg, #fff, #faf5ec); }
.public-course > span { background: #174d41; }
.scripture { border-left-color: #d9a24e; background: #123f36; }
.site-footer { background: #0c322b; }
.footer-bottom { border-top-color: #ffffff20; }

/* Discipleship: an achievable beginning and a visible formation journey. */
.formation-intro {
  position: relative;
  overflow: hidden;
  padding: 92px 0 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(213, 150, 55, 0.12), transparent 26%),
    #fffdf9;
}

.formation-opening {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(55px, 9vw, 126px);
}

.formation-number {
  position: relative;
  display: grid;
  min-height: 330px;
  align-content: center;
  justify-items: center;
  padding: 38px;
  overflow: hidden;
  color: #123f36;
  border: 1px solid #eadac0;
  border-radius: 50% 50% 46% 54% / 48% 44% 56% 52%;
  background: linear-gradient(145deg, #fff8ea, #f1dcae);
  box-shadow: 0 28px 70px rgba(109, 79, 34, 0.12);
}

.formation-number::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(181, 114, 51, 0.26);
  border-radius: inherit;
  content: "";
}

.formation-number strong {
  z-index: 1;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(104px, 12vw, 152px);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: -0.08em;
}

.formation-number span {
  z-index: 1;
  margin-top: 24px;
  color: #b85e36;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.formation-number small {
  z-index: 1;
  order: -1;
  margin-bottom: 22px;
  color: #a85b37;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.formation-number em { z-index: 1; margin-top: 10px; color: #6a746e; font-size: 14px; font-style: normal; }

.formation-copy h2 {
  max-width: 720px;
  margin: 0 0 22px;
  color: #123f36;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(39px, 5vw, 64px);
  line-height: 1.28;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.formation-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #5d7069;
  font-size: 17px;
  line-height: 2;
}

.formation-roadmap-head { margin-top: 94px; text-align: center; }
.formation-roadmap-head h2 { margin: 0; color: #123f36; font-family: "Noto Serif SC", Georgia, serif; font-size: clamp(34px, 4vw, 52px); }

.formation-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 88px;
}

.formation-path::before {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 30px;
  height: 2px;
  background: linear-gradient(90deg, #d59637, #c96c40 55%, #17705f);
  content: "";
}

.formation-path article {
  position: relative;
  z-index: 1;
  padding: 0 23px 28px;
  border-bottom: 1px solid #e6dac8;
}

.formation-path article > span {
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  margin-bottom: 27px;
  color: #fff;
  border: 7px solid #fffdf9;
  border-radius: 50%;
  background: #174d41;
  box-shadow: 0 8px 24px rgba(23, 77, 65, 0.2);
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 800;
}

.formation-path article:first-child > span { background: #c76b3e; }
.formation-path article:nth-child(2) > span { background: #b98536; }
.formation-path article:nth-child(3) > span { background: #27806e; }
.formation-path article:nth-child(4) > span { background: #1f6d61; }

.formation-path small {
  display: block;
  min-height: 34px;
  color: #b56139;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.formation-path h3 {
  margin: 7px 0 11px;
  color: #123f36;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 25px;
}

.formation-path p {
  margin: 0;
  color: #66766f;
  font-size: 15px;
  line-height: 1.75;
}

.formation-why {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
  gap: clamp(42px, 8vw, 104px);
  margin-top: 78px;
  padding: clamp(45px, 6vw, 76px);
  color: #fff;
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(circle at 92% 15%, rgba(229, 180, 91, 0.2), transparent 29%),
    #123f36;
}

.formation-why .eyebrow { color: #f1c577; }
.formation-why h2 {
  margin: 0;
  color: #fff7e9;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(30px, 3.7vw, 47px);
  line-height: 1.45;
  text-wrap: balance;
}

.formation-why-copy {
  margin: 0;
  padding-left: 42px;
  color: #d7e5df;
  border-left: 1px solid rgba(241, 197, 119, 0.55);
}
.formation-why-copy > p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 2;
}
.formation-why blockquote { margin: 30px 0 0; padding-top: 24px; border-top: 1px solid rgba(241,197,119,.34); }
.formation-why blockquote strong { display: block; color: #fff7e9; font-family: "Noto Serif SC", Georgia, serif; font-size: 17px; line-height: 1.85; }
.formation-why blockquote cite { display: block; margin-top: 10px; color: #f1c577; font-size: 12px; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.formation-why .ephesians { margin-top: 26px; }
.formation-why .training-balance { padding: 15px 18px; border: 1px solid rgba(241,197,119,.32); border-radius: 12px; color: #f1c577; font-weight: 900; line-height: 1.6; }

.course-architecture { padding-block: 96px 26px; }
.course-architecture > header { max-width: 760px; margin-bottom: 36px; }
.course-architecture > header h2 { margin: 0 0 10px; color: #123f36; font-family: "Noto Serif SC", Georgia, serif; font-size: clamp(34px,4vw,52px); }
.course-architecture > header > p:last-child { color: #65766f; font-size: 17px; }
.course-architecture-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.course-architecture-grid article { position: relative; min-width: 0; padding: 34px 28px 28px; border: 1px solid #e6dac8; border-radius: 22px; background: linear-gradient(155deg,#fff,#fbf4e8); box-shadow: 0 18px 42px rgba(68,55,33,.07); }
.course-architecture-grid article > b { position: absolute; right: 24px; top: 19px; color: #dbb97c; font-family: Georgia,serif; font-size: 38px; font-weight: 500; }
.course-architecture-grid small { display: block; max-width: 75%; color: #b56139; font-size: 11px; font-weight: 900; letter-spacing: .08em; line-height: 1.5; }
.course-architecture-grid h3 { margin: 28px 0 13px; color: #123f36; font-family: "Noto Serif SC",Georgia,serif; font-size: 25px; }
.course-architecture-grid p { margin: 0; color: #66766f; font-size: 15px; line-height: 1.85; }
.course-architecture-grid aside { display: grid; gap: 7px; margin-top: 24px; padding: 17px; border-radius: 14px; background: #123f36; color: #dce9e3; }
.course-architecture-grid aside strong { color: #f1c577; font-size: 13px; }
.course-architecture-grid aside span { font-size: 13px; line-height: 1.65; }
.course-branch { margin-top: 24px; border-radius: 14px; background: #123f36; color: #dce9e3; overflow: hidden; }
.course-branch summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px; cursor: pointer; list-style: none; }
.course-branch summary::-webkit-details-marker { display: none; }
.course-branch summary span { display: grid; gap: 5px; }
.course-branch summary strong { color: #f1c577; font-size: 13px; }
.course-branch summary small { max-width: none; color: #dce9e3; font-size: 12px; font-weight: 700; letter-spacing: 0; }
.course-branch summary b { color: #f1c577; font-size: 22px; transition: transform .2s ease; }
.course-branch[open] summary b { transform: rotate(45deg); }
.course-branch > div { padding: 0 17px 18px; border-top: 1px solid rgba(241,197,119,.2); }
.course-branch > div p { padding-top: 15px; color: #dce9e3; font-size: 14px; line-height: 1.8; }
.formation-closing { margin: 42px auto 0; max-width: 890px; color: #123f36; font-family: "Noto Serif SC",Georgia,serif; font-size: clamp(23px,3vw,34px); font-weight: 700; line-height: 1.55; text-align: center; }

.training-curriculum { padding-top: 88px; }
.training-curriculum .public-course-section > header h2 {
  color: #123f36;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(34px, 4vw, 50px);
}

/* Testimonies: cinematic first story and an editorial story journal. */
.testimony-page { background: #fffdf9; }
.story-hero::before {
  background:
    linear-gradient(90deg, rgba(9, 55, 45, 0.92) 0%, rgba(9, 55, 45, 0.65) 44%, rgba(9, 55, 45, 0.13) 76%),
    linear-gradient(0deg, rgba(9, 42, 36, 0.22), transparent 55%);
}
.story-hero .wrap { padding-top: 24px; }
.story-hero .eyebrow { color: #f5c978; }
.story-hero h1 { max-width: 900px; font-size: clamp(48px, 6.4vw, 80px); }

.story-intro { padding: 84px 0 78px; background: #fbf4e8; }
.story-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: end;
  gap: clamp(50px, 9vw, 130px);
}
.story-intro h2 {
  margin: 0;
  color: #123f36;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(34px, 4vw, 53px);
  line-height: 1.35;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.story-intro-grid > p {
  margin: 0;
  padding-left: 36px;
  border-left: 2px solid #d59a43;
  color: #566d65;
  font-size: 17px;
  line-height: 2;
}
.story-collection-section { padding-block: 92px 110px; }
.story-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e7dccd;
}
.story-section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 8px; }
.story-section-head h2 {
  margin: 0;
  color: #123f36;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(31px, 3.7vw, 48px);
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}
.story-grid .empty-content { grid-column: 1 / -1; border-radius: 24px; }
.testimony-card {
  display: flex;
  grid-column: span 4;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7ddce;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(39, 62, 53, 0.08);
}
.testimony-card.featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);
  min-height: 500px;
  color: #fff;
  border: 0;
  background: #123f36;
  box-shadow: 0 28px 70px rgba(18, 63, 54, 0.2);
}
.story-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #244f45;
}
.testimony-card.featured .story-media { height: 100%; min-height: 500px; aspect-ratio: auto; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.story-media-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  color: #fff;
  border: 0;
  background: #244f45;
}
.story-media-button:hover img { transform: scale(1.035); }
.story-media .play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding-left: 5px;
  translate: -50% -50%;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(9, 55, 45, 0.72);
  box-shadow: 0 12px 35px #0006;
  font-size: 21px;
}
.story-media iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; background: #000; }
.testimony-card.featured .story-media iframe { min-height: 500px; }
.story-media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #eec77e;
  background: linear-gradient(145deg, #1a594b, #0f3f35);
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: 0.24em;
}
.testimony-copy { display: flex; flex: 1; flex-direction: column; padding: 29px; }
.testimony-card.featured .testimony-copy { justify-content: center; padding: clamp(38px, 5vw, 68px); }
.testimony-copy small { color: #c66c3e; font-size: 11px; font-weight: 900; letter-spacing: 0.17em; }
.testimony-card.featured .testimony-copy small { color: #f1c475; }
.testimony-copy h2 {
  margin: 12px 0 9px;
  color: #123f36;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 26px;
  line-height: 1.4;
}
.testimony-card.featured .testimony-copy h2 { color: #fff6e8; font-size: clamp(34px, 4vw, 51px); }
.testimony-copy .subtitle { margin: 0 0 15px; color: #b45f38; font-weight: 800; line-height: 1.65; }
.testimony-card.featured .subtitle { color: #edbe70; font-size: 18px; }
.testimony-copy .body { margin: 0; color: #64756f; line-height: 1.85; white-space: pre-line; }
.testimony-card:not(.featured) .body {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.testimony-card.featured .body { color: #d7e4df; font-size: 16px; }
.testimony-actions { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 23px; }
.testimony-actions button,
.testimony-actions a {
  padding: 0;
  color: #b76339;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}
.testimony-card.featured .testimony-actions button,
.testimony-card.featured .testimony-actions a { color: #f0c474; }

.story-preview .story-media { aspect-ratio: 1.58; }
.story-preview .story-media-button { cursor: pointer; }
.story-preview .story-media iframe { min-height: 100%; aspect-ratio: 1.58; }
.story-preview.video-card { cursor: default; }

@media (max-width: 980px) {
  .home-hero,
  .home-hero .hero-copy { min-height: 650px; }
  .home-hero .hero-copy { width: min(78%, 760px); }
  .home-hero .hero-image::after {
    background:
      linear-gradient(90deg, rgba(250, 245, 236, 0.97), rgba(250, 245, 236, 0.8) 58%, rgba(250, 245, 236, 0.22)),
      linear-gradient(0deg, rgba(18, 63, 54, 0.12), transparent);
  }
  .testimony-card { grid-column: span 6; }
  .testimony-card.featured { grid-template-columns: 1fr 1fr; }
  .story-intro-grid { gap: 55px; }
  .formation-opening { grid-template-columns: minmax(245px, 0.65fr) minmax(0, 1.35fr); gap: 48px; }
  .formation-number { min-height: 290px; }
  .formation-path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 42px; }
  .formation-path::before { display: none; }
  .formation-path article { border: 1px solid #e6dac8; border-radius: 20px; padding: 24px; background: #fff; }
  .formation-path article > span { margin-top: -48px; }
  .course-architecture-grid { grid-template-columns: 1fr 1fr; }
  .course-architecture-grid article:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-header { height: 70px; }
  .site-header nav { top: 70px; background: #fffdf9; }
  .home-hero,
  .home-hero .hero-copy { min-height: 640px; }
  .home-hero .hero-copy { width: 100%; padding: 72px 24px 54px; }
  .home-hero .hero-image { background-position: 58% center; }
  .home-hero .hero-image::after {
    background:
      linear-gradient(90deg, rgba(250, 245, 236, 0.95), rgba(250, 245, 236, 0.72)),
      linear-gradient(0deg, rgba(250, 245, 236, 0.35), transparent 48%);
  }
  .home-hero .hero-copy h1 { font-size: 43px; }
  .page-hero { min-height: 420px; }
  .story-hero { min-height: 470px; background-position: 60% center; }
  .story-intro { padding: 58px 0; }
  .story-intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-intro-grid > p {
    padding: 22px 0 0;
    border-top: 2px solid #d59a43;
    border-left: 0;
    font-size: 16px;
  }
  .story-collection-section { padding-block: 60px 76px; }
  .story-section-head { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 22px; }
  .testimony-card,
  .testimony-card.featured { display: flex; grid-column: 1; min-height: 0; }
  .testimony-card.featured .story-media { min-height: 0; aspect-ratio: 16 / 10; }
  .testimony-card.featured .story-media iframe { min-height: 240px; }
  .testimony-card.featured .testimony-copy { padding: 32px 26px; }
  .testimony-card.featured .testimony-copy h2 { font-size: 33px; }
  .story-media .play { width: 58px; height: 58px; }
  .footer-grid { gap: 34px; }
  .formation-intro { padding-top: 62px; }
  .formation-opening { grid-template-columns: 1fr; gap: 42px; }
  .formation-number { width: min(100%, 330px); min-height: 310px; margin-inline: auto; }
  .formation-copy { text-align: center; }
  .formation-copy > p:not(.eyebrow) { font-size: 16px; }
  .formation-roadmap-head { margin-top: 70px; }
  .formation-path { grid-template-columns: 1fr; gap: 42px; margin-top: 74px; }
  .formation-path article { padding: 26px 25px 28px 78px; }
  .formation-path article > span { position: absolute; left: 18px; top: 24px; width: 45px; height: 45px; margin: 0; border-width: 5px; }
  .formation-path small { min-height: 0; }
  .formation-why { grid-template-columns: 1fr; gap: 28px; margin-top: 58px; padding: 38px 25px 44px; border-radius: 24px 24px 0 0; }
  .formation-why-copy { padding: 24px 0 0; border-top: 1px solid rgba(241, 197, 119, 0.55); border-left: 0; }
  .formation-why-copy > p { font-size: 16px; }
  .course-architecture { padding-top: 70px; }
  .course-architecture-grid { grid-template-columns: 1fr; }
  .course-architecture-grid article:last-child { grid-column: auto; }
  .training-curriculum { padding-top: 62px; }
}
