:root {
  --ink: #26171d;
  --muted: #6c5961;
  --wine: #4d1026;
  --crimson: #7c1639;
  --berry: #a82457;
  --rose: #d34b79;
  --blush: #f5d7e2;
  --mist: #fbf5f7;
  --white: #ffffff;
  --line: #ead7de;
  --success: #306047;
  --shadow-sm: 0 10px 30px rgba(77, 16, 38, 0.08);
  --shadow-md: 0 24px 70px rgba(77, 16, 38, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
a.button {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(211, 75, 121, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--crimson);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(234, 215, 222, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 32px), var(--max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wine);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mental-health-emblem {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-emblem {
  flex: 0 0 auto;
  width: 46px;
  max-height: 48px;
  filter: drop-shadow(0 8px 12px rgba(68, 8, 29, 0.2));
}

.brand-text {
  max-width: 320px;
  line-height: 1.15;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #58434c;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--crimson);
  background: var(--mist);
}

.site-nav .nav-cta {
  margin-left: 4px;
  color: var(--white);
  background: var(--crimson);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--wine);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--wine);
  background: var(--white);
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 21px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button span {
  position: relative;
}

.menu-button span::before,
.menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-button span::before {
  top: -7px;
}

.menu-button span::after {
  top: 7px;
}

.menu-button[aria-expanded="true"] span {
  background: transparent;
}

.menu-button[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 76px 0 46px;
  background:
    radial-gradient(circle at 10% 10%, rgba(245, 215, 226, 0.64), transparent 34%),
    radial-gradient(circle at 94% 12%, rgba(211, 75, 121, 0.14), transparent 26%),
    linear-gradient(180deg, #fff 0%, #fff 65%, #fbf5f7 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: clamp(40px, 6vw, 86px);
}

.hero-emblem {
  width: clamp(112px, 12vw, 168px);
  max-height: 176px;
  margin: 0 0 20px;
  filter: drop-shadow(0 20px 24px rgba(68, 8, 29, 0.17));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--crimson);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--rose);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--wine);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6.3vw, 5.9rem);
}

h2 {
  font-size: clamp(2.35rem, 4.7vw, 4.35rem);
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

h4 {
  font-size: 1.2rem;
}

.hero-lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: #57424b;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--berry), var(--wine));
  box-shadow: 0 16px 34px rgba(124, 22, 57, 0.24);
}

.button-primary:hover {
  box-shadow: 0 20px 42px rgba(124, 22, 57, 0.3);
}

.button-secondary {
  border-color: var(--line);
  color: var(--wine);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border: 1px solid rgba(234, 215, 222, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-orbit {
  position: absolute;
  right: -24px;
  bottom: 34px;
  width: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  color: var(--wine);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.hero-orbit strong,
.hero-orbit span {
  display: block;
}

.hero-orbit strong {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.hero-orbit span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
}

.facts-wrap {
  position: relative;
  margin-top: 50px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.fact {
  min-height: 122px;
  padding: 23px 18px;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  color: var(--wine);
  font-size: 1rem;
}

.fact span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.section {
  padding: clamp(76px, 10vw, 132px) 0;
}

.section-soft {
  background: var(--mist);
}

.section-wine {
  color: rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(circle at 80% 15%, rgba(211, 75, 121, 0.28), transparent 32%),
    linear-gradient(145deg, #451023, #681433 58%, #81183e);
}

.section-wine h2,
.section-wine h3,
.section-wine h4 {
  color: var(--white);
}

.section-wine .eyebrow {
  color: #f3b7cc;
}

.section-wine .eyebrow::before {
  background: #f3b7cc;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.58fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 52px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-wine .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.intro-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.pullquote {
  margin: 32px 0 0;
  padding: 27px 28px;
  border-left: 5px solid var(--rose);
  border-radius: 0 24px 24px 0;
  color: var(--wine);
  background: var(--mist);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.48rem;
  line-height: 1.45;
}

.original-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.visual-story {
  padding: clamp(76px, 9vw, 126px) 0;
  overflow: hidden;
  background: var(--white);
}

.visual-story-rose {
  background: linear-gradient(145deg, #fff8fa 0%, #f8e9ee 100%);
}

.visual-story-scholarship {
  color: var(--white);
  background: linear-gradient(135deg, #3c0d1d 0%, #741b3a 100%);
}

.visual-story-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 62px);
}

.visual-story-head.compact {
  grid-template-columns: minmax(0, 780px);
}

.visual-story-head h2,
.visual-feature-copy h2 {
  margin: 0;
}

.visual-story-head > p,
.visual-feature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.visual-mosaic {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
}

.visual-mosaic-intro {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
}

.visual-mosaic-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visual-card {
  position: relative;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(105, 25, 54, .14);
  border-radius: clamp(22px, 3vw, 36px);
  background: #ead7de;
  box-shadow: 0 24px 70px rgba(72, 15, 36, .14);
}

.visual-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .7s ease;
}

.visual-card:hover img {
  transform: scale(1.025);
}

.visual-card figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 18px;
  color: var(--white);
  background: rgba(52, 10, 26, .82);
  box-shadow: 0 12px 30px rgba(28, 6, 14, .18);
  backdrop-filter: blur(12px);
}

.visual-card figcaption strong {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.2rem;
}

.visual-card figcaption span {
  color: rgba(255, 255, 255, .82);
  font-size: .84rem;
  line-height: 1.5;
}

.visual-mosaic-intro .visual-card {
  min-height: 510px;
}

.visual-mosaic-three .visual-card:nth-child(2) {
  transform: translateY(34px);
}

.visual-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
}

.visual-card-cinematic {
  min-height: clamp(420px, 50vw, 650px);
  border-color: rgba(255, 255, 255, .18);
}

.visual-feature-copy p {
  margin-top: 24px;
  color: rgba(255, 255, 255, .78);
}

.visual-feature-copy .eyebrow {
  margin-top: 0;
  color: #f0a9be;
}

.cycle {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: start;
  gap: 8px;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.cycle span {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--crimson);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.cycle i {
  color: var(--rose);
  font-style: normal;
  font-weight: 900;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(77, 16, 38, 0.06);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -62px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 75, 121, 0.18), rgba(211, 75, 121, 0));
}

.card-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(145deg, var(--berry), var(--wine));
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(124, 22, 57, 0.2);
}

.card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #5f4b54;
}

.card li + li {
  margin-top: 8px;
}

.card-dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.card-dark p,
.card-dark li {
  color: rgba(255, 255, 255, 0.76);
}

.card-dark::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}

.curriculum-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(42px, 6vw, 80px);
}

.curriculum-visual {
  position: sticky;
  top: 118px;
}

.module-list {
  display: grid;
  gap: 12px;
}

.module {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(77, 16, 38, 0.045);
}

.module summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding: 18px 58px 18px 20px;
  list-style: none;
  cursor: pointer;
}

.module summary::-webkit-details-marker {
  display: none;
}

.module summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--crimson);
  background: var(--mist);
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 700;
}

.module[open] summary::after {
  content: "−";
}

.module-index {
  flex: 0 0 auto;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: var(--white);
  background: var(--crimson);
  font-weight: 850;
}

.module-title {
  color: var(--wine);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 750;
  line-height: 1.25;
}

.module-body {
  padding: 0 24px 25px 84px;
  color: var(--muted);
}

.module-body p {
  margin: 0 0 14px;
}

.module-body ul {
  margin: 0;
  padding-left: 20px;
}

.module-body li + li {
  margin-top: 7px;
}

.research-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
}

.research-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.research-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.research-item:first-child {
  border-top: 0;
}

.research-item strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: var(--wine);
  background: #f5c6d7;
  font-size: 0.9rem;
}

.research-item h3 {
  font-size: 1.35rem;
}

.research-item p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--blush), var(--rose), var(--crimson));
}

.phase {
  position: relative;
  padding-top: 66px;
}

.phase::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 16px;
  width: 22px;
  height: 22px;
  border: 7px solid var(--white);
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 2px var(--rose);
}

.phase-card {
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.phase-card .weeks {
  color: var(--rose);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phase-card h3 {
  margin-top: 10px;
  font-size: 1.32rem;
}

.phase-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.deliverables-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(45px, 7vw, 90px);
}

.deliverables-copy {
  position: sticky;
  top: 118px;
}

.deliverables-copy p {
  margin: 22px 0 0;
  color: var(--muted);
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.deliverable {
  min-height: 126px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.deliverable strong {
  display: block;
  color: var(--wine);
}

.deliverable span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scope-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.scope-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--blush), #f9edf2);
  position: relative;
}

.scope-icon::before,
.scope-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--crimson);
}

.scope-icon::before {
  width: 22px;
  height: 6px;
  left: 13px;
  top: 21px;
}

.scope-icon::after {
  width: 6px;
  height: 22px;
  left: 21px;
  top: 13px;
}

.scope-card p {
  margin: 15px 0 0;
  color: var(--muted);
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 7vw, 80px);
  align-items: start;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.fit-item {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
}

.fit-item strong {
  display: block;
  color: var(--white);
}

.fit-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
}

.application-panel {
  padding: clamp(38px, 6vw, 68px);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.17), transparent 32%),
    linear-gradient(145deg, #5a112c, #8b1a44 62%, #b72d61);
  box-shadow: 0 32px 90px rgba(77, 16, 38, 0.26);
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0;
}

.playbook-grid article {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.08);
}

.playbook-grid article > span {
  color: #f2a9bf;
  font-weight: 900;
  letter-spacing: .12em;
}

.playbook-grid h3 {
  margin: 10px 0 8px;
}

.playbook-grid p,
.playbook-grid strong,
.operating-rhythm p {
  color: rgba(255,255,255,.82);
  line-height: 1.65;
}

.playbook-grid strong {
  display: block;
  margin-top: 14px;
  font-size: .86rem;
}

.operating-rhythm {
  margin: 30px 0;
  padding: 26px;
  border-radius: 22px;
  color: var(--wine);
  background: var(--white);
}

.operating-rhythm p {
  color: var(--muted);
}

@media (max-width: 760px) {
  .playbook-grid {
    grid-template-columns: 1fr;
  }
}

.application-panel h2 {
  max-width: 830px;
  color: var(--white);
}

.application-panel p {
  max-width: 770px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.application-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.application-panel .button-primary {
  color: var(--wine);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(42, 7, 20, 0.24);
}

.application-panel .button-primary:hover {
  background: #fff4f8;
}

.application-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.application-meta div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.application-meta strong,
.application-meta span {
  display: block;
}

.application-meta strong {
  color: var(--white);
}

.application-meta span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.faq summary {
  position: relative;
  padding: 22px 60px 22px 24px;
  color: var(--wine);
  list-style: none;
  cursor: pointer;
  font-weight: 800;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rose);
  font-size: 1.4rem;
}

.faq[open] summary::after {
  content: "−";
}

.faq div {
  padding: 0 24px 24px;
  color: var(--muted);
}

.faq p {
  margin: 0;
}

.detail-panel {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.detail-panel > summary {
  position: relative;
  padding: 25px 64px 25px 28px;
  color: var(--wine);
  list-style: none;
  cursor: pointer;
  font-weight: 850;
}

.detail-panel > summary::-webkit-details-marker {
  display: none;
}

.detail-panel > summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rose);
  font-size: 1.5rem;
}

.detail-panel[open] > summary::after {
  content: "−";
}

.detail-content {
  padding: 0 28px 32px;
  color: var(--muted);
}

.detail-content h3 {
  margin-top: 32px;
  font-size: 1.45rem;
}

.detail-content h3:first-child {
  margin-top: 0;
}

.detail-content ul {
  padding-left: 21px;
}

.detail-content li + li {
  margin-top: 8px;
}

.site-footer {
  padding: 56px 0 120px;
  color: rgba(255, 255, 255, 0.72);
  background: #2f0a18;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  max-width: 640px;
}

.footer-emblem {
  width: 108px;
  max-height: 116px;
  margin: 0 0 22px;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.28));
}

.footer-brand h2 {
  color: var(--white);
  font-size: 2rem;
}

.footer-brand p {
  margin: 14px 0 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px 24px;
}

.footer-links button,
.footer-links a {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.footer-links button:hover,
.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}

.cookie-banner {
  position: fixed;
  z-index: 3000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: none;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(47, 10, 24, 0.96);
  box-shadow: 0 24px 80px rgba(30, 4, 14, 0.42);
  backdrop-filter: blur(18px);
}

.cookie-banner.visible {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.cookie-copy strong {
  display: block;
  color: var(--white);
}

.cookie-copy p {
  margin: 6px 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.cookie-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 9px;
}

.cookie-inline-links button {
  padding: 0;
  border: 0;
  color: #f3b7cc;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 0.82rem;
}

.terms-acknowledgment {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  color: rgba(255, 255, 255, .94);
  background: rgba(255, 255, 255, .07);
  font-size: .86rem;
  line-height: 1.5;
}

.terms-acknowledgment input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #cf4775;
}

.terms-acknowledgment label {
  cursor: pointer;
}

.terms-acknowledgment button {
  min-height: 0;
  padding: 0;
  border: 0;
  color: #ffd4e2;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.acknowledgment-help,
.acknowledgment-error {
  margin: 7px 2px 0 !important;
  font-size: .78rem !important;
}

.acknowledgment-help {
  color: rgba(255,255,255,.7);
}

.acknowledgment-error {
  color: #ffd3dc;
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.cookie-actions button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-weight: 780;
}

.cookie-actions button:disabled,
.dialog-foot button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.cookie-actions .accept {
  border-color: var(--white);
  color: var(--wine);
  background: var(--white);
}

.preferences-acknowledgment {
  margin-top: 22px;
  border-color: var(--line);
  color: var(--ink);
  background: var(--blush);
}

.preferences-acknowledgment button {
  color: var(--crimson);
}

.preferences-acknowledgment + .acknowledgment-error {
  color: #a51443;
}

dialog {
  z-index: 5000;
  width: min(calc(100% - 28px), 880px);
  max-height: min(88vh, 900px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 34px 120px rgba(30, 4, 14, 0.42);
  overflow: hidden;
}

dialog::backdrop {
  z-index: 4999;
  background: rgba(33, 8, 18, 0.72);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(88vh, 900px);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 25px 26px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fff9fb);
}

.dialog-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.dialog-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.dialog-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
  background: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
}

.dialog-body {
  padding: 26px;
  overflow-y: auto;
}

.legal-copy {
  color: #4f3b44;
  font-size: 0.95rem;
}

.legal-copy h3 {
  margin: 30px 0 10px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.legal-copy h3:first-child {
  margin-top: 0;
}

.legal-copy p,
.legal-copy ul,
.legal-copy ol {
  margin: 10px 0 0;
}

.legal-copy ul,
.legal-copy ol {
  padding-left: 22px;
}

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

.legal-copy a {
  color: var(--crimson);
}

.dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--mist);
}

.dialog-foot button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--wine);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.preferences {
  display: grid;
  gap: 14px;
}

.preference-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mist);
}

.preference-row strong,
.preference-row span {
  display: block;
}

.preference-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
}

.switch {
  position: relative;
  width: 54px;
  height: 30px;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c9b7be;
  transition: background 0.2s ease;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 3px 10px rgba(38, 23, 29, 0.24);
  transition: transform 0.2s ease;
}

.switch input:checked + .switch-track {
  background: var(--crimson);
}

.switch input:checked + .switch-track::after {
  transform: translateX(24px);
}

.switch input:disabled + .switch-track {
  opacity: 0.66;
}

.toast {
  position: fixed;
  z-index: 4500;
  right: 22px;
  top: 96px;
  max-width: 360px;
  padding: 14px 17px;
  border-radius: 16px;
  color: var(--white);
  background: var(--success);
  box-shadow: var(--shadow-md);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1040px) {
  .site-nav {
    position: fixed;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 13px 15px;
  }

  .site-nav .nav-cta {
    margin: 5px 0 0;
    text-align: center;
  }

  .menu-button {
    display: block;
  }

  .hero-grid,
  .intro-grid,
  .research-grid,
  .fit-layout,
  .visual-story-head,
  .visual-feature {
    grid-template-columns: 1fr;
  }

  .visual-mosaic-intro {
    grid-template-columns: 1fr 1fr;
  }

  .visual-mosaic-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-mosaic-three .visual-card:nth-child(2) {
    transform: none;
  }

  .visual-mosaic-three .visual-card:last-child {
    grid-column: 1 / -1;
  }

  .hero-visual {
    max-width: 760px;
    margin: 0 auto;
  }

  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fact:nth-child(3) {
    border-right: 0;
  }

  .fact:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curriculum-layout,
  .deliverables-layout {
    grid-template-columns: 1fr;
  }

  .curriculum-visual,
  .deliverables-copy {
    position: static;
  }

  .curriculum-visual {
    max-width: 680px;
    margin: 0 auto;
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }

  .timeline::before {
    display: none;
  }

  .phase {
    padding-top: 52px;
  }

  .phase::before {
    left: 14px;
  }
}

@media (max-width: 700px) {
  .visual-mosaic-intro,
  .visual-mosaic-three {
    grid-template-columns: 1fr;
  }

  .visual-mosaic-three .visual-card:last-child {
    grid-column: auto;
  }

  .visual-mosaic-intro .visual-card,
  .visual-card {
    min-height: 390px;
  }

  .visual-card figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 15px 16px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand-text {
    max-width: 210px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-grid {
    gap: 42px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.35rem);
  }

  .hero-orbit {
    right: 12px;
    bottom: 14px;
    width: 130px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact,
  .fact:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .fact:nth-child(even) {
    border-right: 0;
  }

  .fact:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 38px;
  }

  .card-grid,
  .scope-grid,
  .deliverable-list,
  .fit-list {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .module summary {
    min-height: 80px;
    padding-left: 16px;
  }

  .module-body {
    padding: 0 20px 22px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .phase-card {
    min-height: auto;
  }

  .application-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }

  .cookie-banner.visible {
    grid-template-columns: 1fr;
    max-height: 68vh;
    overflow-y: auto;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .cookie-actions button {
    flex: 1 1 auto;
  }

  .dialog-head,
  .dialog-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .dialog-foot {
    justify-content: stretch;
  }

  .dialog-foot button {
    flex: 1;
  }
}

@media (max-width: 460px) {
  .brand-text {
    max-width: 174px;
    font-size: 0.8rem;
  }

  .brand-emblem { width: 39px; max-height: 42px; }

  .hero-actions .button,
  .application-actions .button {
    width: 100%;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(3),
  .fact:nth-child(even) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .hero-orbit {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .application-meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

.journal {
  background: linear-gradient(180deg, var(--white) 0%, var(--mist) 46%, var(--white) 100%);
}

.journal-head {
  align-items: end;
}

.journal-hero,
.journal-interlude {
  margin: 36px 0 40px;
}

.journal-hero img,
.journal-interlude img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.journal-hero figcaption,
.journal-interlude figcaption {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.journal-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 52px;
}

.journal-index a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--wine);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.journal-index span {
  color: var(--rose);
  font-family: Georgia, serif;
  font-size: 1.3rem;
}

.journal-articles {
  display: grid;
  gap: 34px;
}

.journal-article {
  scroll-margin-top: 110px;
  padding: clamp(26px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.journal-article h3 {
  max-width: 920px;
  margin: 10px 0 18px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.08;
}

.journal-article h4 {
  margin: 28px 0 10px;
  color: var(--crimson);
  font-size: 1.08rem;
}

.journal-article p,
.journal-article li {
  color: var(--muted);
}

.journal-article li {
  margin: 8px 0;
}

.answer-first {
  max-width: 980px;
  padding: 20px 22px;
  border-left: 5px solid var(--rose);
  border-radius: 0 16px 16px 0;
  background: var(--blush);
  color: var(--ink) !important;
  font-size: 1.05rem;
}

.article-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.principle-grid > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mist);
}

.principle-grid h4 {
  margin-top: 0;
}

.journal-practice {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fbf5f7 28%, #fff 100%);
}

.journal-next {
  margin-top: 34px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(135deg, var(--wine), var(--crimson));
  box-shadow: var(--shadow-md);
}

.journal-next .eyebrow {
  color: var(--blush);
}

.journal-next h3 {
  max-width: 880px;
  margin: 12px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.2;
}

@media (max-width: 900px) {
  .journal-index,
  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-columns {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    overflow-wrap: anywhere;
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .section,
  .hero {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  .journal-index,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .journal-index a {
    min-height: 52px;
  }

  .journal-article {
    border-radius: 24px;
  }

  .journal-article ol,
  .journal-article ul {
    padding-left: 22px;
  }

  .journal-next .button {
    width: 100%;
  }

  .journal-article p,
  .journal-article li {
    font-size: clamp(1rem, 4.2vw, 1.08rem);
  }

  .journal-hero img,
  .journal-interlude img {
    min-height: 260px;
    border-radius: 24px;
  }

  .cookie-banner {
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    max-height: calc(100dvh - 20px - env(safe-area-inset-top));
    overflow-y: auto;
  }

  dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin: auto;
  }

  button,
  .button,
  .site-nav a,
  .footer-links a,
  .footer-links button {
    min-height: 44px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .site-nav {
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
  }

  .cookie-banner {
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
  }
}

.legal-operations-track {
  background:
    radial-gradient(circle at 92% 8%, rgba(183, 45, 97, .10), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbf3f6 42%, #fff 100%);
}

.legal-track-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.legal-track-hero h2,
.legal-path-heading h2 {
  color: var(--wine);
}

.legal-track-hero p {
  color: var(--muted);
  font-size: 1.04rem;
}

.legal-track-hero figure {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.legal-track-hero figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.legal-track-hero figcaption {
  padding: 18px 22px 22px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .94rem;
  line-height: 1.55;
}

.legal-track-foundations {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 58px 0 76px;
}

.legal-track-foundations article {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(89, 20, 47, .07);
}

.legal-track-foundations span,
.legal-learning-grid article > span {
  color: var(--crimson);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.legal-track-foundations h3 {
  margin: 10px 0 8px;
  color: var(--wine);
  font-size: 1rem;
}

.legal-track-foundations p,
.legal-learning-grid p,
.legal-cycle span,
.legal-practice-tools p {
  color: var(--muted);
}

.legal-path-heading {
  scroll-margin-top: 110px;
}

.legal-learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-learning-grid article {
  padding: clamp(24px, 3.2vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(72, 16, 38, .08);
}

.legal-learning-grid h3 {
  margin: 10px 0 18px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.3vw, 1.75rem);
  line-height: 1.18;
}

.legal-learning-grid p {
  margin: 10px 0;
  line-height: 1.68;
}

.legal-learning-grid strong {
  color: var(--crimson);
}

.legal-integration-map {
  margin-top: 62px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 30px;
  color: var(--white);
  background: linear-gradient(145deg, #541027, #80183b 58%, #a82754);
  box-shadow: var(--shadow-lg);
}

.legal-integration-map h3 {
  max-width: 760px;
  margin: 10px 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
}

.legal-integration-map .eyebrow {
  color: #f6b6ca;
}

.legal-cycle {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.legal-cycle article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}

.legal-cycle strong,
.legal-cycle span {
  display: block;
}

.legal-cycle strong {
  margin-bottom: 8px;
  color: var(--white);
}

.legal-cycle span {
  color: rgba(255,255,255,.78);
  font-size: .91rem;
  line-height: 1.55;
}

.legal-practice-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.legal-practice-tools article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--mist);
}

.legal-practice-tools h3 {
  margin: 0 0 10px;
  color: var(--wine);
  font-size: 1.05rem;
}

@media (max-width: 1040px) {
  .legal-track-hero {
    grid-template-columns: 1fr;
  }

  .legal-track-foundations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-cycle,
  .legal-practice-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .legal-track-hero {
    gap: 26px;
  }

  .legal-track-hero figure {
    border-radius: 22px;
  }

  .legal-track-hero figure img {
    min-height: 250px;
  }

  .legal-track-foundations,
  .legal-learning-grid,
  .legal-cycle,
  .legal-practice-tools {
    grid-template-columns: 1fr;
  }

  .legal-track-foundations {
    margin: 38px 0 54px;
  }

  .legal-learning-grid article,
  .legal-integration-map,
  .legal-practice-tools article {
    padding: 22px;
  }

  .legal-cycle article {
    min-height: 0;
  }

  .legal-track-hero .button {
    width: 100%;
  }
}

@media print {
  .site-header,
  .cookie-banner,
  .hero-actions,
  .application-actions,
  .footer-links,
  dialog,
  .menu-button {
    display: none !important;
  }

  body {
    color: #000;
  }

  .section,
  .hero {
    padding: 32px 0;
  }

  .card,
  .module,
  .phase-card,
  .scope-card,
  .deliverable {
    break-inside: avoid;
    box-shadow: none;
  }
}

.messaging-entry {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.messaging-entry-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.messaging-entry h2 {
  margin: 12px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.06;
  color: var(--wine);
}

.messaging-entry p {
  color: var(--muted);
  font-size: 1.05rem;
}

.messaging-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.messaging-entry-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.messaging-entry-features article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.messaging-entry-features strong,
.messaging-entry-features span {
  display: block;
}

.board-entry {
  background: #fff;
}

.board-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.board-entry-copy h2 {
  max-width: 760px;
}

.board-entry-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.board-entry-flow {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(138, 23, 61, .14);
  border-radius: 28px;
  background: linear-gradient(145deg, #fff7fa, #fff);
  box-shadow: 0 24px 70px rgba(86, 16, 39, .08);
}

.board-entry-flow article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 12px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(138, 23, 61, .1);
}

.board-entry-flow span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f8dce6;
  color: #7d1537;
  font-weight: 850;
  font-size: .76rem;
}

.board-entry-flow strong {
  color: #571126;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
}

.board-entry-flow p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .board-entry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .board-entry-flow {
    padding: 12px;
    border-radius: 20px;
  }
}

.messaging-entry-features strong {
  margin-bottom: 10px;
  color: var(--crimson);
}

.messaging-entry-features span {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .messaging-entry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .messaging-entry-features {
    grid-template-columns: 1fr;
  }

  .messaging-entry-features article {
    min-height: auto;
  }

  .messaging-entry-actions .button {
    width: 100%;
  }
}

/* Long-form journal performance and smallest-screen reading refinements. */
.journal-article {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
  scroll-margin-top: 104px;
}

.journal-interlude img,
.journal-hero img {
  width: 100%;
  height: auto;
}

@media (max-width: 430px) {
  .journal-head h2,
  .section-head h2 {
    font-size: clamp(2rem, 11vw, 3rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  .journal-article {
    padding: 22px 17px;
    border-radius: 20px;
  }

  .journal-article h3 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .journal-article h4 {
    font-size: 1.14rem;
  }

  .journal-interlude img,
  .journal-hero img {
    min-height: 220px;
  }

  .journal-interlude figcaption,
  .journal-hero figcaption {
    padding: 13px 15px;
    font-size: .84rem;
  }

  .journal-next {
    padding: 25px 19px;
    border-radius: 22px;
  }

  .policy-content {
    padding-left: 17px;
    padding-right: 17px;
  }
}
