:root {
  --ink: #211713;
  --muted: #725f52;
  --paper: #fff7e8;
  --paper-deep: #ead7b4;
  --surface: rgba(255, 250, 240, 0.9);
  --surface-strong: #fffaf0;
  --night: #120f0d;
  --cacao: #382016;
  --terracotta: #a3422d;
  --maize: #d99b23;
  --teal: #0d6760;
  --green: #133d34;
  --rose: #b84d5a;
  --clay: #742f25;
  --line: rgba(35, 25, 20, 0.13);
  --line-light: rgba(255, 248, 234, 0.22);
  --glass: rgba(255, 248, 234, 0.12);
  --shadow: 0 22px 70px rgba(35, 25, 20, 0.18);
  --shadow-strong: 0 34px 95px rgba(18, 15, 13, 0.34);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

::selection {
  color: #fff8ea;
  background: var(--terracotta);
}

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

a,
button,
.course-card,
.lesson-row,
.panel,
.stat {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(163, 66, 45, 0.07), transparent 26%, rgba(13, 103, 96, 0.08)),
    repeating-linear-gradient(90deg, rgba(35, 25, 20, 0.026) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, #fff8ea 0%, #f0dfc0 48%, #fff8ea 100%),
    var(--paper);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 76px);
  color: #fff8ea;
  background:
    linear-gradient(90deg, rgba(18, 13, 10, 0.9) 0%, rgba(18, 13, 10, 0.6) 44%, rgba(18, 13, 10, 0.08) 82%),
    url("raiz-cantora-hero.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 13, 10, 0.18), transparent 30%, rgba(18, 13, 10, 0.46)),
    repeating-linear-gradient(45deg, rgba(255, 248, 234, 0.045) 0 1px, transparent 1px 18px);
}

.hero__bar,
.app-topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 76px);
  color: #fff8ea;
  background: rgba(19, 61, 52, 0.78);
  backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid rgba(255, 248, 234, 0.16);
  box-shadow: 0 14px 44px rgba(18, 15, 13, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-logo {
  width: 68px;
  height: 68px;
  display: block;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 248, 234, 0.96);
  box-shadow: 0 10px 26px rgba(18, 15, 13, 0.2);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 248, 234, 0.28), transparent 38%),
    rgba(216, 154, 29, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 234, 0.18), 0 8px 22px rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a,
.nav button {
  min-height: 38px;
  border: 1px solid rgba(255, 248, 234, 0.2);
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 248, 234, 0.08);
  padding: 8px 13px;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.nav a:hover,
.nav button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 248, 234, 0.36);
  background: rgba(255, 248, 234, 0.16);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-top: 72px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-logo-frame {
  position: relative;
  width: clamp(156px, 20vw, 250px);
  margin: 22px 0 24px 10px;
  padding: 8px;
  border: 6px solid rgba(56, 32, 22, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 248, 234, 0.98), rgba(241, 222, 185, 0.96));
  box-shadow:
    inset 0 0 0 2px rgba(216, 154, 35, 0.52),
    0 24px 60px rgba(18, 15, 13, 0.34),
    inset 0 0 0 1px rgba(116, 47, 37, 0.12);
  transform: rotate(-1.4deg);
}

.hero-logo-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -45px;
  width: 86px;
  height: 86px;
  border-top: 4px solid rgba(216, 154, 35, 0.96);
  border-left: 4px solid rgba(216, 154, 35, 0.96);
  border-radius: 3px 0 0;
  transform: translateX(-50%) rotate(45deg);
  transform-origin: center;
  box-shadow: -3px -3px 0 rgba(18, 15, 13, 0.18);
}

.hero-logo-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -52px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #d99b23;
  border: 2px solid rgba(255, 248, 234, 0.86);
  box-shadow: 0 6px 16px rgba(18, 15, 13, 0.34);
  transform: translateX(-50%);
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #ffe2a0;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 248, 234, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions,
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 10px;
  width: min(620px, 100%);
  margin-top: 34px;
}

.hero-metrics span {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(255, 248, 234, 0.2);
  border-radius: 8px;
  padding: 14px;
  color: rgba(255, 248, 234, 0.76);
  background: rgba(255, 248, 234, 0.08);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 248, 234, 0.16);
}

.hero-metrics strong {
  color: #fff8ea;
  font-size: 1.15rem;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #fff8ea;
  background: linear-gradient(135deg, var(--terracotta), var(--clay));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(159, 61, 39, 0.25);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), filter 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 16px 36px rgba(159, 61, 39, 0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn.secondary {
  color: var(--ink);
  background: linear-gradient(135deg, #fff8ea, #f3dfba);
}

.btn.ghost {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.5);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero .btn.ghost,
.reading-hero .btn.ghost {
  color: #fff8ea;
  border-color: rgba(255, 248, 234, 0.22);
  background: rgba(255, 248, 234, 0.1);
  backdrop-filter: blur(14px);
}

.auth-band,
.content-band {
  padding: 44px clamp(18px, 5vw, 76px);
}

.access-auth {
  padding: 0;
}

.auth-grid,
.split-grid,
.dashboard-grid,
.course-grid,
.reading-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

.auth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1040px;
  margin: 0 auto;
}

.panel,
.course-card,
.reading-card,
.lesson-row,
.stat,
.interactive-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.12);
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  pointer-events: none;
}

.panel h2,
.panel h3,
.section-head h2 {
  margin: 0 0 10px;
  line-height: 1.1;
}

.panel p,
.section-head p,
.muted {
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fffdf5;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(13, 103, 96, 0.52);
  background: #fffaf0;
  box-shadow: 0 0 0 4px rgba(13, 103, 96, 0.12);
}

:focus-visible {
  outline: 3px solid rgba(216, 154, 29, 0.5);
  outline-offset: 3px;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  accent-color: var(--teal);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.panel .eyebrow {
  color: var(--terracotta);
}

.app-layout {
  min-height: 100vh;
  padding-top: 102px;
  background:
    linear-gradient(180deg, rgba(18, 15, 13, 0.98) 0 270px, rgba(18, 15, 13, 0.72) 270px, transparent 430px),
    linear-gradient(90deg, rgba(163, 66, 45, 0.08), transparent 32%, rgba(13, 103, 96, 0.08)),
    repeating-linear-gradient(90deg, rgba(35, 25, 20, 0.028) 0 1px, transparent 1px 42px),
    #fff8ea;
}

.app-main {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 34px clamp(16px, 4vw, 54px) 64px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-head h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.app-layout .section-head h1,
.app-layout .section-head h2 {
  color: #fff8ea;
}

.app-layout .section-head p {
  color: rgba(255, 248, 234, 0.68);
}

.section-head.compact h2 {
  color: var(--ink);
}

.section-head.compact p {
  color: var(--muted);
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
}

.admin-shortcuts {
  margin-top: 0;
}

.admin-shortcuts .btn {
  border: 1px solid rgba(255, 248, 234, 0.18);
  box-shadow: 0 16px 34px rgba(18, 15, 13, 0.28);
}

.admin-shortcuts .btn.secondary {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 1), rgba(245, 219, 171, 0.96));
  border-color: rgba(255, 248, 234, 0.54);
  box-shadow:
    0 16px 34px rgba(18, 15, 13, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.admin-shortcuts .btn.ghost {
  color: #fff8ea;
  background:
    linear-gradient(135deg, rgba(255, 248, 234, 0.18), rgba(255, 248, 234, 0.08));
  border-color: rgba(255, 248, 234, 0.34);
  box-shadow:
    0 16px 34px rgba(18, 15, 13, 0.22),
    inset 0 1px 0 rgba(255, 248, 234, 0.22);
  backdrop-filter: blur(14px) saturate(1.18);
}

.admin-shortcuts .btn.ghost:hover {
  background:
    linear-gradient(135deg, rgba(255, 248, 234, 0.24), rgba(255, 248, 234, 0.12));
  border-color: rgba(255, 248, 234, 0.52);
}

.admin-workspace {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.admin-form {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), transparent 42%),
    rgba(255, 250, 240, 0.94);
}

.admin-guide {
  min-height: 100%;
}

.admin-users {
  margin-bottom: 20px;
  background:
    linear-gradient(145deg, rgba(13, 103, 96, 0.1), transparent 42%),
    rgba(255, 250, 240, 0.94);
}

.admin-users-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.user-stats {
  gap: 10px;
}

.user-stats .stat {
  padding: 12px;
}

.user-cell strong,
.user-cell span,
.user-cell small {
  display: block;
}

.user-cell span {
  color: var(--muted);
  font-size: 0.9rem;
}

.user-cell small,
.self-note {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
}

.inline-select {
  min-width: 126px;
  min-height: 36px;
  border-radius: 999px;
  padding: 7px 34px 7px 12px;
  background-color: rgba(255, 253, 245, 0.94);
}

.activity-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.compact-button {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 0.84rem;
}

.checkbox-label {
  display: flex;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.upload-progress {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(13, 103, 96, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 253, 245, 0.76);
}

.upload-progress[hidden] {
  display: none;
}

.upload-progress-bar {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(35, 25, 20, 0.1);
  box-shadow: inset 0 1px 2px rgba(35, 25, 20, 0.16);
}

.upload-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--maize));
  transition: width 180ms var(--ease);
}

.upload-progress p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 750;
}

.upload-diagnostics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.upload-diagnostics span {
  border: 1px solid rgba(35, 25, 20, 0.1);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  background: rgba(255, 253, 245, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  padding: 18px;
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.course-card {
  overflow: hidden;
  display: grid;
  min-height: 500px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 30%),
    var(--surface);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.course-card:hover {
  transform: translateY(-7px);
  border-color: rgba(35, 25, 20, 0.24);
  box-shadow: 0 34px 88px rgba(35, 25, 20, 0.24);
}

.course-link {
  display: grid;
  grid-template-rows: 250px 1fr;
  height: 100%;
}

.course-link--disabled {
  cursor: default;
}

.course-card--upcoming:hover {
  transform: none;
}

.course-card--upcoming:hover .course-cover {
  transform: scale(1.01);
  filter: none;
}

.course-ribbon {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 20px;
  color: #fff8ea;
  background: var(--course-color, var(--teal));
}

.course-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 18, 15, 0.02), rgba(23, 18, 15, 0.7));
}

.course-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

.course-card:hover .course-cover {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.03);
}

.course-number {
  position: relative;
  z-index: 2;
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
}

.course-status-badge {
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 18px;
  border: 1px solid rgba(255, 248, 234, 0.5);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff8ea;
  background: rgba(23, 18, 15, 0.58);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.course-wave {
  position: absolute;
  z-index: 2;
  right: -36px;
  bottom: -48px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 248, 234, 0.28);
  border-radius: 50%;
}

.course-wave::before,
.course-wave::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 248, 234, 0.25);
  border-radius: 50%;
}

.course-wave::after {
  inset: 50px;
}

.course-body {
  display: grid;
  align-content: start;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), transparent 42%),
    rgba(255, 250, 240, 0.88);
}

.course-body h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}

.course-body .eyebrow {
  margin-bottom: 12px;
  color: var(--terracotta);
  font-size: 0.78rem;
}

.text-link {
  align-self: end;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 900;
  transition: transform 180ms var(--ease), color 180ms var(--ease);
}

.course-card:hover .text-link {
  color: var(--terracotta);
  transform: translateX(4px);
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--ink);
  border: 1px solid rgba(216, 154, 29, 0.18);
  background: rgba(216, 154, 29, 0.16);
  font-size: 0.82rem;
  font-weight: 800;
}

.pill-available {
  color: #0d5c52;
  border-color: rgba(13, 92, 82, 0.2);
  background: rgba(13, 92, 82, 0.12);
}

.pill-upcoming {
  color: #8f3f2e;
  border-color: rgba(143, 63, 46, 0.22);
  background: rgba(143, 63, 46, 0.12);
}

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

.lesson-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
}

.course-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 20px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 54px);
  color: #fff8ea;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 248, 234, 0.13), transparent 26%),
    linear-gradient(135deg, rgba(23, 18, 15, 0.16), rgba(23, 18, 15, 0.72)),
    var(--course-color, var(--teal));
  box-shadow: var(--shadow-strong);
}

.course-hero h1 {
  max-width: 850px;
  margin: 8px 0 14px;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.94;
}

.course-hero p {
  max-width: 680px;
  color: rgba(255, 248, 234, 0.82);
  font-size: 1.08rem;
}

.course-hero .eyebrow {
  color: #ffe2a0;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(255, 248, 234, 0.78);
  font-weight: 800;
}

.back-link.dark {
  color: var(--teal);
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.course-summary {
  display: grid;
  align-content: end;
  gap: 10px;
}

.course-summary-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 248, 234, 0.24);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
  transition: transform 500ms var(--ease), filter 500ms var(--ease);
}

.course-summary-image:hover {
  transform: scale(1.015);
  filter: saturate(1.05);
}

.course-summary span {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 248, 234, 0.2);
  border-radius: 8px;
  padding: 16px;
  color: rgba(255, 248, 234, 0.72);
  background: rgba(255, 248, 234, 0.1);
  backdrop-filter: blur(16px);
}

.course-summary strong {
  color: #fff8ea;
  font-size: 1.15rem;
}

.course-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 18px;
  align-items: start;
}

.curriculum-panel {
  background: rgba(255, 250, 240, 0.95);
}

.premium-list {
  gap: 12px;
}

.premium-list .lesson-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 96px;
  background: #fffdf7;
  box-shadow: none;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.premium-list .lesson-row:hover {
  transform: translateX(4px);
  border-color: rgba(13, 103, 96, 0.24);
  background: #fffaf0;
}

.premium-list .lesson-row h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.premium-list .lesson-row p {
  margin: 0;
  color: var(--muted);
}

.lesson-index {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff8ea;
  background: linear-gradient(135deg, var(--green), var(--teal));
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 10px 24px rgba(13, 103, 96, 0.16);
}

.course-side {
  position: sticky;
  top: 100px;
  background: rgba(255, 250, 240, 0.96);
}

.course-side-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.course-side-list span {
  border-left: 3px solid var(--maize);
  padding: 10px 0 10px 14px;
  color: var(--ink);
  font-weight: 780;
}

.lesson-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 46px);
  color: #fff8ea;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 248, 234, 0.15), transparent 30%),
    repeating-linear-gradient(45deg, rgba(255, 248, 234, 0.045) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, rgba(23, 18, 15, 0.16), rgba(23, 18, 15, 0.74)),
    var(--course-color, var(--teal));
  box-shadow: var(--shadow-strong);
}

.lesson-hero h1 {
  max-width: 820px;
  margin: 8px 0 14px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.96;
}

.lesson-hero p {
  max-width: 680px;
  color: rgba(255, 248, 234, 0.82);
}

.lesson-hero img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  border: 1px solid rgba(255, 248, 234, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  animation: imageFloat 9s var(--ease) infinite alternate;
}

.lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.36fr);
  gap: 18px;
  align-items: start;
}

.lesson-main {
  display: grid;
  gap: 18px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: 8px;
  color: #fff8ea;
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 154, 35, 0.18), transparent 23%),
    linear-gradient(135deg, rgba(23, 18, 15, 0.72), rgba(23, 18, 15, 0.96)),
    repeating-linear-gradient(45deg, rgba(255, 248, 234, 0.06) 0 2px, transparent 2px 18px);
  box-shadow: var(--shadow);
}

.video-frame::before {
  content: "";
  width: clamp(58px, 8vw, 86px);
  height: clamp(58px, 8vw, 86px);
  position: absolute;
  border: 1px solid rgba(255, 248, 234, 0.32);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 248, 234, 0.24), rgba(255, 248, 234, 0.06));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.video-frame::after {
  content: "";
  position: absolute;
  border-left: 18px solid #fff8ea;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transform: translateX(3px);
}

.video-frame.has-video::before,
.video-frame.has-video::after {
  display: none;
}

.lesson-video-embed {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #120f0d;
}

.video-warning {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 248, 234, 0.26);
  border-radius: 8px;
  color: #fff8ea;
  background: rgba(18, 15, 13, 0.82);
  font-size: 0.95rem;
  font-weight: 800;
}

.video-frame > div {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 520px;
  padding: 140px 24px 24px;
  text-align: center;
}

.video-frame span {
  color: #ffe2a0;
  font-weight: 850;
  text-transform: uppercase;
}

.video-frame strong {
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1;
}

.video-frame p {
  margin: 0;
  color: rgba(255, 248, 234, 0.72);
}

.lesson-content h2 {
  margin: 24px 0 8px;
}

.lesson-content h2:first-of-type {
  margin-top: 0;
}

.lesson-comments {
  display: grid;
  gap: 18px;
}

.comments-head,
.comment-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.comments-head h2 {
  margin-bottom: 0;
}

.comments-head > span,
.comment-meta span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
}

.comment-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(35, 25, 20, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.72);
}

.comment-form label {
  display: grid;
  gap: 8px;
}

.comment-form textarea {
  min-height: 112px;
  resize: vertical;
}

.compact-comment-form {
  margin-top: 10px;
  padding: 12px;
}

.compact-comment-form textarea {
  min-height: 86px;
}

.reply-box {
  margin-top: 8px;
}

.reply-box summary {
  cursor: pointer;
  width: fit-content;
  color: var(--teal);
  font-weight: 900;
}

.comment-access {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(13, 103, 96, 0.16);
  border-radius: 8px;
  background: rgba(13, 103, 96, 0.06);
}

.comment-access p {
  margin: 0;
}

.comment-list {
  display: grid;
  gap: 12px;
}

.comment-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(35, 25, 20, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.78);
}

.comment-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff8ea;
  background: linear-gradient(135deg, var(--teal), var(--clay));
  font-weight: 900;
}

.comment-item p {
  margin: 8px 0 10px;
}

.reply-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-left: 18px;
  border-left: 2px solid rgba(13, 103, 96, 0.18);
}

.reply-item {
  background: rgba(250, 241, 221, 0.72);
}

.lesson-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

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

.material-list span,
.material-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fffdf7;
  font-weight: 800;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.material-list span:hover,
.material-list a:hover {
  transform: translateX(3px);
  border-color: rgba(13, 103, 96, 0.22);
  background: #fffaf0;
}

.material-list span::after,
.material-list a::after {
  content: "Pendiente";
  color: var(--teal);
  font-size: 0.82rem;
}

.material-list a::after {
  content: "Descargar";
}

.course-progress {
  display: grid;
  gap: 10px;
}

.course-progress div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.course-progress strong {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.course-progress span {
  color: var(--muted);
  font-weight: 800;
}

.course-progress meter {
  width: 100%;
  height: 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(35, 25, 20, 0.12);
}

.course-progress meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(35, 25, 20, 0.12);
}

.course-progress meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--maize));
}

.course-progress meter::-moz-meter-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--maize));
}

.sidebar-progress strong {
  color: var(--teal);
}

.checklist-panel {
  display: grid;
  gap: 16px;
}

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

.checklist-list label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
  font-weight: 800;
}

.checklist-list input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.musicxml-player {
  display: grid;
  gap: 18px;
}

.musicxml-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.musicxml-head h2 {
  margin: 0 0 8px;
}

.musicxml-controls {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.musicxml-controls label {
  width: 92px;
}

.musicxml-score {
  display: flex;
  align-items: stretch;
  gap: 6px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, #fffdf7, #fff8ea),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(35, 25, 20, 0.08) 22px 23px);
}

.musicxml-score.is-rendered {
  display: block;
  min-height: 260px;
  padding: 20px;
  background: #fffdf7;
}

.musicxml-score.is-rendered svg {
  display: block;
  min-width: 760px;
}

.musicxml-score.is-loading {
  min-height: 180px;
  display: grid;
  place-items: center;
}

.musicxml-score:not(.is-rendered) > span {
  min-width: calc(28px * var(--beats, 1));
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(35, 25, 20, 0.11);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 250, 240, 0.88);
  color: var(--ink);
  font-weight: 900;
}

.musicxml-score:not(.is-rendered) > span.is-active {
  outline: 3px solid rgba(163, 66, 45, 0.35);
  background: rgba(163, 66, 45, 0.16);
  transform: translateY(-2px);
}

.musicxml-score .is-note {
  border-color: rgba(13, 103, 96, 0.24);
  background: rgba(13, 103, 96, 0.1);
}

.musicxml-score .is-rest {
  color: var(--muted);
  background: rgba(216, 154, 29, 0.12);
}

.public-layout {
  background:
    linear-gradient(180deg, rgba(18, 15, 13, 0.98) 0 250px, rgba(18, 15, 13, 0.76) 250px, transparent 430px),
    radial-gradient(circle at 18% 20%, rgba(184, 77, 90, 0.14), transparent 24%),
    linear-gradient(90deg, rgba(163, 66, 45, 0.07), transparent 34%, rgba(13, 103, 96, 0.08)),
    #fff8ea;
}

.reading-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 56px);
  color: #fff8ea;
  background:
    linear-gradient(135deg, rgba(19, 61, 52, 0.92), rgba(116, 47, 37, 0.74)),
    repeating-linear-gradient(45deg, rgba(255, 248, 234, 0.06) 0 1px, transparent 1px 18px);
  box-shadow: var(--shadow-strong);
}

.reading-hero h1 {
  max-width: 920px;
  margin: 0 0 14px;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  line-height: 0.94;
}

.reading-hero p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 248, 234, 0.82);
  font-size: 1.08rem;
}

.reading-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.reading-card {
  overflow: hidden;
  min-height: 480px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), transparent 44%),
    rgba(255, 250, 240, 0.92);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.reading-card:hover {
  transform: translateY(-7px);
  border-color: rgba(13, 103, 96, 0.25);
  box-shadow: 0 34px 88px rgba(35, 25, 20, 0.24);
}

.reading-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.reading-cover,
.reading-detail-cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff8ea;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 248, 234, 0.18), transparent 28%),
    linear-gradient(135deg, var(--green), var(--terracotta));
}

.reading-cover {
  aspect-ratio: 3 / 4;
  min-height: 330px;
  padding: 18px;
}

.reading-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(18, 15, 13, 0.16));
  pointer-events: none;
}

.reading-cover img,
.reading-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 18px 28px rgba(18, 15, 13, 0.28));
  transition: transform 650ms var(--ease), filter 650ms var(--ease);
}

.reading-card:hover .reading-cover img {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.03) drop-shadow(0 22px 34px rgba(18, 15, 13, 0.32));
}

.reading-cover span,
.reading-detail-cover span {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 248, 234, 0.34);
  border-radius: 50%;
  background: rgba(255, 248, 234, 0.12);
  font-size: 4rem;
  font-weight: 900;
}

.reading-body {
  display: grid;
  align-content: start;
  padding: 24px;
}

.reading-body .eyebrow,
.reading-detail-copy .eyebrow {
  color: var(--terracotta);
}

.reading-body h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.reading-body p {
  margin: 0;
  color: var(--muted);
}

.reading-detail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), transparent 44%),
    rgba(255, 250, 240, 0.95);
  box-shadow: var(--shadow);
}

.reading-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: start;
}

.reading-detail-cover {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 22px 70px rgba(35, 25, 20, 0.2);
}

.reading-detail-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.reading-detail-copy .lead {
  max-width: 820px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.critique-copy {
  max-width: 840px;
  color: var(--ink);
  font-size: 1.06rem;
}

.reading-admin-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffdf7;
}

.reading-admin-list a {
  display: grid;
  gap: 2px;
  font-weight: 850;
}

.reading-admin-list small {
  color: var(--teal);
  font-weight: 850;
}

.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.danger-button {
  min-height: 32px;
  border: 1px solid rgba(116, 47, 37, 0.22);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--clay);
  background: rgba(163, 66, 45, 0.08);
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.danger-button:hover {
  transform: translateY(-1px);
  border-color: rgba(116, 47, 37, 0.4);
  background: rgba(163, 66, 45, 0.14);
}

.admin-subtitle {
  margin: 24px 0 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

@keyframes imageFloat {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-6px) scale(1.012);
  }
}

.lock {
  color: var(--terracotta);
  font-weight: 850;
}

.split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.interactive-panel {
  padding: 18px;
}

.flash {
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px solid rgba(216, 154, 35, 0.38);
  border-left: 6px solid var(--maize);
  border-radius: 0 8px 8px 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 253, 245, 0.98), rgba(248, 229, 190, 0.94));
  font-weight: 850;
  box-shadow:
    0 16px 40px rgba(18, 15, 13, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fffdf5;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.footer-note {
  padding: 20px clamp(18px, 5vw, 76px) 38px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.28fr);
  gap: 34px;
  padding: 46px clamp(18px, 5vw, 76px) 24px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.96), rgba(234, 215, 180, 0.92)),
    repeating-linear-gradient(90deg, rgba(35, 25, 20, 0.035) 0 1px, transparent 1px 36px);
  border-top: 6px solid var(--green);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.footer-brand img {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff8ea;
  box-shadow: 0 14px 32px rgba(35, 25, 20, 0.13);
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 10px;
  line-height: 1.05;
}

.site-footer h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.site-footer p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.site-footer .eyebrow {
  margin-bottom: 12px;
  color: var(--terracotta);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
  border-left: 1px solid rgba(35, 25, 20, 0.12);
  padding-left: 24px;
}

.footer-links a {
  color: var(--teal);
  font-weight: 800;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(35, 25, 20, 0.12);
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .auth-grid,
  .dashboard-grid,
  .course-grid,
  .reading-grid,
  .split-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero__bar,
  .app-topbar,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .musicxml-head {
    flex-direction: column;
  }

  .musicxml-controls {
    justify-content: flex-start;
  }

  .footer-links {
    border-left: 0;
    border-top: 1px solid rgba(35, 25, 20, 0.12);
    padding: 18px 0 0;
  }

  .app-layout {
    padding-top: 168px;
  }

  .course-hero,
  .course-page-grid,
  .lesson-hero,
  .lesson-layout,
  .reading-hero,
  .reading-detail-grid,
  .admin-workspace {
    grid-template-columns: 1fr;
  }

  .reading-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-side,
  .lesson-sidebar {
    position: static;
  }

  .admin-users-head {
    grid-template-columns: 1fr;
  }

  .lesson-hero img {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 84vh;
    background:
      linear-gradient(90deg, rgba(18, 13, 10, 0.82), rgba(18, 13, 10, 0.48)),
      url("raiz-cantora-hero.png") center / cover no-repeat;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .hero-logo-frame {
    width: min(210px, 66vw);
    margin: 0 0 18px 4px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .lesson-row {
    grid-template-columns: 1fr;
  }

  .premium-list .lesson-row {
    grid-template-columns: 1fr;
  }

  .comments-head,
  .comment-access,
  .comment-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .comment-item {
    grid-template-columns: 1fr;
  }

  .reply-list {
    padding-left: 10px;
  }

  .app-topbar .nav a,
  .app-topbar .nav button {
    width: 100%;
  }

  .hero__bar .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }

  .hero__bar .nav a {
    width: auto;
    padding-inline: 8px;
    text-align: center;
  }

  .video-frame > div {
    padding-top: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
