.institute-home {
  --home-paper: #f8f4eb;
  --home-cream: #ede3d0;
  --home-navy: #142333;
  --home-midnight: #101d2b;
  --home-text: #384552;
  --home-bronze: #755326;
  --home-gilt: #dec294;
  --home-rule: #c9bda7;
  --home-pine: #142e2b;
  --home-pine-surface: #1c3834;
  --home-pine-text: #dce6df;
  --home-serif: Baskerville, "Times New Roman", Georgia, serif;
  color-scheme: light;
  color: var(--home-navy);
  background: var(--home-paper);
}

.institute-home .masthead,
.institute-home .footer-site {
  color: #f8f4eb;
  background: var(--home-midnight);
  color-scheme: dark;
}

.institute-home .masthead {
  border-block: 3px solid #b3925f;
  border-block-end-width: 1px;
}

.institute-home main :focus-visible {
  outline: 2px solid var(--home-bronze);
  outline-offset: 4px;
}

.institute-home .wrap { width: min(1230px, calc(100% - 88px)); }

.home-opening {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(44px, 5.5vw, 82px);
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--home-bronze);
  font: 700 .69rem/1.5 system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-kicker::before {
  content: "";
  width: 17px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.institute-home main h1,
.institute-home main h2,
.institute-home main h3 {
  font-family: var(--home-serif);
  font-weight: 500;
  text-wrap: balance;
}

.institute-home main h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 4.85vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -.036em;
}

.institute-home main h2 {
  font-size: clamp(2rem, 3.65vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.institute-home main h3 { font-size: clamp(1.3rem, 1.8vw, 1.75rem); }

.home-intro,
.home-section-heading > p:last-child,
.home-admissions-copy > p:not(.home-kicker, .home-contact) {
  max-width: 48ch;
  color: var(--home-text);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.55;
  margin-top: 14px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 20px;
  margin-top: 22px;
}

.institute-home .home-primary {
  gap: 14px;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid var(--home-navy);
  border-radius: 3px;
  background: var(--home-navy);
  color: #fff9ef;
  box-shadow: none;
}

.institute-home .home-primary:is(:hover, :focus-visible) {
  background: #293e51;
  color: #fff9ef;
}

.home-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--home-navy);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-link:hover, .home-contact a:hover { color: var(--home-bronze); }

.home-welcome { min-width: 0; margin: 0; }

.home-film-cover {
  position: relative;
  display: block;
  border: 1px solid #87765f;
  border-radius: 3px;
  background: var(--home-navy);
  overflow: hidden;
  box-shadow: 0 15px 36px #2e251a1c;
}

.home-film-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.home-film-play {
  position: absolute;
  inset: auto auto 14px 14px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #dec29480;
  border-radius: 50%;
  background: var(--home-midnight);
  color: #fff9ef;
}

.home-film-cover:is(:hover, :focus-visible) .home-film-play {
  background: #293e51;
  border-color: var(--home-gilt);
}

.home-film-play::before {
  content: "";
  margin-inline-start: 3px;
  border-block: 7px solid transparent;
  border-inline-start: 11px solid currentColor;
}

.home-welcome figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1px 9px;
  padding: 8px 0 0;
  color: var(--home-text);
  font-size: .83rem;
}

.home-welcome figcaption strong { color: var(--home-navy); }

.home-ai {
  padding-block: clamp(42px, 6vw, 82px);
  border-block: 1px solid #5a7268;
  background: var(--home-pine);
  color: var(--home-paper);
}

.home-ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
}

.home-ai-copy h2 { max-width: 16ch; }
.home-ai-copy > p:not(.home-kicker) { max-width: 49ch; color: var(--home-pine-text); line-height: 1.6; }
.home-ai .home-kicker, .home-ai .home-link { color: var(--home-gilt); }
.home-ai .home-link { margin-top: 8px; }
.home-ai .home-link:hover { color: var(--home-paper); }
.institute-home .home-ai :focus-visible { outline-color: var(--home-gilt); }

.home-ai-example {
  padding: clamp(18px, 2.8vw, 32px);
  border: 1px solid #6b8376;
  border-radius: 4px;
  background: var(--home-pine-surface);
}

.home-ai-example-label {
  margin: 0;
  color: var(--home-gilt);
  font: 700 .72rem/1.4 system-ui, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.institute-home main .home-ai-example h3 {
  margin-top: 5px;
  font: 500 clamp(1.45rem, 2.2vw, 2rem)/1.15 var(--home-serif);
}

.home-ai-steps { margin: 13px 0 0; padding: 0 0 0 1.4rem; }
.home-ai-steps li { padding: 10px 0 10px 5px; border-bottom: 1px solid #61796e; }
.home-ai-steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.home-ai-steps li::marker { color: var(--home-gilt); font-size: .81rem; font-weight: 700; }
.home-ai-steps strong { display: block; font-size: .9rem; line-height: 1.4; }
.home-ai-steps span { display: block; margin-top: 3px; color: var(--home-pine-text); font-size: .86rem; line-height: 1.5; }

.home-study {
  padding-block: clamp(40px, 5.8vw, 78px);
  border-block-end: 1px solid var(--home-rule);
  background: var(--home-cream);
}

.home-practice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(19px, 3.2vw, 46px);
  margin-top: 23px;
}

.home-practice article { border-top: 1px solid #a08c6d; padding-top: 12px; }
.home-practice p { max-width: 36ch; margin-top: 7px; color: var(--home-text); line-height: 1.52; }
.home-sample { margin-top: 12px; }

.home-admissions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(25px, 6vw, 82px);
  padding-block: clamp(40px, 6vw, 82px);
}

.home-admissions-image { min-width: 0; border: 1px solid #8a765a; border-radius: 3px; overflow: hidden; }
.home-admissions-image img { width: 100%; aspect-ratio: 1.5; object-fit: cover; object-position: center; }
.home-contact { margin-top: 17px; color: var(--home-text); font-size: .9rem; }
.home-contact a { color: var(--home-navy); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 940px) {
  .institute-home .wrap { width: calc(100% - 52px); }
}

@media (max-width: 720px) {
  .institute-home .wrap { width: calc(100% - 38px); }
  .home-opening, .home-ai-layout, .home-admissions { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-opening { padding-block: 27px 30px; }
  .institute-home main h1 { max-width: 17ch; font-size: clamp(2.25rem, 9.6vw, 3.9rem); }
  .institute-home main h2 { font-size: clamp(1.95rem, 8vw, 2.85rem); }
  .home-actions { margin-top: 16px; }
  .home-practice { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .home-practice p { max-width: 52ch; }
  .home-admissions-image { order: 1; }
  .home-admissions-image img { aspect-ratio: 16 / 9; }
}

@media (max-width: 360px) {
  .home-actions { column-gap: 12px; }
  .institute-home .home-primary { gap: 9px; padding-inline: 13px; }
  .home-film-play { bottom: 10px; left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .institute-home .button { transition: none; }
}
