/* Full-width Mastermind layout, with the Foresight typography and ruled rhythm. */
.mastermind-page {
  --pad: clamp(24px, 2.78vw, 40px);
  --gold: #c5a477;
  --muted: #75666d;
  --line: #c5a477;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.12;
}
[hidden] { display: none !important; }
.t { display: block; width: 125%; transform: scaleX(.8); transform-origin: left top; font-weight: 400; letter-spacing: -.04em; }
.next-flow-note.t { display: none; }
.enrollment-closed .next-flow-note { display: block; }
.eyebrow { font-size: 18px; line-height: 1.12; letter-spacing: -.04em; text-transform: none; }
.site-header { background: #fff; backdrop-filter: none; border: 0; }
.header-inner { max-width: 1440px; margin: auto; padding: 22px var(--pad) 20px; position: relative; }
.header-inner::after { content: ''; height: 1px; background: var(--gold); position: absolute; bottom: 0; left: var(--pad); right: var(--pad); }
.site-header .brand { width: 128px; }
.site-nav { gap: 28px; font-size: 15px; letter-spacing: -.025em; }
.site-nav [aria-current] { color: var(--muted); }
.site-nav .nav-cta { padding: 13px 20px; background: var(--gold); border: 0; }
.mm-wrap { max-width: 1440px; padding: 0 var(--pad); }
.mm-hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 48px 40px; align-items: center; padding: 64px 0 0; }
.mm-hero > div, .hero-art, .section-content { min-width: 0; }
.mm-hero h1 { font-size: clamp(52px, 5.56vw, 80px); line-height: .9; letter-spacing: -.04em; margin: 26px 0 30px; }
.mm-hero .lead { max-width: none; font-size: 24px; line-height: 1.12; }
.hero-links { gap: 24px; margin-top: 34px; }
.button { min-height: 60px; padding: 0 23px; gap: 20px; font-size: 20px; line-height: 1.12; font-weight: 400; }
.button-label { display: block; transform: scaleX(.8); transform-origin: center; letter-spacing: -.04em; white-space: nowrap; }
.hero-links .button { background: var(--gold); color: var(--burgundy); border: 0; }
.hero-links .button:hover { background: #d9b586; }
.text-link { font-size: 18px; line-height: 1.12; letter-spacing: -.04em; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; }
.hero-art { align-self: center; text-align: left; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.hero-art figcaption { font-size: 14px; line-height: 1.12; margin-top: 14px; }
.mm-hero > .hero-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--gold); margin: 0; padding: 24px 0; font-size: 18px; color: var(--burgundy); }
.hero-meta span + span { border: 0; padding: 0; }
.mm-facts { padding: 30px 0 34px; gap: 24px; border-color: var(--gold); }
.mm-facts article { min-width: 0; }
.mm-facts strong { font-size: 36px; line-height: .95; letter-spacing: -.04em; }
.mm-facts p { margin-top: 14px; font-size: 19px; line-height: 1.12; }
.mm-section { grid-template-columns: minmax(140px, .2fr) minmax(0, 1fr); gap: 40px; padding: 56px 0 64px; border-color: var(--gold); scroll-margin-top: 120px; }
.section-label { display: block; font-size: 16px; line-height: 1.2; }
.section-label span { display: block; padding: 0; margin-bottom: 18px; font-size: 36px; line-height: .9; opacity: 1; }
.section-content h2 { font-size: clamp(42px, 4.45vw, 64px); line-height: .9; letter-spacing: -.04em; max-width: none; margin-bottom: 36px; }
.section-intro { font-size: 23px; line-height: 1.12; max-width: none; margin-bottom: 42px; }
.plain-list strong { font-size: 30px; line-height: 1.05; margin-bottom: 18px; }
.plain-list p { font-size: 20px; line-height: 1.12; }
#for-whom .split { display: block; }
#for-whom .plain-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
#for-whom .plain-list li { padding: 28px 0; border-color: var(--gold); min-width: 0; }
.working-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 0; }
.working-loop article { min-width: 0; padding: 28px 0; }
.working-loop span { font-size: 16px; }
.working-loop h3 { font-size: 30px; line-height: 1.05; margin: 22px 0 16px; }
.working-loop p { font-size: 20px; line-height: 1.12; }
.section-note { max-width: none; margin-top: 28px; font-size: 18px; line-height: 1.12; }
.tracks { grid-template-columns: minmax(0, 1fr); gap: 0; }
.track { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 32px; padding: 30px 0; }
.track .eyebrow { grid-column: 1; font-size: 16px; }
.track h3 { grid-column: 1; font-size: 30px; line-height: 1.05; margin: 0; }
.track p:last-child { grid-column: 2; grid-row: 1 / 3; font-size: 20px; line-height: 1.12; }
.people { gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person { min-width: 0; }
.person img { height: auto; aspect-ratio: 1; object-position: 50% 30%; }
.person h3 { font-size: 30px; line-height: 1.05; margin: 20px 0 12px; }
.person .role { font-size: 17px; line-height: 1.12; min-height: 58px; }
.person p:last-child { font-size: 19px; line-height: 1.12; margin-top: 16px; }
.price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-color: var(--gold); }
.price-block { min-width: 0; padding: 28px 28px 30px 0; }
.price-block + .price-block { padding: 28px 0 30px 28px; border-left: 1px solid var(--gold); border-top: 0; }
.price-block .eyebrow { font-size: 18px; }
.price { font-size: 56px; line-height: .95; letter-spacing: -.04em; margin: 26px 0 14px; }
.price span { font-size: 20px; line-height: 1.12; letter-spacing: -.04em; }
.price-caption { font-size: 18px; line-height: 1.12; margin-bottom: 26px; }
.price-block ul { list-style: none; padding: 0; font-size: 20px; line-height: 1.12; }
.price-block li { margin-bottom: 16px; }
.price-block li::before { content: '— '; color: var(--burgundy); }
.price-block .text-link { font-size: 18px; }
.total { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 28px; padding: 30px 0 0; }
.total p { font-size: 19px; line-height: 1.12; }
.total strong { font-size: 36px; line-height: 1; }
.faq details { border-color: var(--gold); padding: 25px 0; }
.faq summary { position: relative; display: block; padding-right: 38px; font-size: 30px; line-height: 1.05; }
.faq summary::after { position: absolute; right: 0; top: 0; font-size: 26px; }
.faq details p { font-size: 20px; line-height: 1.12; max-width: none; margin-top: 24px; }
.mm-join { margin: 0; padding: 60px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--gold); scroll-margin-top: 120px; }
.mm-join > div { min-width: 0; }
.mm-join .eyebrow { color: var(--burgundy); }
.mm-join h2 { font-size: 64px; line-height: .9; letter-spacing: -.04em; color: var(--burgundy); margin: 26px 0 30px; }
.mm-join p { max-width: none; font-size: 22px; line-height: 1.12; }
.join-contact { align-self: end; }
.join-contact p { margin-bottom: 28px; color: var(--muted); font-size: 20px; }
.contact-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.contact-links .button { width: 100%; justify-content: space-between; min-height: 60px; }
.mm-join .button-outline { color: var(--burgundy); border-color: var(--gold); }
.site-footer { padding: 28px 0; font-size: 14px; line-height: 1.12; gap: 24px; }
.site-footer p { width: auto; transform-origin: right; white-space: nowrap; }
.site-footer .brand { width: 110px; }
/* One deliberately small preview per system, with native swipe and no image links. */
.systems-gallery { min-width: 0; }
.system-choices { display: flex; flex-wrap: wrap; gap: 4px 28px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 10px 0; }
.system-choices button { border: 0; border-radius: 0; background: transparent; padding: 12px 0; min-height: 44px; color: var(--muted); cursor: pointer; font: inherit; font-size: 18px; letter-spacing: -.04em; }
.system-choices [aria-pressed="true"] { color: var(--burgundy); box-shadow: inset 0 -2px var(--burgundy); }
.systems-track { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.systems-track::-webkit-scrollbar { display: none; }
.systems-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.system-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 28px 36px; padding: 32px 0 0; scroll-snap-align: start; }
.system-copy { min-width: 0; align-self: center; }
.system-kind { font-size: 16px; color: var(--muted); margin-bottom: 24px; }
.system-copy h3 { font-size: 34px; color: var(--burgundy); line-height: 1.05; margin-bottom: 24px; }
.system-copy > p:last-child { font-size: 21px; line-height: 1.12; color: var(--muted); }
.system-screen { min-width: 0; align-self: center; padding: 10px; border: 1px solid #e5dfe2; background: #f7f5f6; }
.system-screen img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; }
.system-flow { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 22px 0; margin: 0; border-top: 1px solid var(--gold); }
.system-flow li { font-size: 18px; line-height: 1.2; color: var(--burgundy); }
.system-flow span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.carousel-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--gold); padding-top: 18px; }
.carousel-count { display: flex; gap: 20px; font-size: 16px; color: var(--muted); }
.carousel-count [data-carousel-count] { color: var(--burgundy); }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button { width: 48px; height: 48px; border: 1px solid var(--gold); background: #fff; color: var(--burgundy); font: inherit; font-size: 24px; cursor: pointer; }
.carousel-arrows button:hover:not(:disabled) { background: var(--gold); }
.carousel-arrows button:disabled { opacity: .3; cursor: default; }
.system-source { font-size: 16px; color: var(--muted); margin-top: 22px; line-height: 1.12; }

@media (max-width: 1100px) and (min-width: 701px) {
  .mm-hero { gap: 36px 24px; }
  .mm-hero .lead { font-size: 21px; }
  .hero-links { gap: 18px; }
  .hero-links .button { min-height: 54px; font-size: 18px; padding: 0 16px; gap: 12px; }
  .hero-links .text-link { font-size: 16px; }
  .mm-section { grid-template-columns: 140px minmax(0, 1fr); gap: 24px; }
  .person .role { min-height: 77px; }
  .person h3 { font-size: 27px; }
  .person p:last-child { font-size: 17px; }
  .site-nav { gap: 20px; font-size: 14px; }
  .site-nav .nav-cta { display: none; }
  .mm-join { gap: 32px; }
  .mm-join h2 { font-size: 54px; }
}

@media (max-width: 700px) {
  .mastermind-page { --pad: 20px; }
  .header-inner { padding: 15px var(--pad) 14px; gap: 15px; }
  .header-inner::after { bottom: 0; }
  .site-header .brand { width: 103px; }
  .site-nav { gap: 20px; font-size: 13px; }
  .site-nav [aria-current], .site-nav .nav-cta { display: none; }
  .mm-hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 36px 0 0; }
  .mm-hero .eyebrow { font-size: 15px; }
  .mm-hero h1 { font-size: clamp(40px, 11.2vw, 60px); margin: 22px 0 25px; }
  .mm-hero .lead { font-size: 20px; }
  .hero-links { margin-top: 26px; gap: 20px; }
  .button { min-height: 54px; padding: 0 18px; font-size: 18px; gap: 12px; }
  .hero-links .text-link { font-size: 17px; }
  .hero-art { display: block; }
  .hero-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .hero-art figcaption { max-width: none; margin-top: 12px; font-size: 13px; }
  .mm-hero > .hero-meta { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 22px 0; font-size: 17px; line-height: 1.12; }
  .mm-facts { grid-template-columns: minmax(0, 1fr); padding: 24px 0; gap: 24px; }
  .mm-facts article { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
  .mm-facts strong { font-size: 28px; }
  .mm-facts p { font-size: 17px; margin: 0; }
  .mm-section { display: block; padding: 28px 0 34px; scroll-margin-top: 88px; }
  .section-label { font-size: 14px; position: relative; margin-bottom: 26px; }
  .section-label span { display: inline; margin: 0 14px 0 0; font-size: 20px; }
  .section-content h2 { font-size: 38px; margin-bottom: 28px; }
  .section-intro { font-size: 20px; margin-bottom: 30px; }
  #for-whom .plain-list { grid-template-columns: minmax(0, 1fr); }
  #for-whom .plain-list li { padding: 23px 0; }
  .plain-list strong { font-size: 27px; margin-bottom: 16px; }
  .plain-list p { font-size: 19px; }
  .working-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .working-loop article { padding: 22px 0; }
  .working-loop span { font-size: 14px; }
  .working-loop h3 { font-size: 24px; margin: 18px 0 14px; }
  .working-loop p { font-size: 17px; }
  .section-note { font-size: 17px; margin-top: 24px; }
  .track { gap: 15px 20px; padding: 24px 0; }
  .track .eyebrow { font-size: 14px; }
  .track h3 { font-size: 24px; }
  .track p:last-child { font-size: 17px; }
  .people { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .person { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0 20px; }
  .person img { grid-row: 1 / 4; height: 190px; aspect-ratio: auto; }
  .person h3 { font-size: 27px; margin: 0 0 10px; }
  .person .role { font-size: 16px; min-height: 0; }
  .person p:last-child { font-size: 17px; margin-top: 14px; }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .price-block, .price-block + .price-block { padding: 25px 0; border-left: 0; }
  .price-block + .price-block { border-top: 1px solid var(--gold); }
  .price-block .eyebrow { font-size: 16px; }
  .price { font-size: 46px; margin-top: 24px; }
  .price span, .price-caption { font-size: 18px; }
  .price-block ul { font-size: 20px; }
  .price-block .text-link { font-size: 18px; }
  .total { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 25px; }
  .total p { font-size: 18px; }
  .total strong { font-size: 34px; }
  .faq details { padding: 23px 0; }
  .faq summary { font-size: 26px; }
  .faq details p { font-size: 19px; margin-top: 20px; }
  .mm-join { grid-template-columns: minmax(0, 1fr); padding: 34px 0; gap: 30px; scroll-margin-top: 88px; }
  .mm-join .eyebrow { font-size: 16px; }
  .mm-join h2 { font-size: 44px; margin: 25px 0; }
  .mm-join p { font-size: 20px; }
  .join-contact p { font-size: 18px; margin-bottom: 24px; }
  .contact-links .button { min-height: 56px; }
  .site-footer { flex-wrap: wrap; gap: 22px; padding: 24px 0; }
  .site-footer > a { display: none; }
  .site-footer nav { gap: 20px; font-size: 13px; }
  .site-footer p { width: 125%; transform-origin: left; white-space: normal; font-size: 14px; }
  .system-choices { gap: 0 20px; }
  .system-choices button { font-size: 16px; }
  .system-slide { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 25px; }
  .system-copy { align-self: start; }
  .system-kind { font-size: 14px; margin-bottom: 18px; }
  .system-copy h3 { font-size: 29px; margin-bottom: 18px; }
  .system-copy > p:last-child { font-size: 19px; }
  .system-screen { padding: 6px; }
  .system-flow { gap: 14px; padding: 18px 0; }
  .system-flow li { font-size: 15px; }
  .system-flow span { font-size: 12px; margin-bottom: 8px; }
  .carousel-count { font-size: 14px; gap: 12px; }
  .carousel-arrows button { width: 44px; height: 44px; }
  .system-source { font-size: 15px; margin-top: 22px; }

}

@media (max-width: 359px) {
  .mastermind-page { --pad: 16px; }
  .site-nav { gap: 14px; font-size: 12px; }
  .site-header .brand { width: 92px; }
  .hero-links { gap: 18px; }
  .hero-links .button { width: 100%; justify-content: space-between; }
  .section-content h2 { font-size: 34px; }
  .working-loop { gap: 0 16px; }
  .working-loop h3, .track h3 { font-size: 22px; }
  .working-loop p, .track p:last-child { font-size: 16px; }
  .person { gap: 0 16px; grid-template-columns: 100px minmax(0, 1fr); }
  .person img { height: 150px; }
  .person h3 { font-size: 25px; }
  .person .role, .person p:last-child { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arrow { transition: none; }
}
