.samurais-intro { background: #050304; color: #fbf6f2; }
.samurais-intro-frame { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 850px; border: 0; background: #050304; }
.intro-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 767px) {
  .samurais-intro-frame { aspect-ratio: 2 / 3; max-height: none; }
}

/* Full-width home sections share the same content margin as the Dojo Kun. */
main > .section:not(.dojo-reader) {
  width: 100%;
  padding-inline: max(20px, calc((100% - var(--container)) / 2));
  background: #faf8f4;
}
main > .section:not(.dojo-reader)::before { content: none; }
main > .section:is(.benefits-section, .dark, .sponsors) {
  color: #fbf5eb;
  background: radial-gradient(ellipse at 84% 46%, #39272b, transparent 57%), #191618;
}
main > .section:is(.benefits-section, .dark, .sponsors) > :is(header, div) > .eyebrow,
main > .section.dark .section-head .eyebrow { color: #e4b58b; }
.sponsor-strip figure { background: #faf8f4; color: #262126; }
.sponsor-strip figcaption { color: #544c4e; }
@media(max-width:640px) {
  main > .section:not(.dojo-reader) { padding-inline: 14px; }
}
/* The illustrations keep their original yellow disc against the dark mat. */
.benefits-heading { margin-bottom: clamp(20px, 3vw, 36px); }

.benefits-heading h2 { max-width: 20ch; }
.benefits-showcase {
  --signal: #ede718;
  display: grid;
  grid-template-columns: minmax(195px, .8fr) minmax(0, 2.5fr);
  color: #fff;

}
.benefits-selector {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(16px, 2.6vw, 38px);
}
.benefits-selector[hidden], .benefit-scene[hidden] { display: none; }
.benefits-selector[hidden] + .benefits-scenes { grid-column: 1 / -1; }
.benefits-selector button {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7em;
  min-height: 60px;
  padding: .75em 0;
  border: 0;
  border-bottom: 1px solid #484848;
  background: transparent;
  color: #d1d1cd;
  line-height: 1.25;
  font-family: inherit;
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.benefits-selector button:last-child { border-bottom-color: transparent; }
.benefits-selector button::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  border: 1px solid #858580;
}
.benefits-selector button[aria-pressed="true"] { color: var(--signal); }
.benefits-selector button[aria-pressed="true"]::before { background: var(--signal); border-color: var(--signal); }
.benefits-showcase button:focus-visible { outline: 2px solid var(--signal); outline-offset: -3px; }
.benefit-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 32px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(330px, 28vw, 425px);
  padding: clamp(24px, 3.2vw, 52px);

  touch-action: pan-y pinch-zoom;
}
.benefit-art {
  position: relative;
  grid-area: 1 / 2;
  width: min(100%, 275px);
  justify-self: center;
  aspect-ratio: 1;
}
.benefit-art::before, .benefit-art::after {
  content: "";
  position: absolute;
  inset: -9%;
  border: 1px solid rgb(237 231 24 / 25%);
  border-radius: 50%;
  z-index: -1;
}
.benefit-art::after { inset: -20%; border-color: rgb(237 231 24 / 11%); }
.benefit-art img { width: 100%; height: 100%; object-fit: contain; }
.benefit-caption { grid-area: 1 / 1; position: relative; }
.benefit-caption h3 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 49px);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.benefit-caption h3::before {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--signal);
}
.section .benefit-caption p { color: #deded8; margin: .7em 0 1.25em; line-height: 1.4; }
.benefit-caption button {
  appearance: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #77776c;
  border-radius: 24px;
  background: #22221f;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.benefit-caption button span { margin-left: .6em; color: var(--signal); }
@media (prefers-reduced-motion: no-preference) {
  .benefits-scenes .benefit-scene:not([hidden]) .benefit-art img { animation: reason-enter .32s ease-out; }
  @keyframes reason-enter {
    from { opacity: .65; transform: translateX(8px); }
    to { opacity: 1; transform: none; }
  }
}
@media (max-width: 840px) {
  .benefits-showcase { grid-template-columns: 1fr; }
  .benefits-selector {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
    gap: 4px;
  }
  .benefits-selector button {
    padding: 8px 6px;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 0;
    font-size: 15px;
  }
  .benefits-selector button[aria-pressed="true"] { color: var(--signal); box-shadow: inset 0 -2px var(--signal); }
  .benefits-selector button::before { content: none; }
  .benefits-selector button:focus-visible { outline: 2px dashed currentColor; }
  .benefit-caption h3 { font-size: clamp(28px, 5vw, 44px); }
}
@media (max-width: 540px) {
  .benefits-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-selector button { justify-content: flex-start; padding-left: 12px; }
  .benefit-scene {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 30px 0 0;

  }
  .benefit-art { grid-area: auto; width: clamp(126px, 40vw, 185px); }
  .benefit-caption { grid-area: auto; }
  .benefit-caption h3 { font-size: clamp(29px, 8vw, 39px); }
  .benefit-caption h3::before { width: 24px; height: 3px; margin-bottom: 10px; }
  .section .benefit-caption p { margin: 6px 0 14px; }
}
