:root {
  --page-bg: #f6f8fb;
  --page-bg-alt: #eef3f7;
  --surface: #ffffff;
  --surface-muted: #f2f6f9;
  --surface-dark: #0f2234;
  --surface-dark-soft: #18334b;
  --ink: #11263b;
  --ink-soft: #5d7081;
  --brand: #0a7ddb;
  --brand-deep: #0b5fa7;
  --line: #d7e1e9;
  --line-strong: #bccad6;
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow-soft: 0 18px 40px rgba(17, 38, 59, 0.08);
  --shadow-card: 0 22px 44px rgba(17, 38, 59, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
  --font-heading: "Montserrat", "Segoe UI", sans-serif;
  --max-width: 1360px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: linear-gradient(180deg, #fafcff 0%, var(--page-bg) 100%);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p,
ul,
ol,
dl {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
}

p,
li,
dd,
dt {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.site-shell {
  overflow: clip;
}

.section-shell {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--brand);
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  transform: translateY(-1px);
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.button--small {
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
}

.text-link {
  color: var(--brand-deep);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 252, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 38, 59, 0.06);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 6rem;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 24px rgba(17, 38, 59, 0.05);
}

.site-brand,
.site-brand .custom-logo-link,
.site-brand__wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-brand .custom-logo {
  max-width: 340px;
  width: auto;
  height: auto;
}

.site-brand__title {
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 0.95;
}

.site-brand__tag {
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-menu,
.site-nav .menu,
.site-nav .menu ul,
.footer-menu,
.site-footer .menu,
.site-footer .menu ul,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-menu a,
.site-nav .menu a,
.footer-menu a,
.site-footer .menu a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-menu li,
.site-nav .menu li,
.footer-menu li,
.site-footer .menu li,
.footer-links li {
  margin: 0;
  color: inherit;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-nav .menu a:hover,
.site-nav .menu a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.post-card a:hover,
.post-card a:focus-visible {
  color: var(--brand-deep);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
}

.menu-toggle__line {
  width: 1.05rem;
  height: 2px;
  background: var(--ink);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  position: relative;
  padding: 5.5rem 0 8rem;
  background:
    radial-gradient(circle at top right, rgba(10, 125, 219, 0.14), transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 4rem;
  align-items: center;
}

.hero__copy {
  padding-top: 0.5rem;
}

.hero__lead {
  max-width: 44rem;
  margin-bottom: 2rem;
  font-size: 1.14rem;
}

.hero__actions,
.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-points {
  display: grid;
  gap: 0.55rem;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--brand);
}

.hero__visual {
  position: relative;
}

.hero-panel {
  position: relative;
  padding: 1.35rem;
  min-height: 39rem;
  border: 1px solid rgba(17, 38, 59, 0.08);
  border-radius: 1.9rem;
  background: #ffffff;
  box-shadow: 0 22px 56px rgba(17, 38, 59, 0.1);
  overflow: hidden;
}

.hero-panel__head {
  display: grid;
  gap: 0.45rem;
  max-width: 33rem;
  padding: 0.15rem 0.15rem 1.15rem;
}

.hero-panel__kicker {
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel__head strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1.1;
}

.hero-panel__head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-panel__image,
.hero-panel__mockup {
  position: relative;
  min-height: 23rem;
  height: 23rem;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
}

.hero-panel__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 38, 0.02) 0%, rgba(7, 22, 38, 0.12) 100%);
  pointer-events: none;
}

.hero-panel__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel__mockup {
  background: #edf3f8;
  border: 1px solid rgba(17, 38, 59, 0.08);
}

.hero-panel__journey {
  position: absolute;
  inset: 1.2rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(17, 38, 59, 0.08);
  box-shadow: 0 14px 32px rgba(17, 38, 59, 0.1);
}

.hero-panel__journey-top {
  margin-bottom: 0.95rem;
}

.hero-panel__journey-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel__journey-intro {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.6;
}

.hero-panel__journey-track {
  position: relative;
  padding-top: 1.45rem;
}

.hero-panel__journey-caption {
  position: absolute;
  top: 0;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel__journey-caption--start {
  left: 0;
}

.hero-panel__journey-caption--end {
  right: 0;
  text-align: right;
}

.hero-panel__journey-line {
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  top: 1.1rem;
  height: 2px;
  border-top: 2px dashed rgba(10, 125, 219, 0.45);
}

.hero-panel__journey-line::after {
  content: "";
  position: absolute;
  right: -0.05rem;
  top: -0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 2px solid rgba(10, 125, 219, 0.7);
  border-right: 2px solid rgba(10, 125, 219, 0.7);
  transform: rotate(45deg);
}

.hero-panel__journey-stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.hero-panel__journey-stop {
  position: relative;
  padding-top: 1.55rem;
}

.hero-panel__journey-stop::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0;
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(10, 125, 219, 0.1);
}

.hero-panel__journey-stop::after {
  content: "";
  position: absolute;
  top: 0.54rem;
  left: 0.8rem;
  width: calc(100% - 0.2rem);
  height: 2px;
  background: rgba(10, 125, 219, 0.35);
}

.hero-panel__journey-stop:last-child::after {
  display: none;
}

.hero-panel__journey-stop strong {
  display: block;
  margin-bottom: 0.22rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  line-height: 1.15;
}

.hero-panel__journey-stop span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.hero-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.hero-panel__stat,
.course-card__label,
.route-card__step,
.post-card__meta {
  display: block;
}

.course-card__label,
.route-card__step,
.post-card__meta {
  margin-bottom: 0.55rem;
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel__stat {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
}

.hero-panel__stat span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel__stat strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.15;
}

.page-builder-shell {
  position: relative;
  z-index: 3;
  padding: 0 0 3rem;
}

.front-page-builder,
.page-builder--elementor {
  padding: 1.75rem 0 2.5rem;
}

.front-page-builder {
  margin-top: -4.5rem;
}

.content-frame {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow: 0 32px 90px rgba(17, 38, 59, 0.14);
  overflow: hidden;
}

.content-frame--elementor {
  overflow: visible;
}

.front-page-builder .elementor,
.page-builder--elementor .elementor {
  width: 100%;
}

.front-page-builder .elementor-section-wrap,
.page-builder--elementor .elementor-section-wrap {
  width: 100%;
}

.front-page-builder .elementor-section,
.page-builder--elementor .elementor-section {
  width: 100%;
}

.front-page-builder .elementor-widget-text-editor,
.page-builder--elementor .elementor-widget-text-editor {
  color: inherit;
  font-family: inherit;
}

.front-page-builder .elementor-widget-text-editor :where(p, li, dd, dt, a),
.page-builder--elementor .elementor-widget-text-editor :where(p, li, dd, dt, a) {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.front-page-builder .elementor-widget-text-editor :where(h1, h2, h3, h4, h5, h6),
.page-builder--elementor .elementor-widget-text-editor :where(h1, h2, h3, h4, h5, h6) {
  color: inherit;
  font-family: inherit;
  letter-spacing: inherit;
}

.section-shell--courses,
.section-shell--route,
.section-shell--cta,
.page-shell {
  padding: 5rem 0;
}

.section-heading {
  max-width: 56rem;
  margin-bottom: 2.5rem;
}

.course-grid,
.route-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.course-card,
.route-card,
.post-card,
.story-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.course-card,
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, border-color 180ms ease;
}

.course-card::before,
.post-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #55b7ff);
}

.course-card:hover,
.course-card:focus-visible,
.post-card:hover,
.post-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.course-card h3,
.route-card h3,
.post-card h2 {
  margin-bottom: 0.75rem;
}

.course-card__meta {
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.6;
}

.section-band {
  padding: 4.5rem 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 80px),
    linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-soft) 100%);
}

.section-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.section-band__copy h2,
.section-band__copy p,
.section-band__copy a,
.manifest-list li {
  color: #e6f0f7;
}

.section-band__copy .eyebrow {
  color: #8fd2ff;
}

.section-band__copy .eyebrow::before {
  background: #8fd2ff;
}

.manifest-card {
  padding: 1.4rem;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
}

.manifest-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.manifest-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.manifest-list li:last-child {
  border-bottom: 0;
}

.route-card {
  padding: 1.9rem;
  border-radius: var(--radius-md);
}

.route-card__step {
  margin-bottom: 0.7rem;
}

.story-panel {
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border-radius: var(--radius-md);
}

.story-panel > *:last-child,
.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.7rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.2rem;
}

.entry-content a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cta-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(19, 77, 128, 0.84), rgba(10, 43, 78, 0.96)),
    linear-gradient(180deg, rgba(10, 125, 219, 0.28), rgba(10, 125, 219, 0));
  box-shadow: 0 28px 70px rgba(10, 31, 49, 0.2);
}

.cta-panel__copy {
  max-width: 44rem;
}

.cta-panel__copy h2,
.cta-panel__copy p,
.cta-panel__copy strong,
.cta-panel__copy span,
.cta-panel__copy a {
  color: #e9f4ff;
}

.cta-panel__copy .eyebrow {
  color: #98d9ff;
}

.cta-panel__copy .eyebrow::before {
  background: #98d9ff;
}

.cta-panel__meta {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.cta-panel__meta strong {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-panel__meta span,
.cta-panel__meta a {
  color: #d5e8f8;
  font-size: 0.98rem;
}

.cta-panel__meta a:hover,
.cta-panel__meta a:focus-visible {
  color: #ffffff;
}

.cta-panel__actions {
  width: 220px;
  flex-direction: column;
  align-items: stretch;
}

.cta-panel__actions .button,
.cta-panel__actions .button--ghost {
  width: 100%;
}

.cta-panel__actions .button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.cta-panel__actions .button--ghost:hover,
.cta-panel__actions .button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

.page-shell {
  min-height: 0;
}

.page-banner {
  position: relative;
  padding: 4.5rem 0 7.25rem;
  background:
    radial-gradient(circle at top right, rgba(10, 125, 219, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
}

.page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.page-banner__inner {
  position: relative;
}

.page-hero {
  max-width: 40rem;
  margin-bottom: 0;
}

.page-banner + .page-builder-shell,
.page-banner + .page-shell {
  position: relative;
  z-index: 3;
  margin-top: -4.5rem;
}

.page-banner + .page-shell {
  padding-top: 0;
}

.post-grid {
  align-items: start;
}

.post-card h2 a {
  color: var(--ink);
}

.site-footer {
  margin-top: 3rem;
  padding: 3.25rem 0 2rem;
  background: linear-gradient(180deg, #102335 0%, #0a1623 100%);
}

.site-footer,
.site-footer a,
.site-footer p,
.site-footer li {
  color: #dfeaf3;
}

.site-footer .menu a,
.footer-menu a,
.site-footer .footer-links a {
  color: #dfeaf3;
}

.site-brand--footer .site-brand__title,
.site-brand--footer .site-brand__tag,
.site-footer__heading {
  color: #ffffff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.7fr));
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.site-footer__heading {
  margin-bottom: 0.9rem;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__text {
  max-width: 28rem;
}

.site-footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-links,
.site-footer .menu,
.footer-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.site-footer .menu .children {
  display: none;
}

@media (max-width: 1080px) {
  .hero__grid,
  .section-band__grid,
  .site-footer__grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    display: grid;
  }

  .course-grid,
  .route-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bar {
    flex-direction: column;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 0.25rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-menu,
  .site-nav .menu,
  .site-nav .menu ul {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .site-nav__cta {
    width: 100%;
  }

  .hero__grid {
    gap: 2rem;
  }

  .hero-panel__stats {
    grid-template-columns: 1fr;
  }

  .hero-panel__journey {
    min-height: auto;
  }

  .hero-panel__journey-line {
    left: 0.4rem;
    right: auto;
    top: 2.45rem;
    bottom: 0.45rem;
    width: 2px;
    height: auto;
    border-top: 0;
    border-left: 2px dashed rgba(10, 125, 219, 0.45);
  }

  .hero-panel__journey-line::after {
    right: -0.32rem;
    top: auto;
    bottom: -0.02rem;
    transform: rotate(135deg);
  }

  .hero-panel__journey-stops {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding-left: 1.55rem;
  }

  .hero-panel__journey-stop {
    padding-top: 0;
  }

  .hero-panel__journey-stop::before {
    top: 0.36rem;
    left: -1.55rem;
  }

  .hero-panel__journey-stop::after {
    display: none;
  }

  .cta-panel__actions {
    width: 100%;
    max-width: 220px;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero {
    padding-top: 3rem;
  }

  .page-banner {
    padding: 3rem 0 5rem;
  }

  .hero-panel,
  .hero-panel__image,
  .hero-panel__mockup {
    min-height: 28rem;
  }

  .hero-panel__image,
  .hero-panel__mockup {
    height: 22rem;
  }

  .front-page-builder {
    margin-top: -3rem;
  }

  .page-banner + .page-builder-shell,
  .page-banner + .page-shell {
    margin-top: -3rem;
  }

  .hero__actions,
  .cta-panel__actions {
    flex-direction: column;
  }

  .button,
  .button--small,
  .button--ghost {
    width: 100%;
  }

  .course-grid,
  .route-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .course-card,
  .route-card,
  .post-card,
  .story-panel,
  .cta-panel,
  .manifest-card {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
