/* Adaptive production layer loaded after the base styles. */
:root {
  --fluid-root: clamp(15px, calc(10.25px + 0.34vw), 20px);
  --rail-width: 12rem;
  --content-width: 76rem;
  --section-space: clamp(5.5rem, 8vw, 9rem);
}
html {
  font-size: var(--fluid-root);
  text-rendering: optimizeLegibility;
}
body {
  font-size: 1rem;
}
:is(a, button, input, textarea, select):focus-visible {
  outline: 2px solid #c44943;
  outline-offset: 3px;
}
.rail {
  width: var(--rail-width);
  padding: 2.2rem 1.35rem 1.35rem;
  background:
    radial-gradient(
      circle at 50% 12%,
      rgba(120, 23, 24, 0.12),
      transparent 23%
    ),
    #070605;
}
.seal {
  width: 3.75rem;
  height: 3.75rem;
  font-size: 1.8rem;
}
.brand b {
  margin-top: 1rem;
  font-size: 0.88rem;
}
.brand small {
  margin-top: 0.42rem;
  font-size: 0.55rem;
}
.rail nav {
  margin-top: 3.6rem;
  gap: 0.2rem;
}
.rail nav a {
  padding: 0.75rem 0.25rem;
  font-size: 0.7rem;
}
.rail-actions {
  gap: 0.55rem;
  margin-top: 2rem;
}
.rail-actions a {
  min-height: 2.55rem;
  font-size: 0.68rem;
}
.primary,
.secondary {
  min-height: 3.15rem;
  padding: 0 1.55rem;
  font-size: 0.7rem;
}
.rail blockquote {
  margin: 1.7rem 0 0;
  padding: 1.15rem 0.8rem;
  font-size: 0.72rem;
}
body:has(> .rail) > main {
  margin-left: var(--rail-width);
}
.hero {
  min-height: min(54rem, 92vh);
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.9fr);
  place-items: center stretch;
  text-align: left;
  padding: 4rem clamp(2rem, 5vw, 6.5rem);
  isolation: isolate;
  background:
    radial-gradient(
      circle at 72% 38%,
      rgba(139, 25, 27, 0.17),
      transparent 31%
    ),
    linear-gradient(
      110deg,
      #080706 14%,
      rgba(8, 7, 6, 0.96) 50%,
      rgba(8, 7, 6, 0.68) 100%
    );
}
.hero:after {
  display: none;
}
.hero:before {
  width: 42%;
  height: 100%;
  left: -13%;
  opacity: 0.18;
}
.hero-media {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 43%;
  margin: 0;
  overflow: hidden;
}
.hero-media:before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #080706 0%,
      rgba(8, 7, 6, 0.78) 22%,
      rgba(8, 7, 6, 0.18) 63%,
      rgba(8, 7, 6, 0.55) 100%
    ),
    linear-gradient(
      0deg,
      #080706 0%,
      transparent 28%,
      rgba(8, 7, 6, 0.12) 78%,
      #080706 100%
    );
}
.hero-media:after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  box-shadow: inset 0 0 8rem #080706;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.75) contrast(1.06) brightness(0.74);
}
.sigil {
  z-index: 4;
  top: 14%;
  left: clamp(2rem, 5vw, 6.5rem);
  width: 3.2rem;
  height: 3.2rem;
}
.hero-copy {
  margin: 5rem 0 0;
  max-width: 47rem;
  padding: 0;
}
.hero-copy > p,
.section-head p,
.event-card p,
.course-copy > p,
.service-grid article > p,
.mini-grid article > p,
.post-card p,
.modal form > p {
  font-size: 0.64rem;
}
.hero h1 {
  max-width: 46rem;
  margin: 1.25rem 0;
  font-size: clamp(3.25rem, 4.2vw, 5.15rem);
  line-height: 1.02;
  text-wrap: balance;
}
.hero-copy > span {
  max-width: 39rem;
  margin: 1.7rem 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #aca198;
}
.hero-copy > div {
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 2.15rem;
}
.principles,
.section,
.footer {
  width: min(var(--content-width), calc(100% - 5rem));
  max-width: none;
}
.principles {
  margin-top: 2.5rem;
}
.principles article {
  min-height: 8.2rem;
  gap: 1.35rem;
  padding: 1.6rem 2rem;
}
.principles i {
  width: 2.45rem;
  height: 2.45rem;
}
.principles b {
  font-size: 0.78rem;
}
.principles p {
  font-size: 0.76rem;
  line-height: 1.6;
}
.section {
  padding-top: var(--section-space);
}
.section-head {
  grid-template-columns: 1fr minmax(20rem, 31rem);
  gap: clamp(3rem, 6vw, 7rem);
  margin-bottom: 3rem;
}
.section-head h2 {
  font-size: clamp(2.45rem, 3vw, 3.55rem);
}
.section-head > span {
  font-size: 0.9rem;
}
.open-dot {
  font-size: 0.65rem !important;
}
.event-card {
  min-height: 13.5rem;
  grid-template-columns: 9.5rem 1fr 3.5rem;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.18);
}
.event-card time b {
  font-size: 3.75rem;
}
.event-card time span {
  font-size: 0.64rem;
}
.event-card > div {
  padding: 2rem 2.6rem;
}
.event-card h3 {
  font-size: 1.8rem;
}
.event-card div > span {
  font-size: 0.84rem;
}
.course-list article {
  min-height: 15rem;
  grid-template-columns: 8rem 1fr 11rem;
  gap: 1.4rem;
  position: relative;
  overflow: hidden;
}
.course-list .course-1 {
  background: url("course-study.webp") right center/45% 100% no-repeat;
}
.course-list .course-1:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #080706 0%,
    rgba(8, 7, 6, 0.88) 60%,
    rgba(8, 7, 6, 0.28) 100%
  );
  pointer-events: none;
}
.course-list .step,
.course-list .course-copy,
.course-list article > a {
  position: relative;
  z-index: 2;
}
.step span {
  width: 4.1rem;
  height: 4.1rem;
  font-size: 1.55rem;
}
.course-copy h3 {
  font-size: 1.75rem;
}
.course-copy > span {
  max-width: 42rem;
  display: block;
  font-size: 0.84rem;
}
.course-copy div {
  font-size: 1.1rem;
}
.service-grid article {
  min-height: 24rem;
  padding: 2.4rem 2.1rem 2rem;
}
.service-grid article > i {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.4rem;
}
.service-grid h3,
.mini-grid h3 {
  font-size: 1.45rem;
}
.service-grid article > span {
  font-size: 0.82rem;
}
.service-grid footer b,
.mini-grid footer b {
  font-size: 1.15rem;
}
.service-grid footer a,
.service-grid footer .service-more,
.mini-grid footer a {
  font-size: 0.65rem;
}
.mini-grid {
  gap: 0.9rem;
}
.mini-grid article {
  min-height: 20.5rem;
  padding: 1.25rem;
}
.mini-grid article > small {
  font-size: 0.68rem;
}
.mini-art {
  height: 8.5rem;
}
.mini-art i {
  width: 5.2rem;
  height: 5.2rem;
}
.mini-grid h3 {
  font-size: 1.2rem;
}
.post-grid {
  gap: 0.9rem;
}
.post-art {
  height: 14rem;
  position: relative;
  overflow: hidden;
}
.featured .post-art {
  min-height: 21rem;
}
.post-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.7);
}
.post-art:has(img):after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 7, 6, 0.18),
    rgba(77, 12, 14, 0.28)
  );
}
.post-art i {
  position: relative;
  z-index: 2;
  font-size: 4rem;
}
.post-art:has(img) i {
  opacity: 0.32;
}
.post-card > div:last-child {
  padding: 1.7rem;
}
.post-card h3 {
  font-size: 1.35rem;
}
.featured h3 {
  font-size: 1.8rem;
}
.post-card div > span {
  font-size: 0.78rem;
}
.post-card small {
  font-size: 0.62rem;
}
.manifesto {
  min-height: 36rem;
  margin-top: 9rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(106, 16, 17, 0.2), transparent 35%),
    linear-gradient(180deg, #090706, #0b0807);
}
.manifesto > p {
  font-size: 0.72rem;
}
.manifesto h2 {
  font-size: 2.55rem;
}
.footer {
  min-height: 18rem;
  padding: 4rem 0 3rem;
  gap: 3.2rem;
  font-size: 0.7rem;
}
.footer nav b {
  font-size: 0.75rem;
}
.modal-box {
  width: min(62rem, 100%);
}
.modal-date {
  min-height: 38rem;
  background:
    linear-gradient(rgba(11, 7, 6, 0.28), rgba(11, 7, 6, 0.75)),
    url("hero-academy.webp") center/cover;
}
.modal form {
  padding: 3.2rem;
}
.modal form h2 {
  font-size: 2rem;
}
.modal form > span {
  font-size: 0.82rem;
}
.modal label {
  font-size: 0.7rem;
}
.modal input {
  height: 2.8rem;
}
.modal form small {
  font-size: 0.65rem;
}

/* Course page */
.course-top {
  height: 4.4rem !important;
  padding: 0 2.2rem !important;
}
.course-top a,
.course-top span {
  font-size: 0.68rem !important;
}
.course-title,
.player {
  width: min(88rem, calc(100% - 4rem));
  max-width: none !important;
}
.course-title {
  min-height: 11rem;
  padding: 2.5rem 2.8rem !important;
}
.course-title p {
  font-size: 0.65rem !important;
}
.course-title h1 {
  font-size: 2.7rem !important;
}
.course-title > span {
  font-size: 0.7rem !important;
}
.player {
  grid-template-columns: 22rem minmax(0, 1fr) !important;
}
.lesson-list {
  padding: 2rem 1.4rem 5rem 0 !important;
}
.lesson-list > p {
  font-size: 0.76rem !important;
}
.lesson-link {
  min-height: 4.8rem !important;
  grid-template-columns: 2.2rem 1fr 1.5rem !important;
  padding: 0.75rem 0.9rem !important;
}
.lesson-link > span {
  font-size: 0.68rem !important;
}
.lesson-link b {
  font-size: 0.82rem !important;
}
.lesson-link small,
.freeze {
  font-size: 0.64rem !important;
}
.lesson-body {
  max-width: 61rem !important;
  padding: 2.7rem 3.2rem 7rem !important;
}
.video {
  aspect-ratio: 16/9 !important;
  background:
    linear-gradient(rgba(8, 6, 5, 0.3), rgba(8, 6, 5, 0.62)),
    url("course-study.webp") center/cover !important;
  overflow: hidden;
}
.lesson-body > p.kicker {
  font-size: 0.63rem !important;
}
.lesson-body > h2 {
  font-size: 2.25rem !important;
}
.lesson-content {
  font-size: 1.02rem !important;
}
.lesson-content p {
  margin: 0 0 1.15em;
}
.lesson-content h2,
.lesson-content h3,
.lesson-content h4 {
  margin: 1.6em 0 0.65em;
  color: #d7cbc0;
  font-family: Georgia, serif;
  font-weight: normal;
  line-height: 1.22;
}
.lesson-content h3 {
  font-size: 1.45rem;
}
.lesson-content h4 {
  font-size: 1.18rem;
}
.lesson-content blockquote {
  margin: 1.6em 0;
  padding: 0.45em 0 0.45em 1.4em;
  border-left: 2px solid #9f3430;
  color: #c2b4a7;
  font-style: italic;
}
.lesson-content ul,
.lesson-content ol {
  padding-left: 1.5em;
}
.lesson-content li {
  margin-bottom: 0.45em;
}
.lesson-content a {
  color: #c57f6c;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.lesson-content figure {
  margin: 2.2em 0;
}
.lesson-content img,
.lesson-content video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  object-fit: contain;
  background: #050403;
  border: 1px solid #35231e;
}
.lesson-content video {
  width: 100%;
  aspect-ratio: 16/9;
}
.lesson-content audio {
  display: block;
  width: 100%;
  margin: 1.5em 0;
}
.lesson-content figcaption {
  padding-top: 0.7em;
  color: #746a62;
  font: 0.72rem/1.45 Arial, sans-serif;
  text-align: center;
}
.completion,
.homework {
  padding: 2.4rem !important;
}
.completion p,
.homework p {
  font-size: 0.82rem !important;
}
.consult {
  padding: 1.8rem 2rem !important;
}
.consult h3 {
  font-size: 1.25rem !important;
}
.consult span {
  font-size: 0.67rem !important;
}

/* Course information */
.course-detail {
  margin-left: var(--rail-width) !important;
}
.detail-hero {
  width: min(76rem, calc(100% - 4rem));
  max-width: none !important;
  min-height: 32rem !important;
  padding: 4.5rem 2.8rem !important;
}
.detail-hero h1 {
  font-size: 3.25rem !important;
}
.detail-hero p {
  font-size: 1rem !important;
}
.detail-art {
  height: 23rem !important;
  background:
    linear-gradient(rgba(20, 14, 12, 0.15), rgba(20, 14, 12, 0.6)),
    url("course-study.webp") center/cover !important;
}
.detail-grid {
  width: min(72rem, 100%);
  max-width: none !important;
  grid-template-columns: 1fr 25rem !important;
  gap: 4rem !important;
}
.detail-copy h2 {
  font-size: 2.1rem !important;
}
.detail-copy p {
  font-size: 0.96rem !important;
}
.lesson-preview b {
  font-size: 0.82rem !important;
}
.lesson-preview small {
  font-size: 0.66rem !important;
}
.tier-box {
  padding: 1.6rem !important;
}
.tier-box h3 {
  font-size: 1.4rem !important;
}
.tier b {
  font-size: 0.82rem !important;
}
.tier strong {
  font-size: 1rem !important;
}
.tier p {
  font-size: 0.68rem !important;
}
.tier-box > small {
  font-size: 0.62rem !important;
}

/* Authentication */
.auth-art {
  background:
    linear-gradient(rgba(9, 7, 6, 0.22), rgba(9, 7, 6, 0.72)),
    url("hero-academy.webp") center/cover !important;
}
.auth-art h1 {
  font-size: 2.45rem !important;
}
.auth-art p {
  font-size: 0.9rem !important;
}
.auth-form form {
  width: min(31rem, 100%) !important;
}
.auth-form > a,
.auth-form .kicker,
.auth-form > form > p,
.auth-form label,
.switch-auth,
.errors {
  font-size: 0.72rem !important;
}
.auth-form h2 {
  font-size: 2.2rem !important;
}
.auth-form input {
  height: 3rem !important;
}

/* Blog reader */
.reader {
  max-width: 49rem !important;
  padding: 3rem 3.2rem 7rem !important;
}
.reader .back {
  font-size: 0.68rem !important;
}
.reader header p {
  font-size: 0.66rem !important;
}
.reader h1 {
  font-size: 3.15rem !important;
}
.reader header span {
  font-size: 1rem !important;
}
.article-art {
  height: 23rem !important;
  background:
    linear-gradient(rgba(10, 7, 6, 0.08), rgba(10, 7, 6, 0.46)),
    url("editorial-blog.webp") center 35% / cover !important;
}
.article-art i {
  opacity: 0.32;
}
.reader > .content {
  font-size: 1.03rem !important;
}
.reader > .content h2 {
  font-size: 2rem !important;
}
.reader > .content blockquote {
  font-size: 1.25rem !important;
}
.next span,
.next a {
  font-size: 0.66rem !important;
}
.next h3 {
  font-size: 1.5rem !important;
}

/* Browser installer */
.wrap {
  width: min(60rem, 100%) !important;
  grid-template-columns: 20rem 1fr !important;
}
.wrap > .intro,
.wrap > .form {
  padding: 2.8rem !important;
}
.wrap .seal {
  width: 5.2rem !important;
  height: 5.2rem !important;
  font-size: 2.4rem !important;
  margin-bottom: 3.2rem !important;
}
.wrap .intro h1 {
  font-size: 2.15rem !important;
}
.wrap .intro p {
  font-size: 0.82rem !important;
}
.wrap .requirements span {
  font-size: 0.66rem !important;
}
.wrap .form h2 {
  font-size: 1.8rem !important;
}
.wrap .form > p {
  font-size: 0.78rem !important;
}
.wrap label {
  font-size: 0.65rem !important;
}
.wrap input,
.wrap select {
  height: 3rem !important;
  font-size: 0.78rem !important;
}
.wrap button {
  height: 3.1rem !important;
  font-size: 0.66rem !important;
}
.wrap .errors {
  font-size: 0.68rem !important;
}

/* Utility pages */
.profile-page {
  max-width: 45rem !important;
  padding: 4rem 2rem 7rem !important;
}
.profile-page > a {
  font-size: 0.68rem !important;
}
.profile-page h1 {
  font-size: 2.65rem !important;
}
.profile-page p {
  font-size: 0.78rem !important;
}
.profile-page form {
  gap: 1rem !important;
}
.profile-page label {
  font-size: 0.68rem !important;
}
.profile-page input,
.profile-page select {
  height: 3rem !important;
  font-size: 0.8rem !important;
}
.profile-page .primary {
  width: 13rem !important;
}
.legal-page {
  max-width: 50rem !important;
  padding: 4rem 2rem 8rem !important;
}
.legal-page .back {
  font-size: 0.68rem !important;
}
.legal-page h1 {
  font-size: 3rem !important;
}
.legal-page > .content {
  font-size: 1rem !important;
  line-height: 1.85 !important;
}
.result,
.gate {
  width: min(36rem, calc(100% - 2rem)) !important;
  margin-left: 0 !important;
  padding: 3.5rem 2.5rem !important;
}
.box {
  width: min(36rem, calc(100% - 2rem)) !important;
  padding: 3.5rem 2.5rem !important;
}
.result i,
.gate i {
  font-size: 3.2rem !important;
}
.result h1,
.box h1,
.gate h1 {
  font-size: 2.2rem !important;
}
.result p,
.box p,
.gate p {
  font-size: 0.82rem !important;
}
.gate a {
  margin-top: 1.4rem !important;
}

/* Member dashboard */
.top {
  height: 5rem !important;
  padding: 0 2.5rem !important;
}
.top > a {
  font-size: 0.82rem !important;
}
.top > div {
  font-size: 0.7rem !important;
}
.shell {
  grid-template-columns: 15.5rem minmax(0, 1fr) !important;
  min-height: calc(100vh - 5rem) !important;
}
.nav {
  padding: 2.5rem 1.35rem !important;
}
.nav a {
  min-height: 3.2rem !important;
  padding: 1rem !important;
  font-size: 0.76rem !important;
}
.shell > .content {
  max-width: 78rem !important;
  padding: 4rem 3.5rem 7rem !important;
}
.welcome p,
.welcome > a {
  font-size: 0.76rem !important;
}
.welcome h1 {
  font-size: 2.45rem !important;
}
.continue {
  min-height: 21rem !important;
}
.continue .art {
  position: relative;
  background:
    linear-gradient(rgba(25, 19, 17, 0.25), rgba(25, 19, 17, 0.66)),
    url("course-study.webp") center/cover !important;
}
.continue .art i {
  position: relative;
  z-index: 2;
}
.continue > div:last-child {
  padding: 2.7rem 3rem !important;
}
.continue p,
.programs > p {
  font-size: 0.65rem !important;
}
.continue h2 {
  font-size: 1.8rem !important;
}
.continue span {
  font-size: 0.72rem !important;
}
.panel {
  padding: 1.7rem !important;
}
.panel > p {
  font-size: 0.66rem !important;
}
.panel h3 {
  font-size: 1.3rem !important;
}
.panel table {
  font-size: 0.7rem !important;
}
.programs h2 {
  font-size: 1.55rem !important;
}
.program-grid h3 {
  font-size: 1rem !important;
}
.program-grid small {
  font-size: 0.68rem !important;
}
.program-grid b {
  font-size: 0.9rem !important;
}

@media (min-width: 1800px) {
  .principles,
  .section,
  .footer {
    width: min(80rem, calc(100% - 8rem));
  }
}
@media (max-width: 1180px) and (min-width: 901px) {
  :root {
    --rail-width: 10rem;
  }
  .principles,
  .section,
  .footer {
    width: min(var(--content-width), calc(100% - 3.5rem));
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 42rem;
  }
  .hero h1 {
    font-size: 3.4rem;
  }
}
@media (max-width: 900px) {
  body:has(> .rail) > main {
    margin-left: 0;
    padding-top: 4.5rem;
  }
  .mobile-top {
    height: 4.5rem;
    padding: 0 1.2rem;
  }
  .mobile-top nav.open {
    top: 4.5rem;
  }
  .mobile-top nav a {
    font-size: 0.72rem;
  }
  .hero {
    min-height: 47rem;
    display: flex;
    align-items: flex-end;
    padding: 5rem 2.2rem 6rem;
  }
  .hero-media {
    inset: 0;
  }
  .hero-media:before {
    background: linear-gradient(
      0deg,
      #080706 4%,
      rgba(8, 7, 6, 0.72) 43%,
      rgba(8, 7, 6, 0.32) 74%,
      #080706 100%
    );
  }
  .hero-media img {
    object-position: 62% center;
  }
  .hero-copy {
    margin: 0;
    max-width: 43rem;
  }
  .sigil {
    top: 8%;
    left: 2.2rem;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 7vw, 4rem);
  }
  .principles,
  .section,
  .footer {
    width: min(var(--content-width), calc(100% - 3rem));
    max-width: none;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .player {
    grid-template-columns: 18rem 1fr !important;
  }
  .lesson-body {
    padding: 2rem !important;
  }
  .course-detail {
    margin-left: 0 !important;
    padding-top: 4.5rem !important;
  }
  .detail-grid {
    grid-template-columns: 1fr !important;
  }
  .tier-box {
    position: static !important;
  }
}
@media (max-width: 750px) {
  .shell {
    display: block !important;
  }
  .nav {
    display: flex !important;
    overflow: auto;
    padding: 0.6rem !important;
  }
  .nav a {
    flex: 0 0 10rem;
  }
  .shell > .content {
    padding: 2.4rem 1rem 5rem !important;
  }
  .welcome {
    display: block;
  }
  .welcome h1 {
    font-size: 2rem !important;
  }
  .continue {
    grid-template-columns: 1fr !important;
  }
  .art {
    min-height: 13rem;
  }
  .grid,
  .program-grid {
    grid-template-columns: 1fr !important;
  }
  .auth-art {
    min-height: 21rem !important;
  }
  .wrap {
    grid-template-columns: 1fr !important;
  }
  .wrap > .intro,
  .wrap > .form {
    padding: 2.2rem 1.4rem !important;
  }
  .wrap .seal {
    margin-bottom: 1.5rem !important;
  }
}
@media (max-width: 620px) {
  .principles,
  .section,
  .footer {
    width: calc(100% - 2rem);
    max-width: none;
  }
  .hero {
    min-height: 43rem;
    padding: 5rem 1.15rem 4.2rem;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }
  .hero-copy > span {
    font-size: 0.94rem;
    line-height: 1.65;
  }
  .hero-copy > div {
    align-items: stretch;
  }
  .hero-copy > div > * {
    width: 100%;
  }
  .section {
    padding-top: 5.5rem;
  }
  .section-head h2 {
    font-size: 2.25rem;
  }
  .section-head > span {
    font-size: 0.88rem;
  }
  .principles article {
    min-height: 7rem;
    padding: 1.35rem;
  }
  .event-card {
    grid-template-columns: 5.4rem 1fr 2.2rem;
  }
  .event-card > div {
    padding: 1.35rem 0.9rem;
  }
  .event-card h3 {
    font-size: 1.35rem;
  }
  .event-card div > span {
    font-size: 0.76rem;
  }
  .course-list article {
    grid-template-columns: 4.8rem 1fr;
    min-height: 0;
    gap: 0.5rem;
  }
  .course-copy h3 {
    font-size: 1.45rem;
  }
  .course-copy > span {
    font-size: 0.8rem;
  }
  .service-grid article {
    min-height: 20rem;
  }
  .mini-grid article {
    min-height: 18rem;
  }
  .mini-art {
    height: 7rem;
  }
  .post-card h3,
  .featured h3 {
    font-size: 1.35rem;
  }
  .post-card div > span {
    font-size: 0.8rem;
  }
  .manifesto {
    min-height: 31rem;
    margin-top: 6rem;
    padding-inline: 1.25rem;
  }
  .manifesto h2 {
    font-size: 2rem;
  }
  .modal form {
    padding: 2rem 1.25rem;
  }
  .course-title,
  .player {
    width: 100% !important;
  }
  .course-top {
    height: 4rem !important;
    padding: 0 0.8rem !important;
  }
  .course-top a,
  .course-top span {
    font-size: 0.58rem !important;
  }
  .course-title {
    display: block !important;
    padding: 2rem 1.15rem !important;
  }
  .course-title h1 {
    font-size: 2.2rem !important;
  }
  .player {
    display: block !important;
  }
  .lesson-list {
    border-right: 0 !important;
    padding: 1rem !important;
  }
  .lesson-body {
    padding: 1.2rem 1rem 5rem !important;
  }
  .lesson-body > h2 {
    font-size: 1.9rem !important;
  }
  .lesson-content {
    font-size: 0.96rem !important;
  }
  .consult {
    display: block !important;
  }
  .consult a {
    margin-top: 1rem;
  }
  .detail-hero {
    width: 100% !important;
    padding: 3.2rem 1.2rem !important;
    grid-template-columns: 1fr !important;
  }
  .detail-hero h1 {
    font-size: 2.35rem !important;
  }
  .detail-art {
    height: 16rem !important;
    margin-top: 2rem;
  }
  .detail-body {
    padding: 3rem 1rem !important;
  }
  .reader {
    padding: 2.5rem 1.15rem 5rem !important;
  }
  .reader h1 {
    font-size: 2.3rem !important;
  }
  .reader > .content {
    font-size: 0.98rem !important;
  }
  .reader > .content blockquote {
    font-size: 1.1rem !important;
  }
  .article-art {
    height: 17rem !important;
    margin-inline: 0 !important;
  }
  .profile-page,
  .legal-page {
    padding: 2.5rem 1.15rem 5rem !important;
  }
  .profile-page h1,
  .legal-page h1 {
    font-size: 2.25rem !important;
  }
  .profile-page .primary {
    width: 100% !important;
  }
  .result,
  .box,
  .gate {
    padding: 2.5rem 1.2rem !important;
  }
}
/* Motion, media and transactional overlays */
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.75) contrast(1.06) brightness(0.74);
}
.hero-media video {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-mobile-media {
  display: none;
}
.manifesto > i {
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.manifesto > p,
.manifesto > h2,
.manifesto > a {
  position: relative;
  z-index: 2;
}
.primary,
.secondary,
.event-card,
.service-grid footer a,
.service-grid footer .service-more,
.mini-grid footer a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
}
.primary:before,
.secondary:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40% auto -40% -35%;
  width: 24%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.34),
    transparent
  );
  transform: skewX(-20deg) translateX(-220%);
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.primary:active,
.secondary:active {
  transform: translateY(1px) scale(0.985);
}
.primary:disabled {
  opacity: 0.55;
  cursor: wait;
}
@media (hover: hover) {
  .primary:hover,
  .secondary:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
  }
  .primary:hover {
    box-shadow: 0 0.9rem 2.5rem rgba(151, 31, 31, 0.32);
  }
  .secondary:hover {
    border-color: #a96157;
    box-shadow: 0 0.8rem 2rem rgba(90, 28, 24, 0.2);
  }
  .primary:hover:before,
  .secondary:hover:before {
    transform: skewX(-20deg) translateX(720%);
  }
  .event-card:hover {
    transform: translateY(-4px);
    border-color: #7b322c;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
  }
}
.modal {
  opacity: 0;
  transition: opacity 0.22s ease;
}
.modal.is-open {
  opacity: 1;
}
.modal .modal-box {
  transform: translateY(1.5rem) scale(0.965);
  opacity: 0;
  transition:
    transform 0.34s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
}
.modal.is-open .modal-box {
  transform: none;
  opacity: 1;
}
.modal-box > button {
  z-index: 5;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(176, 96, 82, 0.28) !important;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.modal-box > button:hover {
  transform: rotate(90deg);
  background: rgba(147, 45, 40, 0.18) !important;
}
.modal-open {
  overflow: hidden;
}
.purchase-modal {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(4, 3, 3, 0.82);
  backdrop-filter: blur(0.8rem);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.purchase-modal[hidden] {
  display: none;
}
.purchase-modal.is-open {
  opacity: 1;
}
.purchase-dialog {
  position: relative;
  width: min(38rem, 100%);
  max-height: min(49rem, calc(100vh - 2.4rem));
  overflow: auto;
  padding: 3rem;
  background:
    radial-gradient(circle at 88% 4%, rgba(139, 31, 30, 0.15), transparent 32%),
    #100c0a;
  color: #e6dccf;
  border: 1px solid #5a2a24;
  box-shadow: 0 3rem 9rem rgba(0, 0, 0, 0.6);
  transform: translateY(2rem) scale(0.96);
  opacity: 0;
  transition:
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
}
.purchase-modal.is-open .purchase-dialog {
  transform: none;
  opacity: 1;
}
.purchase-close {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid #5b312a;
  border-radius: 50%;
  background: #0c0908;
  color: #b8a99d;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.purchase-close:hover {
  transform: rotate(90deg);
  border-color: #a3483f;
  color: #fff;
}
.purchase-dialog > p {
  margin: 0 0 0.7rem;
  color: #b2845a;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.63rem;
}
.purchase-dialog h2 {
  margin: 0;
  font: 2.2rem/1.15 Georgia;
  font-weight: normal;
}
.purchase-lead {
  display: block;
  margin: 1rem 0 1.6rem;
  color: #8d8279;
  font: 0.82rem/1.65 Georgia;
}
.purchase-items {
  border-top: 1px solid #39221d;
}
.purchase-items article {
  min-height: 4.6rem;
  display: grid;
  grid-template-columns: 2.3rem 1fr auto;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid #30201b;
}
.purchase-items i {
  color: #a8413a;
  font: 1rem Georgia;
  font-style: normal;
}
.purchase-items b {
  display: block;
  font: 0.9rem/1.3 Georgia;
}
.purchase-items small {
  display: block;
  margin-top: 0.3rem;
  color: #756b63;
  font-size: 0.62rem;
}
.purchase-items strong {
  font: 1rem Georgia;
  color: #c3a280;
}
.purchase-dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.8rem;
}
.purchase-dialog footer small {
  display: block;
  color: #736a62;
  text-transform: uppercase;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}
.purchase-dialog footer strong {
  display: block;
  margin-top: 0.25rem;
  font: 1.55rem Georgia;
  color: #d5c6b7;
}
.article-stream {
  margin-left: 0 !important;
  overflow: visible !important;
}
.reader-close {
  position: fixed;
  z-index: 180;
  top: 1.4rem;
  right: 1.4rem;
  width: 3.7rem;
  height: 3.7rem;
  border: 1px solid #a04a40;
  border-radius: 50%;
  background: #160d0b;
  backdrop-filter: blur(0.55rem);
  color: #f0e3d5;
  display: grid;
  place-items: center;
  font: 2rem/1 Georgia;
  box-shadow:
    0 1rem 3rem rgba(0, 0, 0, 0.55),
    0 0 0 0.35rem rgba(100, 31, 27, 0.13);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}
.reader-close:hover {
  transform: rotate(90deg) scale(1.05);
  border-color: #d46458;
  color: #fff;
}
.feed-reader {
  border-top: 1px solid #38241e;
  animation: feedReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.article-art {
  position: relative;
  overflow: hidden;
}
.article-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.62);
}
.article-art > i {
  position: relative;
  z-index: 2;
  opacity: 0.4;
}
.feed-sentinel {
  min-height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: #746b64;
  font: 0.72rem Georgia;
}
.feed-sentinel i {
  width: 0.65rem;
  height: 0.65rem;
  border: 1px solid #a33a35;
  transform: rotate(45deg);
  animation: feedPulse 1.2s ease-in-out infinite;
}
.feed-sentinel.is-done i {
  animation: none;
  background: #7c2926;
}
.feed-sentinel.is-done span {
  color: #8e837a;
}
@keyframes feedReveal {
  from {
    opacity: 0;
    transform: translateY(3rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes feedPulse {
  50% {
    transform: rotate(225deg) scale(1.45);
    box-shadow: 0 0 1.3rem rgba(166, 49, 45, 0.55);
  }
}
@media (max-width: 900px) {
  .hero-desktop-media {
    display: none !important;
  }
  .hero-mobile-media {
    display: block;
  }
  .hero-media .hero-mobile-media {
    object-position: 62% center;
  }
}
@media (max-width: 620px) {
  .purchase-dialog {
    padding: 2.5rem 1.2rem 1.4rem;
  }
  .purchase-dialog h2 {
    font-size: 1.8rem;
  }
  .purchase-dialog footer {
    align-items: stretch;
    flex-direction: column;
  }
  .purchase-dialog footer .primary {
    width: 100%;
  }
  .reader-close {
    top: 0.8rem;
    right: 0.8rem;
    width: 2.8rem;
    height: 2.8rem;
  }
  .feed-sentinel {
    padding-inline: 1rem;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.detail-art {
  position: relative;
  overflow: hidden;
}
.detail-art > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.62);
}
.detail-art > i {
  position: relative;
  z-index: 2;
}

.blg-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 2rem 0;
  overflow: hidden;
  background: #030303;
  border: 1px solid #2b211d;
}
.blg-player iframe,
.blg-player video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}
.hero-media.has-player {
  z-index: 1;
}
.hero-media.has-player:before,
.hero-media.has-player:after {
  pointer-events: none;
}
.hero-media > .blg-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  aspect-ratio: auto;
}
.principles i img,
.service-grid article > i img {
  display: block;
  object-fit: contain;
}
.principles i img {
  width: 100%;
  height: 100%;
}
.service-grid article > i img {
  width: 100%;
  height: 100%;
}
@media (max-width: 620px) {
  .course-list article {
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.6rem 0.75rem 1.6rem 0.5rem;
  }
  .course-list .step span {
    width: 3rem;
    height: 3rem;
  }
  .course-list .step {
    min-width: 0;
    padding: 0.65rem 0;
  }
  .course-list .course-copy,
  .course-list article > a {
    min-width: 0;
  }
}
