:root {
  --madder: #8c1c2c;
  --navy: #142033;
  --gold: #c9a227;
  --cream: #f7f1e4;
  --ink: #1c1612;
  --muted: #6d6258;
}

html { overflow-x: clip; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Vazirmatn", system-ui, sans-serif;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.lang-en { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.12rem; }

.site-nav {
  background:
    linear-gradient(180deg, rgba(20,32,51,0.97), rgba(14,22,36,0.98));
  border-bottom: 0;
  overflow: visible;
  box-shadow: 0 18px 40px rgba(8, 12, 20, 0.28);
}
.site-nav::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent 4%, var(--gold) 50%, transparent 96%);
}
.site-nav .navbar-collapse,
.site-nav .container { overflow: visible; }
.site-nav.navbar > .container,
.nav-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.35rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  flex-wrap: nowrap;
}
.navbar-brand {
  font-weight: 700;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  line-height: 1.25;
  font-size: clamp(0.92rem, 2.4vw, 1.12rem);
}
.navbar-brand span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-logo {
  height: 42px;
  width: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.18);
  flex-shrink: 0;
}
.nav-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.nav-tools-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.nav-burger {
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid var(--gold) !important;
  border-radius: 0.7rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: var(--gold) !important;
  font-size: 1.55rem;
  line-height: 1;
  z-index: 6;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
.nav-burger .bi { line-height: 1; }
.nav-burger-close { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger-open { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger-close { display: inline; }
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(201,162,39,0.28);
}
@media (min-width: 1200px) {
  .nav-burger { display: none !important; }
}
.navbar-nav .nav-link {
  color: #f3e6c8 !important;
  font-weight: 600;
  position: relative;
  padding: 0.45rem 0.72rem !important;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.navbar-nav .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}
.navbar-nav .dropdown-toggle::after { display: none !important; }
.nav-caret {
  font-size: 0.68em;
  opacity: 0.85;
  transition: transform 0.22s ease;
}
.dropdown-toggle[aria-expanded="true"] .nav-caret,
.dropdown-toggle.show .nav-caret {
  transform: rotate(180deg);
}
.navbar-nav .nav-item:not(.dropdown) .nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0.85rem;
  bottom: 0.18rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.28s ease;
}
.navbar-nav .nav-item:not(.dropdown) .nav-link:hover::after,
.navbar-nav .nav-item:not(.dropdown) .nav-link:focus::after,
.navbar-nav .nav-item:not(.dropdown) .nav-link.is-on::after {
  transform: scaleX(1);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .dropdown-toggle.show {
  color: var(--gold) !important;
  background: rgba(201,162,39,0.08);
}
.navbar-nav .nav-link.is-on {
  color: var(--gold) !important;
  background: rgba(201,162,39,0.16);
}
.nav-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 999px;
  padding: 0.12rem 0.15rem 0.12rem 0.15rem;
  width: min(16rem, 100%);
}
.nav-search .bi-search {
  color: var(--gold);
  padding-inline: 0.55rem 0.1rem;
  font-size: 0.9rem;
}
.nav-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  outline: none;
  padding: 0.32rem 0.15rem;
}
.nav-search input::placeholder { color: rgba(243,230,200,0.58); }
.nav-search button {
  border: 0;
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  white-space: nowrap;
}
.nav-search button:hover { background: #e0bc4a; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,162,39,0.55);
  border-radius: 999px;
  padding: 0.14rem;
  text-decoration: none !important;
  flex-shrink: 0;
}
.lang-toggle span {
  min-width: 1.9rem;
  text-align: center;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(243,230,200,0.7);
  letter-spacing: 0.04em;
}
.lang-toggle span.on {
  background: var(--gold);
  color: var(--navy);
}
.nav-staff {
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.28rem 0.8rem !important;
  font-weight: 800 !important;
  text-decoration: none;
  font-size: 0.82rem;
}
.nav-staff:hover,
.nav-staff.is-on {
  background: var(--gold) !important;
  color: var(--navy) !important;
}
.nav-account {
  color: #f3e6c8 !important;
  border: 1px solid rgba(201,162,39,0.55);
  border-radius: 999px;
  padding: 0.28rem 0.75rem !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}
.nav-staff { white-space: nowrap; }

.cat-mega {
  --bs-dropdown-min-width: 17rem;
  --bs-dropdown-bg: rgba(16, 24, 39, 0.98);
  --bs-dropdown-color: #f3e6c8;
  --bs-dropdown-border-color: rgba(201,162,39,0.55);
  --bs-dropdown-border-radius: 0.9rem;
  --bs-dropdown-link-color: #f3e6c8;
  --bs-dropdown-link-hover-bg: rgba(201,162,39,0.16);
  --bs-dropdown-link-hover-color: #e8c96a;
  --bs-dropdown-link-active-bg: rgba(201,162,39,0.28);
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-padding-y: 0.55rem;
  z-index: 1080;
  width: max-content;
  max-width: min(22rem, calc(100vw - 1.5rem));
  padding: 0.55rem 0.4rem;
  box-shadow: 0 22px 48px rgba(0,0,0,0.42);
  backdrop-filter: blur(14px);
}
.cat-mega .dropdown-item {
  font-weight: 600;
  border-radius: 0.5rem;
  white-space: normal;
  color: #f3e6c8;
  padding: 0.42rem 0.8rem;
}
.cat-mega .dropdown-item:hover,
.cat-mega .dropdown-item:focus {
  color: #e8c96a;
}
.cat-mega .dropdown-item.is-on {
  color: var(--navy);
  background: var(--gold);
  font-weight: 800;
}
.cat-mega .cat-depth-0 { color: #fff; font-weight: 800; }
.cat-mega .cat-depth-1 { padding-inline-start: 1.45rem; font-weight: 500; font-size: 0.92em; opacity: 0.94; }
.cat-mega .cat-depth-2 { padding-inline-start: 2.2rem; font-weight: 500; font-size: 0.88em; }
.cat-mega .cat-depth-3 { padding-inline-start: 2.9rem; }
.cat-mega > li > ul { list-style: none; padding: 0; margin: 0 0 0.2rem; }

@media (min-width: 1200px) {
  .nav-shell {
    grid-template-columns: auto auto minmax(12rem, 1fr);
    grid-template-rows: auto;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    column-gap: 1rem;
  }
  .navbar-brand { grid-column: 1; grid-row: 1; }
  .navbar-collapse {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
    min-width: 0;
    width: auto;
    max-width: min(58vw, 46rem);
    height: auto !important;
    visibility: visible !important;
    border-top: 0;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    align-items: center;
  }
  .nav-tools {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .navbar-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    gap: 0.08rem 0.12rem;
  }
  .navbar-nav .nav-link {
    padding: 0.38rem 0.5rem !important;
    font-size: 0.88rem;
  }
  .nav-search { width: min(12.25rem, 18vw); }
  .nav-search button { padding: 0.32rem 0.55rem; font-size: 0.72rem; }
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    grid-column: 1 / -1;
    padding: 0.2rem 0 1rem;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .navbar-nav {
    width: 100%;
    align-items: stretch;
  }
  .navbar-nav .nav-link,
  .navbar-nav .dropdown-toggle {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 0.78rem 0.15rem !important;
    border-radius: 0.45rem;
    font-size: 1.05rem;
    text-align: start;
    border-bottom: 1px solid rgba(201,162,39,0.14);
  }
  .navbar-nav .nav-link::after,
  .navbar-nav .dropdown-toggle::after {
    display: none !important;
  }
  .navbar-nav .nav-link.is-on,
  .navbar-nav .dropdown-toggle.is-on {
    background: rgba(201,162,39,0.14);
    padding-inline: 0.65rem !important;
  }
  .cat-mega {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none;
    width: 100% !important;
    max-width: none;
    margin: 0;
    padding: 0.15rem 0 0.45rem 0.7rem;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .nav-tools-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-top: 1rem;
  }
  .nav-search { width: 100%; min-width: 0; }
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f3e6c8;
  text-decoration: none;
  border: 1px solid rgba(201,162,39,0.55);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(20,32,51,0.35);
}
.social-row a:hover { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.social-row .bi { font-size: 1.05rem; }
.site-nav .social-row {
  margin: 0;
  margin-inline-start: 0.35rem;
}
.site-nav .social-row.compact a {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: var(--gold);
}
.site-nav .social-row.compact a:hover {
  background: var(--gold);
  color: var(--navy);
}
.about-page .social-row a {
  background: #fff;
  color: var(--navy);
  border-color: rgba(201,162,39,0.7);
}
.about-page .social-row a:hover {
  background: var(--navy);
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 72vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,32,51,0.18) 8%, rgba(20,32,51,0.22) 42%, rgba(20,32,51,0.78) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(201,162,39,0.14), transparent 46%);
}
.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
  padding-bottom: 3.5rem;
  padding-top: 4rem;
}
.hero-inner {
  max-width: min(100%, 52rem);
  padding: 1.35rem 1.45rem 1.5rem;
  border: 1px solid rgba(201,162,39,0.38);
  background: linear-gradient(180deg, rgba(20,32,51,0.18), rgba(20,32,51,0.46));
  box-shadow: 0 20px 50px rgba(8,12,20,0.22);
  backdrop-filter: blur(6px);
}
.hero-kicker { letter-spacing: 0.14em; font-size: 0.8rem; color: var(--gold); margin-bottom: 0.35rem; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); font-weight: 800; margin-bottom: 0.45rem; letter-spacing: -0.02em; }
.hero-tag { font-size: 1.15rem; opacity: 0.92; max-width: 28rem; }
.hero:has(.hero-ad-bar) { padding-bottom: 0; }
.hero-ad-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 1.25rem;
}
.hero-ad-row {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.hero-ad,
.ad-tile {
  position: relative;
  display: block;
  flex: 0 0 10.5rem;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}
.hero-ad img,
.ad-tile img {
  display: block;
  width: 100%;
  height: 13rem;
  object-fit: cover;
  background: #3a2a1c url("../img/carpet.jpg") center / cover;
}
.ad-flag {
  position: absolute;
  top: 0.55rem;
  inset-inline-start: 0.55rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.12rem 0.45rem;
}
.ad-name {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 1.6rem 0.6rem 0.55rem;
  background: linear-gradient(transparent, rgba(20,32,51,0.82));
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}
.hero-ad:hover img,
.ad-tile:hover img { filter: brightness(1.06); }

.btn-hero {
  background: var(--madder);
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-weight: 700;
  margin-top: 0.8rem;
}
.btn-hero:hover { background: #6e1420; color: #fff; }
.dl-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 1.1rem;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  color: var(--navy) !important;
  border: 1px solid rgba(201,162,39,0.7);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
}
.dl-btn:hover { background: var(--gold); color: var(--navy) !important; }

.home-body { padding-top: 3rem !important; }
.sec-title {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sec-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, transparent, rgba(201, 162, 39, 0.65));
}
html[dir="ltr"] .sec-title::after {
  background: linear-gradient(to right, transparent, rgba(201, 162, 39, 0.65));
}

.cat-layout {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 992px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr) 220px; align-items: start; }
}
.cat-ads {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.cat-ads .ad-tile {
  flex: none;
  width: 100%;
}
.cat-ads .ad-tile img {
  height: 16rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
  gap: 1.15rem;
  justify-content: start;
}
.cat-photo {
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 340px;
  aspect-ratio: 2 / 3;
  padding: 1.15rem;
  border-radius: 1.1rem;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff !important;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: inset 0 -90px 70px rgba(20, 32, 51, 0.58);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.cat-photo:hover {
  transform: translateY(-6px);
  color: #fff !important;
  box-shadow: inset 0 -90px 70px rgba(20, 32, 51, 0.58), 0 16px 32px rgba(20, 32, 51, 0.16);
}
.cat-card { min-width: 0; }
.cat-card .show {
  margin: 0.55rem 0 0;
  padding: 0.65rem 0.75rem;
  gap: 0.7rem;
}
.cat-card .show-frame,
.cat-card .show-art {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}
.cat-card .show-ring,
.cat-card .show-eq { display: none; }
.cat-card .show-title { font-size: 0.95rem; }
.cat-head { margin-bottom: 1.75rem; }
.cat-head-media {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.cat-head-media--split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}
.cat-head-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 1.1rem;
  border: 1px solid rgba(201,162,39,0.35);
}

.story-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 1.85rem 1.4rem;
  align-items: start;
}
@media (min-width: 768px) {
  .story-shelf {
    grid-template-columns: repeat(auto-fill, minmax(198px, 220px));
    justify-content: start;
  }
}
.story-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  height: auto;
  max-width: 228px;
  margin: 0 auto;
  box-shadow: none;
  transition: transform 0.22s ease;
}
.story-card:hover { transform: translateY(-6px); }
.story-card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: auto; }
.story-card-cover {
  position: relative;
  filter: drop-shadow(6px 10px 14px rgba(32, 12, 6, 0.28));
  line-height: 0;
}
.story-card-img {
  position: relative;
  width: 100%;
  background: transparent;
  overflow: hidden;
  border-radius: 0.18rem 0.48rem 0.48rem 0.18rem;
  box-shadow:
    inset 0 0 0 1px rgba(201, 162, 39, 0.28),
    4px 0 0 #3a1810;
}
html[dir="rtl"] .story-card-img {
  border-radius: 0.48rem 0.18rem 0.18rem 0.48rem;
  box-shadow:
    inset 0 0 0 1px rgba(201, 162, 39, 0.28),
    -4px 0 0 #3a1810;
}
.story-card-img img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
.story-card-body { padding: 0.55rem 0.1rem 0; text-align: center; }
.story-card-body h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--navy);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mag-kicker { margin: 0 0 0.3rem; font-size: 0.8rem; color: var(--muted); }
.mag-dek {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-card .chip {
  font-size: 0.62rem;
  padding: 0.1rem 0.38rem;
  top: 0.35rem;
  inset-inline-start: 0.35rem;
}
.chip {
  position: absolute;
  z-index: 1;
  top: 0.5rem;
  inset-inline-start: 0.5rem;
  background: #168c7d;
  color: #fff;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.page-wrap { flex: 1; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--madder); text-decoration: none; }
.meta { color: var(--muted); }
.story-head .story-banner { margin-bottom: 1.1rem; }
.story-head h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0 0 1rem; color: var(--navy); }
.story-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: contain;
  object-position: center;
  background: #efe4cc;
  border-radius: 1.1rem;
  border: 1px solid rgba(201,162,39,0.35);
  display: block;
}

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 1.4rem; }
.filters a {
  text-decoration: none;
  border: 1px solid #d7cbb3;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
}
.filters a.on, .filters a:hover { background: var(--madder); color: #fff; border-color: var(--madder); }

.player-box {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  margin: 1rem 0 1.4rem;
}
.player-box p { margin: 0 0 0.4rem; }
audio, video { width: 100%; }
.listen audio {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.listen {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  overflow: hidden;
  padding: 1.05rem 1.15rem 1.15rem;
  border-radius: 1.35rem;
  background: #101827;
  color: #f3e6c8;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(20, 32, 51, 0.22);
  border: 1px solid rgba(201, 162, 39, 0.35);
}
.listen-glow {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.15);
  opacity: 0.38;
  z-index: -1;
}
.listen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 0, rgba(201,162,39,0.22), transparent 42%),
    linear-gradient(180deg, rgba(16,24,39,0.55), rgba(16,24,39,0.88));
  pointer-events: none;
}
.listen-disc {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
}
.listen-disc-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--gold);
  box-shadow:
    0 0 0 7px rgba(20,32,51,0.45),
    0 10px 24px rgba(0,0,0,0.35),
    inset 0 0 0 14px rgba(16,24,39,0.18);
}
.listen-disc-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  margin: 0;
  border-radius: 50%;
  background: #0d1420;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(140,28,44,0.55);
}
.listen.is-playing .listen-disc-face { animation: disc-spin 14s linear infinite; }
.listen-body { min-width: 0; }
.listen-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 800;
}
.listen-title {
  margin: 0.15rem 0 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
}
.listen-title a { color: inherit; text-decoration: none; }
.listen-title a:hover { color: var(--gold); }
.listen-meta { margin: 0.15rem 0 0; font-size: 0.85rem; opacity: 0.78; }
.listen-eq {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
  margin: 0.55rem 0 0.65rem;
}
.listen-eq span:nth-child(1) { height: 35%; }
.listen-eq span:nth-child(2) { height: 55%; }
.listen-eq span:nth-child(3) { height: 28%; }
.listen-eq span:nth-child(4) { height: 70%; }
.listen-eq span:nth-child(5) { height: 42%; }
.listen-eq span:nth-child(6) { height: 60%; }
.listen-eq span:nth-child(7) { height: 30%; }
.listen.is-playing .listen-eq span { animation: eq-bar 0.85s ease-in-out infinite alternate; }
.listen.is-playing .listen-eq span:nth-child(2) { animation-delay: 0.08s; }
.listen.is-playing .listen-eq span:nth-child(3) { animation-delay: 0.16s; }
.listen.is-playing .listen-eq span:nth-child(4) { animation-delay: 0.04s; }
.listen.is-playing .listen-eq span:nth-child(5) { animation-delay: 0.22s; }
.listen.is-playing .listen-eq span:nth-child(6) { animation-delay: 0.12s; }
.listen.is-playing .listen-eq span:nth-child(7) { animation-delay: 0.2s; }
.listen-controls { display: flex; align-items: center; gap: 0.7rem; }
.listen-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--madder);
  color: #fff;
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(140,28,44,0.35);
}
.listen-play:hover { background: #6e1420; }
.listen-bar {
  flex: 1;
  height: 7px;
  border-radius: 99px;
  background: rgba(243,230,200,0.18);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.listen-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #f0d36a);
  border-radius: 99px;
}
html[dir="rtl"] .listen-fill { background: linear-gradient(270deg, var(--gold), #f0d36a); }
.listen-time {
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  min-width: 4.8rem;
  opacity: 0.85;
}
.listen--stage {
  padding: 1.4rem 1.4rem 1.5rem;
  min-height: 168px;
}
.listen--stage .listen-disc { width: 138px; height: 138px; }
.listen--cast {
  border-color: rgba(140,28,44,0.45);
}
.listen--cast .listen-play { background: var(--navy); border-color: var(--gold); }
.sound-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  margin-bottom: 1.5rem;
  background-size: cover;
  background-position: center;
}
.sound-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,32,51,0.15), rgba(20,32,51,0.82));
}
.sound-banner-inner { position: relative; padding: 1.6rem 1.5rem; }
.sound-banner h1 { margin: 0 0 0.3rem; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.sound-banner p { margin: 0; opacity: 0.92; max-width: 28rem; }
.cast-more { display: grid; gap: 0.85rem; }
.story-hero-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 1.2rem;
  margin-bottom: 1rem;
}
@keyframes disc-spin { to { transform: rotate(360deg); } }
@keyframes eq-bar {
  from { height: 22%; }
  to { height: 100%; }
}

.audio-row { background: transparent; padding: 0; margin-bottom: 0.9rem; }
.audio-row h2 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.audio-row a { text-decoration: none; color: var(--navy); }

@media (max-width: 640px) {
  .listen { grid-template-columns: 1fr; text-align: center; }
  .listen-disc { margin-inline: auto; }
  .listen-eq { justify-content: center; }
  .listen-time { min-width: 0; }
}

.reader-switch {
  display: flex;
  width: fit-content;
  border: 1px solid var(--navy);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.reader-switch button {
  font: inherit;
  border: 0;
  background: #fff;
  padding: 0.4rem 1rem;
  cursor: pointer;
}
.reader-switch button.on { background: var(--navy); color: #fff; }

.book, .codex {
  position: relative;
  margin: 0.8rem auto 3.2rem;
  max-width: 58rem;
  padding: 1.6rem 3.2rem 3.6rem;
  overflow: visible;
}
.codex-stage {
  position: relative;
  overflow: visible;
}
.codex-cast {
  position: absolute;
  left: 1.5%;
  right: 3.5%;
  bottom: -2.6rem;
  height: 4.8rem;
  border-radius: 50%;
  background: rgba(18, 6, 2, 0.58);
  filter: blur(26px);
  transform: scaleY(0.4);
  pointer-events: none;
  z-index: 0;
}
.codex-cover {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(circle at 16% 10%, rgba(232, 196, 110, 0.22), transparent 26%),
    radial-gradient(circle at 84% 90%, rgba(140, 28, 44, 0.18), transparent 28%),
    linear-gradient(145deg, #6a3220 0%, #3d1810 46%, #241008 100%);
  padding: 1.15rem 1.05rem 1.35rem;
  border-radius: 0.55rem 1.2rem 1.2rem 0.55rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 150, 0.28),
    inset 0 -10px 22px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(201, 162, 39, 0.38),
    8px 6px 18px rgba(28, 8, 4, 0.18),
    -6px 8px 18px rgba(28, 8, 4, 0.14),
    0 14px 18px rgba(40, 12, 6, 0.28),
    0 32px 44px rgba(40, 12, 6, 0.3),
    0 64px 80px rgba(16, 6, 2, 0.32);
}
.codex-cover::before,
.codex-cover::after {
  content: "";
  position: absolute;
  top: 0.45rem;
  bottom: 0.55rem;
  width: 0.85rem;
  pointer-events: none;
  z-index: 2;
}
.codex-cover::before {
  inset-inline-start: 0.12rem;
  background: linear-gradient(90deg, rgba(0,0,0,0.42), rgba(0,0,0,0.08) 55%, transparent);
}
.codex-cover::after {
  inset-inline-end: 0.12rem;
  background: linear-gradient(270deg, rgba(0,0,0,0.38), rgba(0,0,0,0.08) 55%, transparent);
}
.codex-gold {
  position: relative;
  z-index: 1;
  border: 1px solid #c9a227;
  background:
    linear-gradient(180deg, #e3c56a, #c9a227 42%, #8a6a18);
  padding: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(90, 50, 12, 0.55),
    inset 0 1px 0 rgba(255, 236, 170, 0.45),
    0 0 0 1px rgba(40, 16, 8, 0.45);
}
.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  height: min(68vh, 640px);
  background: #ead7b0;
  overflow: hidden;
  position: relative;
  box-shadow:
    inset 0 0 50px rgba(80, 40, 12, 0.1),
    0 1px 2px rgba(0,0,0,0.22);
}
.spread::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 36px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(40,18,8,0.28), rgba(60,32,12,0.06) 38%, transparent 50%, rgba(60,32,12,0.06) 62%, rgba(40,18,8,0.28));
  pointer-events: none;
  z-index: 1;
}
.spread::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    inset 0 18px 28px -18px rgba(90, 50, 20, 0.18),
    inset 0 -16px 24px -18px rgba(40, 18, 8, 0.12);
}
.codex.single .spread { grid-template-columns: 1fr; }
.codex.single .spread::before { display: none; }
.codex.single .leaf:last-child { display: none; }
.codex.single .leaf[data-leaf="0"],
.codex.single .leaf[data-leaf="1"] {
  padding-inline-start: 1.55rem;
  padding-inline-end: 1.55rem;
}
.leaf {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 2.35rem 2.35rem 3.2rem;
  overflow: hidden;
  position: relative;
  z-index: 0;
  color: #3a2416;
  font-family: "Amiri", "Vazirmatn", serif;
  font-size: 1.2rem;
  line-height: 2.15;
  background:
    linear-gradient(180deg, rgba(201,162,39,0.08), transparent 14%),
    repeating-linear-gradient(0deg, rgba(90,50,20,0.03) 0 1px, transparent 1px 7px),
    #f6e7c8;
}
html[dir="ltr"] .leaf {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.85;
}
html[dir="rtl"] .leaf[data-leaf="0"] {
  padding-inline-start: 2.25rem;
  padding-inline-end: 2.75rem;
}
html[dir="rtl"] .leaf[data-leaf="1"] {
  padding-inline-start: 2.75rem;
  padding-inline-end: 2.25rem;
}
html[dir="ltr"] .leaf[data-leaf="0"] {
  padding-inline-start: 2.25rem;
  padding-inline-end: 2.75rem;
}
html[dir="ltr"] .leaf[data-leaf="1"] {
  padding-inline-start: 2.75rem;
  padding-inline-end: 2.25rem;
}
.leaf:last-child { box-shadow: inset 28px 0 34px -14px rgba(40, 16, 8, 0.34); }
html[dir="rtl"] .leaf:first-child { box-shadow: inset -28px 0 34px -14px rgba(40, 16, 8, 0.34); }
.codex.single .leaf:last-child,
.codex.single .leaf:first-child { box-shadow: none; }
.leaf p { margin: 0; text-align: justify; text-justify: inter-word; overflow-wrap: anywhere; }
.leaf[data-folio]::after {
  content: attr(data-folio);
  position: absolute;
  bottom: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Vazirmatn", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8c1c2c;
  letter-spacing: 0.08em;
}
.leaf-measure {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0;
  background: transparent;
  box-shadow: none;
}
.leaf-nav {
  position: absolute;
  top: calc(50% - 2.8rem);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--navy);
  color: #f3e6c8;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(20,32,51,0.22);
  z-index: 2;
}
.leaf-nav:hover:not(:disabled) { background: var(--madder); color: #fff; }
.leaf-nav.prev { inset-inline-start: 0; }
.leaf-nav.next { inset-inline-end: 0; }
.leaf-nav:disabled { opacity: 0.28; cursor: default; }
html[dir="ltr"] .leaf-nav .bi,
html[dir="ltr"] .page-btn .bi { display: inline-block; transform: scaleX(-1); }
.book-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.1rem;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--navy);
  color: #f3e6c8;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20,32,51,0.12);
}
.page-btn:hover:not(:disabled) { background: var(--madder); color: #fff; }
.page-btn:disabled { opacity: 0.32; cursor: default; }
.pager {
  text-align: center;
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  flex: 1;
}

.prose { max-width: 40rem; margin: 0 auto; }
.prose p { margin: 0 0 1rem; font-size: 1.1rem; }
.story-scroll {
  max-width: 38rem;
  margin: 0.4rem auto 2rem;
  background: #fffdf6;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 1.05rem;
  padding: 1.7rem 1.8rem 2rem;
  color: #3a2416;
  font-family: "Amiri", "Vazirmatn", serif;
  font-size: 1.2rem;
  line-height: 2.15;
}
html[dir="ltr"] .story-scroll {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.85;
}
.story-scroll p { margin: 0 0 1.15rem; }
.story-scroll img,
.story-scroll video,
.story-scroll iframe {
  max-width: 100%;
  height: auto;
}
.about-page { max-width: 52rem; margin: 0 auto; }
.about-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 1.6rem;
}
.about-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 16px 36px rgba(20,32,51,0.14);
}
.about-hero h1 { margin: 0 0 0.35rem; color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.about-role { font-weight: 700; color: var(--madder); margin: 0 0 0.3rem; }
.about-quote {
  margin: 0.8rem 0 0;
  padding: 0.85rem 1rem;
  border-inline-start: 4px solid var(--gold);
  background: #fff;
  border-radius: 0 0.8rem 0.8rem 0;
  font-size: 1.12rem;
}
.about-lead { margin: 0 auto 2rem; }
.about-section {
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.3rem 1.35rem 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 10px 28px rgba(20,32,51,0.06);
}
.about-section h2 { color: var(--navy); font-size: 1.25rem; margin: 0 0 0.8rem; }
.about-figure { margin: 1rem 0 0; }
.about-figure img { width: 100%; border-radius: 0.9rem; display: block; }
.about-video video, .about-full-video { width: 100%; border-radius: 0.9rem; background: #000; }
.story-video {
  margin: 0 auto 1.4rem;
  max-width: 38rem;
}
.story-video .mag-kicker { margin-bottom: 0.45rem; }
.story-video video,
.story-video-player {
  display: block;
  width: 100%;
  max-height: min(48vh, 360px);
  height: auto;
  object-fit: contain;
  background: #111;
  border-radius: 0.9rem;
}
.about-media { margin-bottom: 1.5rem; }
@media (max-width: 700px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-portrait { max-width: 220px; }
}
.empty { color: var(--muted); padding: 2rem 0; }
.plain-list { list-style: none; padding: 0; }
.plain-list li { padding: 0.6rem 0; border-bottom: 1px solid #e4ddd2; }

.gallery-cell { margin: 0; background: #fff; border-radius: 0.8rem; overflow: hidden; }
.gallery-cell img, .gallery-cell video { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.6s ease; }
.gallery-cell:hover img, .gallery-cell:hover video { transform: scale(1.05); }
.gallery-cell img[data-full] { cursor: zoom-in; }
.gallery-cell figcaption { padding: 0.5rem 0.7rem; font-size: 0.9rem; }

.carpet-tile {
  display: flex;
  align-items: flex-end;
  min-height: 280px;
  aspect-ratio: 2 / 3;
  padding: 1rem;
  border-radius: 1.2rem;
  text-decoration: none;
  color: #fff !important;
  font-weight: 800;
  background-image: url("../img/carpet.jpg");
  background-size: cover;
  box-shadow: inset 0 -70px 50px rgba(0,0,0,0.5);
}

.site-foot {
  position: relative;
  margin-top: auto;
  color: #f3e6c8;
  overflow: hidden;
  border-top: 3px solid var(--gold);
}
.foot-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
}
.foot-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,32,51,0.88) 0%, rgba(20,32,51,0.94) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 11px,
      rgba(201,162,39,0.07) 11px,
      rgba(201,162,39,0.07) 12px
    );
}
.foot-inner { position: relative; z-index: 1; padding: 2.6rem 0 1.4rem; }
.foot-brand {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: #fff;
}
.foot-tag { margin: 0 0 0.5rem; opacity: 0.9; }
.foot-author { margin: 0; color: var(--gold); font-weight: 700; }
.foot-head {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.7rem;
}
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links a {
  color: #f3e6c8;
  text-decoration: none;
  display: block;
  padding: 0.18rem 0;
  opacity: 0.9;
}
.foot-links a:hover { color: var(--gold); }
.foot-credit {
  margin: 1.8rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,162,39,0.28);
  font-size: 0.78rem;
  opacity: 0.7;
}
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  z-index: 1080; display: grid; place-items: center; padding: 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 96vw; max-height: 86vh; }
.lightbox-x { position: absolute; top: 1rem; inset-inline-end: 1rem; }

@media (min-width: 992px) {
  .hero-inner { max-width: max-content; flex-shrink: 0; }
  .hero h1 { white-space: nowrap; }
}

@media (max-width: 900px) {
  .spread { grid-template-columns: 1fr; height: min(62vh, 520px); }
  .codex.single .leaf:last-child,
  .leaf:last-child { display: none; }
  .codex { padding: 0.55rem 0.2rem 1.6rem; }
  .codex-cover { border-radius: 0.6rem; padding: 0.55rem 0.5rem 0.7rem; }
  .codex-cover::before,
  .codex-cover::after { display: none; }
  .codex-cast { bottom: -1.2rem; height: 2.4rem; }
  .leaf-nav { display: none; }
  .book-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    gap: 0.55rem 0.45rem;
  }
  .pager {
    grid-column: 1 / -1;
    width: 100%;
    white-space: nowrap;
    order: -1;
  }
  .page-btn { flex: none; width: 100%; min-height: 48px; justify-content: center; }
}

@media (max-width: 767.98px) {
  .cat-photo { min-height: 0; aspect-ratio: 2 / 3; font-size: 1.05rem; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .hero { min-height: 68svh; }
  .hero-stage { padding-bottom: 1.6rem; padding-top: 1.8rem; }
  .hero-inner { padding: 1rem 1.05rem 1.15rem; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .cat-head-media--split { grid-template-columns: 1fr; }
  .hero-ad-row { gap: 0.6rem; -webkit-overflow-scrolling: touch; }
  .hero-ad { flex-basis: 8.2rem; }
  .hero-ad img { height: 10.5rem; }
  .nav-search { min-width: 0; width: 100%; }
  .folio-cover-hero { min-height: 78svh; }
  .folio-cover-caption { padding: 2rem 0 2.2rem; }
  .folio-cover-caption::before { display: none; }
  .folio-cover-watermark { font-size: 4.6rem; inset-inline-end: 0.4rem; bottom: 1.2rem; }
  .folio-body-wrap { padding: 1.8rem 0 2.4rem; }
  .folio-sommaire { position: static; }
  .folio-edito, .folio-feature { padding-inline: 1.05rem; }
  .folio-kiosk { padding: 2.2rem 0 2.8rem; }
  .folio-kiosk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 0.8rem; }
  .folio-issue-card.is-current { grid-column: auto; }
  .folio-pages { gap: 0.55rem; }
  .folio-pages-dir { font-size: 0.72rem; }
  .folio-toc-row { grid-template-columns: 5.2rem 1fr; gap: 0.75rem; }
  .home-body { padding-top: 1.8rem !important; }
}

.folio { background: var(--cream); color: var(--ink); }
.folio-eyebrow,
.folio-rubrique {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold);
}
.folio-vol {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.folio-masthead {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.folio-cover-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.folio-cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.folio-cover-fallback { background-size: cover; background-position: center; }
.folio-cover-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,32,51,0.05) 20%, rgba(20,32,51,0.78) 100%),
    repeating-linear-gradient(90deg, transparent 0, transparent 13px, rgba(201,162,39,0.06) 13px, rgba(201,162,39,0.06) 14px);
}
.folio-cover-caption {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 3rem;
  max-width: 46rem;
}
.folio-cover-caption::before {
  content: "";
  position: absolute;
  inset: 1.2rem auto auto 0;
  width: min(100%, 22rem);
  height: calc(100% - 2.4rem);
  border: 1px solid rgba(201,162,39,0.35);
  pointer-events: none;
}
html[dir="ltr"] .folio-cover-caption::before { inset: 1.2rem 0 auto auto; }
.folio-cover-caption h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.8rem;
}
.folio-cover-hed {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0.2rem 0 0.5rem;
  max-width: 28rem;
}
.folio-cover-hed a, .folio-feature h2 a, .folio-une h2 a { color: inherit; text-decoration: none; }
.folio-cover-hed a:hover, .folio-feature h2 a:hover, .folio-une h2 a:hover { color: var(--gold); }
.folio-cover-label {
  margin: 1rem 0 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}
.folio-dek {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 34rem;
  opacity: 0.92;
}
.folio-dek.light { color: rgba(255,255,255,0.9); }
.folio-body-wrap { padding: 3.2rem 0 4rem; }
.folio-split {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 992px) {
  .folio-split { grid-template-columns: 17rem minmax(0, 1fr); align-items: start; }
}
.folio-sommaire {
  position: sticky;
  top: 7.2rem;
  padding: 1.3rem 1.2rem 1.5rem;
  background: #fff;
  border-top: 3px solid var(--navy);
  box-shadow: 0 14px 32px rgba(20,32,51,0.08);
}
.folio-sommaire h2 { margin: 0 0 1rem; font-size: 1.35rem; color: var(--navy); }
.folio-sommaire ol { list-style: none; padding: 0; margin: 0; counter-reset: som; }
.folio-sommaire li { padding: 0.7rem 0; border-bottom: 1px solid #eadfca; counter-increment: som; }
.folio-sommaire a { text-decoration: none; color: var(--navy); display: grid; gap: 0.15rem; }
.folio-sommaire a span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--madder);
  font-weight: 800;
}
.folio-sommaire a span::before { content: counter(som, decimal-leading-zero) " · "; color: var(--gold); }
.folio-edito {
  background: #fff;
  padding: 1.6rem 1.7rem 1.8rem;
  border-inline-start: 6px solid var(--gold);
  margin-bottom: 2rem;
  box-shadow: 0 12px 28px rgba(20,32,51,0.06);
}
.folio-edito h2 { margin: 0 0 0.9rem; color: var(--navy); font-size: 1.6rem; }
.folio-feature img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
}
.folio-feature h2 { margin: 0.2rem 0 0.4rem; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--navy); }
.folio-cta {
  display: inline-block;
  margin-top: 1rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.15rem;
}
.folio-cta:hover { color: var(--madder); }
.folio-kiosk {
  position: relative;
  margin-top: 0.5rem;
  padding: 3.4rem 0 4.2rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,39,0.16), transparent 46%),
    linear-gradient(180deg, #efe4cd 0%, var(--cream) 100%);
  border-top: 1px solid rgba(201,162,39,0.35);
  overflow: hidden;
}
.folio-kiosk::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 17px,
    rgba(20,32,51,0.015) 17px,
    rgba(20,32,51,0.015) 18px
  );
}
.folio-kiosk .container { position: relative; }
.folio-kiosk-title {
  margin: 0.15rem 0 0.4rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--navy);
  letter-spacing: -0.03em;
}
.folio-kiosk-lead {
  margin: 0 0 2.2rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.folio-kiosk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2.4rem 1.6rem;
  perspective: 1600px;
}
@media (min-width: 900px) {
  .folio-issue-card.is-current {
    grid-column: span 2;
  }
}
.folio-issue-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy);
}
.folio-issue-ribbon {
  position: absolute;
  z-index: 3;
  top: 0.7rem;
  inset-inline-start: -0.35rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  box-shadow: 0 6px 14px rgba(201,162,39,0.35);
}
.folio-issue-stage {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.folio-issue-page {
  position: absolute;
  inset: 8% -7% 8% auto;
  width: 18%;
  background:
    repeating-linear-gradient(
      180deg,
      #f4efe3 0 2px,
      #e7dcc4 2px 3px
    );
  box-shadow: inset 0 0 8px rgba(20,32,51,0.08);
  border-radius: 0 3px 3px 0;
}
html[dir="ltr"] .folio-issue-page { inset: 8% auto 8% -7%; border-radius: 3px 0 0 3px; }
.folio-issue-cover {
  position: relative;
  display: block;
  background: var(--navy);
  box-shadow:
    10px 18px 32px rgba(20,32,51,0.22),
    0 0 0 1px rgba(201,162,39,0.28);
  overflow: hidden;
}
html[dir="ltr"] .folio-issue-cover {
  box-shadow:
    -10px 18px 32px rgba(20,32,51,0.22),
    0 0 0 1px rgba(201,162,39,0.28);
}
.folio-issue-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.folio-issue-num {
  position: absolute;
  inset-inline-end: 0.45rem;
  bottom: 0.2rem;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(247,241,228,0.88);
  text-shadow: 0 8px 18px rgba(20,32,51,0.45);
  pointer-events: none;
}
.folio-issue-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.85rem 0.15rem 0;
}
.folio-issue-meta em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}
.folio-issue-meta strong { font-size: 1.05rem; line-height: 1.35; }
.folio-issue-card.is-current .folio-issue-cover {
  box-shadow:
    10px 20px 36px rgba(201,162,39,0.32),
    0 0 0 2px var(--gold);
}
.folio-issue-card:hover .folio-issue-stage,
.folio-issue-card:focus-visible .folio-issue-stage {
  transform: translateY(-10px) rotateY(-9deg);
}
html[dir="ltr"] .folio-issue-card:hover .folio-issue-stage,
html[dir="ltr"] .folio-issue-card:focus-visible .folio-issue-stage {
  transform: translateY(-10px) rotateY(9deg);
}
.folio-issue-card:hover .folio-issue-cover img {
  transform: scale(1.06);
}
.folio-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}
.folio-pages ol {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.folio-pages a,
.folio-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0 0.7rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  border: 1px solid rgba(20,32,51,0.12);
  background: #fff;
}
.folio-pages .is-here {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.folio-pages a:hover { border-color: var(--gold); color: var(--madder); }
.folio-pages-dir { letter-spacing: 0.04em; font-size: 0.82rem; }
.folio-pages-dir.is-off { opacity: 0.35; }
.folio-cover-watermark {
  position: absolute;
  z-index: 1;
  inset-inline-end: 4%;
  bottom: 6%;
  margin: 0;
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 800;
  line-height: 0.75;
  color: rgba(201,162,39,0.18);
  pointer-events: none;
  letter-spacing: -0.06em;
}
.folio-issue-head { padding: 2.2rem 0 1.2rem; }
.folio-issue-head h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--navy); margin: 0; }
.folio-une {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 900px) {
  .folio-une { grid-template-columns: 1.15fr 1fr; }
}
.folio-une-art img { width: 100%; display: block; object-fit: cover; max-height: 34rem; }
.folio-une h2 { margin: 0.2rem 0; font-size: clamp(1.7rem, 3vw, 2.6rem); color: var(--navy); }
.folio-toc { display: grid; gap: 0; }
.folio-toc-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e4d8c0;
  text-decoration: none;
  color: var(--navy);
}
.folio-toc-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.folio-toc-row span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--madder);
  font-weight: 800;
}
.folio-toc-row strong { display: block; font-size: 1.15rem; }
.folio-toc-row em { display: block; font-style: normal; opacity: 0.75; font-size: 0.92rem; margin-top: 0.2rem; }
.folio-article-hero {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  display: block;
}
.folio-article-titles { padding: 2rem 0 1rem; max-width: 44rem; }
.folio-article-titles h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  line-height: 1.12;
  margin: 0.2rem 0 0.6rem;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.folio-byline {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.folio-article-layout { max-width: 42rem; padding-bottom: 4rem; }
.folio-prose { font-size: 1.14rem; line-height: 2; }
.folio-prose p { margin: 0 0 1.15rem; }
html[dir="rtl"] .folio-drop p:first-of-type::first-letter { float: right; }
html[dir="ltr"] .folio-drop p:first-of-type::first-letter { float: left; }
.folio-drop p:first-of-type::first-letter {
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 0.8;
  padding-inline-end: 0.35rem;
  color: var(--madder);
}
.folio-pull {
  margin: 0 0 1.8rem;
  padding: 0.4rem 0 0.4rem 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  font-size: 1.65rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--navy);
}
.folio-essay { display: grid; gap: 1.4rem; margin: 2rem 0; }
.folio-essay img { width: 100%; display: block; }
.folio-essay figcaption { margin-top: 0.4rem; font-size: 0.85rem; color: var(--muted); }
.folio-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid #e4d8c0;
}
.folio-pager a { text-decoration: none; color: var(--navy); max-width: 45%; font-weight: 700; }
.folio-pager a span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.folio-home-strip { padding-top: 0.4rem; }
.folio-home-grid {
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 800px) {
  .folio-home-grid { grid-template-columns: 200px 1fr; align-items: center; }
}
.folio-home-cover {
  position: relative;
  display: block;
  background: var(--navy);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.folio-home-cover:hover { transform: translateY(-6px); box-shadow: 12px 18px 30px rgba(20,32,51,0.18); }
.folio-home-cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; transition: transform 0.7s ease; }
.folio-home-cover:hover img { transform: scale(1.06); }
.folio-issue-flag {
  position: absolute;
  top: 0.5rem;
  inset-inline-start: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
}
.folio-home-copy h2 { margin: 0 0 0.6rem; color: var(--navy); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.folio-home-copy h3 { margin: 0; font-size: 1.25rem; }
.folio-home-copy h3 a { color: var(--navy); text-decoration: none; }
.folio-home-copy h3 a:hover { color: var(--madder); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  main {
    animation: page-in 0.55s ease both;
    overflow: visible;
  }
  @keyframes page-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
  .js-reveal {
    opacity: 0;
    transform: translateY(22px);
  }
  .js-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease var(--reveal-delay, 0ms), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
  }
}

.folio-feature img { transition: transform 0.7s ease; }
.folio-feature a { overflow: hidden; display: block; }
.folio-feature a:hover img { transform: scale(1.04); }
.folio-toc-row { transition: background 0.25s ease, padding-inline 0.25s ease; }
.folio-toc-row:hover { background: rgba(201,162,39,0.08); padding-inline-start: 0.4rem; }
.carpet-tile { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.carpet-tile:hover { transform: translateY(-4px); }

.goods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.15rem;
}
.goods-card {
  background: #fff;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20,32,51,0.08);
}
.goods-card a { text-decoration: none; color: inherit; display: block; }
.goods-photo {
  min-height: 220px;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: #142033;
}
.goods-body { padding: 0.85rem 1rem 1rem; }
.goods-kicker {
  margin: 0 0 0.2rem;
  color: var(--gold-ink, #8a6d12);
  font-size: 0.78rem;
  font-weight: 800;
}
.goods-body h3 { margin: 0; font-size: 1.08rem; }
.goods-meta { margin: 0.25rem 0 0; font-size: 0.88rem; opacity: 0.75; }
.goods-price { margin: 0.4rem 0 0; font-weight: 800; color: var(--navy); }

.social-actions { margin: 0.8rem 0 1rem; }
.like-btn {
  font: inherit;
  background: #fbf6ea;
  border: 1px solid rgba(201,162,39,0.55);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-weight: 700;
}
.like-btn.is-on { background: var(--navy); color: #f3e6c8; }
.talk-box { margin-top: 2rem; }
.talk-item {
  background: #fff;
  border-radius: 0.9rem;
  padding: 0.8rem 1rem;
  margin: 0 0 0.7rem;
}
.talk-item strong { display: block; color: var(--navy); }
.ticket-list { list-style: none; padding: 0; }
.ticket-list li { margin: 0 0 0.45rem; }
.goods-price-lg { font-size: 1.35rem; }
.goods-edit { padding: 0 1rem 0.85rem; }
.goods-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
.goods-hero {
  width: 100%;
  border-radius: 1.15rem;
  object-fit: cover;
  max-height: 32rem;
}
.goods-media { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.goods-video {
  width: 100%;
  border-radius: 1.1rem;
  max-height: 22rem;
  background: #142033;
}
.pay-box {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(201,162,39,0.45);
  background: #fffdf6;
  border-radius: 1rem;
}
.pay-kicker { margin: 0; color: #8a6d12; font-weight: 800; font-size: 0.8rem; }
.pay-card {
  margin: 0.35rem 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.pay-meta { margin: 0.2rem 0; }
.pay-steps { margin: 0.65rem 0 0; font-size: 0.95rem; }
.account-form {
  max-width: 32rem;
  background: #fff;
  padding: 1.2rem 1.25rem 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(201,162,39,0.35);
}
.account-form label { display: block; font-weight: 700; margin-bottom: 0.85rem; }
.account-form .field, .account-form input, .account-form select, .account-form textarea {
  width: 100%;
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid #cbb98a;
  border-radius: 0.7rem;
  background: #fbf6ea;
}
.account-form input[type="checkbox"] {
  width: auto;
  margin-inline-end: 0.4rem;
}
.terms-box {
  margin: 1.1rem 0 1.25rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 0.9rem;
  background: #fbf6ea;
}
.terms-box h2 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.terms-text {
  max-height: 14rem;
  overflow: auto;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0.2rem 0.2rem 0.6rem;
}
.terms-accept { font-weight: 700; display: flex; align-items: center; }
.profile-photo {
  width: 6.5rem;
  height: 6.5rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(201,162,39,0.5);
  margin: 0.4rem 0 1rem;
}
.flash { list-style: none; padding: 0; }
.flash li {
  background: #fff8e4;
  border: 1px solid rgba(201,162,39,0.4);
  padding: 0.65rem 0.9rem;
  border-radius: 0.8rem;
  margin-bottom: 0.8rem;
}
.filter-btn {
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  padding: 0.2rem 0.6rem;
}

@media (max-width: 767.98px) {
  .goods-detail { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  main { animation: none !important; }
  .js-reveal { opacity: 1; transform: none; }
}

