.site-header {
  top: 0;
  height: 104px;
  background: #0c1b2a;
  border-bottom: 0;
  overflow: visible;
}

.site-header::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 42px;
  background: linear-gradient(180deg, rgba(12,27,42,1) 0%, rgba(12,27,42,.55) 48%, rgba(12,27,42,0) 100%);
  pointer-events: none;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header .brand span::after {
  content: '';
  display: block;
  width: 84px;
  height: 3px;
  margin-top: 9px;
  background: var(--gold);
}

.hero {
  min-height: 100svh;
  background: var(--navy-deep);
}

.hero-image {
  z-index: 0;
  opacity: 1;
  transition: opacity 1.1s ease;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.35s ease;
  pointer-events: none;
}

.hero-video.is-playing {
  opacity: 1;
}

.hero-video.is-finished {
  opacity: 0;
}

.hero-video-skip {
  position: absolute;
  top: 126px;
  right: max(24px, calc((100vw - var(--max)) / 2));
  z-index: 6;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(7,29,44,.88);
  color: white;
  font: 700 14px 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease, visibility 0s linear .3s;
}

.hero-video-skip span {
  margin-left: 6px;
  color: var(--gold);
}

.hero-video-skip:hover,
.hero-video-skip:focus-visible {
  background: var(--navy);
  border-color: var(--gold);
  outline: none;
}

.hero.video-active .hero-video-skip,
.hero.video-blocked .hero-video-skip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.hero.video-blocked .hero-video-skip {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
}

.hero.video-blocked .hero-video-skip span:last-child {
  color: var(--navy-deep);
}

.hero-overlay {
  z-index: 2;
  transition: opacity 1.1s ease;
}

.hero-content {
  z-index: 3;
  transition: opacity .8s ease, transform .65s ease;
}

.hero.video-active .hero-overlay,
.hero.video-active .hero-content {
  opacity: 0;
  pointer-events: none;
}

.hero.video-active .hero-image {
  opacity: 0;
}

.result-card .clear-obedience-photo {
  object-fit: contain;
  object-position: center;
  background: #08263a;
}

.service-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.service-card-featured {
  border-top-color: var(--gold);
}

.program-price {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 24px 0;
  padding: 18px;
  background: var(--navy);
  color: white;
}

.program-price strong {
  color: var(--gold);
  font: 800 44px/1 'Barlow Condensed';
}

.program-price span {
  font-size: 13px;
  line-height: 1.5;
}

.foundation {
  background: var(--navy-deep);
  color: white;
  padding-top: 85px;
  padding-bottom: 85px;
}

.foundation .section-title {
  max-width: 900px;
}

.foundation-intro {
  color: #c2d0d6;
  font-size: 17px;
  line-height: 1.75;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.week-card {
  padding: 34px;
  background: #103a58;
  border-top: 4px solid var(--gold);
}

.week-card > span {
  color: var(--gold);
  font: 800 18px 'Barlow Condensed';
  letter-spacing: .12em;
  text-transform: uppercase;
}

.week-card h3,
.program-details h3,
.teamwork h3 {
  margin: 8px 0 15px;
  font-size: 32px;
  line-height: 1;
}

.week-card > p,
.program-details p {
  color: #c2d0d6;
  line-height: 1.65;
}

.week-card ul,
.program-details ul {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.week-card li,
.program-details li {
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  line-height: 1.45;
  position: relative;
}

.week-card li::before,
.program-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

.week-card .homework {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.2);
  color: white;
}

.week-card .homework strong {
  color: var(--gold);
}

.program-details {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  margin-top: 20px;
}

.program-details > div {
  padding: 34px;
  background: #0c2f4b;
}

.teamwork {
  margin-top: 20px;
  padding: 42px;
  background: var(--gold);
  color: var(--navy-deep);
}

.teamwork p {
  max-width: 900px;
  line-height: 1.65;
}

.teamwork .btn {
  margin-top: 12px;
  background: var(--navy-deep);
  color: white;
}

.program-snapshot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
}

.program-snapshot > div {
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,.14);
}

.program-snapshot > div:last-child {
  border-right: 0;
}

.program-snapshot strong,
.program-snapshot span {
  display: block;
}

.program-snapshot strong {
  color: var(--gold);
  font: 800 32px/1 'Barlow Condensed';
  text-transform: uppercase;
}

.program-snapshot span {
  margin-top: 7px;
  color: #b8c9d1;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.accordion-label {
  margin: 0 0 12px;
  color: #91a8b3;
  font: 600 12px 'Barlow Condensed';
  letter-spacing: .12em;
  text-transform: uppercase;
}

.program-accordion,
.info-accordion {
  border-top: 1px solid rgba(255,255,255,.2);
}

.program-accordion details,
.info-accordion details {
  border-bottom: 1px solid rgba(255,255,255,.2);
  background: transparent;
  transition: background .2s ease;
}

.program-accordion details[open],
.info-accordion details[open] {
  background: rgba(255,255,255,.045);
}

.program-accordion summary,
.info-accordion summary {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 20px;
  cursor: pointer;
  list-style: none;
}

.program-accordion summary::-webkit-details-marker,
.info-accordion summary::-webkit-details-marker {
  display: none;
}

.week-number {
  flex: 0 0 48px;
  color: rgba(255,255,255,.2);
  font: 800 40px/1 'Barlow Condensed';
}

.summary-copy,
.info-accordion summary > span:first-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.summary-copy small,
.info-accordion summary small {
  color: var(--gold);
  font: 700 12px 'Barlow Condensed';
  letter-spacing: .13em;
  text-transform: uppercase;
}

.summary-copy strong,
.info-accordion summary strong {
  margin-top: 4px;
  color: white;
  font: 700 27px/1 'Barlow Condensed';
  text-transform: uppercase;
}

.summary-copy em {
  margin-top: 7px;
  color: #9fb2bb;
  font-size: 13px;
  font-style: normal;
}

.accordion-plus {
  margin-left: auto;
  color: var(--gold);
  font: 400 30px/1 Inter;
  transition: transform .2s ease;
}

details[open] > summary .accordion-plus {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 88px 28px;
  color: #c2d0d6;
  line-height: 1.65;
}

.accordion-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.accordion-content li {
  position: relative;
  padding: 9px 0 9px 21px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.accordion-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

.accordion-content .homework {
  margin: 20px 0 0;
  padding: 15px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(237,182,47,.08);
  color: white;
}

.info-accordion {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border: 1px solid rgba(255,255,255,.2);
}

.info-accordion details {
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 0;
}

.info-accordion details:last-child {
  border-right: 0;
}

.info-accordion summary {
  min-height: 108px;
}

.info-accordion summary strong {
  font-size: 22px;
}

.info-accordion .accordion-content {
  padding: 0 24px 26px;
}

.info-accordion .accordion-content ul {
  grid-template-columns: 1fr;
}

.foundation-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
  padding: 25px 28px;
  background: var(--gold);
  color: var(--navy-deep);
}

.foundation-cta p {
  margin: 0;
}

.foundation-cta strong,
.foundation-cta span {
  display: block;
}

.foundation-cta strong {
  font: 800 26px 'Barlow Condensed';
  text-transform: uppercase;
}

.foundation-cta span {
  margin-top: 3px;
  font-size: 13px;
}

.foundation-cta .btn {
  flex: 0 0 auto;
  background: var(--navy-deep);
  color: white;
}

@media (max-width: 960px) {
  .site-header .nav {
    top: 104px;
  }

  .service-grid,
  .week-grid,
  .program-details,
  .info-accordion {
    grid-template-columns: 1fr;
  }

  .program-snapshot {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-snapshot > div:nth-child(2) {
    border-right: 0;
  }

  .program-snapshot > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .info-accordion details {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .info-accordion details:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 104px;
  }

  .site-header .nav {
    top: 104px;
  }

  .site-header .brand span::after {
    width: 70px;
    margin-top: 7px;
  }

  .hero-video {
    object-fit: contain;
    object-position: center center;
  }

  .hero-video-skip {
    top: 118px;
    right: 16px;
  }

  .week-card,
  .program-details > div,
  .teamwork {
    padding: 25px;
  }

  .program-price {
    align-items: flex-start;
    flex-direction: column;
  }

  .program-accordion summary,
  .info-accordion summary {
    gap: 14px;
    padding: 20px 15px;
  }

  .week-number {
    flex-basis: 35px;
    font-size: 30px;
  }

  .summary-copy strong {
    font-size: 23px;
  }

  .summary-copy em {
    display: none;
  }

  .accordion-content {
    padding: 0 20px 24px;
  }

  .accordion-content ul {
    grid-template-columns: 1fr;
  }

  .foundation-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .foundation-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .hero-image,
  .hero-overlay,
  .hero-content {
    transition-duration: .2s;
  }
}
