/* Michael A. Cole — Per-Site CSS
   Loaded after global.css via BaseLayout.astro. These rules are unlayered, so
   they beat Tailwind's layered base and utilities. Every Michael Cole style
   lives here; the components carry class names only.
   Figma: BCxI5280XN0Y75CLgZaBts (Home 4:7, Legacy Planning 9:94). The Figma
   sets display type in Fraunces only because Roslindale isn't available in
   Figma's web app — Roslindale Text is the real face. */

/* Inter italics (BaseLayout loads upright Inter only) */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@1,400;1,700&display=swap');

/* ─── Roslindale Text ─────────────────────────────── */
@font-face {
  font-family: 'RoslindaleText';
  src: url('/sites/michael-cole/fonts/RoslindaleText-Regular.woff2') format('woff2'),
       url('/sites/michael-cole/fonts/RoslindaleText-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RoslindaleText';
  src: url('/sites/michael-cole/fonts/RoslindaleText-Bold.woff2') format('woff2'),
       url('/sites/michael-cole/fonts/RoslindaleText-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RoslindaleText';
  src: url('/sites/michael-cole/fonts/RoslindaleText-Italic.woff2') format('woff2'),
       url('/sites/michael-cole/fonts/RoslindaleText-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'RoslindaleText';
  src: url('/sites/michael-cole/fonts/RoslindaleText-BoldItalic.woff2') format('woff2'),
       url('/sites/michael-cole/fonts/RoslindaleText-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'RoslindaleDisplayCondensed';
  src: url('/sites/michael-cole/fonts/RoslindaleDisplayCondensed-Bold.woff2') format('woff2'),
       url('/sites/michael-cole/fonts/RoslindaleDisplayCondensed-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RoslindaleDisplayCondensed';
  src: url('/sites/michael-cole/fonts/RoslindaleDisplayCondensed-BoldItalic.woff2') format('woff2'),
       url('/sites/michael-cole/fonts/RoslindaleDisplayCondensed-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ─── Tokens ──────────────────────────────────────── */
:root {
  /* Platform tokens (global.css) */
  --font-heading: 'RoslindaleText', Georgia, serif;

  /* Color */
  --mc-ink:   #161616;
  --mc-white: #ffffff;
  --mc-pink:  #ffa9cc;
  --mc-card:  rgba(22, 22, 22, 0.75);
  --mc-error: #b91c1c;  /* form errors; 6.5:1 on white (WCAG AA) */

  /* Type families */
  --mc-font-serif: 'RoslindaleText', Georgia, serif;
  --mc-font-sans:  'Inter', system-ui, sans-serif;

  /* Type scale — the Figma's named text styles */
  --mc-text-display:    60px;  /* Display 60 */
  --mc-text-heading-lg: 48px;  /* Heading 48 */
  --mc-text-heading:    36px;  /* Heading 36 */
  --mc-text-logo:       30px;  /* Logo 30 */
  --mc-text-body-lg:    24px;  /* Body 24 */
  --mc-text-body:       16px;  /* Body 16, Label 16 */
  --mc-text-body-sm:    14px;  /* Body 14, Label 14 */
  --mc-tracking:        0.05em;
  --mc-label-leading:   20px;

  /* Layout */
  --mc-content:      1152px;  /* Home sections, footer */
  --mc-content-wide: 1280px;  /* Legacy Planning content */
  --mc-gutter:       40px;
  --mc-nav-height:   88px;
}

@media (max-width: 767px) {
  :root {
    --mc-text-display:    40px;
    --mc-text-heading-lg: 36px;
    --mc-text-heading:    28px;
    --mc-text-logo:       24px;
    --mc-text-body-lg:    20px;
    --mc-gutter:          24px;
  }
}

/* ─── Base ────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--mc-nav-height);
}

body {
  background-color: var(--mc-white);
  color: var(--mc-ink);
}

/* Set by the nav script while the mobile menu is open. Only on <html>:
   hiding body overflow too would make body a scroll container and
   unstick the nav. */
html[data-mc-menu-open] {
  overflow: hidden;
}

.mc-site {
  font-family: var(--mc-font-sans);
  font-size: var(--mc-text-body);
  line-height: 1.5;
  color: var(--mc-ink);
}

.mc-site :where(h1, h2, h3, p, ul) {
  margin: 0;
}

.mc-site :where(h1, h2, h3) {
  font-family: var(--mc-font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: inherit;
}

.mc-site a {
  color: inherit;
}

.mc-site :focus-visible {
  outline: 2px solid var(--mc-pink);
  outline-offset: 3px;
}

.mc-site u {
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
}

/* Storyblok rich text: paragraphs inside one field */
.mc-richtext > * + * {
  margin-top: 20px;
}

/* ─── Layout ──────────────────────────────────────── */
.mc-container {
  width: 100%;
  max-width: calc(var(--mc-content) + 2 * var(--mc-gutter));
  margin-inline: auto;
  padding-inline: var(--mc-gutter);
}

.mc-container--wide {
  max-width: calc(var(--mc-content-wide) + 2 * var(--mc-gutter));
}

/* ─── Type ────────────────────────────────────────── */
.mc-display {
  font-size: var(--mc-text-display);
}

.mc-heading {
  font-size: var(--mc-text-heading);
}

.mc-body-lg {
  font-size: var(--mc-text-body-lg);
  line-height: 1.5;
}

.mc-label {
  font-family: var(--mc-font-sans);
  font-size: var(--mc-text-body);
  line-height: var(--mc-label-leading);
  letter-spacing: var(--mc-tracking);
  text-transform: uppercase;
}

.mc-label--bold {
  font-weight: 700;
}

.mc-nowrap {
  white-space: nowrap;
}

/* Dotted rule (footer dividers) */
.mc-rule-dotted {
  width: 100%;
  height: 1.5px;
  border: 0;
  background: radial-gradient(circle at center, var(--mc-white) 0 0.75px, transparent 1px) 0 0 / 4px 1.5px repeat-x;
}

/* ─── Button (Figma "Button", Theme=Light|Dark) ───── */
.mc-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid currentColor;
  background: transparent;
  font-family: var(--mc-font-sans);
  font-size: var(--mc-text-body);
  font-weight: 400;
  line-height: var(--mc-label-leading);
  letter-spacing: var(--mc-tracking);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

/* The arrow SVG is 9.6px; Figma lays it out in an 8.1px box */
.mc-btn__arrow {
  flex-shrink: 0;
  margin: -0.75px;
}

.mc-btn--light {
  color: var(--mc-ink);
}
.mc-btn--light:hover {
  background-color: var(--mc-ink);
  color: var(--mc-white);
}

.mc-btn--dark {
  color: var(--mc-white);
}
.mc-btn--dark:hover {
  background-color: var(--mc-white);
  color: var(--mc-ink);
}

/* ─── Eyebrow (Figma "Eyebrow") ───────────────────── */
.mc-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.mc-eyebrow__diamond {
  flex-shrink: 0;
}

/* ─── Site Nav ────────────────────────────────────── */
.mc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--mc-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 40px;
  background-color: var(--mc-white);
  border-bottom: 1px solid var(--mc-ink);
}

.mc-nav__brand {
  font-family: var(--mc-font-serif);
  font-size: var(--mc-text-logo);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.mc-nav__menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.mc-nav__link {
  text-decoration: none;
  white-space: nowrap;
}
.mc-nav__link:hover {
  text-decoration: underline;
  text-decoration-color: var(--mc-pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Hamburger: three 24px bars in a 44px tap target; the outer bars
   cross into an X while the menu is open */
.mc-nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mc-ink);
  cursor: pointer;
}

.mc-nav__toggle-bar {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}
.mc-nav__toggle-bar:nth-child(1) { top: 15px; }
.mc-nav__toggle-bar:nth-child(2) { top: 21px; }
.mc-nav__toggle-bar:nth-child(3) { top: 27px; }

.mc-nav[data-open] .mc-nav__toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mc-nav[data-open] .mc-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.mc-nav[data-open] .mc-nav__toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .mc-nav__toggle-bar {
    transition: none;
  }
}

/* ─── Stat Item (Figma "Stat Item") ───────────────── */
.mc-stat {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mc-stat__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}

.mc-stat__caption {
  font-size: var(--mc-text-body-sm);
  line-height: var(--mc-label-leading);
  letter-spacing: var(--mc-tracking);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── Card (Figma "Card") ─────────────────────────── */
.mc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 40px;
  background-color: var(--mc-card);
  color: var(--mc-white);
}

.mc-card__icon {
  width: 80px;
  height: 80px;
}

.mc-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.mc-card__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── Home: Hero ──────────────────────────────────── */
.mc-hero {
  display: flex;
  align-items: center;
}

.mc-hero__media {
  flex-shrink: 0;
  width: 50%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom-right-radius: 56px;
}

.mc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-hero__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-inline: 80px;
}

.mc-hero__headline,
.mc-hero__intro {
  max-width: 448px;
}

/* ─── Home: Forged by Experience ──────────────────── */
.mc-forged {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 80px;
}

.mc-forged__header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mc-forged__title {
  white-space: nowrap;
}

.mc-forged__divider {
  flex-shrink: 0;
}

.mc-forged__intro {
  flex: 1;
  min-width: 0;
}

.mc-forged__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mc-forged__story {
  display: flex;
  gap: 48px;
}

.mc-forged__story > * {
  flex: 1;
  min-width: 0;
}

/* ─── Home: Programs ──────────────────────────────── */
.mc-programs {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 120px 80px;
}

.mc-programs__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-programs__cards {
  display: flex;
  align-items: stretch;
  gap: 48px;
}

.mc-programs__cards > * {
  flex: 1;
  min-width: 0;
}

/* ─── Site Footer ─────────────────────────────────── */
.mc-footer {
  padding-block: 40px;
  background-color: var(--mc-ink);
  color: var(--mc-white);
}

.mc-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mc-footer__bio {
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Cut-out portrait that pops above a white rounded card */
.mc-footer__headshot {
  position: relative;
  flex-shrink: 0;
  width: 336px;
  max-width: 100%;
  aspect-ratio: 336 / 360;
  overflow: hidden;
}

.mc-footer__headshot::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 83%;
  border-radius: 12px;
  background-color: var(--mc-white);
}

.mc-footer__headshot img {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 100.5%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

.mc-footer__columns {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.mc-footer__col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--mc-text-body-sm);
}

.mc-footer__col--connect {
  gap: 24px;
}

.mc-footer__col-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.mc-footer__heading {
  font-size: var(--mc-text-body);
}

.mc-footer__list ul {
  padding-left: 21px;
  list-style: disc;
}

.mc-footer__list li + li {
  margin-top: 4px;
}

.mc-footer__book {
  display: flex;
  align-items: center;
  gap: 48px;
}

.mc-footer__book-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.mc-footer__book-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mc-footer__book-blurb {
  max-width: 704px;
}

.mc-footer__book-image {
  flex-shrink: 0;
  width: 336px;
  max-width: 100%;
  aspect-ratio: 336 / 344;
  border-radius: 12px;
  object-fit: cover;
}

.mc-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mc-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-footer__wordmark {
  font-family: var(--mc-font-serif);
  font-size: var(--mc-text-logo);
  line-height: 1.2;
}

.mc-footer__legal {
  display: flex;
  gap: 64px;
}

.mc-footer__legal a {
  text-decoration: none;
}
.mc-footer__legal a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ─── Legacy Planning ─────────────────────────────── */
.mc-legacy {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-block: 72px 80px;
}

.mc-legacy__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.mc-legacy__row {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
  padding-top: 4px;
}

.mc-legacy__row > :first-child {
  flex: 1;
  min-width: 0;
}

.mc-legacy__row > .mc-btn {
  flex-shrink: 0;
}

/* Aspiration / Fear checkerboard: text|image over image|text */
.mc-paradox {
  display: grid;
  grid-template-columns: minmax(0, 688fr) minmax(0, 592fr);
  overflow: hidden;
  border-radius: 24px 0 24px 0;
  background-color: var(--mc-ink);
  color: var(--mc-white);
}

.mc-paradox__panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px 56px;
}

.mc-paradox__label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-paradox__arrow--down {
  transform: rotate(90deg);
}

.mc-paradox__media {
  position: relative;
}

.mc-paradox__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Entitlement vs. Empowerment */
.mc-compare {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mc-compare__row {
  display: flex;
  align-items: flex-start;
}

.mc-compare__side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.mc-compare__side--right {
  align-items: flex-end;
  text-align: right;
}

.mc-compare__title {
  font-size: var(--mc-text-heading-lg);
  white-space: nowrap;
}

.mc-compare__rule {
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1.5px solid var(--mc-pink);
}

.mc-compare__def {
  max-width: 288px;
}

/* Venn diagram — sized in container units so it scales down intact.
   1u = 1px at the Figma's 624px width. */
.mc-venn {
  --u: calc(100cqi / 624);
  container-type: inline-size;
  position: relative;
  flex: 0 0 624px;
  width: 624px;
  aspect-ratio: 624 / 408;
}

.mc-venn__circle {
  position: absolute;
  top: 0;
  width: 65.3846%;  /* 408 / 624 */
  height: 100%;
  border: 1.5px solid var(--mc-ink);
  border-radius: 50%;
}

.mc-venn__circle--right {
  left: 34.6154%;   /* 216 / 624 */
}

.mc-venn__traits {
  position: absolute;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(36 * var(--u));
  font-size: calc(16 * var(--u));
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: var(--mc-tracking);
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.mc-venn__traits--left {
  left: 19.2308%;   /* trait column centered at x=120 */
}

.mc-venn__traits--right {
  left: 80.8494%;   /* trait column centered at x=504.5 */
}

.mc-venn__word {
  display: block;
  white-space: nowrap;
}

.mc-venn__center {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--mc-font-serif);
  font-size: calc(36 * var(--u));
  line-height: 1.2;
  text-align: center;
  transform: translate(-50%, -50%);
}

/* ─── Contact drawer (shared ContactDrawer.astro) ──── */
.mc-contact-drawer .contact-drawer__content {
  background-color: var(--mc-white);
}

.mc-contact-drawer .contact-drawer__title,
.mc-contact-drawer .contact-drawer__success-heading {
  font-family: var(--mc-font-serif);
  font-weight: 400;
  color: var(--mc-ink);
}

.mc-contact-drawer .contact-drawer__title {
  font-size: var(--mc-text-heading);
}

.mc-contact-drawer .contact-drawer__success-message {
  color: var(--mc-ink);
}

/* Shared LeadForm inside the drawer */
.mc-contact-drawer .lead-form__label {
  font-family: var(--mc-font-sans);
  font-size: var(--mc-text-body);
  font-weight: 400;
  color: var(--mc-ink);
}

.mc-contact-drawer .lead-form__required {
  margin-left: 0.125rem;
}

.mc-contact-drawer .lead-form__input {
  border-color: var(--mc-ink);
  border-radius: 0;
  background-color: var(--mc-white);
  color: var(--mc-ink);
  font-family: var(--mc-font-sans);
  font-size: var(--mc-text-body);
  --tw-ring-color: var(--mc-ink);
}

.mc-contact-drawer .lead-form__input[aria-invalid="true"] {
  border-color: var(--mc-error);
  --tw-ring-color: var(--mc-error);
}

.mc-contact-drawer .lead-form__field-error,
.mc-contact-drawer .lead-form__error {
  color: var(--mc-error);
  font-family: var(--mc-font-sans);
  font-size: var(--mc-text-body-sm);
}

/* Matches .mc-btn, filled ink; sized to its label like the site's other buttons */
.mc-contact-drawer .lead-form__submit {
  justify-self: start;
  width: auto;
  padding: 12px 16px;
  border: 1px solid var(--mc-ink);
  border-radius: 0;
  background-color: var(--mc-ink);
  color: var(--mc-white);
  font-family: var(--mc-font-sans);
  font-size: var(--mc-text-body);
  font-weight: 400;
  line-height: var(--mc-label-leading);
  letter-spacing: var(--mc-tracking);
  text-transform: uppercase;
  cursor: pointer;
}

.mc-contact-drawer .lead-form__submit:hover {
  background-color: var(--mc-white);
  color: var(--mc-ink);
}

.mc-contact-drawer .lead-form__submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* ─── Legal overlays and pages ────────────────────── */
/* Freeze the page behind an open overlay */
html:has(.mc-legal[open]) {
  overflow: hidden;
}

.mc-legal {
  width: min(880px, calc(100% - 2 * var(--mc-gutter)));
  max-width: none;
  height: min(800px, calc(100vh - 2 * var(--mc-gutter)));
  height: min(800px, calc(100dvh - 2 * var(--mc-gutter)));
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px 0 24px 0;
  background-color: var(--mc-white);
  color: var(--mc-ink);
  overflow: hidden;
}

.mc-legal::backdrop {
  background-color: var(--mc-card);
}

.mc-legal[open],
.mc-legal[open]::backdrop {
  animation: mc-fade-in 200ms ease;
}

@keyframes mc-fade-in {
  from {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-legal[open],
  .mc-legal[open]::backdrop {
    animation: none;
  }
}

/* Fills the dialog box so clicks on the dialog itself are backdrop clicks */
.mc-legal__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mc-legal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 56px 24px;
  border-bottom: 1px solid var(--mc-ink);
}

.mc-legal__close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mc-ink);
  cursor: pointer;
}

.mc-legal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px 56px 48px;
}

.mc-legal-page {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 72px 80px;
}

/* Legal text, shared by the overlays and the full pages */
.mc-legal-prose {
  max-width: 768px;
}

.mc-legal-prose > * + * {
  margin-top: 16px;
}

.mc-legal-prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mc-legal-prose ul {
  padding-left: 24px;
  list-style: disc;
}

.mc-legal-prose li + li {
  margin-top: 8px;
}

/* Sections are h2 on the full page and h3 in the overlay (under its h2) */
.mc-legal-page .mc-legal-prose h2,
.mc-legal .mc-legal-prose h3 {
  margin-top: 40px;
  font-family: var(--mc-font-sans);
  font-size: var(--mc-text-body);
  font-weight: 700;
  line-height: var(--mc-label-leading);
  letter-spacing: var(--mc-tracking);
  text-transform: uppercase;
}

.mc-legal-page .mc-legal-prose h3,
.mc-legal .mc-legal-prose h4 {
  margin-top: 24px;
  font-family: var(--mc-font-sans);
  font-size: var(--mc-text-body);
  font-weight: 700;
  line-height: 1.5;
}

/* ─── Tablet and below (< 1024px) ─────────────────── */
@media (max-width: 1023px) {
  .mc-nav {
    padding-inline: var(--mc-gutter);
  }

  .mc-nav__toggle {
    display: block;
  }

  /* Fills the window below the nav bar */
  .mc-nav__menu {
    display: none;
    position: fixed;
    inset: var(--mc-nav-height) 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px var(--mc-gutter) 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--mc-white);
  }

  .mc-nav[data-open] .mc-nav__menu {
    display: flex;
  }

  .mc-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mc-hero__media {
    width: 100%;
  }

  .mc-hero__text {
    padding: 48px var(--mc-gutter) 0;
  }

  .mc-forged__header {
    flex-wrap: wrap;
  }

  .mc-forged__intro {
    flex-basis: 100%;
  }

  .mc-forged__stats {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    gap: 32px 24px;
  }

  .mc-forged__story {
    flex-direction: column;
    gap: 20px;
  }

  .mc-programs {
    padding-block: 80px 48px;
  }

  .mc-programs__cards {
    flex-direction: column;
    gap: 24px;
  }

  .mc-footer__bio,
  .mc-footer__book {
    flex-direction: column;
    align-items: flex-start;
  }

  .mc-footer__columns {
    width: 100%;
  }

  .mc-footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .mc-footer__legal {
    flex-wrap: wrap;
    gap: 16px 32px;
  }

  .mc-legacy {
    gap: 64px;
    padding-block: 48px 64px;
  }

  .mc-paradox {
    grid-template-columns: minmax(0, 1fr);
  }

  .mc-paradox__media {
    aspect-ratio: 592 / 280;
  }

  .mc-paradox__panel--fear {
    order: 3;
  }

  .mc-paradox__media--fear {
    order: 4;
  }

  .mc-compare__row {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .mc-compare__side--right {
    align-items: flex-start;
    text-align: left;
  }

  .mc-venn {
    flex: none;
    width: 100%;
    max-width: 624px;
    align-self: center;
  }
}

/* ─── Mobile (< 768px) ────────────────────────────── */
@media (max-width: 767px) {
  .mc-hero__media {
    border-bottom-right-radius: 32px;
  }

  .mc-forged {
    padding-top: 56px;
  }

  .mc-forged__header {
    gap: 16px;
  }

  .mc-forged__divider {
    width: auto;
    height: 32px;
  }

  .mc-forged__stats {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 40px;
  }

  .mc-stat {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .mc-forged__story {
    font-size: var(--mc-text-body);
  }

  .mc-card {
    padding: 32px 24px;
  }

  .mc-legal__header {
    padding: 24px var(--mc-gutter) 16px;
  }

  .mc-legal__body {
    padding: 24px var(--mc-gutter) 32px;
  }

  .mc-legal-page {
    padding-block: 56px 64px;
  }

  .mc-footer__columns {
    flex-direction: column;
    gap: 40px;
  }

  .mc-legacy__row {
    flex-direction: column;
    gap: 24px;
  }

  .mc-paradox__panel {
    padding: 32px 24px;
  }

  .mc-compare__title {
    white-space: normal;
  }
}
