.mobile-topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--gutter-mobile);
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: var(--border-width) solid var(--color-border);
  min-height: var(--topbar-height);
}

@media (min-width: 430px) {
  .mobile-topbar { padding-left: var(--gutter-mobile-max); padding-right: var(--gutter-mobile-max); }
}

.mobile-topbar__wordmark {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 500;
  letter-spacing: var(--tracking-display);
  color: var(--color-text);
}

.mobile-content {
  padding: 0 var(--gutter-mobile);
  padding-bottom: calc(var(--tabbar-height) + var(--tabbar-safe) + var(--space-4));
  max-width: var(--mobile-content-max);
  margin: 0 auto;
}

@media (min-width: 430px) {
  .mobile-content { padding-left: var(--gutter-mobile-max); padding-right: var(--gutter-mobile-max); }
}

.mobile-section {
  padding-top: var(--section-gap-mobile);
}

.mobile-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-tabbar);
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  background: rgba(247, 243, 236, 0.95);
  backdrop-filter: blur(8px);
  border-top: var(--border-width) solid var(--color-border);
  padding-bottom: var(--tabbar-safe);
  min-height: var(--tabbar-height);
}

.mobile-tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  color: var(--color-taupe);
  text-decoration: none;
  transition: color var(--duration-hover) var(--ease-expo-out);
  position: relative;
}

.mobile-tabbar__item.is-active {
  color: var(--color-bronze);
}

.mobile-tabbar__item.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 2px;
  background: var(--color-champagne);
}

.mobile-tabbar__label {
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.mobile-tabbar__item svg {
  flex-shrink: 0;
}

.mobile-hero {
  position: relative;
  height: 100dvh;
  min-height: 560px;
  margin: 0 calc(-1 * var(--gutter-mobile));
  overflow: hidden;
  background: var(--color-skeleton);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  padding-bottom: calc(var(--space-7) + var(--tabbar-safe));
}

@media (min-width: 430px) {
  .mobile-hero { margin: 0; border-radius: 0; }
}

.mobile-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.mobile-hero__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5) 0;
}

.mobile-hero__headline {
  font-size: var(--text-display-mobile);
  color: var(--color-ivory);
  text-shadow: 0 2px 12px rgba(43, 38, 34, 0.3);
}

.mobile-hero__descriptor {
  color: var(--color-ivory);
  opacity: 0.85;
  font-size: var(--text-lead);
}

.mobile-hero .scroll-cue {
  position: absolute;
  bottom: calc(var(--space-4) + var(--tabbar-safe));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.lesson-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.editorial-section {
  padding-top: var(--section-gap-mobile);
}

.editorial-carousel {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter-mobile));
  padding: 0 var(--gutter-mobile);
}

@media (min-width: 430px) {
  .editorial-carousel { margin: 0; }
}

.editorial-carousel::-webkit-scrollbar { display: none; }

.editorial-slide {
  flex-shrink: 0;
  scroll-snap-align: center;
  width: 85vw;
  max-width: 360px;
  cursor: pointer;
}

.editorial-slide__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-skeleton);
}

.editorial-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--duration-reveal) var(--ease-expo-out);
}

.editorial-slide__img.is-loaded { opacity: 1; }

.editorial-slide__lqip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.1);
  z-index: 0;
  transition: opacity var(--duration-reveal) var(--ease-expo-out);
}

.editorial-slide__img.is-loaded ~ .editorial-slide__lqip { opacity: 0; }

.about-section {
  padding-top: var(--section-gap-mobile);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: center;
  text-align: center;
}

.about-avatar {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--color-skeleton);
  flex-shrink: 0;
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-bio {
  max-width: 360px;
}

.about-bio__text {
  margin-top: var(--space-4);
  color: var(--color-text);
}

.about-contact {
  margin-top: var(--space-5);
}

.book-section {
  padding-top: var(--section-gap-desktop);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.not-found {
  padding-top: var(--section-gap-desktop);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: center;
}

.not-found h1 {
  font-size: var(--text-h1);
}
