/* Canonical Velmora Academy design layer shared by every public surface. */
:root {
  --ve-bg: #070b12;
  --ve-surface: #0b1320;
  --ve-surface-card: rgba(11, 19, 32, .96);
  --ve-border: rgba(154, 121, 71, .28);
  --ve-gold: #9a7947;
  --ve-gold-soft: #cfb793;
  --ve-gold-bright: #e0ceb1;
  --ve-heading: #f3efe6;
  --ve-text-story: #e9e2d7;
  --ve-text: #d8d2c8;
  --ve-text-muted: #9ba8b8;
  --ve-focus: #c7a873;
  --ve-radius: 10px;
  --ve-max-width: 1300px;
}

body.ve-body {
  background:
    radial-gradient(circle at 50% -10%, rgba(154, 121, 71, .075), transparent 42%),
    #070b12;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline-color: var(--ve-focus) !important;
}

.ve-top-banner {
  min-height: 28px;
  padding-block: 5px;
  color: rgba(207, 183, 147, .78);
  background: #080d15;
  border-color: rgba(154, 121, 71, .22);
  font-family: var(--ve-font-serif);
  font-size: 11px;
  letter-spacing: .035em;
}

.ve-header {
  background: rgba(7, 11, 18, .965);
  border-color: rgba(154, 121, 71, .16);
}

.ve-header .ve-brand-subtitle {
  color: rgba(207, 183, 147, .68);
}

.ve-header .ve-nav-link {
  border-radius: 5px;
}

.ve-header .ve-nav-link:hover,
.ve-header .ve-nav-link.active {
  background: rgba(154, 121, 71, .12);
  border-color: rgba(154, 121, 71, .38);
  box-shadow: none;
  transform: none;
}

.ve-header .ve-nav-link-amazon {
  color: var(--ve-gold-soft) !important;
  background: rgba(154, 121, 71, .08) !important;
  border-color: rgba(154, 121, 71, .38) !important;
}

.ve-main-wrapper {
  padding-block: 28px 48px;
}

.ve-library-hero,
.ve-spotlight-card,
.ve-library-filters,
.ve-catalog-status,
.ve-empty-state {
  border-radius: var(--ve-radius);
}

.ve-library-hero {
  background:
    radial-gradient(circle at 50% 10%, rgba(154, 121, 71, .13), transparent 48%),
    rgba(10, 16, 27, .88);
  border-color: var(--ve-border);
}

.ve-library-kicker,
.ve-badge-row span {
  border-radius: 3px;
}

.ve-library-filters {
  border-color: rgba(154, 121, 71, .38);
}

.ve-search-field input,
.ve-library-filter-field select,
select,
select.ve-select {
  border-radius: 5px !important;
}

.ve-cinema-container {
  border-radius: 8px;
  border-color: rgba(154, 121, 71, .38);
}

.ve-cinema-teleprompter {
  border-radius: 6px;
  border-color: rgba(154, 121, 71, .4);
}

.ve-cinema-media-badge,
.ve-cinema-section-badge {
  border-radius: 3px;
}

.ve-section-nav-card,
.ve-learning-card,
.ve-sentence-card,
.ve-vocab-card,
.ve-quiz-block,
.ve-shadowing-card {
  border-radius: 7px;
}

.ve-listen-button {
  border-radius: 4px;
  color: var(--ve-gold-soft);
  background: rgba(154, 121, 71, .09);
  box-shadow: none;
  font-family: var(--ve-font-serif);
  font-style: italic;
}

.ve-card,
.ve-system-panel,
.ve-page-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .012), transparent 45%),
    var(--ve-surface-card);
  border: 1px solid var(--ve-border);
  border-radius: var(--ve-radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .42);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ve-card {
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.ve-card:hover {
  border-color: rgba(183, 154, 104, .58);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .52), 0 0 24px rgba(154, 121, 71, .08);
  transform: translateY(-3px);
}

.ve-btn {
  position: relative;
  min-height: 44px;
  padding: 9px 18px;
  overflow: hidden;
  color: #15120d;
  background: #b9945e;
  border: 1px solid #cdb181;
  border-radius: 6px;
  box-shadow: none;
  font-family: var(--ve-font-serif);
  font-weight: 700;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ve-btn::after {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  display: block !important;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
  transform: skewX(-25deg);
  transition: none;
}

.ve-btn:hover::after {
  left: 160%;
  transition: left .75s ease-in-out;
}

.ve-btn:hover {
  color: #0d0b08;
  background: #c8a873;
  border-color: #dfc79e;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .34), 0 0 18px rgba(201, 169, 115, .12);
  filter: none;
  transform: translateY(-2px) scale(1.02);
}

.ve-btn:active {
  transform: translateY(1px);
}

.ve-btn-outline {
  color: var(--ve-gold-soft) !important;
  background: rgba(8, 14, 23, .8) !important;
  border-color: rgba(154, 121, 71, .48) !important;
}

.ve-btn-outline:hover {
  color: var(--ve-heading) !important;
  background: rgba(154, 121, 71, .13) !important;
  border-color: rgba(183, 154, 104, .72) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .32), 0 0 18px rgba(183, 154, 104, .1) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

.ve-page-hero {
  margin-bottom: 28px;
  padding: clamp(22px, 3vw, 34px);
}

.ve-page-hero--visual {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  background-position: center;
  background-size: cover;
}

.ve-page-hero--visual::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 15, .52), rgba(5, 9, 15, .92));
  content: "";
}

.ve-page-hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
}

.ve-manuscript-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 5px 12px;
  color: var(--ve-gold-soft);
  background: rgba(8, 13, 21, .68);
  border: 1px solid rgba(154, 121, 71, .44);
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ve-page-title {
  margin: 0;
  color: var(--ve-heading);
  font: 700 clamp(30px, 4.2vw, 48px)/1.12 var(--ve-font-serif);
  text-wrap: balance;
}

.ve-page-lede {
  max-width: 820px;
  margin: 14px auto 0;
  color: var(--ve-text-story);
  font: italic 500 clamp(15.5px, 1.7vw, 18px)/1.65 var(--ve-font-story);
  text-wrap: pretty;
}

.ve-error-page {
  min-height: min(520px, 64vh);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.ve-system-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

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

.ve-canon-section {
  margin-bottom: 28px;
  padding: clamp(22px, 3vw, 32px);
}

.ve-canon-card {
  min-width: 0;
  padding: 18px;
  background: rgba(7, 13, 22, .74);
  border: 1px solid rgba(154, 121, 71, .24);
  border-left: 3px solid rgba(154, 121, 71, .48);
  border-radius: 5px;
}

.ve-canon-card h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.ve-canon-card p {
  margin: 0;
  color: var(--ve-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ve-section-heading {
  margin: 0 0 8px;
  font: 700 clamp(24px, 3vw, 32px)/1.2 var(--ve-font-serif);
}

.ve-section-intro {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--ve-text-muted);
  font-size: 14px;
}

.ve-feature-split {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  margin-bottom: 28px;
  padding: clamp(22px, 4vw, 42px);
}

.ve-chronicle-cover {
  display: block;
}

.ve-chronicle-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(154, 121, 71, .42);
  border-radius: 4px 9px 9px 4px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .5);
}

.ve-feature-subtitle {
  margin: -1px 0 13px;
  color: var(--ve-gold-soft);
  font: 600 clamp(17px, 2vw, 21px)/1.35 var(--ve-font-serif);
}

.ve-feature-copy {
  max-width: 720px;
  margin: 0;
  color: var(--ve-text-story);
  font-size: 15px;
  line-height: 1.7;
}

.ve-system-actions--start {
  justify-content: flex-start;
}

/* Restored homepage content, expressed through the canonical design system. */
.ve-feature-media {
  margin: 0;
  text-align: center;
}

.ve-feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(154, 121, 71, .42);
  border-radius: 5px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .5);
}

.ve-feature-media--wide img {
  aspect-ratio: 4 / 3;
}

.ve-feature-media--crest img {
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: rgba(7, 13, 22, .78);
}

.ve-feature-media figcaption {
  margin-top: 8px;
  color: var(--ve-gold-soft);
  font: italic 500 11px/1.35 var(--ve-font-serif);
}

.ve-home-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.ve-home-stat {
  padding: 14px;
  background: rgba(7, 13, 22, .72);
  border: 1px solid rgba(154, 121, 71, .24);
  border-radius: 5px;
}

.ve-home-stat strong,
.ve-home-stat span {
  display: block;
}

.ve-home-stat strong {
  color: var(--ve-heading);
  font: 700 23px/1 var(--ve-font-serif);
}

.ve-home-stat span {
  margin-top: 6px;
  color: var(--ve-text-muted);
  font-size: 11px;
  line-height: 1.35;
}

.ve-campus-map {
  display: block;
  width: min(760px, 100%);
  margin: 0 auto 22px;
}

.ve-campus-map img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(154, 121, 71, .42);
  border-radius: 5px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .48);
}

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

.ve-canon-grid--landmarks .ve-canon-card:last-child {
  grid-column: 1 / -1;
}

.ve-heraldry-list {
  display: grid;
  gap: 10px;
}

.ve-heraldry-list > div {
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(154, 121, 71, .2);
}

.ve-heraldry-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ve-heraldry-list strong {
  color: var(--ve-gold-soft);
  font-family: var(--ve-font-serif);
}

.ve-heraldry-list p {
  margin: 4px 0 0;
  color: var(--ve-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ve-feature-split--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
}

.ve-canon-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.ve-home-cta {
  margin-bottom: 28px;
  padding: clamp(28px, 5vw, 52px);
  text-align: center;
}

.ve-home-cta .ve-section-heading,
.ve-home-cta .ve-page-lede {
  margin-inline: auto;
}

/* Canon-grounded story homepage. */
.ve-story-home-hero {
  min-height: 510px;
}

.ve-story-home-hero .ve-page-hero-content {
  width: min(920px, 100%);
}

.ve-story-hero-facts {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 26px auto 0;
  padding: 0;
  overflow: hidden;
  background: rgba(154, 121, 71, .34);
  border: 1px solid rgba(183, 154, 104, .46);
  border-radius: 5px;
}

.ve-story-hero-facts > div {
  padding: 11px 14px;
  background: rgba(5, 9, 15, .86);
}

.ve-story-hero-facts dt {
  color: var(--ve-heading);
  font: 700 23px/1 var(--ve-font-serif);
}

.ve-story-hero-facts dd {
  margin: 5px 0 0;
  color: var(--ve-gold-soft);
  font: 600 10px/1.25 var(--ve-font-serif);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ve-story-intro {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
}

.ve-story-frame {
  min-width: 0;
  margin: 0;
}

.ve-story-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(154, 121, 71, .42);
  border-radius: 5px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .5);
}

.ve-story-frame figcaption {
  margin-top: 8px;
  color: var(--ve-gold-soft);
  font: italic 500 11px/1.4 var(--ve-font-serif);
  text-align: center;
}

.ve-story-frame--study img {
  aspect-ratio: 4 / 5;
}

.ve-story-prose {
  max-width: 720px;
  margin: 15px 0 0;
  color: var(--ve-text-muted);
  font-size: 14px;
  line-height: 1.68;
}

.ve-story-prose strong {
  color: var(--ve-gold-soft);
}

.ve-story-seal-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(154, 121, 71, .26);
}

.ve-story-seal-line span {
  color: var(--ve-gold-soft);
  font: 700 10px/1.35 var(--ve-font-serif);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ve-story-seal-line strong {
  color: var(--ve-text-story);
  font: 600 12.5px/1.4 var(--ve-font-serif);
}

.ve-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.ve-location-card,
.ve-character-card {
  min-width: 0;
  overflow: hidden;
  background: rgba(7, 13, 22, .76);
  border: 1px solid rgba(154, 121, 71, .26);
  border-radius: 6px;
}

.ve-location-card img,
.ve-character-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.7;
  object-fit: cover;
  border-bottom: 1px solid rgba(154, 121, 71, .24);
}

.ve-location-card > div,
.ve-character-card > div {
  padding: 18px;
}

.ve-location-card span,
.ve-character-card span,
.ve-story-arc-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--ve-gold-soft);
  font: 700 10px/1.2 var(--ve-font-serif);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ve-location-card h3,
.ve-character-card h3,
.ve-story-arc-grid h3 {
  margin: 0 0 7px;
  color: var(--ve-heading);
  font: 700 20px/1.25 var(--ve-font-serif);
}

.ve-location-card p,
.ve-character-card p,
.ve-story-arc-grid p {
  margin: 0;
  color: var(--ve-text-muted);
  font-size: 13px;
  line-height: 1.58;
}

.ve-location-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: stretch;
}

.ve-location-card--wide img {
  height: 100%;
  aspect-ratio: auto;
  border-right: 1px solid rgba(154, 121, 71, .24);
  border-bottom: 0;
}

.ve-location-card--wide > div {
  display: grid;
  align-content: center;
  padding: clamp(22px, 3vw, 34px);
}

.ve-campus-map-card {
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
}

.ve-location-card--wide.ve-campus-map-card img {
  grid-column: 2;
  grid-row: 1;
  height: 420px;
  min-height: 0;
  object-fit: contain;
  background: #050a12;
  border-right: 0;
  border-left: 1px solid rgba(154, 121, 71, .24);
}

.ve-campus-map-card > div {
  grid-column: 1;
  grid-row: 1;
}

.ve-campus-fullbleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 28px;
  overflow: hidden;
  background: #050a12;
  border-block: 1px solid rgba(154, 121, 71, .28);
}

.ve-campus-gate-fullbleed > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 970 / 600;
  object-fit: contain;
}

.ve-campus-gate-fullbleed::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 8, 14, .02), rgba(4, 8, 14, .16));
}

.ve-campus-fullbleed-copy {
  position: absolute;
  z-index: 1;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: clamp(32px, 5vw, 76px);
  width: min(500px, 40vw);
  padding: clamp(22px, 3vw, 36px);
  color: var(--ve-text-story);
  background: rgba(5, 10, 18, .86);
  border: 1px solid rgba(183, 154, 104, .42);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .46);
}

.ve-campus-gate-fullbleed .ve-campus-fullbleed-copy {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  padding: clamp(26px, 3vw, 38px) max(24px, calc((100vw - 760px) / 2));
  text-align: center;
  transform: none;
  background:
    radial-gradient(circle at 50% 0, rgba(82, 132, 194, .1), transparent 42%),
    linear-gradient(180deg, #08111e, #060c15);
  border-width: 1px 0 0;
  border-radius: 0;
  box-shadow:
    inset 0 1px rgba(214, 181, 123, .06),
    inset 0 18px 44px rgba(0, 0, 0, .2);
  backdrop-filter: none;
}

.ve-campus-gate-fullbleed .ve-campus-fullbleed-copy .ve-icon-label {
  justify-content: center;
}

.ve-campus-fullbleed-copy p:last-child,
.ve-campus-map-heading > p:last-child {
  margin: 0;
  color: var(--ve-text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ve-campus-map-fullscreen {
  width: 100vw;
  height: 100svh;
  min-height: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(38px, 5vw, 76px) clamp(22px, 4vw, 64px);
  background:
    radial-gradient(circle at 50% 48%, rgba(36, 49, 69, .32), transparent 58%),
    #050a12;
}

.ve-campus-map-heading {
  z-index: 1;
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}

.ve-campus-map-heading .ve-section-heading {
  margin-bottom: 10px;
}

.ve-campus-map-figure {
  min-height: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 0;
  place-items: center;
}

.ve-campus-map-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 24px 54px rgba(0, 0, 0, .58));
}

.ve-campus-map-figure figcaption {
  color: var(--ve-gold-soft);
  font: 700 9.5px/1.3 var(--ve-font-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ve-story-small-locations {
  margin-top: 0;
}

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

.ve-character-card {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr);
}

.ve-character-card img {
  height: 100%;
  aspect-ratio: auto;
  border-right: 1px solid rgba(154, 121, 71, .24);
  border-bottom: 0;
}

.ve-character-card > div {
  display: grid;
  align-content: center;
}

.ve-story-mystery {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.ve-story-beats {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: story-beat;
}

.ve-story-beats li {
  counter-increment: story-beat;
  display: grid;
  grid-template-columns: 34px minmax(130px, .48fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid rgba(154, 121, 71, .2);
}

.ve-story-beats li::before {
  content: counter(story-beat, decimal-leading-zero);
  color: var(--ve-gold-soft);
  font: 700 12px/1 var(--ve-font-serif);
}

.ve-story-beats strong {
  color: var(--ve-heading);
  font: 700 14px/1.35 var(--ve-font-serif);
}

.ve-story-beats span {
  color: var(--ve-text-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.ve-story-arc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.ve-story-arc-grid article {
  padding: 17px;
  background: rgba(7, 13, 22, .74);
  border: 1px solid rgba(154, 121, 71, .24);
  border-top: 3px solid rgba(154, 121, 71, .48);
  border-radius: 5px;
}

.ve-story-arc-grid h3 {
  font-size: 17px;
}

.ve-full-chronicle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.ve-story-final-cta {
  background:
    linear-gradient(rgba(7, 11, 18, .86), rgba(7, 11, 18, .96)),
    url("../images/academy-grand-gate-v3.7b666dd3d674.webp") center / cover;
}

/* Institutional homepage: the Academy itself, not the novel synopsis. */
.ve-academy-home-hero {
  min-height: 560px;
  text-align: left;
}

.ve-academy-hero-layout {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
}

.ve-academy-hero-portrait {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  text-align: center;
}

.ve-academy-hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(207, 183, 147, .5);
  border-radius: 6px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .62);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s ease, box-shadow .35s ease;
}

.ve-academy-hero-portrait:hover img {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(223, 199, 158, .82);
  box-shadow: 0 26px 58px rgba(0, 0, 0, .68), 0 0 28px rgba(183, 154, 104, .12);
}

.ve-academy-hero-seal {
  margin: 0;
  text-align: center;
}

.ve-academy-hero-seal img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: rgba(5, 9, 15, .78);
  border: 1px solid rgba(207, 183, 147, .5);
  border-radius: 6px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .62);
}

.ve-academy-hero-seal--right {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  isolation: isolate;
}

.ve-academy-hero-seal--right::before {
  position: absolute;
  z-index: 0;
  inset: -9px -8px 14px;
  content: "";
  opacity: 0;
  pointer-events: none;
  background: conic-gradient(from 0deg, transparent, rgba(216, 190, 159, .56), rgba(94, 168, 255, .2), transparent 44%, rgba(196, 105, 255, .18), rgba(216, 190, 159, .48), transparent);
  border-radius: 10px;
  filter: blur(8px);
  transition: opacity .35s ease;
  animation: ve-magic-orbit 7s linear infinite paused;
}

.ve-academy-hero-seal--right::after {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: -8px;
  content: "✦";
  color: #efd9b6;
  opacity: 0;
  pointer-events: none;
  font-size: 18px;
  text-shadow: 0 0 8px #fff, 0 0 18px rgba(94, 168, 255, .82), 0 0 28px rgba(196, 105, 255, .58);
  transform: translateY(8px) scale(.5) rotate(-20deg);
  transition: opacity .28s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}

.ve-academy-hero-seal--right img {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 390px;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s ease, box-shadow .35s ease, filter .35s ease;
}

.ve-academy-hero-seal--right figcaption {
  position: relative;
  z-index: 1;
}

.ve-academy-hero-seal--right:hover::before {
  opacity: .72;
  animation-play-state: running;
}

.ve-academy-hero-seal--right:hover::after {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(12deg);
}

.ve-academy-hero-seal--right:hover img {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(232, 208, 170, .88);
  filter: brightness(1.08) saturate(1.06);
  box-shadow: 0 28px 62px rgba(0, 0, 0, .68), 0 0 22px rgba(216, 190, 159, .2), 0 0 38px rgba(94, 168, 255, .1);
}

.ve-academy-hero-seal figcaption,
.ve-academy-hero-portrait figcaption,
.ve-academy-seal-display figcaption {
  margin-top: 9px;
  color: var(--ve-gold-soft);
  font: 700 9.5px/1.3 var(--ve-font-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ve-academy-hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ve-academy-hero-copy .ve-page-lede {
  margin-inline: 0;
}

.ve-academy-hero-subtitle {
  margin: 7px 0 0;
  color: var(--ve-gold-soft);
  font: 600 clamp(16px, 2vw, 21px)/1.35 var(--ve-font-serif);
  letter-spacing: .035em;
}

.ve-academy-about {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.ve-academy-about .ve-story-frame img {
  height: auto;
  aspect-ratio: 970 / 600;
  object-fit: contain;
  object-position: center;
}

.ve-academy-motto {
  margin: 20px 0 0;
  padding: 14px 18px;
  color: var(--ve-gold-bright);
  background: rgba(154, 121, 71, .08);
  border-left: 3px solid rgba(183, 154, 104, .58);
  font: italic 600 15px/1.55 var(--ve-font-serif);
}

.ve-academy-values {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.ve-academic-grid article {
  min-width: 0;
  padding: 20px;
  background: rgba(7, 13, 22, .74);
  border: 1px solid rgba(154, 121, 71, .24);
  border-top: 3px solid rgba(154, 121, 71, .48);
  border-radius: 5px;
}

.ve-academic-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--ve-gold-soft);
  font: 700 9.5px/1.2 var(--ve-font-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ve-academic-grid h3,
.ve-academic-path h3 {
  margin: 0 0 7px;
  color: var(--ve-heading);
  font: 700 18px/1.28 var(--ve-font-serif);
}

.ve-academic-grid p,
.ve-academic-path p {
  margin: 0;
  color: var(--ve-text-muted);
  font-size: 13px;
  line-height: 1.58;
}

.ve-academy-library {
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
}

.ve-academic-path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ve-academic-path article {
  min-width: 0;
  padding: 17px;
  background: rgba(7, 13, 22, .74);
  border: 1px solid rgba(154, 121, 71, .24);
  border-radius: 5px;
}

.ve-academic-path > article > span {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  place-items: center;
  color: var(--ve-gold-soft);
  border: 1px solid rgba(183, 154, 104, .48);
  font: 700 12px/1 var(--ve-font-serif);
}

.ve-academy-seal-section {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
  align-items: stretch;
}

.ve-academy-seal-section--text {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.ve-academy-seal-section--text .ve-heraldry-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}

.ve-academy-seal-section--text .ve-heraldry-list > div:last-child {
  grid-column: 1 / -1;
}

.ve-academy-seal-display {
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  text-align: center;
}

.ve-academy-seal-display img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: rgba(7, 13, 22, .78);
  border: 1px solid rgba(154, 121, 71, .42);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .5);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.ve-academy-seal-display:hover img {
  transform: translateY(-3px);
  border-color: rgba(207, 183, 147, .72);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .58), 0 0 24px rgba(183, 154, 104, .1);
}

.ve-canon-card,
.ve-academic-grid article,
.ve-academic-path article,
.ve-location-card {
  position: relative;
  isolation: isolate;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.ve-canon-card::before,
.ve-academic-grid article::before,
.ve-academic-path article::before,
.ve-location-card::before {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 11px;
  content: "✦";
  color: #efd9b6;
  opacity: 0;
  pointer-events: none;
  font-size: 15px;
  text-shadow: 0 0 8px rgba(255, 255, 255, .9), 0 0 17px rgba(94, 168, 255, .74), 0 0 26px rgba(196, 105, 255, .46);
  transform: translateY(7px) scale(.45) rotate(-18deg);
  transition: opacity .22s ease, transform .32s cubic-bezier(.16, 1, .3, 1);
}

.ve-canon-card::after,
.ve-academic-grid article::after,
.ve-academic-path article::after,
.ve-location-card::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at 88% 10%, rgba(128, 188, 255, .16), transparent 23%), radial-gradient(circle at 12% 90%, rgba(202, 135, 255, .1), transparent 28%);
  transition: opacity .3s ease;
}

.ve-location-card img {
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), filter .35s ease;
}

.ve-canon-card:hover,
.ve-academic-grid article:hover,
.ve-academic-path article:hover,
.ve-location-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 154, 104, .56);
  background: rgba(12, 21, 34, .88);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .42), 0 0 22px rgba(183, 154, 104, .12), 0 0 34px rgba(94, 168, 255, .07);
}

.ve-canon-card:hover::before,
.ve-academic-grid article:hover::before,
.ve-academic-path article:hover::before,
.ve-location-card:hover::before {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(12deg);
  animation: ve-magic-pulse 1.8s ease-in-out infinite;
}

.ve-canon-card:hover::after,
.ve-academic-grid article:hover::after,
.ve-academic-path article:hover::after,
.ve-location-card:hover::after {
  opacity: 1;
}

.ve-location-card:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

@keyframes ve-magic-orbit {
  to { transform: rotate(360deg); }
}

@keyframes ve-magic-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.45); }
}

.ve-academy-admissions {
  background:
    linear-gradient(rgba(7, 11, 18, .84), rgba(7, 11, 18, .96)),
    url("../images/academy-grand-gate-v3.7b666dd3d674.webp") center / cover;
}

.ve-matriculation-hero-grid {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.ve-matriculation-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(154, 121, 71, .42);
  border-radius: 4px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .5);
}

.ve-matriculation-lede {
  margin-inline: 0;
}

.ve-matriculation-featured {
  background: rgba(14, 23, 37, .98) !important;
  border-color: rgba(183, 154, 104, .62) !important;
}

.ve-matriculation-ribbon {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 5px 11px;
  color: var(--ve-heading);
  background: #725a38;
  border: 1px solid rgba(207, 183, 147, .58);
  border-radius: 3px;
  font: 700 10px/1.2 var(--ve-font-serif);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ve-compact-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ve-compact-chapter {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 14px;
  color: inherit;
  background: rgba(7, 13, 22, .72);
  border: 1px solid rgba(154, 121, 71, .24);
  border-radius: 5px;
  text-decoration: none;
}

.ve-compact-chapter > span {
  grid-row: 1 / 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ve-gold-soft);
  border: 1px solid rgba(183, 154, 104, .48);
  font: 700 15px/1 var(--ve-font-serif);
}

.ve-compact-chapter strong {
  color: var(--ve-heading);
  font: 700 14px/1.28 var(--ve-font-serif);
}

.ve-compact-chapter small {
  color: var(--ve-text-muted);
  font: italic 500 10.5px/1.2 var(--ve-font-serif);
}

.ve-compact-chapter:hover,
.ve-compact-chapter:focus-visible {
  border-color: rgba(183, 154, 104, .62);
  background: rgba(154, 121, 71, .08);
}

.ve-history-hero {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.ve-history-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(154, 121, 71, .42);
  border-radius: 4px;
}

.ve-history-lede {
  max-width: 790px;
  margin: 14px 0 0;
  color: var(--ve-text-story);
  font: italic 500 15.5px/1.68 var(--ve-font-story);
}

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

.ve-chronicle-list li {
  min-width: 0;
}

.ve-chronicle-entry {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 126px;
  padding: 16px;
  color: inherit;
  background: rgba(7, 13, 22, .72);
  border: 1px solid rgba(154, 121, 71, .24);
  border-left: 3px solid rgba(154, 121, 71, .42);
  border-radius: 5px;
  text-decoration: none;
}

.ve-chronicle-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ve-gold-soft);
  border: 1px solid rgba(183, 154, 104, .5);
  font: 700 16px/1 var(--ve-font-serif);
}

.ve-chronicle-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.ve-chronicle-copy small {
  color: var(--ve-text-muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ve-chronicle-copy strong {
  color: var(--ve-heading);
  font: 700 16px/1.3 var(--ve-font-serif);
}

.ve-chronicle-copy em {
  overflow: hidden;
  color: var(--ve-text-muted);
  font: italic 500 11.5px/1.4 var(--ve-font-serif);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ve-chronicle-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ve-gold-soft);
  font: italic 600 11.5px/1.2 var(--ve-font-serif);
  white-space: nowrap;
}

.ve-chronicle-open .ve-icon {
  width: 14px;
  height: 14px;
}

.ve-chronicle-entry:hover,
.ve-chronicle-entry:focus-visible {
  background: rgba(154, 121, 71, .08);
  border-color: rgba(183, 154, 104, .58);
}

.ve-book-overview {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 34px);
  margin-bottom: 32px;
  padding: clamp(22px, 3vw, 32px);
}

.ve-book-overview-cover {
  width: 100%;
  align-self: stretch;
}

.ve-book-overview-cover-frame {
  height: 100%;
  min-height: 330px;
  overflow: hidden;
  background: #080e17;
  border: 1px solid rgba(154, 121, 71, .42);
  border-radius: 4px 9px 9px 4px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .52);
}

.ve-book-overview-cover-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ve-book-overview-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.ve-book-overview-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ve-system-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  color: var(--ve-gold-soft);
  background: rgba(154, 121, 71, .09);
  border: 1px solid rgba(154, 121, 71, .34);
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.ve-book-overview-title {
  margin: 0 0 7px;
  font: 700 clamp(25px, 3vw, 34px)/1.23 var(--ve-font-serif);
  text-wrap: balance;
}

.ve-book-title-canonical-link {
  color: inherit;
  text-decoration: none;
}

.ve-book-title-canonical-link:hover,
.ve-book-title-canonical-link:focus-visible {
  color: #fff8e9;
  text-shadow: 0 0 18px rgba(212, 163, 115, .22);
  outline: none;
}

.ve-book-overview-byline {
  margin: 0 0 12px;
  color: var(--ve-gold-soft);
  font-size: 12.5px;
}

.ve-book-overview-description {
  max-width: 820px;
  margin: 0;
  color: var(--ve-text-story);
  font: italic 500 15.5px/1.68 var(--ve-font-story);
}

.ve-book-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 20px 0;
}

.ve-book-fact {
  padding: 11px 12px;
  background: rgba(7, 13, 22, .58);
  border: 1px solid rgba(154, 121, 71, .2);
  border-radius: 4px;
}

.ve-book-fact strong,
.ve-book-fact span {
  display: block;
}

.ve-book-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ve-book-fact strong {
  color: var(--ve-heading);
  font: 700 17px/1.25 var(--ve-font-serif);
}

.ve-book-fact span {
  margin-top: 3px;
  color: var(--ve-text-muted);
  font-size: 10.5px;
}

.ve-global-footer {
  padding-block: 46px 24px;
  background: #05090f;
  border-color: rgba(154, 121, 71, .18);
}

.ve-footer-grid {
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  margin-bottom: 36px;
}

.ve-footer-brand {
  margin-bottom: 14px;
}

.ve-footer-brand .ve-brand-logo {
  width: 38px;
  height: 38px;
}

.ve-footer-brand .ve-brand-title {
  font-size: 17px;
}

.ve-footer-motto {
  margin-top: 3px;
  color: var(--ve-gold-soft);
  font: italic 500 10px/1.3 var(--ve-font-serif);
  letter-spacing: .06em;
}

.ve-footer-description {
  max-width: 430px;
  margin: 0;
  color: var(--ve-text-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.ve-footer-heading {
  margin: 0 0 14px;
  color: var(--ve-heading);
  font: 700 14px/1.25 var(--ve-font-serif);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.ve-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ve-footer-links li + li {
  margin-top: 7px;
}

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

.ve-footer-links a:hover {
  color: var(--ve-gold-soft) !important;
}

.ve-footer-legal-links {
  display: flex;
  gap: 9px 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .ve-canon-grid,
  .ve-book-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .ve-chronicle-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-character-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .ve-academy-values,
  .ve-academic-grid,
  .ve-academic-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ve-main-wrapper {
    padding-block: 14px 28px;
  }

  .ve-page-hero--visual {
    min-height: 440px;
    padding: 24px 18px;
  }

  .ve-system-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ve-system-actions .ve-btn {
    width: 100%;
    padding-inline: 10px;
  }

  .ve-book-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-feature-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-feature-split--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-feature-split--reverse > .ve-feature-media {
    grid-row: 1;
  }

  .ve-feature-split--reverse > .ve-story-frame {
    grid-row: 1;
  }

  .ve-story-intro,
  .ve-story-mystery,
  .ve-location-grid,
  .ve-full-chronicle-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-location-card--wide {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-location-card--wide img {
    height: auto;
    aspect-ratio: 16 / 8.7;
    border-right: 0;
    border-bottom: 1px solid rgba(154, 121, 71, .24);
  }

  .ve-location-card--wide.ve-campus-map-card img,
  .ve-location-card--wide.ve-campus-map-card > div {
    grid-column: auto;
    grid-row: auto;
  }

  .ve-location-card--wide.ve-campus-map-card img {
    height: 280px;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    border-left: 0;
  }

  .ve-campus-fullbleed {
    margin-bottom: 20px;
  }

  .ve-campus-gate-fullbleed > img {
    height: auto;
  }

  .ve-campus-gate-fullbleed::after {
    display: none;
  }

  .ve-campus-fullbleed-copy {
    position: static;
    width: auto;
    padding: 24px 22px 26px;
    background: #08111e;
    border-width: 1px 0 0;
    box-shadow: none;
  }

  .ve-campus-gate-fullbleed .ve-campus-fullbleed-copy {
    width: auto;
    text-align: center;
    transform: none;
    backdrop-filter: none;
  }

  .ve-campus-map-fullscreen {
    height: auto;
    min-height: 0;
    gap: 20px;
    padding: 32px 18px 26px;
  }

  .ve-campus-map-figure {
    height: auto;
  }

  .ve-campus-map-figure img {
    height: auto;
    aspect-ratio: 1;
  }

  .ve-story-home-hero .ve-system-actions .ve-btn:first-child {
    grid-column: 1 / -1;
  }

  .ve-story-frame--study {
    width: min(72vw, 320px);
    margin-inline: auto;
  }

  .ve-academy-hero-layout,
  .ve-academy-about,
  .ve-academy-library,
  .ve-academy-seal-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-academy-home-hero {
    min-height: 700px;
    text-align: center;
  }

  .ve-academy-hero-seal {
    grid-row: 1;
    width: 150px;
    margin-inline: auto;
  }

  .ve-academy-hero-seal--right {
    height: auto;
  }

  .ve-academy-hero-seal--right img {
    height: auto;
    min-height: 0;
  }

  .ve-academy-hero-copy {
    grid-row: 2;
  }

  .ve-academy-hero-portrait {
    width: min(58vw, 220px);
    height: auto;
    margin-inline: auto;
  }

  .ve-academy-hero-portrait img {
    height: 280px;
    min-height: 0;
  }

  .ve-academy-hero-copy .ve-page-lede {
    margin-inline: auto;
  }

  .ve-academy-hero-copy .ve-system-actions {
    justify-content: center;
  }

  .ve-academy-seal-display {
    grid-row: 1;
    width: min(54vw, 220px);
    height: auto;
    margin-inline: auto;
  }

  .ve-academy-seal-display img {
    height: auto;
  }

  .ve-academy-seal-section--text .ve-heraldry-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-academy-seal-section--text .ve-heraldry-list > div:last-child {
    grid-column: auto;
  }

  .ve-matriculation-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-matriculation-hero-image {
    width: min(68vw, 260px);
    margin-inline: auto;
  }

  .ve-history-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-history-hero-image {
    width: min(68vw, 260px);
    margin-inline: auto;
  }

  .ve-chronicle-cover {
    width: min(66vw, 260px);
    margin-inline: auto;
  }

  .ve-book-overview-cover {
    width: min(74vw, 280px);
    margin-inline: auto;
  }

  .ve-book-overview-cover-frame {
    min-height: 0;
    aspect-ratio: 2 / 3;
  }

  .ve-book-overview-copy {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .ve-canon-grid,
  .ve-book-facts,
  .ve-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-home-stat-grid,
  .ve-canon-grid--landmarks,
  .ve-canon-grid--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-canon-grid--landmarks .ve-canon-card:last-child {
    grid-column: auto;
  }

  .ve-canon-card {
    padding: 15px;
  }

  .ve-footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .ve-compact-chapters {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-story-hero-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-story-hero-facts > div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }

  .ve-story-hero-facts dd {
    margin: 0;
  }

  .ve-character-card,
  .ve-story-arc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-character-card img {
    height: auto;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid rgba(154, 121, 71, .24);
  }

  .ve-story-beats li {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .ve-story-beats span {
    grid-column: 2;
  }

  .ve-academy-values,
  .ve-academic-grid,
  .ve-academic-path {
    grid-template-columns: minmax(0, 1fr);
  }

  .ve-academic-path article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
  }

  .ve-academic-path > article > span {
    margin: 0;
  }

  .ve-chronicle-entry {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 112px;
    padding: 14px;
  }

  .ve-chronicle-number {
    width: 44px;
    height: 44px;
  }

  .ve-chronicle-open {
    grid-column: 2;
  }
}

@media (max-width: 359px) {
  .ve-system-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ve-card,
  .ve-btn,
  .ve-academy-hero-portrait img,
  .ve-academy-hero-seal--right img,
  .ve-academy-hero-seal--right::before,
  .ve-academy-hero-seal--right::after,
  .ve-academy-seal-display img,
  .ve-canon-card,
  .ve-canon-card::before,
  .ve-canon-card::after,
  .ve-academic-grid article,
  .ve-academic-grid article::before,
  .ve-academic-grid article::after,
  .ve-academic-path article,
  .ve-academic-path article::before,
  .ve-academic-path article::after,
  .ve-location-card,
  .ve-location-card::before,
  .ve-location-card::after,
  .ve-location-card img {
    transition: none;
  }

  .ve-card:hover,
  .ve-btn:hover,
  .ve-academy-hero-portrait:hover img,
  .ve-academy-hero-seal--right:hover img,
  .ve-academy-hero-seal--right:hover::after,
  .ve-academy-seal-display:hover img,
  .ve-canon-card:hover,
  .ve-academic-grid article:hover,
  .ve-academic-path article:hover,
  .ve-location-card:hover,
  .ve-location-card:hover img {
    transform: none !important;
  }

  .ve-academy-hero-seal--right::before,
  .ve-canon-card:hover::before,
  .ve-academic-grid article:hover::before,
  .ve-academic-path article:hover::before,
  .ve-location-card:hover::before {
    animation: none;
  }
}
