/* Motion enhances content that is fully readable without JavaScript. */
:root {
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
}

.btn, .wa {
  transition: transform 180ms var(--motion-ease), background-color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease;
  touch-action: manipulation;
}
.btn:active, .wa:active { transform: scale(.97); }
select { transition: border-color 180ms ease, box-shadow 180ms ease; }
select:valid { border-color: #b81024; }
select:focus-visible { box-shadow: 0 0 0 4px #df122814; }
.check input:checked + span { color: #8f1020; }
.check span { transition: color 180ms ease; }
.service-details > summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
  border-radius: 6px;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .wa:hover { transform: translateY(-2px); }
  .btn:active, .wa:active { transform: scale(.97); }
}

/* Three short chapters around one illustrative programme. */
.method-story {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.program-board {
  margin: 0;
  padding: 24px;
  border: 1px solid #dedede;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 55%, #fff4f5);
  box-shadow: 0 18px 50px #24101708;
}
.program-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.program-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  color: #fff;
  background: var(--lime);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.program-caption { margin-right: auto; }
.program-caption strong { display: block; font-size: 14px; letter-spacing: -.2px; }
.program-caption span { display: block; font-size: 11px; color: var(--muted); }
.program-demo {
  color: #9d1022;
  background: #fff0f2;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}
.program-focus {
  padding: 12px;
  margin: 8px -12px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background-color 280ms ease, border-color 280ms ease;
}
.program-focus + .program-focus { border-top-color: #e9e2e3; }
.program-focus-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}
.program-focus-title > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #ededed;
  color: #555;
  font-size: 10px;
  transition: background-color 280ms ease, color 280ms ease;
}
.program-week { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.program-week > div { background: #fff; border: 1px solid #e0dadd; border-radius: 9px; padding: 8px 7px; }
.program-week strong { display: block; font-size: 12px; }
.program-week span { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.program-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 11px; }
.program-table caption { text-align: left; color: var(--muted); font-size: 10px; padding-bottom: 8px; }
.program-table th { font-size: 10px; color: #606060; font-weight: 500; padding: 0 8px 6px 0; }
.program-table td { padding: 6px 8px 6px 0; border-top: 1px solid #e5dfe1; }
.program-table th:last-child, .program-table td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.program-table th:nth-child(2), .program-table td:nth-child(2) { white-space: nowrap; }
.program-focus > p { font-size: 11px; color: #555; line-height: 1.75; margin: 0; }
.program-board > figcaption { font-size: 10px; color: #666; line-height: 1.7; padding-top: 4px; }
.story-dots { display: flex; visibility: hidden; gap: 7px; padding-top: 14px; }
.story-dots i { width: 28px; height: 4px; border-radius: 3px; background: #e4d9db; transition: background-color 280ms ease; }
.story-step { padding: 28px 0; border-top: 1px solid var(--line); }
.story-step:first-child { padding-top: 0; border-top: 0; }
.story-step h3 { font-size: clamp(25px, 2.8vw, 34px); line-height: 1.2; margin: 16px 0; letter-spacing: -1px; }
.story-step p { font-size: 14px; color: var(--muted); line-height: 1.85; margin: 0 0 16px; }
.story-tag { display: inline-block; font-size: 11px; line-height: 1.6; color: #8e1020; background: #fff1f3; border-radius: 999px; padding: 6px 11px; }
.method-story.is-scroll-story .program-board[data-stage="0"] [data-focus="0"],
.method-story.is-scroll-story .program-board[data-stage="1"] [data-focus="1"],
.method-story.is-scroll-story .program-board[data-stage="2"] [data-focus="2"] {
  border-color: #ebacb5;
  background: #fff0f2;
}
.method-story.is-scroll-story .program-board[data-stage="0"] [data-focus="0"] .program-focus-title > span,
.method-story.is-scroll-story .program-board[data-stage="1"] [data-focus="1"] .program-focus-title > span,
.method-story.is-scroll-story .program-board[data-stage="2"] [data-focus="2"] .program-focus-title > span {
  color: #fff;
  background: var(--lime);
}
.method-story.is-scroll-story .program-board[data-stage="0"] .story-dots i:nth-child(1),
.method-story.is-scroll-story .program-board[data-stage="1"] .story-dots i:nth-child(2),
.method-story.is-scroll-story .program-board[data-stage="2"] .story-dots i:nth-child(3) { background: var(--lime); }
@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .method-story.is-scroll-story .program-board { position: sticky; top: 128px; }
  .method-story.is-scroll-story .story-step { min-height: clamp(280px, 40vh, 420px); padding: 44px 0; }
  .method-story.is-scroll-story .story-step:first-child { padding-top: 34px; }
  .method-story.is-scroll-story .story-dots { visibility: visible; }
}
@media (max-width: 980px) {
  .method-story { grid-template-columns: 1fr; gap: 32px; }
  .program-board { max-width: 540px; width: 100%; justify-self: center; }
  .story-step { padding: 25px 0; }
  .story-step h3 { font-size: 26px; }
}
@media (max-width: 480px) {
  .program-board { padding: 21px; border-radius: 20px; }
  .program-board-header { flex-wrap: wrap; padding-bottom: 18px; }
  .program-demo { margin-left: 52px; margin-top: -5px; }
  .program-focus { margin: 10px -8px; padding: 15px 8px; }
}

/* Native details remain usable with JavaScript disabled. */
.service-options { align-items: start; }
.service-card .service-duration { margin: 8px 0 12px; }
.service-card .service-for { font-size: 13px; margin: 0 0 20px; line-height: 1.75; }
.service-details { border-top: 1px solid #d5d5d5; padding: 0; width: 100%; }
.service-details > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 0;
  color: #9e1022;
  font-size: 12px;
  line-height: 1.5;
  touch-action: manipulation;
}
.service-details > summary::-webkit-details-marker { display: none; }
.detail-close { display: none; }
.service-details[open] > summary .detail-open { display: none; }
.service-details[open] > summary .detail-close { display: inline; }
.detail-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid #dcb5bb;
  border-radius: 50%;
  transition: background-color 180ms ease, transform 220ms var(--motion-ease);
}
.detail-icon::before, .detail-icon::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 7px;
  width: 10px;
  height: 2px;
  background: currentColor;
}
.detail-icon::after { transform: rotate(90deg); transition: transform 220ms var(--motion-ease); }
.service-details[open] .detail-icon { background: #fff0f2; }
.service-details[open] .detail-icon::after { transform: rotate(0); }
.service-details > summary:active .detail-icon { transform: scale(.9); }
.service-detail-content { padding: 8px 0 4px; }
.service-details[open] .service-detail-content { animation: details-appear 220ms var(--motion-ease) both; }
.service-detail-content .service-includes { margin-bottom: 16px; }
.service-card .service-cta { margin-top: 14px; }
.pricing-note .service-details { margin-top: 12px; border-top-color: #e7c8ce; }
@keyframes details-appear {
  from { opacity: .2; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .wa, select, .check span, .program-focus, .program-focus-title > span,
  .story-dots i, .detail-icon, .detail-icon::after { transition: none; }
  .btn:hover, .btn:active, .wa:hover, .wa:active,
  .service-details > summary:active .detail-icon { transform: none; }
  .service-details[open] .service-detail-content { animation: none; }
}
