/* Reference pass: light editorial header, architectural hero, ivory rhythm. */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav.is-stuck,
body.admin-bar .nav {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}
body.aw-doc .nav {
  position: relative;
  background: var(--aw-ivory, #FAF6EC);
  border-bottom: 1px solid rgba(27, 59, 44, 0.08);
}
.nav__inner { min-height: 74px; }
.nav__center { display: flex; gap: 0.35rem; }
.nav__center a {
  color: #2A2723;
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0;
  background: none;
}
.nav__center a::after {
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0;
  height: 1px;
  background: #1B3B2C;
  transition: transform .28s ease;
}
.nav__center a:hover,
.nav__center a.is-active { color: #1B3B2C; }

.logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.15rem;
  box-shadow: none;
  padding-bottom: 2px;
}
.logo:hover .logo__mark { transform: none; }
.logo__text {
  font-family: Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #1B3B2C;
}
.logo__text span { color: #1B3B2C; }
html[lang="ur"] .logo__text { letter-spacing: 0; text-transform: none; font-size: 1rem; }

.lang {
  background: transparent;
  border: 0;
  padding: 0;
  height: auto;
  gap: 0.45rem;
  border-radius: 0;
  box-shadow: none;
}
.lang__pill { display: none; }
.lang__bar {
  width: 1px;
  height: 12px;
  background: rgba(42, 39, 35, 0.35);
}
.lang__btn {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #6E7A70;
  font-weight: 550;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.lang__btn.is-active { color: #1B3B2C; background: transparent; }
html[lang="ur"] .lang__btn { letter-spacing: 0; font-family: "Noto Nastaliq Urdu", serif; }

.nav-search__toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #1B3B2C;
  cursor: pointer;
  border-radius: 4px;
}
.nav-search__toggle svg { width: 18px; height: 18px; }
.nav__right { position: relative; }
.nav-search {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: min(280px, 70vw);
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid rgba(27, 59, 44, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 40px -28px rgba(13, 33, 22, 0.45);
}
.nav-search[hidden] { display: none !important; }
.nav-search input {
  width: 100%;
  height: 38px;
  border-radius: 6px;
  border: 1px solid rgba(27, 59, 44, 0.16);
  background: #FAF6EC;
  color: #2A2723;
  padding: 0 0.75rem;
  font-size: 0.88rem;
}
.nav-search input:focus { width: 100%; outline: none; background: #fff; }
.nav-search__empty { margin: 0; color: #6E7A70; font-size: 0.8rem; line-height: 1.45; }

.nav-buy {
  background: #1B3B2C;
  color: #FAF6EC;
  border-radius: 999px;
  box-shadow: none;
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.nav-buy:hover { background: #0D2116; transform: none; box-shadow: none; }
.cart-btn,
.burger {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: transparent;
  border-color: transparent;
  color: #1B3B2C;
}
.mobile-menu { background: #FAF6EC; }
.mobile-menu a { border-radius: 4px; }

.hero {
  background: #FAF6EC;
  color: #2A2723;
  padding-top: 6.2rem;
  padding-bottom: 2.8rem;
  min-height: 0;
}
.hero__scene { position: absolute; inset: 0; z-index: 0; }
.hero__scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  display: block;
}
.hero__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FAF6EC 0 32%, rgba(250, 246, 236, 0.92) 46%, rgba(250, 246, 236, 0.28) 64%, rgba(250, 246, 236, 0.02) 100%);
}
html[dir="rtl"] .hero__scene-img { object-position: 22% center; }
html[dir="rtl"] .hero__scene::after {
  background: linear-gradient(270deg, #FAF6EC 0 32%, rgba(250, 246, 236, 0.92) 46%, rgba(250, 246, 236, 0.28) 64%, rgba(250, 246, 236, 0.02) 100%);
}
html:not([lang="ur"]) .hero__scene-img--ur { display: none; }
html[lang="ur"] .hero__scene-img--en { display: none; }
.hero__scene-img--mobile { display: none; }
.bg-girih,
.bg-lattice,
.bg-ornament,
.hero__calli,
.hero__glow,
.bg-beams,
.hero-arch,
.hero__chips { display: none !important; }

.hero__title {
  color: #1B3B2C;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 11em;
  margin-top: 1rem;
}
.hero__title em { color: #1B3B2C; }
.hero__title em::after { display: none; }
.hero__sub { color: #3c463f; max-width: 36rem; }
.hero__note,
.hero__stat span { color: #6E7A70; }
.hero__note svg { stroke: #1B3B2C; }
.hero__stats { border-top-color: rgba(27, 59, 44, 0.12); margin-top: 1.8rem; padding-top: 1.2rem; }
.hero__stat b { color: #1B3B2C; font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
.eyebrow { color: #1B3B2C; border-color: rgba(27, 59, 44, 0.16); background: transparent; letter-spacing: 0.16em; }
.hero .btn--primary,
.nav-buy,
.featured__actions .btn--primary {
  background: #1B3B2C;
  box-shadow: none;
  border-radius: 999px;
}
.hero .btn--outline-light {
  color: #1B3B2C;
  border-color: rgba(27, 59, 44, 0.28);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}
.hero .btn--outline-light:hover { background: #fff; color: #1B3B2C; }
.hero .tome { width: min(230px, 62%); }
.hero__visual { min-height: 0; padding: 0.4rem 0 0; }
.hero .tome__shadow {
  left: 18%;
  right: 10%;
  bottom: -6px;
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(90, 70, 40, 0.28), transparent 72%);
}

.section,
.how,
#books,
#reviews,
#about,
#faq,
.promises-band { padding-block: clamp(2.8rem, 5vw, 4.4rem); }
.promises { margin-top: 0; }
.promises__card,
.promises__card::before {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.promises__card::before { display: none; }
.promise { background: transparent; padding: 0.4rem 1.3rem 0.2rem; }
.promise:hover { transform: none; box-shadow: none; background: transparent; }
.promise + .promise { border-inline-start: 1px solid rgba(27, 59, 44, 0.12); }
.icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(27, 59, 44, 0.18);
  color: #1B3B2C;
}

.featured__card {
  grid-template-columns: minmax(220px, 0.82fr) minmax(280px, 1.15fr) minmax(180px, 0.7fr);
  background: #fff;
  border: 1px solid rgba(27, 59, 44, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 50px -36px rgba(13, 33, 22, 0.45);
  overflow: visible;
  gap: 0;
  align-items: stretch;
}
.featured__card::before,
.featured__card::after { display: none; }
.featured__visual {
  background: #f6f1e6;
  min-height: 420px;
  padding: 1.6rem 1rem;
}
.featured__scene { position: relative; min-height: 420px; overflow: hidden; }
.featured__scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.featured__info { padding: clamp(1.4rem, 3vw, 2.4rem); }
.featured__actions .btn { border-radius: 999px; }
.featured__actions .btn--ghost { border-radius: 999px; background: transparent; }

.step {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 1.4rem 0.8rem 0.2rem;
}
.step:hover { transform: none; box-shadow: none; border-color: transparent; }
.step__num { box-shadow: 0 0 0 6px #FAF6EC; }
.how__grid::before { background: rgba(27, 59, 44, 0.18); height: 1px; }

.promo__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.72;
}
.promo__scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.promo__inner { position: relative; z-index: 1; }
.promo__kicker {
  margin: 0 0 0.8rem;
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E0C583;
}
html[lang="ur"] .promo__kicker {
  letter-spacing: 0;
  text-transform: none;
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 1.15rem;
  line-height: 2;
}
.promo__ar { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.btn--ivory {
  background: #E4D2A8;
  color: #1B3B2C;
  border-radius: 999px;
  box-shadow: none;
}
.btn--ivory:hover { background: #F3E6C8; color: #0D2116; transform: translateY(-2px); }
.btn { border-radius: 8px; }
.btn--primary:hover { transform: translateY(-2px); }

.footer {
  background: #FAF6EC;
  color: #2A2723;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background:
    radial-gradient(circle at 0 0, transparent 18px, rgba(27, 59, 44, 0.05) 19px, transparent 20px) 0 0 / 28px 28px,
    radial-gradient(circle at 100% 100%, transparent 18px, rgba(27, 59, 44, 0.05) 19px, transparent 20px) 0 0 / 28px 28px;
  mask-image: linear-gradient(#000, transparent 70%);
}
.footer .logo__text,
.footer h4 { color: #1B3B2C; }
.footer__blurb,
.footer__bottom,
.footer__news p { color: #6E7A70; }
.footer__links a { color: #2A2723; }
.footer__links a:hover { color: #1B3B2C; }
.footer__lang { margin-top: 1.1rem; display: grid; gap: 0.35rem; }
.footer__lang > span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1B3B2C;
  font-weight: 650;
}
html[lang="ur"] .footer__lang > span { letter-spacing: 0; text-transform: none; font-family: "Noto Nastaliq Urdu", serif; font-size: 1rem; }
.news-form input {
  background: #fff;
  color: #2A2723;
  border: 1px solid rgba(27, 59, 44, 0.16);
  border-radius: 8px;
}
.news-form input::placeholder { color: #6E7A70; }
.footer .bg-girih { opacity: 0.035; }

@media (max-width: 1100px) {
  .featured__card { grid-template-columns: 1fr; }
  .featured__scene { display: block; min-height: 200px; max-height: 220px; }
  .featured__visual { min-height: 0; }
}
@media (max-width: 1024px) {
  .nav__center { display: none; }
  .burger { display: grid; }
}
@media (max-width: 800px) {
  .hero { padding-top: 5.4rem; padding-bottom: 2rem; }
  .hero__scene-img--desk { display: none !important; }
  .hero__scene-img--mobile.hero__scene-img--en,
  html[lang="ur"] .hero__scene-img--mobile.hero__scene-img--ur { display: block; }
  html[lang="ur"] .hero__scene-img--mobile.hero__scene-img--en { display: none; }
  .hero__scene::after,
  html[dir="rtl"] .hero__scene::after {
    background: linear-gradient(180deg, rgba(250, 246, 236, 0.94) 0 46%, rgba(250, 246, 236, 0.72) 70%, rgba(250, 246, 236, 0.35) 100%);
  }
  .hero__title { max-width: none; }
  .hero .tome { width: min(200px, 58%); }
  .promise + .promise { border-inline-start: 0; border-top: 1px solid rgba(27, 59, 44, 0.12); padding-top: 1.1rem; }
  .featured__card { grid-template-columns: 1fr; }
  .how__grid { grid-template-columns: 1fr 1fr; }
  .nav-search { position: static; width: min(220px, 46vw); box-shadow: none; padding: 0; border: 0; background: transparent; }
  .nav-buy { display: none; }
}
.contact-form { display: grid; gap: 0.75rem; margin-top: 1.4rem; max-width: 520px; }
.contact-form label { font-weight: 600; font-size: 0.92rem; color: #1B3B2C; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 0.3rem; padding: 0.7rem 0.8rem;
  border: 1px solid rgba(27,59,44,.18); border-radius: 8px; background: #fff; font: inherit;
}
.contact-form__note { color: #1B3B2C; font-size: 0.92rem; }

@media (max-width: 700px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__grid::before { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .news-form { flex-direction: column; align-items: stretch; }
  .news-form input,
  .news-form button { width: 100%; min-height: 48px; }
  .footer__links a { padding: 0.28rem 0; font-size: 1rem; }
  .hero__copy { order: 0; }
  .hero__visual { order: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__scene { animation: awFade .8s ease both; }
  .hero .eyebrow { animation: awRise .55s ease .12s both; }
  .hero__title { animation: awRise .65s ease .22s both; }
  .hero__sub { animation: awRise .65s ease .34s both; }
  .hero__cta { animation: awRise .6s ease .46s both; }
  .hero__note { animation: awRise .55s ease .56s both; }
  .hero__stats { animation: awRise .55s ease .66s both; }
  .hero .tome { animation: awFade .7s ease .2s both; }
}
@keyframes awFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes awRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes awBook { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(8px); } }
@media (max-width: 800px) {
  .hero .tome { animation-name: awFade; }
}
@media (prefers-reduced-motion: reduce) {
  .nav, .btn, .tome__cover, .faq__a, .faq__icon, .hero__scene, .hero .eyebrow, .hero__title, .hero__sub, .hero__cta, .hero__note, .hero__stats, .hero .tome { animation: none; transition: none; }
}

/* Final art direction: scale, grounding, and rhythm. No new sections. */

.hero { padding-bottom: 0.35rem; overflow: visible; }
.hero__inner { align-items: center; }
.hero__copy { align-self: center; padding-bottom: 0.2rem; }
.hero__sub { max-width: 34rem; margin-top: 1rem; }
.hero__cta { margin-top: 1.4rem; gap: 0.7rem; }
.hero__note { margin-top: 0.85rem; }
.hero__stats { margin-top: 1.25rem; padding-top: 1rem; gap: 1.6rem 2rem; }
.hero__scene-img { object-position: 74% 62%; }
.hero__visual {
  justify-content: flex-end;
  align-items: center;
  padding: 1.2rem 10% 1.6rem 0;
  min-height: 100%;
}
.hero .tome { width: min(304px, 82%); margin-bottom: 0; transform: none; }
.hero .tome__shadow {
  left: 16%;
  right: 16%;
  bottom: -3px;
  height: 9px;
  filter: none;
  background: radial-gradient(ellipse at center, rgba(55, 40, 20, 0.34), transparent 72%);
}

#books { padding-top: 2.4rem; }
#books .section-head { margin-bottom: 1.35rem; }
#books .container { max-width: 1080px; }
.featured__card {
  grid-template-columns: minmax(200px, 0.72fr) minmax(240px, 0.9fr) minmax(280px, 1.05fr);
  align-items: stretch;
}
.featured__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  padding: 1.5rem 0.75rem;
  background: #f4efe6;
}
.featured__scene { min-height: 440px; }
.featured__scene img { object-position: center 38%; }
.featured__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem 1.7rem 1.6rem 1.35rem;
}
.tome--feat { width: min(248px, 82%); }
.tome--feat .tome__shadow {
  height: 10px;
  bottom: -4px;
  background: radial-gradient(ellipse at center, rgba(55, 40, 20, 0.28), transparent 72%);
  filter: none;
}

.promises-band { padding-bottom: 1.5rem; }
#reviews { padding-top: 2.5rem; }
#how, .how { padding-top: 2.3rem; }
#about { padding-top: 2.3rem; }
#faq { padding-top: 2rem; padding-bottom: 2.2rem; }

.review {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.2rem 0.35rem 0.4rem;
  gap: 0.75rem;
}
.reviews__grid { gap: 1.6rem 2rem; align-items: stretch; }
.review__text { font-size: 1.02rem; line-height: 1.65; color: #2A2723; }
.review__by b { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 1rem; }

.step { align-items: flex-start; padding: 0 0.85rem; gap: 0.55rem; }
.step__num {
  position: static;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 50%;
  background: transparent;
  color: #1B3B2C;
  border: 1px solid rgba(27, 59, 44, 0.28);
  box-shadow: none;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 1.15rem;
}
.step__icon { margin-top: 0.15rem; }
.how__grid::before { top: 21px; }

.about__wrap { align-items: start; gap: clamp(2rem, 4vw, 3.5rem); }
.about__copy { max-width: 38rem; }
.about__stats { align-content: start; }
.stat {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(27, 59, 44, 0.12);
  border-radius: 0;
  padding: 0.95rem 0.15rem 0.7rem;
  box-shadow: none;
}
.stat:hover { transform: none; background: transparent; box-shadow: none; }
.stat b { font-family: "Playfair Display", Georgia, serif; font-weight: 500; letter-spacing: 0; }

.faq__list { max-width: 940px; gap: 0; }
.faq__item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(27, 59, 44, 0.12);
  border-radius: 0;
  box-shadow: none;
}
.faq__item.is-open { border-color: transparent; border-bottom-color: rgba(27, 59, 44, 0.12); box-shadow: none; }
.faq__q { padding: 1.05rem 0.15rem; font-weight: 550; font-size: 1.02rem; }
.faq__q:hover { color: #1B3B2C; }
.faq__icon { background: transparent; color: #1B3B2C; box-shadow: none; transition: transform .28s ease; }
.faq__item.is-open .faq__icon { background: transparent; color: #1B3B2C; }
.faq__a { transition: max-height .32s ease; }
.faq__a p { padding-inline: 0.15rem; }

.promo__inner { padding-block: clamp(3.1rem, 5.5vw, 4.4rem); }
.promo__scene { opacity: 0.58; }
.promo__scene img { object-position: center 78%; }
.promo h2 { margin-top: 0.35rem; }

.btn,
.btn--primary,
.btn--ghost,
.btn--ivory,
.btn--outline-light,
.nav-buy,
.featured__actions .btn,
.hero .btn--primary,
.hero .btn--outline-light {
  border-radius: 8px;
}
.btn--primary {
  box-shadow: 0 10px 18px -14px rgba(13, 33, 22, 0.85);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 22px -14px rgba(13, 33, 22, 0.7); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(27, 59, 44, 0.22);
}
.btn--ghost:hover { background: #fff; transform: translateY(-1px); box-shadow: none; }
.btn--ivory:hover { transform: translateY(-1px); }

.footer::before,
.footer .bg-girih { display: none; }
.footer__lang { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.85rem; }
.footer__lang > span { margin: 0; }
.footer__grid { padding-block: 2.5rem 1.15rem; gap: 1.75rem 2.25rem; }
.footer__blurb,
.footer__links a,
.footer__news p { font-size: 0.95rem; }
.footer h4 { font-size: 0.8rem; margin-bottom: 0.85rem; }
.footer__bottom {
  border-top: 1px solid rgba(27, 59, 44, 0.12);
  margin-top: 0.35rem;
  padding-block: 0.95rem 1.15rem;
  font-size: 0.86rem;
  color: #6E7A70;
}

@media (max-width: 980px) {
  .hero__visual {
    min-height: 0 !important;
    order: 0;
    justify-content: flex-end;
    padding: 0.2rem 0 0.1rem;
  }
  .hero .tome { width: min(250px, 72%); transform: none; }
}
@media (max-width: 900px) {
  .featured__card { grid-template-columns: 1fr; }
}

.featured__card { grid-template-columns: minmax(280px, 1.15fr) minmax(300px, 1fr); max-width: 1040px; }
.featured__stage {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  height: auto;
  max-height: none;
  overflow: hidden;
  background: #e7dcc8;
}
.featured__stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.featured__stage .featured__visual {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  min-height: 100%;
  height: 100%;
  max-height: none;
  padding: 2.2rem 1.6rem;
}
.featured__info { padding: 1.8rem 1.8rem 1.8rem 1.6rem; }
.promise { padding: 1.15rem 1.7rem 1.25rem; }
.promise__label { display: block; margin-bottom: 0.45rem; }
.promise__d { margin: 0; padding-top: 0.15rem; }
.promise.reveal.in:hover { transform: translateY(-4px); }
.review { padding: 0.4rem 0.8rem 0.6rem; }
.step { padding: 0.2rem 1.1rem 0.4rem; }
.section-head,
.promise,
.step,
.review,
.stat,
.featured__info {
  padding-inline: 0.15rem;
}
.promise { padding-inline: 1.7rem; }
.featured__info { padding: 2.4rem 2.5rem 2.4rem 2.2rem; }
.step { padding: 0.3rem 1.15rem 0.5rem; }
.review { padding: 0.5rem 0.9rem 0.7rem; }
.stat { padding: 1rem 0.4rem 0.75rem; }
.promise.reveal,
.step.reveal,
.review.reveal,
.stat.reveal,
.section-head.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.promise.reveal.in,
.step.reveal.in,
.review.reveal.in,
.stat.reveal.in,
.section-head.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s ease;
}
@media (prefers-reduced-motion: reduce) {
  .promise.reveal,
  .step.reveal,
  .review.reveal,
  .stat.reveal,
  .section-head.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.feature-list li,
.featured__sub,
.featured__title,
.price__note { overflow-wrap: anywhere; }
.featured__actions { margin-top: 1.25rem; }
.featured__actions .btn { min-width: 0; }

@media (max-width: 800px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 5.2rem;
    padding-bottom: 0;
    background: #FAF6EC;
  }
  .hero__scene {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    height: 340px;
    flex: none;
  }
  .hero__inner { order: 1; position: relative; z-index: 2; }
  .hero__scene::after,
  html[dir="rtl"] .hero__scene::after {
    background: linear-gradient(180deg, #FAF6EC 0%, rgba(250, 246, 236, 0) 24%);
  }
  .hero__scene-img { object-position: center 55%; }
  .hero__visual {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 340px;
    z-index: 3;
    justify-content: flex-end;
    align-items: center;
    padding: 0 1rem 1.35rem;
    min-height: 0;
  }
  .hero .tome { width: min(196px, 54%); transform: none; }
  .hero__copy { padding-inline: 0.4rem; }
  .featured__info { padding: 1.5rem 1.25rem 1.6rem; }
}

/* One position on a phone. Desktop motion must not move these. */
@media (max-width: 800px) {
  .hero { position: relative; }
  .hero__inner { position: static; }
  .hero__scene { height: 420px; }
  .hero__visual {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 10px;
    height: auto;
    margin: 0;
    display: flex;
    transform: none;
    justify-content: center;
    align-items: flex-end;
    padding: 0;
    pointer-events: none;
  }
  .hero .tome {
    animation: none !important;
    transform: none;
    width: min(176px, 48%);
    margin: 0;
    pointer-events: auto;
  }
  .featured__stage,
  .featured__stage .featured__visual {
    position: relative;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 5 / 4;
  }
  .featured__stage .featured__visual {
    position: absolute;
    inset: 0;
    height: auto;
    padding: 1.4rem 1rem;
  }
  .tome--feat { width: min(168px, 46%); }
}
.tome__leaf {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tome__lesson-ar,
.tome__lines b {
  font-size: 1.35rem;
  line-height: 1.35;
}
.tome__cover,
.tome:hover .tome__cover,
.tome.is-open .tome__cover,
.tome:focus-within .tome__cover {
  transform: none;
}
.hero .tome,
.tome--feat {
  transition: transform .35s ease;
}
.hero .tome:hover,
.tome--feat:hover,
.hero .tome.is-open,
.tome--feat.is-open,
.hero .tome:active,
.tome--feat:active {
  transform: translateY(-8px);
}
@media (max-width: 800px) {
  .featured__card { grid-template-columns: 1fr; overflow: hidden; }
  .featured__stage {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
  .featured__stage > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
  }
  .featured__stage .featured__visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
    max-height: none;
    background: transparent;
    padding: 1rem;
  }
  .tome--feat { width: min(150px, 42%); }
  .hero .hero__visual {
    bottom: 0;
    height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .tome,
  .tome--feat,
  .hero .tome:hover,
  .tome--feat:hover,
  .hero .tome.is-open,
  .tome--feat.is-open { animation: none !important; transform: none; transition: none; }
}
