:root {
  --ink: #25231f;
  --muted: #706b62;
  --line: #ded8cc;
  --paper: #f7f2e8;
  --surface: #fffaf0;
  --accent: #9b5f2c;
  --accent-dark: #713f1d;
  --green: #526b48;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 48px);
  margin-bottom: -76px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  background: transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 250, 240, 0.14);
  background: rgba(37, 35, 31, 0.72);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 148px;
}

.brand img {
  width: 142px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav .nav-link {
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(24, 18, 12, 0.28);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  transition: background 180ms ease, color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.nav-item {
  position: relative;
}

.site-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-nav .nav-link::after {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

.site-nav a:hover,
.site-nav .nav-link:hover,
.site-nav a.active {
  background: rgba(255, 250, 240, 0.13);
  color: #fff;
  text-shadow: 0 1px 10px rgba(24, 18, 12, 0.22);
}

.nav-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 18px 46px rgba(68, 49, 26, 0.14);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.nav-dropdown a {
  display: block;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  text-shadow: none;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.icon-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 250, 240, 0.26);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.12);
  color: #fffaf4;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.icon-link:hover {
  background: var(--ink);
  color: var(--surface);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.icon-link:hover {
  transform: translateY(-1px);
}

.button:active,
.icon-link:active {
  transform: translateY(1px) scale(0.99);
}

.button.primary {
  background: var(--accent);
  color: #fffaf4;
}

.button.secondary {
  background: var(--green);
  color: #fffaf4;
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 250, 240, 0.62);
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  height: min(100svh, 960px);
  min-height: min(620px, 100svh);
  max-height: 960px;
  align-items: end;
  overflow: hidden;
  padding: clamp(96px, 11vw, 150px) clamp(18px, 5vw, 72px) clamp(28px, 4.5vw, 56px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
  color: #fffaf4;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.25rem, 4.9vw, 5.05rem);
  max-width: 10.6ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.hero p:not(.eyebrow),
.page-hero p,
.intro-band p,
.proof-points p,
.editorial p,
.text-columns p,
.contact-card p,
.empty-state p {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.hero .eyebrow {
  color: rgba(255, 226, 177, 0.92);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 46ch;
  margin: 16px 0;
  color: rgba(255, 250, 244, 0.86);
}

.hero-image {
  position: absolute;
  inset: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 0;
}

.hero-image.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 54% 88%;
  border-radius: 0;
  box-shadow: none;
}

.hero-image::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(30, 24, 18, 0.68) 0%, rgba(30, 24, 18, 0.38) 34%, rgba(30, 24, 18, 0.04) 100%),
    linear-gradient(0deg, rgba(30, 24, 18, 0.4) 0%, rgba(30, 24, 18, 0.02) 58%);
}

.fire-glow {
  position: absolute;
  left: 84.9%;
  bottom: 4.4%;
  width: clamp(46px, 4.4vw, 76px);
  aspect-ratio: 0.9;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 76%, rgba(255, 221, 78, 0.22), transparent 46%),
    radial-gradient(circle at 50% 88%, rgba(255, 106, 18, 0.34), transparent 62%);
  filter: drop-shadow(0 0 18px rgba(255, 119, 28, 0.78));
  mix-blend-mode: screen;
  transform: translateX(-50%);
}

.fire-glow::before {
  position: absolute;
  left: 50%;
  bottom: -5%;
  width: 92%;
  height: 72%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at center, rgba(255, 126, 22, 0.28), rgba(255, 190, 54, 0.14) 38%, transparent 72%);
  z-index: 0;
  filter: blur(8px);
  transform: translateX(-50%);
}

.fire-glow::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 68%;
  height: 46%;
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle at 34% 38%, rgba(255, 239, 118, 0.96) 0 8%, transparent 15%),
    radial-gradient(circle at 52% 58%, rgba(255, 106, 24, 0.98) 0 13%, transparent 21%),
    radial-gradient(circle at 66% 42%, rgba(255, 221, 82, 0.84) 0 8%, transparent 15%),
    radial-gradient(circle at center, rgba(255, 91, 21, 0.72), rgba(120, 43, 17, 0.3) 48%, transparent 74%);
  filter: blur(0.45px);
  z-index: 1;
  transform: translateX(-50%);
}

.flame {
  position: absolute;
  left: 50%;
  bottom: 18%;
  display: block;
  border-radius: 62% 38% 58% 42% / 68% 34% 66% 32%;
  transform-origin: 50% 100%;
  mix-blend-mode: screen;
  z-index: 2;
}

.flame.outer {
  display: none;
  width: 78%;
  height: 112%;
  background:
    radial-gradient(circle at 50% 76%, rgba(255, 246, 145, 0.84), transparent 18%),
    radial-gradient(ellipse at 56% 52%, rgba(255, 151, 30, 1), rgba(215, 49, 17, 0.82) 48%, transparent 72%),
    radial-gradient(ellipse at 34% 68%, rgba(255, 70, 18, 0.72), transparent 54%);
  filter: blur(0.55px);
  animation: flame-flicker 1.65s ease-in-out infinite alternate;
}

.flame.mid {
  display: none;
  bottom: 21%;
  width: 52%;
  height: 84%;
  background:
    radial-gradient(circle at 50% 78%, rgba(255, 252, 190, 0.92), transparent 23%),
    radial-gradient(ellipse at 43% 52%, rgba(255, 196, 48, 0.98), rgba(241, 83, 18, 0.72) 56%, transparent 77%);
  animation: flame-core 1.45s ease-in-out infinite alternate-reverse;
}

.flame.core {
  bottom: 24%;
  width: 52%;
  height: 70%;
  background:
    radial-gradient(ellipse at 50% 66%, rgba(255, 255, 222, 0.98), rgba(255, 215, 87, 0.9) 42%, transparent 72%),
    radial-gradient(ellipse at 56% 44%, rgba(255, 150, 38, 0.5), transparent 58%);
  filter: blur(0.2px);
  animation: flame-core 1.2s ease-in-out infinite alternate;
}

.flame.spark {
  bottom: 48%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 225, 116, 0.94);
  box-shadow: 0 0 12px rgba(255, 161, 44, 0.88);
  z-index: 3;
}

.spark-one {
  animation: ember-rise-left 1.85s ease-out infinite;
}

.spark-two {
  animation: ember-rise-right 2.1s 0.18s ease-out infinite;
}

.spark-three {
  width: 3px;
  height: 3px;
  animation: ember-rise-center 1.75s 0.4s ease-out infinite;
}

.spark-four {
  width: 3px;
  height: 3px;
  animation: ember-rise-left 2.25s 0.68s ease-out infinite;
}

.spark-five {
  width: 2px;
  height: 2px;
  animation: ember-rise-right 1.55s 0.86s ease-out infinite;
}

.spark-six {
  width: 3px;
  height: 3px;
  animation: ember-rise-center 2.35s 1.1s ease-out infinite;
}

.spark-seven {
  width: 2px;
  height: 2px;
  animation: ember-rise-left 1.55s 1.28s ease-out infinite;
}

.spark-eight {
  width: 3px;
  height: 3px;
  animation: ember-rise-right 2.55s 1.45s ease-out infinite;
}

@keyframes flame-flicker {
  0% {
    opacity: 0.78;
    border-radius: 58% 42% 62% 38% / 72% 30% 70% 28%;
    transform: translateX(-51%) rotate(-3deg) scaleX(0.96) scaleY(0.98);
  }
  38% {
    opacity: 0.93;
    border-radius: 42% 58% 48% 52% / 74% 36% 64% 26%;
    transform: translateX(-49%) rotate(2deg) scaleX(1.03) scaleY(1.04);
  }
  68% {
    opacity: 0.84;
    border-radius: 66% 34% 55% 45% / 66% 32% 68% 34%;
    transform: translateX(-52%) rotate(-1deg) scaleX(0.99) scaleY(1.08);
  }
  100% {
    opacity: 0.86;
    border-radius: 48% 52% 64% 36% / 78% 28% 72% 22%;
    transform: translateX(-48%) rotate(2deg) scaleX(1.02) scaleY(1.12);
  }
}

@keyframes flame-core {
  0% {
    opacity: 0.82;
    border-radius: 54% 46% 60% 40% / 72% 32% 68% 28%;
    transform: translateX(-50%) rotate(2deg) scale(0.96, 0.98);
  }
  100% {
    opacity: 0.98;
    border-radius: 44% 56% 52% 48% / 76% 28% 72% 24%;
    transform: translateX(-50%) rotate(-2deg) scale(1.04, 1.1);
  }
}

@keyframes ember-rise-left {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 8px, 0) scale(0.7);
  }
  14% {
    opacity: 0.95;
  }
  54% {
    opacity: 0.68;
    transform: translate3d(calc(-50% - 22px), -112px, 0) scale(0.42);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% - 42px), -248px, 0) scale(0.08);
  }
}

@keyframes ember-rise-right {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 10px, 0) scale(0.72);
  }
  18% {
    opacity: 0.9;
  }
  58% {
    opacity: 0.58;
    transform: translate3d(calc(-50% + 24px), -126px, 0) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + 50px), -258px, 0) scale(0.08);
  }
}

@keyframes ember-rise-center {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 6px, 0) scale(0.65);
  }
  16% {
    opacity: 0.96;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + 8px), -286px, 0) scale(0.06);
  }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 104px) clamp(18px, 4vw, 40px);
}

.ornament {
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.section-ornament,
.page-ornament {
  width: min(150px, 38vw);
  margin: 0 0 18px;
  opacity: 0.72;
}

.riml-mark {
  width: 58px;
}

.next-courses-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: #ece2d2;
}

.next-courses-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-dark);
  font-size: 0.95rem;
  white-space: nowrap;
}

.next-courses-icon {
  width: 30px;
  filter: brightness(0) saturate(100%) invert(38%) sepia(23%) saturate(982%) hue-rotate(346deg) brightness(91%) contrast(84%);
}

.next-course-list {
  display: flex;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.next-course-item {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: min(360px, 82vw);
  border-left: 1px solid rgba(113, 63, 29, 0.22);
  padding: 3px 10px;
  color: var(--ink);
  font-size: 0.9rem;
}

.next-course-item time {
  color: var(--accent-dark);
  font-weight: 800;
}

.next-course-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.next-course-item em {
  color: var(--green);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.next-course-empty {
  margin: 0;
  color: var(--muted);
}

.next-course-link {
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(20px, 5vw, 70px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.categories {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  grid-auto-rows: minmax(260px, auto);
  gap: 18px;
}

.category-tile {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(18px, 3vw, 34px);
  color: #fffaf4;
}

.category-tile:first-child {
  grid-row: span 2;
}

.category-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.category-tile::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(37, 35, 31, 0.08), rgba(37, 35, 31, 0.76));
}

.category-tile:hover img {
  transform: scale(1.035);
}

.category-tile span {
  font-size: clamp(1.45rem, 3vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
}

.category-tile p {
  max-width: 52ch;
  margin: 12px 0 0;
  color: rgba(255, 250, 244, 0.8);
}

.split {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: clamp(24px, 5vw, 72px);
}

.course-grid {
  display: grid;
  gap: 18px;
}

.course-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.68);
}

.course-media {
  position: relative;
  min-height: 250px;
  overflow: hidden;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-media img {
  transform: scale(1.035);
}

.course-media span {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 250, 240, 0.92);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.course-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
}

.course-body dl {
  display: grid;
  gap: 10px;
  margin: 0;
  color: var(--muted);
}

.course-body dl div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
}

.course-body dt {
  color: var(--ink);
  font-weight: 800;
}

.course-body dd {
  margin: 0;
}

.book-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 104px) clamp(18px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

.book-feature-copy {
  max-width: 620px;
}

.book-feature-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.book-ornament {
  width: min(190px, 46vw);
  margin-bottom: 20px;
  opacity: 0.66;
}

.book-cover {
  display: block;
}

.book-cover img {
  width: 100%;
  border: 1px solid rgba(113, 63, 29, 0.18);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(68, 49, 26, 0.18);
}

.proof {
  display: grid;
  grid-template-columns: 0.9fr 270px 0.8fr;
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
}

.proof img {
  align-self: end;
  max-height: 420px;
  object-fit: contain;
}

.proof-points ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.proof-points li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-weight: 800;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(54px, 9vw, 118px) clamp(18px, 4vw, 40px) clamp(26px, 5vw, 72px);
}

.page-hero.compact h1 {
  max-width: 12ch;
}

.page-hero.compact p:not(.eyebrow) {
  max-width: 62ch;
}

.page-hero.about {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
}

.page-hero.about h1 {
  max-width: 13ch;
}

.page-hero.about img {
  max-height: 500px;
  object-fit: contain;
}

.page-hero.about .page-ornament {
  max-height: none;
}

.editorial,
.contact-layout,
.text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 5vw, 68px);
}

.editorial img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 14px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 40px) 96px;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid figure:nth-child(2n) {
  transform: translateY(44px);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.contact-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(255, 250, 240, 0.68);
}

.contact-card a:not(.button) {
  display: table;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 800;
}

.muted {
  background: rgba(155, 95, 44, 0.08);
}

.legal a {
  color: var(--accent-dark);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: start;
  padding: 42px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: #ece2d2;
  color: var(--muted);
}

.site-footer img {
  width: 146px;
  margin-bottom: 12px;
}

.site-footer address {
  font-style: normal;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay, 0) * 80ms);
}

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

@media (min-aspect-ratio: 16 / 10) {
  .fire-glow {
    left: 84.6%;
    bottom: 4.8%;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding-top: 12px;
  }

  .site-nav.is-open a,
  .site-nav.is-open .nav-link {
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 0;
  }

  .site-nav.is-open .nav-item {
    display: grid;
  }

  .site-nav.is-open .nav-dropdown {
    position: static;
    min-width: 0;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 18px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .site-nav.is-open .nav-dropdown a {
    color: var(--muted);
    font-size: 0.9rem;
  }

  .intro-band,
  .split,
  .book-feature,
  .proof,
  .page-hero.about,
  .editorial,
  .contact-layout,
  .text-columns,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 100svh;
    min-height: min(600px, 100svh);
    max-height: 100svh;
    padding-top: 96px;
    padding-bottom: 32px;
  }

  .next-courses-strip {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-image img {
    object-position: 82% 84%;
  }

  .fire-glow {
    left: 81.2%;
    bottom: 8%;
  }

  h1 {
    max-width: 12ch;
  }

  .categories,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .category-tile:first-child {
    grid-row: auto;
  }

  .gallery-grid figure:nth-child(2n) {
    transform: none;
  }
}

@media (max-width: 680px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    width: 118px;
  }

  .hero {
    min-height: min(560px, 100svh);
    padding-top: 88px;
    padding-bottom: 22px;
  }

  .next-courses-strip {
    padding-block: 14px;
  }

  .next-course-item {
    grid-template-columns: auto minmax(150px, 1fr);
  }

  .next-course-item em {
    grid-column: 2;
  }

  .book-feature {
    padding-top: 42px;
  }

  .book-cover {
    order: -1;
  }

  .hero-image img {
    object-position: 94% 80%;
  }

  .fire-glow {
    left: 76.5%;
    bottom: 18%;
    width: 46px;
  }

  h1 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .course-card {
    grid-template-columns: 1fr;
  }

  .course-media {
    min-height: 220px;
  }

  .button-row,
  .button {
    width: 100%;
  }
}

@media (max-width: 680px) and (max-aspect-ratio: 9 / 16) {
  .fire-glow {
    left: 77%;
    bottom: 18.5%;
  }
}
