/* فال حافظ — landing (orbital glow, stable RTL layout) */
.fh-page {
  --fh-gold: #e8d9a8;
  --fh-teal: #5eead4;
  --fh-purple: #c4b5fd;
  --fh-surface: rgba(16, 14, 26, 0.94);
  --fh-border: rgba(94, 234, 212, 0.2);
  --fh-glow: rgba(94, 234, 212, 0.12);
  overflow-x: clip;
}
.fh-page .section--cosmic { overflow: visible; }

/* Hero banner → shared tool-hero-banner.css (.tl-hero-banner) */

/* ── Shared ── */
.fh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--fh-teal);
  margin-bottom: 0.4rem;
}
.fh-section-head,
.fh-cast__head {
  direction: rtl;
  text-align: start;
  margin-bottom: 1.15rem;
}
.fh-section-head h2,
.fh-cast__head h2 {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  margin: 0 0 0.3rem;
  color: #f0ebe3;
}
.fh-cast__head p { color: #9b90b0; margin: 0; font-size: 0.9rem; }

/* ── Path ── */
.fh-path {
  padding: 1.25rem 0 0.75rem;
  position: relative;
  z-index: 1;
}
.fh-path__grid {
  display: grid;
  gap: 0.6rem;
}
@media (min-width: 680px) {
  .fh-path__grid { grid-template-columns: repeat(3, 1fr); }
}
.fh-path__card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--fh-border);
  background:
    radial-gradient(ellipse at 100% 0%, var(--fh-glow), transparent 58%),
    var(--fh-surface);
  direction: rtl;
  text-align: start;
}
.fh-path__icon {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--fh-teal);
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.28);
}
.fh-path__card h2 {
  font-size: 0.92rem;
  margin: 0 0 0.2rem;
  color: #f0ebe3;
}
.fh-path__card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #9b90b0;
}

/* ── Cast / trial ── */
.fh-cast {
  padding: 1.5rem 0 2rem;
  position: relative;
  z-index: 1;
}
.fh-cast__layout {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 960px) {
  .fh-cast__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.72fr);
  }
}
.fh-trial-wrap {
  border-radius: 20px;
  padding: clamp(1.15rem, 3vw, 1.6rem);
  border: 1px solid rgba(94, 234, 212, 0.22);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(94, 234, 212, 0.09), transparent 55%),
    linear-gradient(165deg, rgba(18, 16, 28, 0.98), rgba(10, 8, 16, 0.99));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  min-width: 0;
  height: 100%;
}
.fh-cast__aside {
  min-width: 0;
  display: flex;
}
@media (max-width: 959px) {
  .fh-cast__aside { display: none; }
}
.fh-cast__side-panel {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(232, 217, 168, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}
.fh-cast__side-bg {
  position: absolute;
  inset: 0;
  background-image: var(--fh-trad-bg, url("/static/site/fal-hafez/tradition.webp"));
  background-size: cover;
  background-position: 58% center;
  background-repeat: no-repeat;
  transform: scale(1.06);
}
.fh-cast__side-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 6, 14, 0.96) 0%, rgba(8, 6, 14, 0.72) 45%, rgba(8, 6, 14, 0.4) 100%),
    radial-gradient(ellipse at 100% 0%, rgba(94, 234, 212, 0.12), transparent 55%);
}
.fh-cast__side-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1.25rem 1.15rem;
  direction: rtl;
  text-align: start;
}
.fh-cast__side-label {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fh-teal);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: rgba(8, 6, 14, 0.45);
}
.fh-cast__sample-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--fh-gold);
}
.fh-cast__quote-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--fh-gold);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}
.fh-cast__adab {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.fh-cast__adab li {
  font-size: 0.76rem;
  line-height: 1.55;
  color: #d8d0e8;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.fh-cast__sample-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.7rem;
  color: #9b90b0;
}

.fh-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}
.fh-mode-btn {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #9b90b0;
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.fh-mode-btn.is-active {
  border-color: rgba(94, 234, 212, 0.55);
  color: var(--fh-teal);
  background: rgba(94, 234, 212, 0.1);
}
.fh-trial__form {
  display: grid;
  gap: 0.7rem;
  direction: rtl;
  text-align: start;
}
.fh-field span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #9b90b0;
  margin-bottom: 0.28rem;
}
.fh-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: #f0ebe3;
  font: inherit;
}
.fh-field input:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.1);
}
.fh-trial__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.15rem;
}
.fh-quota { color: var(--fh-teal) !important; font-weight: 800; }

/* ── Result (landing) ── */
.fh-page .fh-trial__result:not([hidden]) { margin-top: 1rem; }
.fh-page .trial-res {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
.fh-page .trial-hafez-card {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}
.fh-page .fh-result-card {
  direction: rtl;
  text-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(232, 217, 168, 0.28);
  background: rgba(8, 6, 14, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.fh-page .fh-result-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  color: #9b90b0;
  background: rgba(0, 0, 0, 0.25);
}
.fh-page .fh-result-card__head b { color: var(--fh-gold); }
.fh-page .fh-result-card__frame {
  position: relative;
  margin: 0.75rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(232, 217, 168, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(94, 234, 212, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.35);
}
.fh-page .fh-result-card__frame-bg {
  position: absolute;
  inset: 0;
  background-image: var(--fh-trad-bg, url("/static/site/fal-hafez/tradition.webp"));
  background-size: cover;
  background-position: 55% center;
  background-repeat: no-repeat;
  transform: scale(1.08);
}
.fh-page .fh-result-card__frame-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8, 6, 14, 0.72) 0%, rgba(8, 6, 14, 0.88) 55%, rgba(8, 6, 14, 0.94) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(167, 139, 250, 0.15), transparent 60%);
}
.fh-page .fh-result-card__frame-body {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
}
.fh-page .fh-result-card__opening {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  line-height: 1.95;
  color: #faf7f0;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.fh-page .fh-result-card__poem {
  margin: 0;
  padding: 0.65rem 0.25rem 0.15rem;
  text-align: center;
}
.fh-page .fh-result-card__beyt {
  display: block;
  font-size: 1rem;
  line-height: 2.2;
  color: #f0ebe3;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.fh-page .fh-result-card__interp {
  padding: 0.95rem 1rem 1rem;
  margin: 0 0.75rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-inline-start: 3px solid rgba(167, 139, 250, 0.55);
  background: rgba(0, 0, 0, 0.32);
}
.fh-page .fh-result-card__interp h4 {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  color: var(--fh-purple);
}
.fh-page .fh-result-card__interp p {
  margin: 0;
  line-height: 1.85;
  color: #c5cdd8;
  font-size: 0.88rem;
}
.fh-page .trial-res__disc {
  text-align: start;
  direction: rtl;
  margin-top: 0.65rem;
  font-size: 0.74rem;
  color: #8a8298;
}
.fh-page .trial-prompt {
  margin-top: 0.85rem;
  direction: rtl;
  text-align: start;
}

/* ── About (stacked: image top, text below) ── */
.fh-about {
  padding: 1.5rem 0 2rem;
  position: relative;
  z-index: 1;
}
.fh-about__card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--fh-border);
  background: var(--fh-surface);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  width: 100%;
}
.fh-about__banner {
  margin: 0;
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  min-height: 11rem;
  max-height: 22rem;
  overflow: hidden;
  position: relative;
  background-color: #0a0810;
  background-image: var(--fh-trad-bg, url("/static/site/fal-hafez/tradition.webp"));
  background-size: cover;
  background-position: 58% center;
  background-repeat: no-repeat;
}
.fh-about__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 6, 14, 0.55) 0%, transparent 55%);
  pointer-events: none;
}
.fh-about__body {
  padding: clamp(1.1rem, 3vw, 1.5rem);
  direction: rtl;
  text-align: start;
}
.fh-about__body h2 {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin: 0 0 0.65rem;
  color: #f0ebe3;
}
.fh-prose p {
  color: #9b90b0;
  line-height: 1.85;
  font-size: 0.9rem;
  margin: 0 0 0.65rem;
}
.fh-notes {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.fh-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}
.fh-note__n {
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--fh-teal);
  background: rgba(94, 234, 212, 0.1);
  flex-shrink: 0;
}
.fh-note p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #b8afc8;
}

/* ── Features ── */
.fh-features-section {
  padding: 1.5rem 0 2rem;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(94, 234, 212, 0.06), transparent 55%),
    transparent;
}
.fh-features {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
@media (min-width: 720px) {
  .fh-features { grid-template-columns: repeat(3, 1fr); }
}
.fh-feature {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  direction: rtl;
  text-align: start;
  transition: border-color 0.2s, transform 0.15s;
}
.fh-feature:hover {
  border-color: rgba(94, 234, 212, 0.3);
  transform: translateY(-2px);
}
.fh-feature__icon {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--fh-teal);
}
.fh-feature h3 {
  font-size: 0.9rem;
  margin: 0 0 0.2rem;
  color: #f0ebe3;
}
.fh-feature p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #9b90b0;
}
.fh-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  direction: rtl;
  text-align: start;
}
@media (min-width: 640px) {
  .fh-benefits { grid-template-columns: 1fr 1fr; }
}
.fh-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #b8afc8;
}

/* ── Steps ── */
.fh-steps-section { padding: 1.25rem 0 2rem; position: relative; z-index: 1; }
.fh-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  direction: rtl;
}
@media (min-width: 760px) {
  .fh-steps { grid-template-columns: repeat(3, 1fr); }
}
.fh-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-align: start;
}
.fh-step__n {
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--fh-teal);
  background: rgba(94, 234, 212, 0.12);
}
.fh-step p { margin: 0; line-height: 1.7; color: #c5cdd8; font-size: 0.84rem; }

/* ── FAQ ── */
.fh-faq-section { padding: 1.25rem 0 2rem; position: relative; z-index: 1; }
.fh-faq {
  display: grid;
  gap: 0.4rem;
  direction: rtl;
  text-align: start;
}
.fh-faq__item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.1rem 0.8rem;
}
.fh-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
  color: #f0ebe3;
  padding: 0.6rem 0;
}
.fh-faq__item p {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  line-height: 1.75;
  color: #9b90b0;
}

/* ── CTA ── */
.fh-cta-section { padding: 1rem 0 2rem; position: relative; z-index: 1; }
.fh-cta {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 20px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(94, 234, 212, 0.08), transparent 55%),
    var(--fh-surface);
  overflow: hidden;
}
.fh-cta--video {
  position: relative;
  isolation: isolate;
  min-height: 12.5rem;
  display: block;
  border-color: rgba(232, 217, 168, 0.28);
  background: #08060e;
}
.fh-cta__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  z-index: 0;
}
.fh-cta__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to left, rgba(8, 6, 14, 0.88) 0%, rgba(8, 6, 14, 0.74) 52%, rgba(8, 6, 14, 0.58) 100%);
}
@media (max-width: 640px) {
  .fh-cta--video { min-height: 14rem; }
  .fh-cta__shade {
    background: rgba(8, 6, 14, 0.72);
  }
}
.fh-cta__copy {
  direction: rtl;
  text-align: start;
  position: relative;
  z-index: 2;
}
.fh-cta--video h2 { color: #faf7f0; }
.fh-cta--video p { color: #e4dced; }
[data-theme="light"] .fh-cta--video h2 { color: #faf7f0; }
[data-theme="light"] .fh-cta--video p { color: #e4dced; }
.fh-cta__spark {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  font-size: 1.35rem;
  opacity: 0.35;
  color: var(--fh-gold);
}
.fh-cta h2 {
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  margin: 0 0 0.3rem;
  color: #f0ebe3;
}
.fh-cta p {
  margin: 0 0 0.85rem;
  color: #9b90b0;
  font-size: 0.88rem;
}
.fh-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.fh-cta__art {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--fh-border);
  aspect-ratio: 16 / 9;
}
.fh-cta__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Related ── */
.fh-related-section { padding: 0 0 2.5rem; position: relative; z-index: 1; }
.fh-related {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.fh-related__card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  direction: rtl;
  transition: border-color 0.2s, transform 0.15s;
}
.fh-related__card:hover {
  border-color: rgba(94, 234, 212, 0.35);
  transform: translateY(-2px);
}
.fh-related__icon { color: var(--fh-teal); }
.fh-related__card strong {
  color: #f0ebe3;
  font-size: 0.84rem;
}

/* ── Panel (in-app) ── */
.hafez-panel-card {
  border-radius: 16px;
  padding: 1.25rem;
  background: linear-gradient(160deg, rgba(94, 234, 212, 0.06), rgba(167, 139, 250, 0.06));
  border: 1px solid rgba(94, 234, 212, 0.18);
  margin-top: 1rem;
}
.hafez-poem-display {
  text-align: center;
  font-size: 1.05rem;
  line-height: 2.15;
  padding: 1rem 0.5rem;
  color: var(--text);
}
.hafez-poem-display .hafez-bayt { display: block; }
.hafez-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.fh-page .fh-result-card > details,
.fh-page .fh-result-card > .fh-audio,
.fh-ghazal .fh-audio,
.fh-ghazal .ed-fold {
  width: min(100% - 2.4rem, 34rem);
  margin-inline: auto;
}
.fh-page .fh-result-card > details {
  margin-block: 0.35rem 0.15rem;
  border-radius: 18px;
  border: 1px solid rgba(232, 217, 168, 0.32);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.fh-page .fh-result-card > details > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  list-style: none;
  text-align: center;
  font-weight: 800;
  color: #faf7f0;
}
.fh-page .fh-result-card > details > summary::-webkit-details-marker { display: none; }
.fh-page .fh-result-card > details[open] > summary {
  border-bottom: 1px solid rgba(232, 217, 168, 0.18);
}
.fh-page .fh-result-card > details .fh-result-card__poem {
  padding: 0.85rem 1rem 1rem;
}
.fh-audio {
  margin: 0.85rem auto 0.4rem;
  padding: 0.7rem 0.85rem 0.75rem;
  border-radius: 18px;
  border: 1px solid rgba(232, 217, 168, 0.28);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}
.fh-audio audio {
  display: block;
  width: min(100%, 32rem);
  height: 42px;
  margin-inline: auto;
  border-radius: 999px;
}
.fh-audio__credit {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #9b90b0;
  text-align: center;
}
[data-theme="light"] .fh-audio__credit { color: #6b6258; }

/* Legacy trial classes outside fh-page */
.trial-hafez-card {
  padding: 1.2rem 1.25rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(228, 197, 106, 0.22);
  direction: rtl;
  text-align: start;
}
.trial-hafez-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  font-size: 0.78rem;
  color: #9b90b0;
  margin-bottom: 0.75rem;
}
.trial-hafez-opening {
  font-size: 1.1rem;
  line-height: 1.95;
  color: #f5f0e6;
  font-weight: 700;
  margin: 0 0 0.65rem;
}
.trial-hafez-poem {
  font-size: 1rem;
  line-height: 2.15;
  color: #e8edf4;
  white-space: pre-wrap;
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}
.trial-hafez-interp {
  margin-top: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border-inline-start: 3px solid rgba(167, 139, 250, 0.55);
}
.trial-hafez-interp h4 { margin: 0 0 0.4rem; font-size: 0.82rem; color: #a78bfa; }
.trial-hafez-interp p { margin: 0; line-height: 1.85; color: #c5cdd8; }

/* ── Light theme ── */
[data-theme="light"] .fh-page {
  --fh-surface: rgba(255, 252, 245, 0.98);
  --fh-border: rgba(160, 120, 40, 0.18);
  --fh-glow: rgba(160, 120, 40, 0.08);
}
[data-theme="light"] .fh-hero-banner h1,
[data-theme="light"] .fh-section-head h2,
[data-theme="light"] .fh-cast__head h2,
[data-theme="light"] .fh-about__body h2,
[data-theme="light"] .fh-cta h2 { color: #1a1408; }
[data-theme="light"] .fh-hero__lead,
[data-theme="light"] .fh-prose p,
[data-theme="light"] .fh-cast__head p { color: #5c5348; }
[data-theme="light"] .fh-hero-banner__shade {
  background:
    linear-gradient(to top, rgba(255, 250, 240, 0.95) 0%, rgba(255, 250, 240, 0.6) 45%, rgba(255, 250, 240, 0.2) 100%);
}
[data-theme="light"] .fh-hero-banner h1 { color: #1a1408; text-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .fh-page .tl-hero-banner__video,
  .fh-page .fh-cta__video { display: none; }
  .fh-page .tl-hero-banner--film,
  .fh-page .fh-cta--video {
    background-image: url("/static/site/fal-hafez/garden-poster.jpg");
    background-size: cover;
    background-position: center;
  }
}
[data-theme="light"] .fh-field input {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1a1408;
}
[data-theme="light"] .fh-trial-wrap,
[data-theme="light"] .fh-about__card {
  background: linear-gradient(165deg, #fff9ef, #f5f0e6);
  border-color: rgba(160, 120, 40, 0.2);
}
[data-theme="light"] .fh-path__card,
[data-theme="light"] .fh-feature,
[data-theme="light"] .fh-step,
[data-theme="light"] .fh-faq__item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}

/* impl12: desktop side panel uses a tall portrait miniature (sky → Divan → garden pool, ~1:2.8) so a tall result
   column shows more of the scene instead of a stretched landscape crop. Top-anchored; the image itself fades to the
   panel colour at the bottom, where the adab text sits. Mobile hides the aside (unchanged). */
@media (min-width: 960px) {
  .fh-cast__side-panel { background: #0a0816; }
  .fh-cast__side-bg {
    background-image: url("/static/site/fal-hafez/tradition-tall.webp?v=1");
    background-size: cover;
    background-position: center top;
    transform: none;
  }
  .fh-cast__side-bg::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
    background: linear-gradient(to bottom, transparent, #0a0816 85%);
  }
  .fh-cast__side-shade {
    background:
      linear-gradient(to top, rgba(8, 6, 14, 0.92) 0%, rgba(8, 6, 14, 0.55) 30%, rgba(8, 6, 14, 0.12) 62%, rgba(8, 6, 14, 0.18) 100%),
      radial-gradient(ellipse at 100% 0%, rgba(94, 234, 212, 0.1), transparent 55%);
  }
}
