:root {
  --ink: #10131a;
  --muted: #5f6673;
  --paper: #dbd7c9;
  --surface: #ffffff;
  --navy: #02074d;
  --blue: #184c8f;
  --gold: #c79a2f;
  --green: #5f6f5d;
  --soft-paper: #eeeae0;
  --line: rgba(16, 19, 26, 0.14);
  --shadow: 0 24px 70px rgba(2, 7, 77, 0.16);
}

* {
  box-sizing: border-box;
}

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

section[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.site-header {
  align-items: center;
  background: rgba(219, 215, 201, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 10px clamp(18px, 4vw, 56px) 10px 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(219, 215, 201, 0.98);
  box-shadow: 0 12px 34px rgba(2, 7, 77, 0.08);
}

.brand {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  height: 54px;
  object-fit: contain;
  width: 66px;
  transform-origin: center;
  transition: transform 280ms ease, filter 280ms ease;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 8px 18px rgba(2, 7, 77, 0.16));
  transform: translateY(-1px) scale(1.015);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a {
  color: rgba(16, 19, 26, 0.76);
}

.site-nav a:last-child {
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
  padding: 11px 16px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 38px;
  padding: 8px;
  width: 38px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px 0;
}

.hero {
  display: grid;
  min-height: 88vh;
  overflow: hidden;
  padding-top: 72px;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(2, 7, 77, 0.92), rgba(2, 7, 77, 0.62) 43%, rgba(2, 7, 77, 0.12));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-content {
  align-self: end;
  color: #fff;
  max-width: 1040px;
  padding: 9vh clamp(20px, 6vw, 84px) 5vh;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.4vw, 5.25rem);
  font-weight: 500;
  line-height: 0.9;
  margin-bottom: 28px;
  max-width: 980px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
}

.button.primary {
  background: var(--gold);
  color: #10131a;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #fff;
}

.button.full {
  border: 0;
  cursor: pointer;
  width: 100%;
}

.hero-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 40px 0 0;
  max-width: 680px;
}

.hero-stats div {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 14px;
}

.hero-stats dt {
  font-size: 1.34rem;
  font-weight: 850;
}

.hero-stats dd {
  color: rgba(255, 255, 255, 0.74);
  margin: 4px 0 0;
}

.audience-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-strip a {
  border-right: 1px solid var(--line);
  min-height: 128px;
  padding: clamp(22px, 3vw, 34px);
}

.audience-strip span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.audience-strip strong {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.18;
  max-width: 370px;
}

.section {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 6vw, 84px);
}

.split {
  display: grid;
  gap: clamp(32px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  margin-top: 16px;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.method-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
}

.method-grid article {
  background: var(--surface);
  min-height: 250px;
  padding: 28px;
}

.method-grid span {
  color: var(--gold);
  display: block;
  font-weight: 850;
  margin-bottom: 54px;
}

.method-grid p,
.section-heading-row p,
.proof-layout p,
.parent-student p,
.inquiry-panel > div > p {
  color: var(--muted);
  line-height: 1.65;
}

.resources {
  background: var(--soft-paper);
}

.resource-theatre {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  margin-top: clamp(44px, 7vw, 82px);
}

.resource-selector {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 104px;
}

.resource-choice {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(2, 7, 77, 0.12);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 8px;
  padding: 20px;
  text-align: left;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.resource-choice:hover {
  box-shadow: 0 18px 40px rgba(2, 7, 77, 0.08);
  transform: translateY(-2px);
}

.resource-choice.is-active {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(2, 7, 77, 0.12);
}

.resource-choice span {
  color: var(--gold);
  font-weight: 900;
}

.resource-choice strong {
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.18;
}

.resource-choice small {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.resource-stage {
  position: sticky;
  top: 104px;
}

.resource-preview-card {
  background: var(--navy);
  border-radius: 8px 64px 8px 8px;
  box-shadow: 0 30px 80px rgba(2, 7, 77, 0.18);
  color: #fff;
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  grid-template-columns: minmax(230px, 0.38fr) minmax(0, 1fr);
  min-height: 660px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  position: relative;
}

.resource-preview-card::before {
  background: radial-gradient(circle at 15% 12%, rgba(199, 154, 47, 0.16), transparent 34%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.resource-preview-card.is-switching .resource-preview-cover img,
.resource-preview-card.is-switching .resource-preview-copy {
  opacity: 0;
  transform: translateY(10px);
}

.resource-preview-cover {
  align-self: stretch;
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 560px;
  overflow: visible;
  padding: clamp(18px, 3vw, 32px);
  position: relative;
  z-index: 1;
}

.resource-preview-cover::after {
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-120%);
}

.resource-preview-card:hover .resource-preview-cover::after {
  transform: translateX(120%);
  transition: transform 850ms ease;
}

.resource-preview-cover img {
  border-radius: 6px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
  left: 50%;
  max-height: 500px;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  top: 50%;
  transition: opacity 260ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1), filter 620ms ease;
  width: min(72%, 260px);
}

.resource-front-cover {
  aspect-ratio: 3 / 3.8;
  filter: saturate(1.02);
  transform: translate(-50%, -50%);
  z-index: 4;
}

.resource-sample-page {
  aspect-ratio: 0.74;
  opacity: 0;
  z-index: 2;
}

.sample-one {
  transform: translate(-50%, -50%) rotate(-1deg) scale(0.94);
}

.sample-two {
  transform: translate(-50%, -50%) rotate(1deg) scale(0.94);
}

.resource-preview-card:hover .resource-front-cover,
.resource-preview-card:focus-within .resource-front-cover {
  transform: translate(-50%, calc(-50% - 8px)) scale(1.02);
}

.resource-preview-card:hover .sample-one,
.resource-preview-card:focus-within .sample-one {
  opacity: 1;
  transform: translate(calc(-50% - 130px), -50%) rotate(-8deg) scale(0.88);
}

.resource-preview-card:hover .sample-two,
.resource-preview-card:focus-within .sample-two {
  opacity: 1;
  transform: translate(calc(-50% + 130px), -50%) rotate(8deg) scale(0.88);
}

.resource-preview-card:hover .resource-preview-cover img,
.resource-preview-card:focus-within .resource-preview-cover img {
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.26));
}

.resource-preview-copy {
  align-self: center;
  max-width: 760px;
  position: relative;
  transition: opacity 260ms ease, transform 500ms ease;
  z-index: 1;
}

.resource-type {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.resource-preview-copy h3 {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 24px;
}

.resource-preview-copy p {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  max-width: 850px;
}

.resource-features {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(28px, 4vw, 46px) 0 28px;
}

.resource-features div {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  min-height: 112px;
  padding: 22px;
}

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

.resource-features strong {
  color: var(--paper);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.resource-features span {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}

.resource-button {
  background: var(--gold);
  border: 0;
  border-radius: 6px;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 58px;
  padding: 15px 22px;
  text-align: center;
  width: min(100%, 520px);
}

.resource-button:hover {
  background: var(--paper);
  color: var(--navy);
}

.proof-band {
  background: var(--navy);
  color: #fff;
}

.proof-band .section-kicker,
.proof-band p {
  color: rgba(255, 255, 255, 0.72);
}

.proof-rating {
  border-left: 4px solid var(--gold);
  display: grid;
  gap: 4px;
  margin: 18px 0 18px;
  padding-left: 18px;
}

.proof-rating strong {
  color: var(--gold);
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
}

.proof-rating span {
  color: rgba(255, 255, 255, 0.74);
}

.proof-layout {
  display: grid;
  gap: clamp(30px, 6vw, 76px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  margin-top: 16px;
}

.proof-review {
  align-self: start;
}

.proof-review img {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  width: 100%;
}

.proof-review .button {
  margin-top: 16px;
}

.section-heading-row {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
}

.programs {
  background: var(--paper);
}

.programs-heading {
  margin: 0 auto;
  max-width: 980px;
  text-align: center;
}

.programs-heading h2 {
  color: var(--navy);
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}

.programs-heading p {
  color: #5f627f;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 900px;
}

.program-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(54px, 7vw, 94px);
}

.program-grid article {
  background: var(--surface);
  border: 1px solid rgba(2, 7, 77, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(16, 19, 26, 0.08);
  min-height: 390px;
  padding: clamp(26px, 3vw, 38px);
  transition: box-shadow 280ms ease, transform 280ms ease;
}

.program-grid article:hover {
  box-shadow: 0 28px 64px rgba(2, 7, 77, 0.14);
  transform: translateY(-4px);
}

.program-icon {
  align-items: center;
  background: var(--navy);
  border-radius: 8px;
  color: var(--gold);
  display: inline-flex;
  height: 74px;
  justify-content: center;
  margin-bottom: clamp(44px, 5vw, 74px);
  width: 74px;
}

.program-icon svg {
  fill: none;
  height: 34px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 34px;
}

.program-grid h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 22px;
}

.program-grid p {
  color: #676b8a;
  font-size: 1.02rem;
  line-height: 1.62;
}

@media (max-width: 1120px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.parent-student {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 0;
  padding-top: 0;
}

.parent-student article {
  background: var(--surface);
  min-height: 430px;
  padding: clamp(42px, 7vw, 84px);
}

.parent-student article:nth-child(2) {
  background: var(--soft-paper);
}

.about-us {
  background: var(--paper);
}

.about-layout {
  align-items: center;
  display: grid;
  gap: clamp(34px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
}

.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.about-signals {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.about-signals div {
  align-items: baseline;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(2, 7, 77, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 18px;
}

.about-signals strong {
  color: var(--navy);
}

.about-signals span {
  color: var(--muted);
}

.about-media {
  margin: 0;
  position: relative;
}

.about-media::before {
  border: 1px solid rgba(199, 154, 47, 0.8);
  border-radius: 8px;
  content: "";
  inset: 18px -18px -18px 18px;
  position: absolute;
}

.about-media img {
  border-radius: 8px;
  box-shadow: 0 28px 74px rgba(2, 7, 77, 0.16);
  position: relative;
  width: 100%;
  z-index: 1;
}

.faqs {
  background: var(--soft-paper);
}

.faq-heading {
  margin: 0 auto clamp(34px, 6vw, 70px);
  max-width: 900px;
  text-align: center;
}

.faq-heading p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

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

.faq-list details {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(2, 7, 77, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.faq-list details[open] {
  background: #fff;
  border-color: rgba(199, 154, 47, 0.6);
  box-shadow: 0 18px 46px rgba(2, 7, 77, 0.08);
}

.faq-list summary {
  align-items: center;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  font-weight: 850;
  gap: 18px;
  justify-content: space-between;
  list-style: none;
  padding: 24px clamp(20px, 4vw, 34px);
}

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

.faq-list summary strong {
  align-items: center;
  border: 1px solid rgba(2, 7, 77, 0.14);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 30px;
  justify-content: center;
  position: relative;
  width: 30px;
}

.faq-list summary strong::before,
.faq-list summary strong::after {
  background: var(--gold);
  content: "";
  height: 2px;
  position: absolute;
  width: 12px;
}

.faq-list summary strong::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-list details[open] summary strong::after {
  transform: rotate(0deg);
}

.faq-list details p {
  color: var(--muted);
  line-height: 1.72;
  margin: -4px 0 0;
  max-width: 800px;
  padding: 0 clamp(20px, 4vw, 34px) 26px;
}

.inquiry {
  background: var(--ink);
}

.inquiry-panel {
  background: var(--paper);
  display: grid;
  gap: clamp(30px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.56fr);
  padding: clamp(28px, 6vw, 70px);
}

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 22px;
}

.lead-form label {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
  margin-bottom: 0;
}

.lead-form label:first-child,
.lead-form label:nth-child(7),
.lead-form .full,
.lead-form .form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  background: #f9faf8;
  border: 1px solid rgba(16, 19, 26, 0.18);
  border-radius: 4px;
  color: var(--ink);
  display: block;
  font: inherit;
  margin-top: 7px;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 12px 0 0;
  text-align: center;
}

.form-note a {
  color: var(--navy);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(20px, 6vw, 84px);
}

.site-footer p {
  font-weight: 850;
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.resource-modal {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 40;
}

.resource-modal.is-open {
  display: block;
}

.resource-modal-backdrop {
  background: rgba(2, 7, 77, 0.68);
  inset: 0;
  position: absolute;
}

.resource-dialog {
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(2, 7, 77, 0.28);
  left: 50%;
  max-height: min(760px, calc(100vh - 40px));
  max-width: 900px;
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100vw - 32px), 900px);
}

.resource-dialog-copy {
  max-width: 620px;
}

.resource-close {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  padding: 9px 12px;
  position: absolute;
  right: 18px;
  top: 18px;
}

.resource-gate-form {
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  padding: 22px;
}

.resource-gate-form label {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
}

.resource-gate-form label:nth-child(4),
.resource-gate-form .full,
.resource-gate-form .form-note {
  grid-column: 1 / -1;
}

.tally-frame-wrap {
  background: #fff;
  border: 1px solid var(--line);
  margin-top: 28px;
  min-height: 640px;
  overflow: hidden;
}

.tally-frame-wrap iframe {
  border: 0;
  display: block;
  height: 720px;
  width: 100%;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 8px;
    left: 0;
    padding: 16px 20px 22px;
    position: absolute;
    right: 0;
    top: 75px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(2, 7, 77, 0.62), rgba(2, 7, 77, 0.92));
  }

  .hero-content {
    padding-bottom: 24px;
    padding-top: 18vh;
  }

  .hero-stats,
  .audience-strip,
  .split,
  .proof-layout,
  .section-heading-row,
  .parent-student,
  .about-layout,
  .inquiry-panel {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 0;
    margin-top: 16px;
  }

  .hero-stats div {
    align-items: baseline;
    display: flex;
    gap: 10px;
    padding: 8px 0;
  }

  .hero-stats dd {
    margin: 0;
  }

  .method-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .resource-theatre,
  .resource-preview-card {
    grid-template-columns: 1fr;
  }

  .resource-selector,
  .resource-stage {
    position: static;
  }

  .resource-choice {
    padding: 17px;
  }

  .resource-preview-card {
    border-radius: 8px 34px 8px 8px;
    min-height: auto;
  }

  .resource-preview-cover {
    min-height: 420px;
  }

  .resource-preview-cover img {
    width: min(68%, 230px);
  }

  .resource-preview-card:hover .sample-one,
  .resource-preview-card:focus-within .sample-one {
    transform: translate(calc(-50% - 42px), calc(-50% + 20px)) rotate(-5deg) scale(0.82);
  }

  .resource-preview-card:hover .sample-two,
  .resource-preview-card:focus-within .sample-two {
    transform: translate(calc(-50% + 42px), calc(-50% + 20px)) rotate(5deg) scale(0.82);
  }

  .resource-features {
    grid-template-columns: 1fr;
  }

  .about-signals div {
    grid-template-columns: 1fr;
  }

  .about-media::before {
    inset: 12px -10px -10px 10px;
  }

  .faq-heading {
    text-align: left;
  }

  .programs-heading {
    text-align: left;
  }

  .program-grid {
    margin-top: 38px;
  }

  .program-grid article {
    min-height: auto;
  }

  .program-icon {
    height: 62px;
    margin-bottom: 34px;
    width: 62px;
  }

  .program-icon svg {
    height: 29px;
    width: 29px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .resource-gate-form {
    grid-template-columns: 1fr;
  }

  .resource-gate-form label:nth-child(4),
  .resource-gate-form .full,
  .resource-gate-form .form-note {
    grid-column: auto;
  }

  .resource-dialog {
    max-height: calc(100vh - 24px);
    width: calc(100vw - 24px);
  }

  .proof-review {
    max-width: 420px;
  }

  .audience-strip a {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .parent-student {
    padding-left: 0;
    padding-right: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

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

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand-logo {
    height: 48px;
    width: 58px;
  }

  h1 {
    font-size: 2.38rem;
    margin-bottom: 18px;
  }

  .hero-copy {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-actions {
    margin: 24px 0 20px;
  }

  .hero-actions,
  .site-footer div {
    flex-direction: column;
  }

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