:root {
  --ivory: #f7f2ec;
  --warm-white: #fcfbf8;
  --soft-beige: #efe7df;
  --taupe: #cfc7c2;
  --lavender: #d7ced9;
  --blue: #a7c2d8;
  --copper: #b5792f;
  --gold: #c89c22;
  --ink: #232323;
  --muted: #5e5a57;
  --dark: #1f1d1d;
  --line: rgba(35, 35, 35, 0.12);
  --shadow: 0 18px 60px rgba(42, 31, 24, 0.09);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --font-label: "Julius Sans One", Arial, sans-serif;
  --serif: var(--font-display);
  --sans: var(--font-body);
  --label: var(--font-label);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--warm-white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.is-submitting {
  cursor: wait;
}

body.modal-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 50;
  background: var(--dark);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  transition: top 0.2s ease;
}

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

.container {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 30;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(181, 121, 47, 0.18);
  border-radius: 999px;
  background: rgba(252, 251, 248, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(31, 29, 29, 0.08);
  pointer-events: auto;
}

.brand img {
  width: 132px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(35, 35, 35, 0.72);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--copper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--copper), var(--gold));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(181, 121, 47, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(181, 121, 47, 0.24);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(181, 121, 47, 0.32);
  outline-offset: 3px;
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ivory);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(252, 251, 248, 0.78) 0%, rgba(252, 251, 248, 0.36) 48%, rgba(252, 251, 248, 0.08) 100%);
  pointer-events: none;
}

.hero-top-logo {
  position: absolute;
  top: 18px;
  left: max(28px, calc((100vw - 1320px) / 2));
  z-index: 2;
  width: 164px;
  height: auto;
  opacity: 0.9;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 0.57fr) minmax(0, 0.43fr);
  min-height: 100svh;
  align-items: center;
  padding-top: 116px;
}

.hero-copy {
  max-width: 830px;
  padding: 42px 0 22px;
}

.desktop-break {
  display: none;
}

.mobile-break {
  display: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--copper);
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
}

h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
}

h1 {
  max-width: none;
  font-size: clamp(3.75rem, 4.15vw, 5.05rem);
  line-height: 0.94;
}

h1 .accent,
.impact-line,
blockquote {
  color: var(--copper);
}

h1 .accent {
  font-weight: 600;
}

.headline-desktop {
  display: inline-block;
  white-space: nowrap;
}

.headline-mobile-text {
  display: none;
}

.hero-lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.55;
}

.hero-support {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 750px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-support li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 122px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(178, 119, 48, 0.22);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.62);
  color: #4b433b;
  box-shadow: 0 18px 42px rgba(117, 83, 45, 0.08);
  font-size: 14.6px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.support-icon {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.hero-support li::before {
  display: none;
}

.support-full {
  display: none;
}

.support-short {
  display: inline;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-bullets li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 10px;
  color: #403a35;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.hero-bullets svg,
.pillar-list svg,
.audience-grid svg,
.curriculum-grid svg,
.feedback-grid svg,
.media-card svg {
  width: 24px;
  height: 24px;
  color: var(--copper);
  flex: 0 0 auto;
}

.hero-actions {
  margin-top: 26px;
  max-width: 750px;
  display: flex;
  justify-content: center;
}

.hero .btn {
  min-height: 72px;
  min-width: 390px;
  padding: 0 52px;
  font-size: 14.5px;
}

.microcopy {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(35, 35, 35, 0.56);
  font-size: 12px;
  line-height: 1.55;
}

.hero-figure {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: max(-64px, calc((100vw - 1500px) / 2 - 80px));
  bottom: auto;
  width: min(48vw, 780px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-figure picture,
.hero-figure img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: none;
}

.hero-figure picture {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-figure img {
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 60px rgba(31, 29, 29, 0.16));
}

.section {
  padding: 118px 0;
}

@media (min-width: 768px) {
  .desktop-break {
    display: block;
  }

  .hero-figure {
    bottom: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0, 0, 0, 0.76) 92%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0, 0, 0, 0.76) 92%, transparent 100%);
  }
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading.compact {
  max-width: 680px;
  margin-bottom: 38px;
}

.result-showcase {
  overflow: hidden;
  background: linear-gradient(180deg, var(--warm-white), var(--soft-beige));
}

.result-showcase .section-heading {
  max-width: 920px;
}

.result-showcase .section-heading p {
  max-width: 840px;
  margin: 22px auto 0;
  font-size: 21px;
  line-height: 1.62;
}

.clinical-tags {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.clinical-tags span {
  border: 1px solid rgba(181, 121, 47, 0.26);
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(252, 251, 248, 0.72);
  color: var(--copper);
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.photo-carousel,
.video-carousel {
  overflow: hidden;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
  width: max-content;
  animation: carousel-slide 28s linear infinite;
}

.photo-carousel:hover .carousel-track,
.video-carousel:hover .carousel-track {
  animation-play-state: paused;
}

.photo-carousel .carousel-track {
  grid-auto-columns: minmax(300px, 386px);
}

.video-carousel .carousel-track {
  grid-auto-columns: minmax(230px, 260px);
}

.result-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 292px;
  overflow: hidden;
  border: 1px solid rgba(181, 121, 47, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(252, 251, 248, 0.88), rgba(239, 231, 223, 0.78)),
    url("assets/hero/hero-desktop-background.webp") center/cover;
  box-shadow: var(--shadow);
}

.result-card-photo {
  display: block;
  min-height: 0;
  aspect-ratio: 1 / 1;
  background: #f4eee8;
}

.result-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.result-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(35, 35, 35, 0.42);
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-card span + span {
  border-left: 1px solid rgba(181, 121, 47, 0.16);
}

.result-card strong {
  position: absolute;
  left: 18px;
  bottom: 16px;
  right: 18px;
  color: #403a35;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-showcase {
  overflow: hidden;
  background: linear-gradient(180deg, var(--warm-white), var(--ivory));
}

.video-showcase .section-heading,
.curriculum .section-heading {
  max-width: 1180px;
}

.video-showcase .section-heading p,
.curriculum .section-heading p {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 21px;
  line-height: 1.62;
}

.instagram-card {
  position: relative;
  display: flex;
  min-height: 430px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(181, 121, 47, 0.16);
  border-radius: 18px;
  background: #1f1d1d;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.instagram-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(31, 29, 29, 0.05) 32%, rgba(31, 29, 29, 0.82) 100%);
}

.instagram-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 280ms ease;
}

.instagram-card:hover img {
  transform: scale(1.055);
}

.instagram-card svg {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.86);
  z-index: 2;
}

.instagram-card span {
  position: relative;
  z-index: 2;
  max-width: 190px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.08;
}

.instagram-card .ig-type {
  position: absolute;
  top: 18px;
  left: 18px;
  max-width: none;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(31, 29, 29, 0.28);
  font-family: var(--label);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

@keyframes carousel-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

.section-heading p:not(.section-kicker),
.section-copy p {
  color: var(--muted);
}

h2 {
  font-size: clamp(2.6rem, 4.2vw, 4.35rem);
  line-height: 1;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.12;
}

.thesis {
  background: var(--warm-white);
}

.thesis-grid,
.format-grid,
.authority-grid,
.application-grid,
.results-grid,
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.section-copy p {
  max-width: 620px;
  margin: 24px 0 0;
}

.pillar-list {
  display: grid;
  gap: 18px;
}

.pillar-list article,
.audience-grid article,
.format-cards article,
.feedback-grid article,
.curriculum-grid article {
  border: 1px solid rgba(181, 121, 47, 0.14);
  background: rgba(252, 251, 248, 0.78);
  box-shadow: var(--shadow);
}

.pillar-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px 18px;
  padding: 26px;
  border-radius: 18px;
}

.pillar-list h3,
.pillar-list p {
  grid-column: 2;
}

.pillar-list svg {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
}

.pillar-list p,
.curriculum-grid p,
.audience-grid p,
.format-cards span,
.feedback-grid span {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.impact-line {
  margin: 64px 0 0;
  padding-top: 34px;
  border-top: 1px solid rgba(181, 121, 47, 0.22);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.08;
  text-align: center;
}

.media-strip {
  background: linear-gradient(180deg, var(--soft-beige), var(--ivory));
}

.video-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 20px;
}

.media-card {
  position: relative;
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(181, 121, 47, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(31, 29, 29, 0.7), rgba(31, 29, 29, 0.42)),
    url("assets/hero/hero-desktop-background.webp") center/cover;
  color: #fff;
  text-align: center;
}

.media-card.large {
  min-height: 310px;
}

.media-card svg {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 38px;
  height: 38px;
  color: rgba(255, 255, 255, 0.84);
}

.media-card span {
  max-width: 260px;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.12;
}

.audience {
  background: linear-gradient(135deg, rgba(215, 206, 217, 0.48), rgba(247, 242, 236, 0.7));
}

.audience .section-heading {
  max-width: 1120px;
}

.audience h2 {
  font-size: clamp(3rem, 3.7vw, 3.8rem);
  line-height: 1.02;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
  gap: 22px;
}

.audience-grid article {
  display: flex;
  min-height: 224px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 32px;
  border-radius: 18px;
  text-align: center;
}

.audience-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
}

.audience-icon {
  display: block;
  width: 116px;
  height: 116px;
  margin: 0 auto 24px;
  object-fit: contain;
  opacity: 0.94;
}

.audience-grid p {
  max-width: 330px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.55;
}

.cut-line {
  max-width: 860px;
  margin: 34px auto 0;
  padding: 20px 26px;
  border: 1px solid rgba(181, 121, 47, 0.18);
  border-radius: 999px;
  background: rgba(252, 251, 248, 0.64);
  color: #403a35;
  text-align: center;
  font-weight: 500;
}

.curriculum {
  background: var(--warm-white);
}

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

.curriculum-grid article {
  position: relative;
  display: flex;
  min-height: 274px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 30px;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
}

.curriculum-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  object-fit: contain;
  opacity: 0.98;
  filter: contrast(1.18) saturate(1.14);
}

.curriculum-grid span {
  position: absolute;
  right: 24px;
  bottom: 18px;
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(181, 121, 47, 0.09);
  pointer-events: none;
}

.curriculum-grid h3,
.curriculum-grid p {
  position: relative;
  z-index: 1;
}

.curriculum-grid h3 {
  font-size: 1.78rem;
  line-height: 1.08;
}

.curriculum-grid p {
  max-width: 300px;
  margin: 12px auto 0;
  font-size: 16.5px;
  line-height: 1.52;
}

.format {
  background: linear-gradient(135deg, rgba(167, 194, 216, 0.28), rgba(247, 242, 236, 0.92));
}

.format .section-copy p:not(.section-kicker) {
  font-size: 20px;
  line-height: 1.62;
}

.format-cta {
  margin-top: 30px;
}

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

.format-cards article {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  border-radius: 18px;
}

.format-cards strong {
  display: block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--copper);
}

.format-cards span {
  margin-top: 12px;
  font-size: 21px;
  line-height: 1.42;
}

.authority {
  background: var(--ivory);
}

.authority-photo {
  overflow: hidden;
  border-radius: 26px;
  background: var(--soft-beige);
  box-shadow: var(--shadow);
}

.authority-photo img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center top;
}

.authority-copy p {
  color: var(--muted);
}

blockquote {
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
}

.signature {
  width: 190px;
  margin-top: 18px;
  mix-blend-mode: multiply;
  opacity: 0.8;
}

.results {
  background: var(--dark);
  color: #fff;
}

.results h2,
.results .section-kicker {
  color: #fff;
}

.results .section-kicker {
  color: #d9b36c;
}

.results .section-copy p,
.results small {
  color: rgba(255, 255, 255, 0.68);
}

.placeholder-gallery {
  display: grid;
  gap: 18px;
}

.placeholder-gallery article {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 168px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.placeholder-gallery span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-gallery span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.placeholder-gallery strong {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feedbacks {
  background: var(--warm-white);
}

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

.feedback-grid article {
  min-height: 180px;
  padding: 26px;
  border-radius: 18px;
}

.feedback-grid svg {
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
}

.application {
  background: var(--ivory);
}

.application-grid {
  align-items: start;
}

.application-note {
  padding: 22px 0 0;
  border-top: 1px solid rgba(181, 121, 47, 0.2);
  font-size: 14px;
}

.application-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.application-modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 16, 0.62);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border: 1px solid rgba(181, 121, 47, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(252, 251, 248, 0.96), rgba(247, 242, 236, 0.96)),
    url("assets/hero/hero-desktop-background.webp") center top/cover;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: sticky;
  top: 16px;
  left: calc(100% - 58px);
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 16px 16px -42px auto;
  place-items: center;
  border: 1px solid rgba(35, 35, 35, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-heading {
  max-width: 720px;
  padding: 34px 34px 0;
}

.modal-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.75rem);
}

.modal-heading p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(181, 121, 47, 0.14);
  border-radius: 22px;
  background: rgba(252, 251, 248, 0.9);
  box-shadow: var(--shadow);
}

.modal-panel .application-form {
  margin: 28px 34px 34px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

label {
  color: #3d3732;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(35, 35, 35, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 14px 14px;
  min-height: 50px;
}

textarea {
  resize: vertical;
}

.field small {
  min-height: 18px;
  color: #9e312c;
  font-size: 11px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-submit,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
}

.form-status.is-success {
  color: #236247;
}

.form-status.is-error {
  color: #9e312c;
}

.faq {
  background: var(--warm-white);
}

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

details {
  border: 1px solid rgba(181, 121, 47, 0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(42, 31, 24, 0.05);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  color: var(--ink);
  font-weight: 600;
}

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

details p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--muted);
}

.final-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: end;
}

.site-footer {
  padding: 34px 0;
  background: #151414;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer img {
  filter: brightness(0) invert(1);
  opacity: 0.76;
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

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

  .hero-figure {
    top: 130px;
    right: -72px;
    bottom: 0;
    width: min(60vw, 620px);
    opacity: 0.94;
  }

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

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

  .media-card,
  .media-card.large {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 8px, 540px);
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    height: auto;
    padding-top: clamp(98px, 20vw, 122px);
    padding-bottom: 16px;
  }

  .hero-top-logo {
    top: 8px;
    left: 50%;
    z-index: 5;
    width: 148px;
    transform: translateX(-50%);
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(252, 251, 248, 0.2), rgba(252, 251, 248, 0.94) 44%, rgba(252, 251, 248, 0.98));
  }

  .hero-grid {
    flex: 0 0 auto;
    min-height: 0;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }

  .hero-figure {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: auto;
    max-width: 100%;
    height: clamp(300px, 64vw, 350px);
    display: flex;
    justify-content: center;
    margin: 0 auto 0;
  }

  .hero-figure img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0, 0, 0, 0.44) 72%, transparent 86%);
    mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0, 0, 0, 0.44) 72%, transparent 86%);
  }

  .hero-copy {
    padding: 0;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.66rem, 10.6vw, 3.05rem);
    line-height: 0.82;
  }

  .headline-desktop {
    display: none;
  }

  .headline-mobile-text {
    display: block;
  }

  .mobile-break {
    display: block;
  }

  h2 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .hero-lead {
    margin-top: 9px;
    font-size: 19.4px;
    line-height: 1.24;
  }

  .hero-support {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 9px;
  }

  .hero-support li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    min-height: 84px;
    padding: 8px 7px 9px;
    border: 1px solid rgba(178, 119, 48, 0.22);
    border-radius: 14px;
    background: rgba(255, 253, 248, 0.58);
    color: #4b433b;
    font-size: 13.4px;
    font-weight: 600;
    line-height: 1.22;
    text-align: center;
  }

  .support-icon {
    width: 36px;
    height: 36px;
  }

  .hero-support li::before {
    display: none;
  }

  .support-full {
    display: none;
  }

  .support-short {
    display: inline;
  }

  .hero-bullets,
  .thesis-grid,
  .format-grid,
  .authority-grid,
  .results-grid,
  .final-grid,
  .application-form,
  .format-cards,
  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .hero-bullets {
    gap: 10px;
    margin-top: 22px;
  }

  .clinical-tags {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .photo-carousel,
  .video-carousel {
    margin-top: 28px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .carousel-track {
    animation: none;
  }

  .photo-carousel .carousel-track {
    grid-auto-columns: minmax(270px, 82vw);
  }

  .video-carousel .carousel-track {
    grid-auto-columns: minmax(230px, 70vw);
  }

  .result-card {
    min-height: 230px;
  }

  .instagram-card {
    min-height: 380px;
  }

  .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero-actions {
    margin-top: 9px;
    max-width: none;
    margin-bottom: 0;
  }

  .hero .btn {
    min-height: 58px;
    min-width: 0;
    font-size: 13.5px;
  }

  .microcopy {
    margin-top: 10px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 36px;
    text-align: left;
  }

  .thesis-grid,
  .format-grid,
  .authority-grid,
  .application-grid,
  .results-grid,
  .final-grid {
    gap: 34px;
  }

  .pillar-list article {
    grid-template-columns: 34px 1fr;
    padding: 22px;
  }

  .pillar-list svg {
    width: 30px;
    height: 30px;
  }

  .impact-line {
    margin-top: 38px;
    text-align: left;
  }

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

  .audience-grid article,
  .curriculum-grid article {
    min-height: auto;
  }

  .curriculum-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 16px;
  }

  .cut-line {
    border-radius: 18px;
    text-align: left;
  }

  .authority-photo {
    border-radius: 18px;
  }

  .authority-photo img {
    height: 520px;
  }

  .placeholder-gallery article {
    min-height: 138px;
  }

  .application-form {
    padding: 22px;
  }

  .application-modal {
    padding: 14px;
  }

  .modal-panel {
    max-height: 92vh;
    border-radius: 16px;
  }

  .modal-heading {
    padding: 28px 20px 0;
  }

  .modal-panel .application-form {
    margin: 22px 14px 18px;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 8px, 390px);
  }

  h1 {
    font-size: clamp(2.62rem, 10.8vw, 2.92rem);
  }

  .hero-lead {
    font-size: 19.2px;
    line-height: 1.4;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-top-logo {
    width: 136px;
  }

  .hero-figure {
    width: auto;
    height: clamp(296px, 82vw, 340px);
  }

  .eyebrow,
  .section-kicker {
    font-size: 10px;
  }

  .hero-bullets li {
    font-size: 12px;
  }
}

@media (max-width: 767px) and (max-height: 760px) {
  .hero {
    padding-top: clamp(86px, 18vw, 104px);
    padding-bottom: 16px;
  }

  .hero-grid {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }

  .hero-top-logo {
    top: 7px;
    width: 132px;
  }

  .hero-figure {
    width: auto;
    height: clamp(274px, 60vw, 318px);
    margin-bottom: 0;
  }

  h1 {
    font-size: clamp(2.62rem, 10.8vw, 2.94rem);
  }

  .hero-lead {
    margin-top: 9px;
    font-size: 18.7px;
    line-height: 1.24;
  }

  .hero-support {
    gap: 7px;
    margin-top: 9px;
  }

  .hero-support li {
    min-height: 77px;
    font-size: 12.7px;
    line-height: 1.16;
  }

  .support-icon {
    width: 32px;
    height: 32px;
  }

  .hero-actions {
    margin-top: 9px;
    margin-bottom: 0;
  }

  .hero .btn {
    min-height: 56px;
    font-size: 12.6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
