@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-italic-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070605;
  --bg-deep: #050403;
  --bg-elevated: #161412;
  --card: #201e1a;
  --ink: #f4efe4;
  --muted: #b5aa96;
  --gold: #d4b56a;
  --gold-deep: #c4a35a;
  --ink-on-gold: #1c1812;
  --line: rgb(255 255 255 / 9%);
  --line-strong: rgb(255 255 255 / 14%);
  --glow: rgb(196 163 90 / 22%);
  --wrap: 72rem;
  --header-h: 4.35rem;
  --sans: "Source Sans 3", "Source Sans Pro", ui-sans-serif, system-ui, sans-serif;
  --serif: "Fraunces", "Times New Roman", Times, serif;
  --radius: 1rem;
  --ease-liturgical: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--bg);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html.motion-ok body {
    animation: page-enter 0.9s var(--ease-liturgical) both;
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 50% -8%, var(--glow), transparent 58%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 35;
  background: var(--bg);
}

body.nav-open .site-header {
  backdrop-filter: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: rgb(212 181 106 / 28%);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink-on-gold);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgb(7 6 5 / 88%);
  backdrop-filter: blur(16px);
  transition: height 320ms var(--ease-liturgical), background-color 320ms ease;
}

.site-header.is-compact {
  --header-h: 3.5rem;
  background: rgb(7 6 5 / 94%);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.wordmark:hover {
  color: var(--gold);
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--gold-deep);
  border-radius: 0.35rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ink);
  transition: width 320ms var(--ease-liturgical), height 320ms var(--ease-liturgical);
}

.site-header.is-compact .wordmark-mark {
  width: 1.45rem;
  height: 1.45rem;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  margin-inline: auto;
  background: currentColor;
  content: "";
  transition: transform 280ms var(--ease-liturgical), opacity 200ms ease;
}

.nav-toggle-bars::before {
  transform: translateY(-5px);
}

.nav-toggle-bars::after {
  transform: translateY(3.5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-1.5px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  margin-right: 0.35rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--gold-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink-on-gold);
}

.btn-gold:hover {
  background: #e2c88a;
  color: var(--ink-on-gold);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--gold-deep);
  color: var(--gold);
}

.header-enter {
  min-height: 2.5rem;
  padding-inline: 1.05rem;
  font-size: 0.86rem;
}

main {
  padding-bottom: 6.5rem;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100dvh - var(--header-h));
  padding: 5.5rem 0 6.5rem;
}

.hero-inner {
  position: relative;
  z-index: 1;
  will-change: transform;
}

.hero-veil {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--bg);
  transform-origin: top;
}

html.motion-ok .hero-veil {
  display: block;
  transform: translateY(0);
}

html.motion-ok .hero.is-in .hero-veil,
html.motion-ok .page-hero.is-in .hero-veil {
  transform: translateY(-101%);
  transition: transform 1.2s var(--ease-liturgical);
}

.kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section h2,
.vision h2,
.enrollments h2,
.sanctum h2,
.platform h2,
.works h2,
.carry h2,
.panel h3,
.card h3,
.enrollment h3,
.closing h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero h1 {
  margin: 1.25rem 0 0;
  max-width: 14ch;
  font-size: clamp(2.7rem, 8vw, 5.4rem);
  line-height: 0.92;
}

.hero h1 span {
  color: var(--muted);
}

.lede,
.hero .lede {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.14rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.85rem;
}

.work-of {
  margin: 1.35rem 0 0;
  max-width: 36rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.5;
}

.measure {
  max-width: 40rem;
}

.measure p {
  margin: 0;
}

.measure p + p {
  margin-top: 1.05em;
}

.section,
.vision,
.enrollments,
.platform,
.works,
.carry {
  padding: 6rem 0 0;
}

.section h2,
.vision h2,
.enrollments h2,
.platform h2,
.works h2,
.carry h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
}

.section .lede,
.vision .lede,
.enrollments .lede,
.platform .lede,
.works .lede,
.carry .lede {
  margin-top: 0.95rem;
}

.vision h2 {
  max-width: 18ch;
}

.mission {
  padding: 7.5rem 0 6.5rem;
}

.mission .wrap {
  max-width: 46rem;
}

.mission-heading {
  margin: 0.85rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.mission-statement {
  margin: 1.75rem 0 0;
  max-width: 22.5em;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.42;
  color: var(--ink);
}

html.motion-ok .mission[data-reveal] .mission-statement {
  opacity: 0;
  transform: translateY(1.1rem);
}

html.motion-ok .mission.is-in .mission-statement {
  opacity: 1;
  transform: none;
  transition: opacity 1.15s var(--ease-liturgical) 0.12s, transform 1.15s var(--ease-liturgical) 0.12s;
}

.triptych {
  display: grid;
  gap: 0;
  margin-top: 3.25rem;
  border-top: 1px solid var(--line);
}

.enrollment {
  padding: 2.6rem 0 2.8rem;
  border-top: 1px solid var(--line);
  background: transparent;
  transition: transform 480ms var(--ease-liturgical), background-color 480ms ease;
}

.enrollment:first-child {
  border-top: 0;
}

.enrollment-numeral {
  margin: 0 0 1.15rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.28em;
}

.enrollment h3 {
  margin: 0.45rem 0 0;
  font-size: 1.65rem;
}

.enrollment p:last-child {
  margin: 0.85rem 0 0;
  color: var(--muted);
  max-width: 34rem;
}

@media (hover: hover) {
  .enrollment:hover {
    transform: translateY(-0.4rem);
  }
}

.enrollment:focus-visible {
  transform: translateY(-0.4rem);
  outline-offset: 6px;
}


.sanctum {
  margin-top: 7rem;
  padding: 7.25rem 0 6.75rem;
  background:
    radial-gradient(900px 420px at 50% -10%, rgb(196 163 90 / 16%), transparent 62%),
    var(--bg-deep);
  border-block: 1px solid var(--line);
}

.sanctum-inner {
  max-width: 42rem;
}

.lemma {
  margin: 1.35rem 0 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
}

.lemma-page {
  margin-top: 1.6rem;
  font-size: clamp(2.1rem, 7vw, 3.8rem);
}

.sanctum-rule {
  width: 3.25rem;
  height: 1px;
  margin: 1.75rem 0 0;
  background: var(--gold);
}

.sanctum h2 {
  margin: 1.5rem 0 0;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.sanctum .lede {
  max-width: 34rem;
}

html.motion-ok .sanctum .lemma,
html.motion-ok .page-hero .lemma {
  opacity: 0;
  letter-spacing: 0.32em;
  transform: translateY(0.45rem);
}

html.motion-ok .sanctum.is-in .lemma,
html.motion-ok .page-hero.is-in .lemma {
  opacity: 1;
  letter-spacing: 0.14em;
  transform: none;
  transition:
    opacity 1.45s var(--ease-liturgical) 0.18s,
    letter-spacing 1.65s var(--ease-liturgical) 0.18s,
    transform 1.45s var(--ease-liturgical) 0.18s;
}

.platform {
  padding-top: 6.5rem;
}

.works {
  padding-top: 6.5rem;
}

.works .card {
  background: var(--bg-elevated);
}

.split {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 760px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .triptych {
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid var(--line);
  }

  .enrollment {
    padding: 2.75rem 1.85rem 3rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .enrollment:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .enrollment:last-child {
    padding-right: 0;
  }
}

.card,
.panel,
.scripture {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.card,
.panel {
  padding: 1.45rem 1.4rem 1.5rem;
}

.card .kicker,
.panel .kicker {
  font-size: 0.64rem;
}

.card h3,
.panel h3 {
  margin: 0.55rem 0 0;
  font-size: 1.45rem;
}

.card p,
.panel p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.price {
  margin-top: 1.1rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.price span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0;
}

.principles,
.carry-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.principles li,
.carry-list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.85rem;
  padding: 0.95rem 1.15rem;
  border-top: 1px solid var(--line);
}

.principles li:first-child,
.carry-list li:first-child {
  border-top: 0;
}

.principles .n,
.carry-list .n {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.4;
}

.carry-list .n {
  letter-spacing: 0.12em;
}

.principles strong,
.carry-list strong {
  display: block;
  font-weight: 600;
}

.principles span,
.carry-list span:not(.n) {
  color: var(--muted);
  font-size: 0.92rem;
}

.scripture {
  margin-top: 1.5rem;
  max-width: 42rem;
  padding: 1.3rem 1.35rem 1.35rem;
  border-left: 2px solid var(--gold-deep);
}

.scripture-liturgy {
  max-width: 44rem;
  padding: 2rem 1.7rem 1.7rem;
  background: var(--bg-deep);
}

.scripture p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.7;
}

.scripture-liturgy p {
  font-size: 1.2rem;
  line-height: 1.75;
}

.scripture-liturgy p + p {
  margin-top: 1em;
}

.scripture cite {
  display: block;
  margin-top: 0.85rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.term {
  font-style: italic;
}

.titles {
  display: grid;
  gap: 0.55rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .titles {
    grid-template-columns: 1fr 1fr;
  }
}

.titles li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.titles strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
}

.page-hero {
  padding: 4.25rem 0 0.5rem;
}

.page-hero h1 {
  margin: 0.95rem 0 0;
  max-width: 28rem;
  font-size: clamp(2.3rem, 5.8vw, 3.85rem);
  line-height: 0.96;
}

.page-matheteuo .page-hero h1 {
  max-width: none;
}

.closing {
  margin-top: 4.5rem;
  padding: 2.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.15);
  background:
    linear-gradient(160deg, rgb(196 163 90 / 12%), transparent 46%),
    var(--bg-elevated);
  text-align: center;
}

.closing h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.closing p {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  color: var(--muted);
}

.closing .cta-row {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: grid;
  gap: 1.4rem;
}

.footer-brand {
  color: var(--ink);
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-note a {
  color: inherit;
}

.footer-note a:hover {
  color: var(--gold);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
}

html.motion-ok [data-reveal]:not(.hero):not(.page-hero) {
  opacity: 0;
  transform: translateY(1.15rem);
}

html.motion-ok [data-reveal]:not(.hero):not(.page-hero).is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.95s var(--ease-liturgical) var(--reveal-delay, 0ms),
    transform 0.95s var(--ease-liturgical) var(--reveal-delay, 0ms);
}

html.motion-ok [data-reveal="sanctum"] {
  transform: translateY(1.6rem);
}

html.motion-ok [data-reveal="sanctum"].is-in {
  transition-duration: 1.25s, 1.25s;
}

html.motion-ok .hero [data-hero-stagger],
html.motion-ok .page-hero [data-hero-stagger] {
  opacity: 0;
  transform: translateY(0.85rem);
}

html.motion-ok .hero.is-in [data-hero-stagger],
html.motion-ok .page-hero.is-in [data-hero-stagger] {
  opacity: 1;
  transform: none;
  transition: opacity 0.95s var(--ease-liturgical), transform 0.95s var(--ease-liturgical);
}

html.motion-ok .hero.is-in [data-hero-stagger]:nth-child(1),
html.motion-ok .page-hero.is-in [data-hero-stagger]:nth-child(1) {
  transition-delay: 0.28s;
}

html.motion-ok .hero.is-in [data-hero-stagger]:nth-child(2),
html.motion-ok .page-hero.is-in [data-hero-stagger]:nth-child(2) {
  transition-delay: 0.42s;
}

html.motion-ok .hero.is-in [data-hero-stagger]:nth-child(3),
html.motion-ok .page-hero.is-in [data-hero-stagger]:nth-child(3) {
  transition-delay: 0.56s;
}

html.motion-ok .hero.is-in [data-hero-stagger]:nth-child(4),
html.motion-ok .page-hero.is-in [data-hero-stagger]:nth-child(4) {
  transition-delay: 0.7s;
}

html.motion-ok .hero.is-in [data-hero-stagger]:nth-child(5),
html.motion-ok .page-hero.is-in [data-hero-stagger]:nth-child(5) {
  transition-delay: 0.84s;
}

@media (min-width: 820px) {
  .site-footer .wrap {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }

  .footer-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    order: 3;
  }

  .header-enter {
    order: 2;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.45rem);
    transition: opacity 280ms var(--ease-liturgical), transform 280ms var(--ease-liturgical), visibility 280ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
  }

  .wordmark-text {
    letter-spacing: 0.18em;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(calc(100% - 1.75rem), var(--wrap));
  }

  .hero {
    padding-top: 3.25rem;
    min-height: calc(92dvh - var(--header-h));
  }

  .cta-row .btn {
    width: 100%;
  }

  .header-enter {
    padding-inline: 0.85rem;
  }

  .wordmark {
    letter-spacing: 0.14em;
    font-size: 0.64rem;
  }

  .mission {
    padding: 5rem 0 4.25rem;
  }

  .sanctum {
    margin-top: 4.5rem;
    padding: 4.75rem 0 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.motion-ok [data-reveal],
  html.motion-ok [data-reveal].is-in,
  html.motion-ok .hero [data-hero-stagger],
  html.motion-ok .page-hero [data-hero-stagger],
  html.motion-ok .sanctum .lemma,
  html.motion-ok .page-hero .lemma,
  html.motion-ok .mission[data-reveal] .mission-statement {
    opacity: 1 !important;
    transform: none !important;
    letter-spacing: inherit;
  }

  .hero-veil {
    display: none !important;
  }

  .enrollment:hover,
  .enrollment:focus-visible {
    transform: none;
  }
}
