@font-face {
  font-family: "Yekan Bakh";
  src: url("../fonts/YekanBakh-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("../fonts/YekanBakh-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("../fonts/YekanBakh-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("../fonts/YekanBakh-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("../fonts/YekanBakh-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("../fonts/YekanBakh-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #efe6d8;
  --paper-2: #e6dccc;
  --cream: #faf7f2;
  --ink: #3c4148;
  --ink-2: #555c64;
  --navy: #2c3238;
  --muted: #6e747c;
  --line: #e4dfd6;
  --line-strong: #d4cfc5;
  --accent: var(--color-primary-ink);
  --accent-deep: var(--color-primary-deep);
  --accent-soft: #f4eaea;
  --gold: #a07c45;
  --gold-soft: #d4c2a0;
  --pulse-bg: #121820;
  --hairline: color-mix(in srgb, var(--ink) 9%, transparent);
  --shadow: 0 10px 28px rgba(44, 50, 56, 0.07);
  --shadow-hover: 0 16px 36px rgba(44, 50, 56, 0.12);
  --radius: 8px;
  --radius-sm: 4px;
  --max: 1180px;
  --nav-h: 3.15rem;
  --ease: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Abar", Tahoma, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
.headline {
  color: var(--navy);
}

h1 {
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.5px;
}

h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.6;
}

::selection {
  background: var(--navy);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input {
  font-family: inherit;
  font-size: inherit;
}

.skip {
  position: absolute;
  right: -999px;
}
.skip:focus {
  right: 12px;
  top: 12px;
  background: var(--navy);
  color: var(--cream);
  padding: 8px 12px;
  z-index: 80;
}

.wrap {
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.demo-ribbon {
  background: var(--navy);
  color: var(--gold-soft);
  font-size: 0.78rem;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.03em;
}

.demo-ribbon strong {
  color: var(--cream);
  font-weight: 600;
}

.masthead {
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.masthead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 10px;
  font-size: 0.84rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 50;
}

.masthead-top .date {
  font-weight: 300;
}

.bismillah {
  display: block;
  height: 2.65rem;
  width: auto;
}

.masthead-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 6;
}

.ghost-btn,
.solid-btn,
.icon-btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  padding: 8px 16px;
  font-size: 0.84rem;
  line-height: 1.2;
  cursor: pointer;
  border-radius: 999px;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.masthead-actions .ghost-btn,
.masthead-actions .solid-btn,
.masthead-actions .circle-btn {
  white-space: nowrap;
}

.solid-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.solid-btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}

.ghost-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(14, 28, 51, 0.04);
}

.circle-btn {
  --gleam: 0deg;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid #e4c56d;
  background:
    radial-gradient(90% 150% at 50% 0%, rgba(246, 231, 178, 0.22), transparent 56%),
    linear-gradient(165deg, #a11f30 0%, #4a050c 74%);
  color: #f8edd4;
  font-weight: 700;
  padding: 8px 16px 8px 13px;
  font-size: 0.84rem;
  line-height: 1.2;
  cursor: pointer;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 0 0 3px rgba(212, 175, 55, 0.28),
    0 8px 16px rgba(74, 5, 12, 0.24);
  animation: circle-breathe 3.2s ease-in-out infinite;
  transition: border-color var(--ease), background var(--ease), color var(--ease), transform var(--ease);
}

.circle-btn:link,
.circle-btn:visited {
  color: #f8edd4;
}

.circle-btn::before {
  content: "";
  width: 0.82em;
  height: 0.82em;
  border-radius: 50%;
  flex: none;
  background: conic-gradient(from var(--gleam), #fff8df, #e7c56a 20%, #6e5422 42%, #f6e7b2 68%, #fff8df);
  -webkit-mask: radial-gradient(farthest-side, transparent 54%, #000 56%);
  mask: radial-gradient(farthest-side, transparent 54%, #000 56%);
  animation: circle-gleam 3.4s linear infinite;
}

.circle-btn:hover {
  color: #fffaf0;
  border-color: #f6e7b2;
  background:
    radial-gradient(90% 150% at 50% 0%, rgba(246, 231, 178, 0.36), transparent 58%),
    linear-gradient(165deg, #c2283c 0%, #5c0912 74%);
  transform: translateY(-1px);
  animation: none;
  box-shadow:
    0 0 0 4px rgba(212, 175, 55, 0.36),
    0 12px 22px rgba(74, 5, 12, 0.3);
}

.circle-btn:hover:link,
.circle-btn:hover:visited {
  color: #fffaf0;
}

@property --gleam {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes circle-gleam {
  to { --gleam: 360deg; }
}

@keyframes circle-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(212, 175, 55, 0.3),
      0 8px 16px rgba(74, 5, 12, 0.24);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(212, 175, 55, 0.06),
      0 8px 18px rgba(74, 5, 12, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .circle-btn,
  .circle-btn::before {
    animation: none;
  }

  .circle-btn:hover {
    transform: none;
  }
}

.icon-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
}

.icon-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 14px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.brand .logo {
  display: block;
  height: 96px;
  width: auto;
  max-width: none;
  flex: none;
  object-fit: contain;
}

.brand .tagline {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  max-width: 28rem;
  line-height: 1.55;
}

.leaders {
  display: block;
  height: 96px;
  width: auto;
  max-width: min(320px, 42vw);
  flex: none;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  border-top: 1px solid var(--line);
  min-height: var(--nav-h);
}

.nav > a,
.nav > .more {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  height: var(--nav-h);
  position: relative;
}

.nav > a,
.nav .more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: var(--nav-h);
  padding: 0 0.7rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-2);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  vertical-align: middle;
  transition: color 0.3s ease;
}

.nav .more-btn {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  gap: 0.35em;
}

/* The link box is the full column. The line is pinned to the word so it
   grows under the label, from the right on RTL pages. */
.nav > a .nav-label,
.nav .more-btn .nav-label {
  position: relative;
  display: inline-block;
}

.nav > a .nav-label::after,
.nav .more-btn .nav-label::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #a31621;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.nav > a:hover,
.nav > a:focus-visible,
.nav .more-btn:hover,
.more:hover > .more-btn,
.more-btn:focus-visible {
  color: #a31621 !important;
}

.nav > a.is-active {
  color: #a31621;
}

.nav > a:hover .nav-label::after,
.nav > a:focus-visible .nav-label::after,
.nav .more-btn:hover .nav-label::after,
.more:hover > .more-btn .nav-label::after,
.more-btn:focus-visible .nav-label::after,
.nav > a.is-active .nav-label::after {
  transform: scaleX(1);
}

/* Hover bridge: covers the slide distance without a dead gap under «سرفصل‌ها». */
.nav > .more::after {
  content: "";
  position: absolute;
  z-index: 39;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.more-panel {
  display: grid;
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  min-width: 240px;
  margin: 0;
  padding: 16px 8px 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.more:hover .more-panel,
.more-btn:focus-visible + .more-panel,
.more-panel:focus-within {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .more-panel {
    transition: none;
    transform: none;
  }

  .nav > a .nav-label::after,
  .nav .more-btn .nav-label::after {
    transition: none;
  }
}

.more-panel a {
  display: flex;
  align-items: center;
  height: auto;
  min-height: 2.4rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-2);
  border-radius: 4px;
}

.more-panel a:hover,
.more-panel a.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.search-layer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 28, 51, 0.52);
  z-index: 60;
  padding: 8vh 20px 20px;
}

.search-layer.open {
  display: block;
}

.search-box {
  width: min(720px, 100%);
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-hover);
}

.search-box input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-size: 1.24rem;
  padding: 8px 0 12px;
  outline: none;
  color: var(--ink);
}

.search-results {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  max-height: 50vh;
  overflow: auto;
}

.search-results a {
  display: block;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  border-radius: 4px;
}

.search-results a:hover {
  background: var(--accent-soft);
}

.search-results small {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.88fr);
  grid-template-areas: "media side";
  column-gap: 2.4rem;
  row-gap: 0;
  padding: 2.75rem 0 1.75rem;
  align-items: stretch;
}

.hero-media {
  grid-area: media;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  min-height: 28rem;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
}

.hero-copy {
  grid-area: media;
  align-self: end;
  z-index: 2;
  max-width: none;
  padding: 5.2rem 1.5rem 1.4rem;
  background: linear-gradient(180deg, transparent 8%, rgba(18, 18, 18, 0.55) 38%, rgba(18, 18, 18, 0.92) 70%);
  color: #f7f1e6;
}

.hero-copy h1,
.hero-copy .kicker,
.hero-copy .lede,
.hero-copy .meta {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.hero-copy h1 {
  color: #fffdf9;
}

.hero-copy h1 a:hover {
  color: #fff;
}

.hero-copy .lede {
  color: rgba(247, 241, 230, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-copy .meta {
  color: rgba(247, 241, 230, 0.68);
}

.side-stack {
  grid-area: side;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

.headline {
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.5px;
  margin: 10px 0 14px;
  color: var(--navy);
}

.hero-copy h1 {
  font-size: clamp(1.75rem, 3.15vw, 2.62rem);
  line-height: 1.6;
  letter-spacing: -0.5px;
  margin: 10px 0 14px;
  color: #fffdf9;
  font-weight: 700;
}

.hero-copy h1 a:hover {
  color: #fff;
}

.hero-copy .kicker {
  color: #f0cfc4;
}

.hero-copy .kicker::before {
  background: #f0cfc4;
}

.lede {
  color: var(--ink-2);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.85;
  margin: 0 0 14px;
}

.meta {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 300;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  line-height: 1.5;
}

.side-item {
  display: grid;
  grid-template-columns: 6.4rem 1fr;
  gap: 14px;
  align-items: center;
  flex: 0 0 auto;
  padding: 16px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.side-item:first-child {
  border-top: 1px solid var(--hairline);
}

.side-item:last-child {
  border-bottom: 0;
}

.side-item:hover {
  background: transparent;
}

.side-item img {
  width: 6.4rem;
  height: 4.7rem;
  object-fit: cover;
  border-radius: 2px;
}

.side-item h3 {
  margin: 6px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}

.side-item:hover h3 {
  color: var(--accent);
}

.side-item .kicker {
  font-size: 0.78rem;
}

.section {
  padding: 3.4rem 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--accent);
  border-bottom: 0;
  padding-top: 10px;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--navy);
}

.section-head a {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.section-head a:hover {
  color: var(--accent-deep);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.home-pair > div {
  display: flex;
  flex-direction: column;
}

.home-pair .card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: auto;
  min-height: 16rem;
}

.home-pair .card img,
.home-pair .card h3,
.home-pair .card .kicker {
  flex: 0 0 auto;
}

.home-pair .card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card {
  display: block;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
  padding: 0 22px 24px;
}

.card:hover {
  border-color: var(--line-strong);
}

.card h2,
.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.5px;
  margin: 10px 0 8px;
  color: var(--navy);
}

.card:hover h2,
.card:hover h3 {
  color: var(--accent);
}

.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.7;
}

.card img {
  width: calc(100% + 44px);
  max-width: none;
  height: 210px;
  object-fit: cover;
  margin: 0 -22px 16px;
}

.card:not(:has(img)) {
  padding-top: 22px;
}

.pulse {
  background: transparent;
  color: var(--ink);
  padding: 3.6rem 0;
}

.pulse .section-head {
  margin-bottom: 0.2rem;
}

.pulse .section-head h2 {
  color: var(--navy);
}

.pulse .section-head a {
  color: var(--accent);
}

.pulse .section-head a:hover {
  color: var(--accent-deep);
}

.pulse-list {
  display: grid;
  gap: 0;
}

.pulse-list a {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr) 3.2rem;
  grid-template-areas: "src title kind";
  gap: 0.85rem 1.15rem;
  align-items: center;
  padding: 0.82rem 0.05rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  box-shadow: none;
  color: inherit;
}

.pulse-list a:last-child {
  border-bottom: 0;
}

.pulse-list a:hover {
  background: transparent;
}

.pulse-list .src {
  grid-area: src;
  color: #8a5a60;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.pulse-list b {
  grid-area: title;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--navy);
}

.pulse-list a:hover b {
  color: var(--accent);
}

.pulse-list a > span:last-child,
.pulse-list .pulse-clip > span:last-child {
  grid-area: kind;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1;
  text-align: start;
}

.magazine-band {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 70% at 100% 0%, rgba(160, 124, 69, 0.14), transparent 55%),
    linear-gradient(165deg, #0e1c33 0%, #152848 58%, #1a2040 100%);
  color: #f7f1e6;
  border: 1px solid rgba(160, 124, 69, 0.32);
  border-radius: 10px;
  padding: 72px 64px;
}

.magazine-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--gold) 100%);
}

.magazine-band .kicker {
  color: var(--gold-soft);
}

.magazine-band .kicker::before {
  background: var(--gold-soft);
}

.magazine-band .headline {
  color: #fffdf9;
  font-size: clamp(1.56rem, 2.4vw, 2.16rem);
  margin-top: 8px;
}

.magazine-band .lede {
  color: rgba(247, 241, 230, 0.84);
  font-size: 1.05rem;
  line-height: 1.8;
}

.magazine-band .issue-list li {
  color: rgba(247, 241, 230, 0.9);
  border-bottom-color: rgba(247, 241, 230, 0.14);
}

.magazine-band .file-meta {
  color: rgba(247, 241, 230, 0.62);
}

.magazine-band .ghost-btn {
  border-color: rgba(247, 241, 230, 0.38);
  color: #fffdf9;
}

.magazine-band .ghost-btn:hover {
  background: rgba(255, 253, 249, 0.08);
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.magazine-band .cover {
  width: 260px;
  border-radius: 2px;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(215, 194, 154, 0.28);
}

.cover {
  position: relative;
  width: 240px;
  box-shadow: var(--shadow);
  background: #161616;
  overflow: hidden;
  border-radius: 2px;
}

.cover img {
  width: 100%;
  height: auto;
  display: block;
}

a.cover:hover,
.magazine-band .cover:hover {
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(215, 194, 154, 0.4);
}

.talks {
  padding-top: 2.6rem;
}

.talks-slider {
  position: relative;
}

.talks-viewport {
  touch-action: pan-y;
}

.talks-track {
  display: grid;
}

.talk-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.9fr);
  gap: 28px 48px;
  align-items: center;
  min-height: 28rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-18px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}

.talk-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.talk-copy {
  min-width: 0;
  padding: 0.4rem 0 0.8rem;
}

.talk-copy .kicker {
  font-size: 0.74rem;
}

.talk-copy blockquote {
  margin: 1.05rem 0 1.35rem;
  padding: 0;
  border: 0;
  color: var(--navy);
  font-size: clamp(1.42rem, 2.8vw, 2.26rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.5px;
}

.talk-copy blockquote[dir="ltr"] {
  text-align: left;
  letter-spacing: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
}

.talk-gloss,
.talk-original {
  margin: -0.85rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.talk-original {
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.5;
}

.talk-by {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.6;
}

.talk-by b {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.talk-more {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.talk-more:hover {
  color: var(--accent-deep);
}

.talk-figure {
  --talk-h: 28rem;
  position: relative;
  margin: 0;
  height: var(--talk-h);
  isolation: isolate;
}

/* قاب گفتگو — همان چهار گوشهٔ فایل لوگو (۶۱۷×۵۶۰)؛ نسبت قفل است تا شیب در موبایل نشکند */
.talk-shape {
  --talk-plate: polygon(93.35% 0%, 16.21% 26.79%, 0% 73.04%, 99.84% 99.82%);
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  width: min(100%, calc(var(--talk-h) * 617 / 560));
  height: auto;
  aspect-ratio: 617 / 560;
  transform: translateX(-50%);
  border-radius: 0;
  background: color-mix(in srgb, #f06161 17%, var(--paper));
  clip-path: var(--talk-plate);
}

.talk-figure img {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  filter: drop-shadow(0 16px 28px rgba(38, 38, 38, 0.12));
}

.talk-slide[data-pose="sit"] img {
  height: 100%;
  max-width: 118%;
}

/* عکس منبع داخل همان قاب ۶۱۷×۵۶۰، نه مستطیلِ رها */
.talk-figure img.talk-photo {
  width: min(100%, calc(var(--talk-h) * 617 / 560));
  height: auto;
  aspect-ratio: 617 / 560;
  max-width: 100%;
  object-fit: cover;
  object-position: center 28%;
  clip-path: polygon(93.35% 0%, 16.21% 26.79%, 0% 73.04%, 99.84% 99.82%);
  filter: none;
}

.talks-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 1.1rem;
}

.talks-dots {
  display: flex;
  gap: 8px;
}

.talks-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
  cursor: pointer;
  transition: width var(--ease), background var(--ease);
}

.talks-dot.is-active {
  width: 22px;
  background: var(--navy);
}

.talks-controls {
  display: flex;
  gap: 8px;
}

.talks-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.talks-btn svg {
  width: 18px;
  height: 18px;
}

.talks-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .talk-slide {
    transition: none;
    transform: none;
  }
}

a.solid-btn,
a.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.issue-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.file-meta {
  color: var(--muted);
  font-size: 0.84rem;
}

.issue-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.issue-card .cover {
  width: 100%;
}

.issue-card h3 {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.6;
}

.issue-card .file-meta {
  margin: 0;
}

.cover-type {
  position: absolute;
  inset: auto 12px 14px 12px;
  color: #1b1511;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cover-type .issue {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.cover-type .name {
  font-size: 1.94rem;
  font-weight: 700;
  line-height: 0.9;
}

.cover-type .month {
  font-size: 0.84rem;
  font-weight: 600;
}

.issue-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
}

.issue-list li {
  list-style: none;
  border-bottom: 1px solid rgba(247, 241, 230, 0.12);
  padding: 11px 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.55;
}

.issue-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.issue-list a span:last-child {
  color: var(--accent);
  font-size: 0.84rem;
  flex: none;
}

.page-hero {
  padding: 2.5rem 0 1.1rem;
}

.page-hero h1 {
  font-size: clamp(1.94rem, 4.6vw, 2.95rem);
  font-weight: 700;
  margin: 8px 0 12px;
  line-height: 1.6;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.page-hero .lede {
  max-width: 42rem;
}

.archive {
  display: grid;
  gap: 0;
  padding-bottom: 48px;
}

.archive-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 1.7rem 4px;
  border-bottom: 1px solid var(--hairline);
}

.archive-row:first-child {
  border-top: 1px solid var(--hairline);
}

.archive-row:last-child {
  border-bottom: 0;
}

.archive-row:hover {
  background: transparent;
}

.archive-row img {
  width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.archive-row h2,
.archive-row h3 {
  color: var(--navy);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.5px;
  margin: 8px 0 8px;
}

.archive-row:hover h2,
.archive-row:hover h3 {
  color: var(--accent);
}

.archive-row p {
  color: var(--ink-2);
  font-weight: 400;
  line-height: 1.7;
  margin: 0 0 8px;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 720px) 280px;
  gap: 56px;
  padding: 28px 0 64px;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body p {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.85;
  margin: 0 0 1.15rem;
}

.article-body h1,
.article-body .headline {
  font-size: clamp(1.85rem, 3.9vw, 2.62rem);
  line-height: 1.6;
  letter-spacing: -0.5px;
  font-weight: 700;
}

.article-body h2 {
  font-size: 1.34rem;
  margin: 1.8rem 0 0.75rem;
  color: var(--navy);
  line-height: 1.6;
  letter-spacing: -0.5px;
  font-weight: 600;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 4px 18px 4px 0;
  border-right: 2px solid var(--accent);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.article-body blockquote[dir="ltr"] {
  padding: 4px 0 4px 18px;
  border-right: 0;
  border-left: 2px solid var(--accent);
  text-align: left;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 1.05rem;
}

.article-body .quote-gloss {
  margin: -12px 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.article-body .table-wrap {
  overflow-x: auto;
  margin: 0 0 1.15rem;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.6;
}

.article-body th,
.article-body td {
  text-align: right;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.article-body th {
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
}

.article-body caption {
  caption-side: bottom;
  text-align: right;
  color: var(--muted);
  font-size: 0.84rem;
  padding-top: 8px;
}

.drop {
  float: right;
  font-size: 62px;
  line-height: 0.75;
  padding-left: 8px;
  font-weight: 700;
  color: var(--accent);
}

.figure {
  margin: 22px 0 28px;
}

.figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.figure figcaption {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 300;
  margin-top: 8px;
  line-height: 1.55;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tags a {
  border: 1px solid var(--line-strong);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
}

.tags a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.sidebar-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  margin-bottom: 20px;
}

.sidebar-box h3 {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.sidebar-box p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.iran-box {
  background: var(--accent-soft);
  border-right: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 20px 20px 16px;
  margin: 28px 0;
}

.iran-box strong {
  color: var(--accent-deep);
  display: block;
  margin-bottom: 6px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.field-card {
  display: block;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 180px;
}

.field-card:hover {
  border-color: var(--line-strong);
}

.field-card .kind {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.field-card h2,
.field-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.5px;
}

.event-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 1.15rem 0;
  margin-bottom: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.event-row:hover {
  background: transparent;
}

.event-row h3 {
  color: var(--navy);
  margin: 6px 0;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.6;
}

.event-row p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.65;
}

.event-row > a {
  color: var(--accent);
  font-weight: 600;
}

.event-date {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
}

.event-date b {
  display: block;
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1;
}

.profile-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  padding: 28px 0 40px;
}

.profile-head h1 {
  font-size: clamp(1.85rem, 3.9vw, 2.62rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.5px;
}

.profile-head img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 16px;
}

.facts div {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.facts small {
  color: var(--muted);
  display: block;
}

.mag-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px 0 20px;
}

.mag-hero .cover {
  width: 280px;
  box-shadow:
    0 18px 40px rgba(14, 28, 51, 0.16),
    0 0 0 1px rgba(14, 28, 51, 0.06);
}

.mag-hero h1,
.mag-hero h2 {
  font-size: clamp(1.56rem, 2.75vw, 2.12rem);
  line-height: 1.6;
  letter-spacing: -0.5px;
  font-weight: 700;
}

.toc ol {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.toc li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 4px 14px;
  border-bottom: 1px solid var(--line);
}

.toc a {
  display: contents;
}

.toc .sec {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.84rem;
}

.toc b {
  font-weight: 600;
  line-height: 1.6;
}

#site-footer,
.site-footer {
  display: block;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.site-footer {
  background: #1c1c1c;
  color: #e8dcc8;
  margin-top: 48px;
  padding: 0;
  border-top: 2px solid var(--accent);
}

.footer-inner {
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 72px;
  align-items: start;
}

.footer-brand,
.footer-nav,
.footer-social {
  min-width: 0;
}

.footer-nav {
  justify-self: center;
}

.footer-social {
  justify-self: end;
  text-align: end;
}

.footer-logo-link {
  display: inline-block;
}

.site-footer .footer-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: none;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
  max-width: 18rem;
  color: #b8b3ac;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.75;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-nav ul,
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  display: block;
  padding: 6px 0;
  color: #d8ccb8;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-nav a:hover,
.social-list a:hover {
  color: var(--gold-soft);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #d8ccb8;
  border: 1px solid rgba(232, 220, 200, 0.18);
  border-radius: 50%;
}

.social-list a:hover {
  border-color: var(--gold-soft);
}

.social-list svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-legal {
  border-top: 1px solid rgba(232, 220, 200, 0.14);
  padding: 18px 0 22px;
}

.footer-legal p {
  margin: 0;
  color: #9a8c78;
  font-size: 0.8rem;
  font-weight: 300;
}

.empty-note {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  html,
  body {
    font-size: 17px;
  }

  .hero,
  .article,
  .magazine-band,
  .archive-row,
  .profile-head,
  .mag-hero,
  .footer-grid,
  .grid-3,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 44px 0 28px;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-nav,
  .footer-social {
    justify-self: start;
    text-align: start;
  }

  .social-list {
    justify-content: flex-start;
  }

  .footer-brand p {
    max-width: none;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .brand .logo {
    height: 72px;
    max-width: none;
  }

  .brand .tagline {
    max-width: 12rem;
    font-size: 0.78rem;
  }

  .brand-row {
    align-items: flex-start;
  }

  .bismillah {
    height: 2rem;
  }

  .masthead-top {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .masthead-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 100%;
    row-gap: 8px;
  }

  .leaders {
    height: 58px;
    max-width: min(160px, 36vw);
    margin-top: 8px;
  }

  .hero {
    grid-template-areas:
      "media"
      "copy"
      "side";
    gap: 1.4rem;
    padding: 1.6rem 0 1.1rem;
    align-items: start;
  }

  .hero-media,
  .hero-media img {
    min-height: 0;
    height: 220px;
  }

  .hero-copy {
    grid-area: copy;
    align-self: start;
    background: none;
    color: inherit;
    padding: 0;
  }

  .hero-copy h1,
  .hero-copy .kicker,
  .hero-copy .lede,
  .hero-copy .meta {
    text-shadow: none;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 7.5vw, 2.35rem);
    line-height: 1.6;
    letter-spacing: -0.5px;
    color: var(--navy);
  }

  .hero-copy h1 a:hover {
    color: var(--accent);
  }

  .hero-copy .lede {
    color: var(--ink-2);
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .hero-copy .meta {
    color: var(--muted);
  }

  .section {
    padding: 2.4rem 0;
  }

  .magazine-band {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 44px 28px;
    gap: 24px;
  }

  .cover,
  .mag-hero .cover,
  .magazine-band .cover {
    width: min(240px, 70%);
    margin-inline: auto;
  }

  .issue-list a span:last-child {
    display: none;
  }

  .side-item {
    grid-template-columns: 5.6rem 1fr;
  }

  .archive-row img {
    width: 100%;
    height: 200px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
  }

  .masthead.menu-open .nav {
    display: flex;
  }

  .nav > a,
  .nav > .more {
    flex: none;
    width: 100%;
    height: auto;
  }

  .nav > a,
  .nav .more-btn {
    justify-content: flex-start;
    width: 100%;
    height: 2.85rem;
    padding: 0 0.95rem;
    font-size: 1rem;
    line-height: 1;
  }

  .nav > .more {
    height: auto;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav > .more::after {
    content: none;
  }

  .more-panel {
    position: static;
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    min-width: 0;
    margin: 0;
    padding: 0 0.35rem 8px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
  }

  .pulse-list a {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "src kind"
      "title title";
    gap: 0.35rem 0.8rem;
    padding: 1rem 0;
    align-items: start;
  }

  .event-row {
    grid-template-columns: 88px 1fr;
  }

  .event-row > a {
    grid-column: 2;
  }

  .card img {
    height: 190px;
  }

  .talk-slide {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    transform: none;
  }

  .talk-copy {
    order: 2;
    padding: 0.2rem 0 0;
  }

  .talk-copy blockquote {
    font-size: clamp(1.24rem, 5.9vw, 1.7rem);
    margin: 0.75rem 0 1rem;
    line-height: 1.6;
    letter-spacing: -0.5px;
  }

  .talk-figure {
    order: 1;
    --talk-h: 21rem;
  }

  .talk-figure img {
    height: 100%;
    max-width: 86%;
  }

  .talk-slide[data-pose="sit"] img {
    max-width: 96%;
  }

  .talk-figure img.talk-photo {
    width: min(100%, calc(var(--talk-h) * 617 / 560));
    max-width: 100%;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* —— فاز ۴: خبرنامه، بلیت رویداد، ظهور نرم، پارالکس —— */

.newsletter {
  padding-top: 2.2rem;
  padding-bottom: 1.2rem;
}

.newsletter-box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.9fr);
  gap: 2.2rem 3rem;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 1px solid var(--accent);
  padding: 2.5rem 2.4rem;
}

.newsletter-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.42rem, 2.2vw, 1.89rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.newsletter-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.8;
}

.newsletter-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
}

.newsletter-field {
  display: flex;
  align-items: stretch;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 4px 4px 5px;
}

.newsletter-field:focus-within {
  border-color: var(--navy);
}

.newsletter-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 9px 16px;
  color: var(--navy);
  font-size: 0.92rem;
  outline: none;
}

.newsletter-field input::placeholder {
  color: #9aa0a6;
  font-weight: 300;
}

.newsletter-field .solid-btn {
  flex-shrink: 0;
}

.newsletter-ok {
  margin: 10px 0 0;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-ticket {
  display: grid;
  grid-template-columns: 7.4rem 0 minmax(0, 1fr);
  gap: 0 1.35rem;
  align-items: center;
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.15rem 1.5rem;
  overflow: visible;
}

.event-ticket:hover {
  border-color: var(--line-strong);
}

.event-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 6.4rem;
}

.event-day b {
  display: block;
  font-size: clamp(4.05rem, 6.3vw, 5.6rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.5px;
  color: #d2cdc4;
}

.event-day span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.12em;
}

.event-cut {
  position: relative;
  align-self: stretch;
  width: 0;
  margin: 10px 0;
  border-inline-start: 1.5px dashed color-mix(in srgb, var(--ink) 22%, transparent);
}

.event-cut::before,
.event-cut::after {
  content: "";
  position: absolute;
  right: 50%;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translateX(50%);
}

.event-cut::before { top: -16px; }
.event-cut::after { bottom: -16px; }

.event-body {
  min-width: 0;
  padding: 0.15rem 0;
}

.event-body h3 {
  margin: 8px 0 6px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.6;
}

.event-body p {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.7;
}

.event-body > a {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}

.event-body > a:hover {
  color: var(--accent-deep);
}

.hero-media img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.05);
  transform-origin: center center;
  will-change: transform;
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .newsletter-box {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding: 1.7rem 1.3rem;
  }

  .newsletter-field {
    flex-wrap: wrap;
    border-radius: 14px;
    padding: 8px;
  }

  .newsletter-field input {
    flex: 1 1 100%;
    padding: 8px 10px 10px;
  }

  .newsletter-field .solid-btn {
    width: 100%;
    text-align: center;
  }

  .event-ticket {
    grid-template-columns: 5.2rem 0 minmax(0, 1fr);
    gap: 0 1rem;
    padding: 1rem 1.05rem;
  }

  .event-day {
    min-height: 4.8rem;
  }

  .event-day b {
    font-size: 2.9rem;
  }

  .event-body h3 {
    font-size: 0.97rem;
  }

  .hero-media img {
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal,
  .js-reveal .reveal.is-in,
  .hero-media img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}

/* ============ دیوار مفاخر — Wall of Fame ============ */
@font-face {
  font-family: "Iran Nastaliq";
  src: url("../fonts/IranNastaliq-Web.woff2") format("woff2"),
       url("../fonts/IranNastaliq-Web.woff") format("woff"),
       url("../fonts/IranNastaliq-Web.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.wall {
  --wall-ink: #e9e2d4;
  --wall-gold: #c5a059;
  position: relative;
  background-color: #14161c;
  background-image: url("../img/wall-damask.jpg");
  background-repeat: repeat;
  background-size: 430px auto;
  color: var(--wall-ink);
  padding: 3.4rem 0 4.4rem;
  overflow: hidden;
}

.wall::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 42% at 50% 0%, rgba(255, 214, 150, 0.16), transparent 70%);
  pointer-events: none;
}

.wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 46%, rgba(4, 5, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(4, 5, 8, 0.35), transparent 18%, transparent 82%, rgba(4, 5, 8, 0.45));
  pointer-events: none;
}

.wall .wrap {
  position: relative;
  z-index: 1;
}

.wall-head {
  text-align: center;
  margin: 0 0 2rem;
}

.wall-kicker {
  margin: 0 0 0.15rem;
  color: #ead9b6;
  font-size: 0.84rem;
  font-weight: 300;
  letter-spacing: 0;
}

.wall-title {
  margin: 0;
  padding: 0.72em 0 0.42em;
  text-align: center;
  font-family: "Iran Nastaliq", "Abar", serif;
  font-size: clamp(2.45rem, 4vw, 3.65rem);
  font-weight: 400;
  line-height: 2.2;
  color: #c5a059;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9), 0 0 18px rgba(184, 134, 11, 0.35);
}

.wall-head::after {
  content: "";
  display: block;
  width: 4.75rem;
  height: 1px;
  margin: 0.15rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.95), transparent);
}

.gallery-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.7rem 1.05rem;
  align-items: start;
}

.gallery-item {
  position: relative;
  min-width: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  z-index: 4;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--wall-gold);
  outline-offset: 5px;
}

.frame-body {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 3.72;
  border-radius: 2px;
  background:
    linear-gradient(160deg, #f4e4b4 0%, #c9a25a 20%, #745628 46%, #e6cb86 68%, #8d6832 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 220, 0.7),
    0 12px 22px rgba(0, 0, 0, 0.38);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.frame-body::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 1px;
  border: 1px solid rgba(48, 30, 10, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 228, 170, 0.32);
  pointer-events: none;
  z-index: 4;
}

.gallery-item:hover .frame-body,
.gallery-item:focus-visible .frame-body {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 220, 0.7),
    0 18px 28px rgba(0, 0, 0, 0.48);
}

.photo-canvas {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  inset: 7px;
  background: #efe6d4;
}

.portrait {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  max-width: none;
  object-fit: cover;
  object-position: var(--focus, center 22%);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--focus, center 22%);
  filter: grayscale(1) contrast(1.05);
  opacity: 1;
  transition: opacity 0.9s ease, filter 0.45s ease;
}

.gallery-item:hover .portrait,
.gallery-item:focus-visible .portrait {
  filter: grayscale(0) contrast(1);
}

.wall-plaque {
  position: absolute;
  bottom: -20px;
  left: 50%;
  z-index: 6;
  width: min(220px, 132%);
  margin: 0;
  min-height: 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: white;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.gallery-item:hover .wall-plaque,
.gallery-item:focus-visible .wall-plaque {
  opacity: 1;
  transform: translate(-50%, 0);
}

.plaque-name {
  display: block;
  color: white;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.plaque-name::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin: 0.4rem auto 0;
  background: var(--wall-gold);
  opacity: 0.75;
}

.plaque-role {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.35rem;
  color: #cbb98a;
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .gallery-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wall {
    padding: 2.6rem 0 3.2rem;
    background-size: 300px auto;
  }

  .wall-head {
    margin-bottom: 1.5rem;
  }

  .wall-kicker {
    letter-spacing: 0;
  }

  .wall-title {
    font-size: 2.2rem;
    line-height: 2.35;
    padding-top: 0.55em;
  }

  .gallery-wall {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 0.75rem;
  }

  .plaque-name {
    font-size: 0.82rem;
  }

  .wall-plaque {
    width: min(180px, 140%);
    padding: 8px;
  }
}

@media (hover: none) {
  .wall-plaque {
    position: static;
    left: auto;
    bottom: auto;
    width: auto;
    margin-top: 0.65rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    transform: none;
  }

  .plaque-name {
    color: #f6efe2;
  }

  .gallery-item:hover .portrait,
  .gallery-item:focus-visible .portrait {
    filter: grayscale(1) contrast(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portrait,
  .wall-plaque,
  .frame-body {
    transition: none;
  }

  .gallery-item:hover .frame-body,
  .gallery-item:focus-visible .frame-body {
    transform: none;
  }
}

.fame-profile {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
  padding: 0.4rem 0 4.5rem;
}

.fame-photo {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #1a1c22;
}

.fame-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--focus, center 22%);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--focus, center 22%);
  filter: grayscale(1) contrast(1.05);
}

.fame-role {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
}

.fame-field {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.fame-profile h2 {
  margin: 1.3rem 0 0.45rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.5px;
}

.fame-profile ul {
  margin: 0;
  padding: 0 1.15rem 0 0;
  line-height: 1.85;
}

.fame-missing {
  padding-bottom: 4rem;
}

@media (max-width: 700px) {
  .fame-profile {
    grid-template-columns: 1fr;
  }

  .fame-photo {
    max-width: 280px;
  }
}

/* ============ نشان روند — آکاردئون سینمایی ============ */
.neshan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.4rem 0 4.8rem;
  color: #faf7f2;
  background-color: #1a1210;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.62 0 0 0 0 0.46 0 0 0 0 0.24 0 0 0 0.28 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 58% 48% at 86% 8%, rgba(240, 97, 97, 0.72), transparent 68%),
    radial-gradient(ellipse 42% 38% at 6% 96%, rgba(201, 148, 58, 0.34), transparent 70%),
    radial-gradient(ellipse 36% 28% at 48% 0%, rgba(255, 220, 170, 0.16), transparent 72%),
    radial-gradient(circle at 50% 62%, transparent 16.5rem, rgba(231, 211, 164, 0.16) 16.7rem, transparent 17.05rem),
    repeating-linear-gradient(-18deg, rgba(255, 236, 210, 0.045) 0 1px, transparent 1px 16px),
    linear-gradient(168deg, #3a221c 0%, #1c1411 38%, #120e0c 100%);
  background-size: 180px 180px, auto, auto, auto, auto, auto, auto;
  border-top: 1px solid rgba(231, 211, 164, 0.35);
}

.neshan::before,
.neshan::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.neshan::before {
  width: 34rem;
  height: 34rem;
  top: -14rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(176, 52, 72, 0.42), transparent 68%);
  filter: blur(6px);
}

.neshan::after {
  width: 28rem;
  height: 28rem;
  left: -9rem;
  bottom: -12rem;
  background: radial-gradient(circle, rgba(212, 164, 74, 0.28), transparent 70%);
  filter: blur(8px);
}

.neshan-container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.neshan-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: 1.45rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(231, 211, 164, 0.32);
}

.neshan .kicker {
  color: #e7d3a4;
}

.neshan .kicker::before {
  background: #e7d3a4;
}

.neshan-title h2 {
  margin: 0.28rem 0 0;
  color: #faf7f2;
  font-family: "Abar", Tahoma, sans-serif;
  font-weight: 900;
  font-size: clamp(2.7rem, 5vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.neshan-title h2:has(.brand-word) {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.neshan-lede {
  max-width: 34rem;
  margin: 0;
  color: rgba(250, 247, 242, 0.76);
  font-family: "Abar", Tahoma, sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.9;
}

.neshan-accordion {
  display: flex;
  width: 100%;
  height: clamp(22rem, 52vh, 36rem);
  gap: 10px;
  overflow: hidden;
}

.accordion-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: #0c0b0a;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-panel:hover,
.neshan-accordion:not(:hover) .accordion-panel:focus-within {
  flex: 4;
}

.accordion-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 110px rgba(0, 0, 0, 0.72);
  transition: box-shadow 0.6s ease;
}

.accordion-panel:hover::after,
.neshan-accordion:not(:hover) .accordion-panel:focus-within::after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 215, 120, 0.5),
    inset 0 80px 90px rgba(0, 0, 0, 0.28);
}

.panel-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: grayscale(100%) brightness(0.4);
  transform: scale(1.12);
  transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-panel:hover .panel-bg,
.neshan-accordion:not(:hover) .accordion-panel:focus-within .panel-bg {
  filter: grayscale(0%) brightness(0.9);
  transform: scale(1.02);
}

.panel-month .panel-bg {
  object-position: center 40%;
}

.panel-season .panel-bg {
  object-position: center 42%;
}

.panel-year .panel-bg {
  object-position: 66% center;
}

.badge-3d {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
  color: #3a260c;
  font-family: "Abar", Tahoma, sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffd700, #b8860b);
  border: 2px solid #fff;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.5),
    inset 0 -5px 15px rgba(0, 0, 0, 0.3),
    inset 0 7px 10px rgba(255, 244, 210, 0.55);
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1), height 0.6s cubic-bezier(0.25, 1, 0.5, 1), font-size 0.6s ease, top 0.6s ease, right 0.6s ease;
}

.badge-3d::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 1px solid rgba(80, 48, 10, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 220, 0.35);
  pointer-events: none;
}

.panel-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.vertical-title {
  position: absolute;
  top: 54%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #f7f1e6;
  font-family: "Abar", Tahoma, sans-serif;
  font-weight: 900;
  font-size: clamp(2.05rem, 2.5vw, 2.55rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  white-space: normal;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
  transition: opacity 0.45s ease, font-size 0.6s ease;
}

.vertical-title span {
  display: inline-block;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  transform: rotate(-90deg);
}

.accordion-panel:hover .vertical-title,
.neshan-accordion:not(:hover) .accordion-panel:focus-within .vertical-title {
  opacity: 0;
}

.neshan-accordion:hover .accordion-panel:not(:hover) .vertical-title,
.neshan-accordion:not(:hover):has(.accordion-panel:focus-within) .accordion-panel:not(:focus-within) .vertical-title {
  font-size: 1.35rem;
}

.neshan-accordion:hover .accordion-panel:not(:hover) .badge-3d,
.neshan-accordion:not(:hover):has(.accordion-panel:focus-within) .accordion-panel:not(:focus-within) .badge-3d {
  width: 58px;
  height: 58px;
  top: 12px;
  right: 12px;
  font-size: 0.64rem;
}

.hidden-details {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: auto;
  width: min(34rem, calc(100% - 40px));
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 16px;
  color: #faf7f2;
  background: rgba(16, 12, 10, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.accordion-panel:hover .hidden-details,
.neshan-accordion:not(:hover) .accordion-panel:focus-within .hidden-details {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.8s ease 0.12s, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.12s;
}

.report-btn {
  pointer-events: none;
}

.accordion-panel:hover .report-btn,
.neshan-accordion:not(:hover) .accordion-panel:focus-within .report-btn {
  pointer-events: auto;
}

.panel-when {
  margin: 0 0 0.28rem;
  color: #e7d3a4;
  font-weight: 300;
  font-size: 0.78rem;
  line-height: 1.5;
}

.hidden-details h2 {
  margin: 0 0 0.4rem;
  color: #fffdf8;
  font-family: "Abar", Tahoma, sans-serif;
  font-weight: 900;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hidden-details p {
  margin: 0;
  color: rgba(250, 247, 242, 0.92);
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.75;
}

.reason-label {
  display: block;
  margin-bottom: 0.12rem;
  color: #e7d3a4;
  font-weight: 300;
  font-size: 0.75rem;
  line-height: 1.4;
}

.report-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 0.9rem;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd700, #b8860b);
  color: #2a1c0a;
  font-family: "Abar", Tahoma, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.report-btn:hover,
.report-btn:focus-visible {
  color: #2a1c0a;
  filter: brightness(1.08);
}

.report-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .neshan-container {
    width: min(1180px, calc(100% - 32px));
  }
}

@media (max-width: 820px) {
  .neshan {
    padding: 2.6rem 0 2.8rem;
  }

  .neshan-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .neshan-title h2 {
    font-size: 2.35rem;
  }

  .neshan-lede {
    font-size: 0.98rem;
  }

  .neshan-accordion {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .accordion-panel {
    flex: none;
    height: 7.6rem;
  }

  .accordion-panel:hover,
  .neshan-accordion:not(:hover) .accordion-panel:focus-within {
    flex: none;
    height: 28rem;
  }

  .badge-3d {
    width: 62px;
    height: 62px;
    top: 14px;
    right: 14px;
    font-size: 0.68rem;
  }

  .vertical-title,
  .vertical-title span {
    writing-mode: horizontal-tb;
  }

  .vertical-title span {
    transform: none;
  }

  .vertical-title {
    font-size: 1.7rem;
    letter-spacing: -0.02em;
  }

  .neshan-accordion:hover .accordion-panel:not(:hover) .vertical-title,
  .neshan-accordion:not(:hover):has(.accordion-panel:focus-within) .accordion-panel:not(:focus-within) .vertical-title {
    font-size: 1.45rem;
  }
}

@media (hover: none) {
  .neshan-accordion {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .accordion-panel,
  .accordion-panel:hover,
  .accordion-panel:focus-within {
    flex: none;
    height: 7.6rem;
  }

  .accordion-panel.is-open,
  .accordion-panel.is-open:hover,
  .accordion-panel.is-open:focus-within {
    flex: none;
    height: 28rem;
  }

  .badge-3d {
    width: 78px;
    height: 78px;
    top: 20px;
    right: 20px;
    font-size: 0.78rem;
  }

  .vertical-title,
  .vertical-title span {
    writing-mode: horizontal-tb;
    white-space: normal;
    transform: none;
  }

  .vertical-title {
    top: auto;
    bottom: 0.85rem;
    left: 1rem;
    right: 5.4rem;
    opacity: 1;
    font-size: 1.15rem;
  }

  .accordion-panel.is-open .vertical-title {
    opacity: 0;
  }

  .hidden-details,
  .accordion-panel:hover .hidden-details,
  .accordion-panel:focus-within .hidden-details {
    opacity: 0;
    transform: none;
    pointer-events: none;
    transition: none;
  }

  .accordion-panel.is-open .hidden-details {
    opacity: 1;
    pointer-events: auto;
  }

  .report-btn,
  .accordion-panel:hover .report-btn,
  .accordion-panel:focus-within .report-btn {
    pointer-events: none;
  }

  .accordion-panel.is-open .report-btn {
    pointer-events: auto;
  }

  .panel-bg,
  .accordion-panel:hover .panel-bg,
  .accordion-panel:focus-within .panel-bg {
    filter: grayscale(100%) brightness(0.55);
    transform: none;
  }

  .accordion-panel.is-open .panel-bg {
    filter: grayscale(0%) brightness(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .accordion-panel,
  .panel-bg,
  .vertical-title,
  .hidden-details,
  .badge-3d,
  .accordion-panel::after {
    transition: none;
  }

  .hidden-details,
  .panel-bg {
    transform: none;
  }
}

.neshan-toggle {
  position: absolute;
  z-index: 12;
  top: 16px;
  left: 16px;
  pointer-events: auto;
  border: 0;
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  background: rgba(16, 12, 10, 0.78);
  color: #f7f1e6;
  font-family: "Abar", Tahoma, sans-serif;
  font-size: 0.78rem;
  line-height: 1.2;
  cursor: pointer;
}

.accordion-panel.is-open {
  flex: 4;
}

.accordion-panel.is-open::after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 215, 120, 0.5),
    inset 0 80px 90px rgba(0, 0, 0, 0.28);
}

.accordion-panel.is-open .panel-bg {
  filter: grayscale(0%) brightness(0.9);
  transform: scale(1.02);
}

.accordion-panel.is-open .vertical-title {
  opacity: 0;
}

.neshan-accordion:has(.accordion-panel.is-open) .accordion-panel:not(.is-open) .vertical-title {
  font-size: 1.35rem;
}

.neshan-accordion:has(.accordion-panel.is-open) .accordion-panel:not(.is-open) .badge-3d {
  width: 58px;
  height: 58px;
  top: 12px;
  right: 12px;
  font-size: 0.64rem;
}

.accordion-panel.is-open .hidden-details {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.accordion-panel.is-open .report-btn {
  pointer-events: auto;
}

@media (max-width: 820px) {
  .accordion-panel.is-open {
    flex: none;
    height: 28rem;
  }

  .neshan-accordion:has(.accordion-panel.is-open) .accordion-panel:not(.is-open) .vertical-title {
    font-size: 1.45rem;
  }
}

/* قاب نشان — برش عکس تیتر یک و تیترهای کناری با هندسهٔ لوگوی روند */
.hero {
  --ravand-plate: polygon(93.35% 0%, 16.21% 26.79%, 0.32% 72.14%, 99.84% 99.64%);
  --logo-coral: #f06161;
  --plate-shadow: drop-shadow(8px 10px 0 var(--logo-coral));
}

.hero-media {
  border-radius: 0;
  overflow: visible;
  min-height: 0;
  height: auto;
  aspect-ratio: 617 / 560;
  background: transparent;
  clip-path: var(--ravand-plate);
  filter: var(--plate-shadow);
  transition: filter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-media:hover {
  filter: drop-shadow(12px 15px 0 var(--logo-coral));
}

.hero-media:focus-visible {
  outline: none;
  filter: var(--plate-shadow) drop-shadow(0 0 0 var(--accent));
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 48% 36%;
}

.hero-copy {
  grid-area: copy;
  align-self: start;
  justify-self: stretch;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 1.35rem 0 0;
  background: none;
  color: inherit;
}

.hero-copy h1,
.hero-copy .kicker,
.hero-copy .lede,
.hero-copy .meta {
  text-shadow: none;
}

.hero-copy h1 {
  margin: 0.35rem 0 0.7rem;
  color: var(--navy);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  line-height: 1.45;
  letter-spacing: -0.4px;
}

.hero-copy h1 a:hover {
  color: var(--accent);
}

.hero-copy .kicker {
  color: var(--accent);
}

.hero-copy .kicker::before {
  background: var(--accent);
}

.hero-copy .lede {
  max-width: 40rem;
  color: var(--ink-2);
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.hero-copy .meta {
  color: var(--muted);
}

.side-stack {
  align-self: start;
  justify-content: flex-start;
  gap: 0.15rem;
}

.side-stack .side-item {
  grid-template-columns: 7.15rem minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  overflow: visible;
  padding: 0.95rem 0 0.85rem;
}

.side-stack .side-item img {
  width: 7.15rem;
  height: auto;
  aspect-ratio: 617 / 560;
  min-height: 0;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 0;
  clip-path: var(--ravand-plate);
  filter: drop-shadow(4px 5px 0 var(--logo-coral));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.side-stack .side-item:hover img {
  transform: scale(1.045);
  filter: drop-shadow(6px 7px 0 var(--logo-coral));
}

.side-stack .side-item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.55;
}

@media (min-width: 981px) {
  .hero {
    --plate-gap: 2.6rem;
    --hero-pad: 1.55rem;
    --media-h: 26rem;
    --type-inset: 0.14;
    --type-width: 0.62;
    position: relative;
    grid-template-columns: minmax(0, 1.14fr) minmax(17.5rem, 0.86fr);
    grid-template-areas:
      "media side"
      "copy .";
    column-gap: var(--plate-gap);
    row-gap: 0.35rem;
    align-items: stretch;
    padding: var(--hero-pad) 0 1.15rem;
  }

  .hero-media {
    aspect-ratio: auto;
    height: var(--media-h);
  }

  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
      76% 64% at 60% 53%,
      rgba(18, 12, 14, 0.66) 0%,
      rgba(18, 12, 14, 0.36) 46%,
      rgba(18, 12, 14, 0) 74%
    );
  }

  .hero-copy {
    grid-area: copy;
    align-self: start;
    justify-self: stretch;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0.85rem 0 0;
    background: none;
  }

  .hero-copy .kicker,
  .hero-copy h1 {
    position: absolute;
    z-index: 3;
    margin: 0;
    inset-inline-start: calc((100% - var(--plate-gap)) * 1.14 / 2 * var(--type-inset));
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55), 0 12px 28px rgba(0, 0, 0, 0.38);
  }

  .hero-copy .kicker {
    top: calc(var(--hero-pad) + var(--media-h) * 0.40 - 1.65rem);
    width: max-content;
    max-width: calc((100% - var(--plate-gap)) * 1.14 / 2 * var(--type-width));
    color: #fff6f1;
  }

  .hero-copy .kicker::before {
    width: 1.7rem;
    background: #fff6f1;
  }

  .hero-copy h1 {
    top: calc(var(--hero-pad) + var(--media-h) * 0.40);
    width: calc((100% - var(--plate-gap)) * 1.14 / 2 * var(--type-width));
    color: #fffdf9;
    font-weight: 700;
    font-size: 1.72rem;
    line-height: 1.38;
    letter-spacing: -0.4px;
    text-wrap: balance;
    pointer-events: none;
  }

  .hero-copy h1 a {
    pointer-events: auto;
  }

  .hero-copy h1 a:hover {
    color: #fff;
  }

  .hero-copy .lede,
  .hero-copy .meta {
    text-shadow: none;
  }

  .hero-copy .lede {
    max-width: 38rem;
    margin: 0 0 0.45rem;
    color: var(--ink-2);
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    text-wrap: pretty;
  }

  .hero-copy .meta {
    color: var(--muted);
  }

  .side-stack {
    align-self: stretch;
    justify-content: space-between;
    padding-block: 0.15rem;
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .hero-copy h1 {
    font-size: 1.48rem;
  }
}

@media (max-width: 980px) {
  .hero-media {
    width: 100%;
    filter: drop-shadow(6px 7px 0 var(--logo-coral));
  }

  .hero-media:hover {
    filter: drop-shadow(6px 7px 0 var(--logo-coral));
  }

  .hero-media,
  .hero-media img {
    min-height: 0;
  }

  .hero-media img {
    height: 100%;
  }

  .hero-copy {
    width: auto;
    padding: 1.25rem 0 0;
  }

  .hero-copy h1 {
    font-weight: 700;
    font-size: clamp(1.55rem, 6.2vw, 1.95rem);
    line-height: 1.45;
    text-wrap: balance;
  }

  .side-stack .side-item {
    grid-template-columns: 5.35rem minmax(0, 1fr);
    gap: 0.85rem;
  }

  .side-stack .side-item img {
    width: 5.35rem;
    filter: drop-shadow(3px 4px 0 var(--logo-coral));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-media:hover,
  .side-stack .side-item img,
  .side-stack .side-item:hover img {
    transition: none;
  }

  .side-stack .side-item:hover img {
    transform: none;
  }
}

/* English LTR edition — Inter for text, Playfair for ceremonial titles */
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  height: 34px;
  padding: 0 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
}

.lang-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(14, 28, 51, 0.04);
}

html[dir="ltr"],
html[dir="ltr"] body,
html[dir="ltr"] button,
html[dir="ltr"] input,
html[dir="ltr"] .neshan-lede,
html[dir="ltr"] .badge-3d,
html[dir="ltr"] .vertical-title,
html[dir="ltr"] .hidden-details h2,
html[dir="ltr"] .report-btn {
  font-family: "Inter", sans-serif;
}

html[dir="ltr"] body {
  font-size: 17px;
  line-height: 1.65;
}

html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] .headline {
  letter-spacing: -0.02em;
  line-height: 1.28;
}

html[dir="ltr"] .nastaliq-heading,
html[dir="ltr"] .wall-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  padding: 0.02em 0 0.18em;
}

html[dir="ltr"] .neshan-title h2.nastaliq-heading {
  font-weight: 700;
  line-height: 1.05;
  padding: 0;
}

html[dir="ltr"] .kicker,
html[dir="ltr"] .wall-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.72rem;
}

html[dir="ltr"] .nav > a,
html[dir="ltr"] .nav .more-btn {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0 0.35rem;
}

html[dir="ltr"] .nav > a .nav-label::after,
html[dir="ltr"] .nav .more-btn .nav-label::after {
  right: auto;
  left: 0;
  transform-origin: left;
}

html[dir="ltr"] .skip {
  left: -999px;
  right: auto;
}

/* Language group: FA | EN | AR */
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  direction: ltr;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
}

.lang-switch .lang-btn {
  border: 0;
  border-radius: 0;
  min-width: 2.15rem;
  height: 34px;
  padding: 0 0.48rem;
  letter-spacing: 0.08em;
}

.lang-switch .lang-btn + .lang-btn {
  border-inline-start: 1px solid var(--line-strong);
}

.lang-switch .lang-btn.is-active {
  background: var(--navy);
  color: var(--cream);
  cursor: default;
}

/* Arabic edition — Cairo for text, Amiri for ceremonial titles */
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] .neshan-lede,
html[lang="ar"] .badge-3d,
html[lang="ar"] .vertical-title,
html[lang="ar"] .hidden-details h2,
html[lang="ar"] .report-btn {
  font-family: "Cairo", sans-serif;
}

html[lang="ar"] body {
  font-family: "Cairo", sans-serif;
}

html[lang="ar"] .nastaliq-heading {
  font-family: "Amiri", serif;
  font-size: 110%;
}

html[lang="ar"] .wall-title {
  font-family: "Amiri", serif;
  font-size: clamp(2.7rem, 4.4vw, 4.05rem);
  font-weight: 700;
  line-height: 1.45;
  padding: 0.16em 0 0.22em;
}

html[lang="ar"] .neshan-title h2 {
  font-family: "Amiri", serif;
  font-size: clamp(3rem, 5.5vw, 4.55rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
}

html[lang="ar"] .event-day span {
  letter-spacing: 0;
  font-size: 0.72rem;
}

@media (max-width: 720px) {
  html[lang="ar"] .masthead-top {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  html[lang="ar"] .masthead-top .date {
    flex: 1 1 100%;
  }
}

html[dir="ltr"] .skip:focus {
  left: 12px;
  right: auto;
}

html[dir="ltr"] .more-panel {
  right: 0;
  left: auto;
}

html[dir="ltr"] .article-body blockquote {
  padding: 4px 0 4px 18px;
  border-right: 0;
  border-left: 2px solid var(--accent);
}

html[dir="ltr"] .drop {
  float: left;
  padding-left: 0;
  padding-right: 8px;
}

html[dir="ltr"] .iran-box {
  border-right: 0;
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 20px 16px 20px 20px;
}

html[dir="ltr"] .magazine-band::before {
  right: auto;
  left: 0;
}

html[dir="ltr"] .badge-3d,
html[dir="ltr"] .neshan-accordion:hover .accordion-panel:not(:hover) .badge-3d,
html[dir="ltr"] .neshan-accordion:not(:hover):has(.accordion-panel:focus-within) .accordion-panel:not(:focus-within) .badge-3d {
  right: auto;
  left: 20px;
  width: 86px;
  height: 86px;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

html[dir="ltr"] .hidden-details {
  right: auto;
  left: 20px;
}

html[dir="ltr"] .vertical-title span {
  transform: rotate(90deg);
}

html[dir="ltr"] .talks-prev svg,
html[dir="ltr"] .talks-next svg {
  transform: scaleX(-1);
}

html[dir="ltr"] .pulse-list a {
  grid-template-columns: 5.2rem minmax(0, 1fr) 3.4rem;
}

html[dir="ltr"] .masthead-top .date {
  letter-spacing: 0.01em;
}

@media (max-width: 980px) {
  html[dir="ltr"],
  html[dir="ltr"] body {
    font-size: 16px;
  }

  html[dir="ltr"] .brand .tagline {
    max-width: 16rem;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  html[dir="ltr"] .masthead-top {
    flex-wrap: wrap;
  }

  html[dir="ltr"] .pulse-list a {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 820px) {
  html[dir="ltr"] .badge-3d {
    left: 14px;
    right: auto;
    width: 70px;
    height: 70px;
  }

  html[dir="ltr"] .vertical-title span {
    transform: none;
  }
}

@media (hover: none) {
  html[dir="ltr"] .badge-3d {
    left: 20px;
    right: auto;
  }
}

/* Nine-language menu: one globe control, glass list on hover, no scrollbar */
.lang-menu {
  position: relative;
  flex: 0 0 auto;
  z-index: 60;
}

.lang-menu::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 100%;
  height: 12px;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  height: 34px;
  padding: 0 0.78rem 0 0.62rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  cursor: pointer;
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
}

.lang-current:hover,
.lang-menu:focus-within .lang-current,
.lang-menu.is-open .lang-current {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
}

.lang-globe {
  width: 15px;
  height: 15px;
  display: block;
}

.lang-panel {
  position: absolute;
  z-index: 70;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 10.6rem;
  max-width: min(16rem, calc(100vw - 24px));
  padding: 0.22rem;
  border-radius: 16px;
  text-align: start;
  background: rgba(250, 247, 242, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(28, 24, 20, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.lang-menu:hover .lang-panel,
.lang-menu:focus-within .lang-panel,
.lang-menu.is-open .lang-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.28rem 0.72rem;
  border-radius: 10px;
  color: var(--ink);
  font-family: "Inter", "Abar", "Noto Sans Arabic", "Noto Sans SC", "Noto Sans Devanagari", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.28;
  text-decoration: none;
  white-space: nowrap;
}

.lang-item[lang="fa"] {
  font-family: "Abar", Tahoma, sans-serif;
}

.lang-item[lang="ar"] {
  font-family: "Cairo", "Noto Sans Arabic", sans-serif;
}

.lang-item[lang="ur"] {
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: 1rem;
}

.lang-item[lang="zh-CN"] {
  font-family: "Noto Sans SC", sans-serif;
}

.lang-item[lang="fr"] {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lang-item[lang="hi"] {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 0.92rem;
}

.lang-item:hover {
  background: rgba(240, 97, 97, 0.08);
  color: var(--accent);
}

.lang-item.is-active {
  color: var(--accent);
  font-weight: 600;
  background: rgba(240, 97, 97, 0.06);
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .lang-panel {
    transition: none;
  }
}

/* Turkish and Russian: Inter for text, Lora for ceremonial titles */
html[lang="tr"] .hero-copy h1,
html[lang="ru"] .hero-copy h1,
html[lang="tr"] .page-hero h1,
html[lang="ru"] .page-hero h1,
html[lang="tr"] .headline,
html[lang="ru"] .headline,
html[lang="tr"] .nastaliq-heading,
html[lang="ru"] .nastaliq-heading,
html[lang="tr"] .wall-title,
html[lang="ru"] .wall-title,
html[lang="tr"] .neshan-title h2,
html[lang="ru"] .neshan-title h2,
html[lang="tr"] .neshan-title h2.nastaliq-heading,
html[lang="ru"] .neshan-title h2.nastaliq-heading {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

html[lang="tr"] .wall-title,
html[lang="ru"] .wall-title {
  line-height: 1.28;
  padding: 0.2em 0 0.28em;
}

html[lang="tr"] .neshan-title h2.nastaliq-heading,
html[lang="ru"] .neshan-title h2.nastaliq-heading {
  font-weight: 700;
  line-height: 1.12;
}

/* Urdu: Noto Sans Arabic for text, Nastaliq for the main titles */
html[lang="ur"] body,
html[lang="ur"] button,
html[lang="ur"] input,
html[lang="ur"] .neshan-lede,
html[lang="ur"] .badge-3d,
html[lang="ur"] .vertical-title,
html[lang="ur"] .hidden-details h2,
html[lang="ur"] .report-btn {
  font-family: "Noto Sans Arabic", sans-serif;
}

html[lang="ur"] body {
  line-height: 1.95;
}

html[lang="ur"] .nastaliq-heading {
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 130%;
  line-height: 2;
  font-weight: 500;
}

html[lang="ur"] .wall-title {
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: clamp(2.15rem, 3.6vw, 3.15rem);
  font-weight: 600;
  line-height: 2;
  padding: 0.2em 0 0.28em;
}

html[lang="ur"] .neshan-title h2 {
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.85;
  letter-spacing: 0;
}

html[lang="ur"] .page-hero h1,
html[lang="ur"] .hero-copy h1 {
  font-family: "Noto Nastaliq Urdu", serif;
  font-weight: 600;
  line-height: 2;
}

/* Chinese: Noto Sans SC for text, Zhi Mang Xing for ceremonial titles */
html[lang="zh-CN"] body,
html[lang="zh-CN"] button,
html[lang="zh-CN"] input,
html[lang="zh-CN"] .neshan-lede,
html[lang="zh-CN"] .badge-3d,
html[lang="zh-CN"] .vertical-title,
html[lang="zh-CN"] .hidden-details h2,
html[lang="zh-CN"] .report-btn {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html[lang="zh-CN"] body {
  line-height: 1.75;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .headline,
html[lang="zh-CN"] .kicker,
html[lang="zh-CN"] .wall-kicker,
html[lang="zh-CN"] .badge-3d {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="zh-CN"] .nastaliq-heading {
  font-family: "Zhi Mang Xing", cursive;
  font-size: 140%;
  font-weight: 400;
  line-height: 1.45;
}

html[lang="zh-CN"] .wall-title {
  font-family: "Zhi Mang Xing", cursive;
  font-weight: 400;
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  line-height: 1.35;
  padding: 0.12em 0 0.2em;
}

html[lang="zh-CN"] .neshan-title h2,
html[lang="zh-CN"] .neshan-title h2.nastaliq-heading {
  font-family: "Zhi Mang Xing", cursive;
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.3;
  letter-spacing: 0;
}

/* French: Inter for text, Cormorant Garamond for ceremonial titles */
html[lang="fr"] body,
html[lang="fr"] button,
html[lang="fr"] input,
html[lang="fr"] .neshan-lede,
html[lang="fr"] .badge-3d,
html[lang="fr"] .vertical-title,
html[lang="fr"] .report-btn {
  font-family: "Inter", sans-serif;
}

html[lang="fr"] .nastaliq-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: 120%;
}

html[lang="fr"] .hero-copy h1,
html[lang="fr"] .page-hero h1,
html[lang="fr"] .headline,
html[lang="fr"] .circle-title,
html[lang="fr"] .account-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html[lang="fr"] .wall-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.35rem, 3.8vw, 3.45rem);
  font-weight: 600;
  line-height: 1.12;
  padding: 0.12em 0 0.22em;
}

html[lang="fr"] .neshan-title h2,
html[lang="fr"] .neshan-title h2.nastaliq-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.7rem, 4.8vw, 4.05rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Hindi: Noto Sans Devanagari for text, Noto Serif Devanagari for main titles */
html[lang="hi"] body,
html[lang="hi"] button,
html[lang="hi"] input,
html[lang="hi"] .neshan-lede,
html[lang="hi"] .badge-3d,
html[lang="hi"] .vertical-title,
html[lang="hi"] .hidden-details h2,
html[lang="hi"] .report-btn,
html[lang="hi"] .kicker,
html[lang="hi"] .wall-kicker {
  font-family: "Noto Sans Devanagari", sans-serif;
}

html[lang="hi"] body {
  line-height: 1.8;
  letter-spacing: 0;
}

html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3,
html[lang="hi"] .headline,
html[lang="hi"] .kicker,
html[lang="hi"] .wall-kicker,
html[lang="hi"] .badge-3d {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="hi"] .nastaliq-heading {
  font-family: "Noto Serif Devanagari", serif;
  font-size: 110%;
  line-height: 1.6;
}

html[lang="hi"] .hero-copy h1,
html[lang="hi"] .page-hero h1,
html[lang="hi"] .headline,
html[lang="hi"] .circle-title,
html[lang="hi"] .account-title {
  font-family: "Noto Serif Devanagari", serif;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
}

html[lang="hi"] .wall-title {
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.6;
  padding: 0.16em 0 0.28em;
}

html[lang="hi"] .neshan-title h2,
html[lang="hi"] .neshan-title h2.nastaliq-heading {
  font-family: "Noto Serif Devanagari", serif;
  font-weight: 600;
  font-size: clamp(2.05rem, 3.8vw, 3.15rem);
  line-height: 1.6;
  letter-spacing: 0;
}

html[dir="ltr"] .circle-features li::before {
  margin-left: 0;
  margin-right: 15px;
}

html[dir="ltr"] .price-tag .period {
  direction: ltr;
}

/* Executive account portal — Ravand Circle */
html:has(body.account-page) {
  height: 100%;
  overflow: hidden;
  background: #4a050c;
}

body.account-page {
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #a31621 0%, #4a050c 100%);
  color: #fff;
  position: relative;
}

html[data-i18n-wait] [data-i18n] {
  opacity: 0;
}

body.account-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}

.account-back,
.account-lang,
.auth-container {
  position: relative;
  z-index: 1;
}

.account-back {
  position: absolute;
  z-index: 40;
  top: 1.35rem;
  left: 1.5rem;
  right: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.account-back svg {
  width: 18px;
  height: 18px;
  display: block;
}

.account-back:hover {
  color: #fff;
  border-color: rgba(243, 230, 200, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.account-lang {
  position: absolute;
  z-index: 50;
  top: 1.25rem;
  right: 1.4rem;
  left: auto;
}

.account-page .lang-panel {
  right: 0;
  left: auto;
  inset-inline: auto;
  max-height: none;
  overflow: visible;
}

.account-page .lang-current {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.account-page .lang-current:hover,
.account-page .lang-menu:focus-within .lang-current,
.account-page .lang-menu.is-open .lang-current {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(243, 230, 200, 0.75);
}

.auth-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  direction: ltr;
  height: 100%;
  min-height: 0;
}

.auth-interactive,
.auth-brand {
  min-width: 0;
  min-height: 0;
}

.auth-interactive {
  grid-column: 1;
}

.auth-brand {
  grid-column: 2;
}

html[dir="rtl"] .auth-interactive,
html[dir="rtl"] .auth-brand {
  direction: rtl;
}

html[dir="ltr"] .auth-interactive,
html[dir="ltr"] .auth-brand {
  direction: ltr;
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 4.6rem 3rem 2.5rem;
  text-align: center;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08);
}

.account-logo {
  width: min(16rem, 72%);
  height: auto;
  margin-top: 1.2rem;
}

.auth-brand-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.05rem;
  max-width: 34rem;
}

.account-title {
  margin: 0;
  color: #f6edd8;
  font-family: "Abar", Tahoma, sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 4vw, 4.15rem);
  line-height: 1.22;
  text-wrap: balance;
}

.account-lede {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
}

.auth-interactive {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.2rem 2.2rem 2rem;
  overflow: auto;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.glass-panel {
  width: min(100%, 34rem);
  margin-block: auto;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  padding: 3rem;
}

.auth-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.auth-switch::before {
  content: "";
  position: absolute;
  top: 0.28rem;
  bottom: 0.28rem;
  width: calc(50% - 0.28rem);
  border-radius: 999px;
  background: rgba(243, 230, 200, 0.16);
  border: 1px solid rgba(243, 230, 200, 0.38);
  inset-inline-start: 0.28rem;
  transition: transform 0.22s ease;
}

html[dir="ltr"] .auth-switch[data-mode="request"]::before {
  transform: translateX(100%);
}

html[dir="rtl"] .auth-switch[data-mode="request"]::before {
  transform: translateX(-100%);
}

.auth-switch button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 0.72rem 0.45rem;
  cursor: pointer;
  font-weight: 500;
  line-height: 1.35;
}

.auth-switch button[aria-selected="true"] {
  color: #f6edd8;
}

.auth-form {
  margin-top: 1.7rem;
}

.auth-form[hidden] {
  display: none;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 0 1.35rem;
}

.auth-field label {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
}

.account-page .auth-field input {
  width: 100%;
  font: inherit;
  font-size: 1.02rem;
  padding: 0.4rem 0 0.55rem;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  color: white;
}

.account-page input[type="email"],
.account-page input[type="password"] {
  direction: ltr;
  text-align: left;
}

.account-page .auth-field input:focus {
  border-bottom-color: #f3e1b8;
}

.account-page .auth-field input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.account-page .auth-field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 9999s ease-out;
}

.auth-submit {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.92rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: #f3e6c8;
  color: #4a050c;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-submit:hover {
  background: #fff;
}

.auth-note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
}

.auth-status {
  margin: 0.95rem 0 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: #f6edd8;
}

.account-page :focus-visible {
  outline: 2px solid #f3e6c8;
  outline-offset: 3px;
}

html[lang="en"] .account-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html[lang="ar"] .account-title {
  font-family: "Amiri", serif;
  font-weight: 700;
  font-size: clamp(2.35rem, 3.8vw, 3.7rem);
  line-height: 1.5;
}

html[lang="tr"] .account-title,
html[lang="ru"] .account-title {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
}

html[lang="ur"] .account-title {
  font-family: "Noto Nastaliq Urdu", serif;
  font-weight: 600;
  font-size: clamp(2.05rem, 3.3vw, 3.15rem);
  line-height: 2.05;
  padding-block: 0.2em;
}

html[lang="zh-CN"] .account-title {
  font-family: "Zhi Mang Xing", cursive;
  font-weight: 400;
  font-size: clamp(2.5rem, 4.4vw, 3.9rem);
  line-height: 1.35;
  letter-spacing: 0;
}

html[lang="fr"] .account-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html[lang="hi"] .account-title {
  font-family: "Noto Serif Devanagari", serif;
  font-weight: 600;
  font-size: clamp(2.05rem, 3.4vw, 3.2rem);
  line-height: 1.6;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .auth-brand {
    grid-column: 1;
    grid-row: 1;
    padding: 3.5rem 1.15rem 0.1rem;
    box-shadow: none;
  }

  .auth-interactive {
    grid-column: 1;
    grid-row: 2;
    padding: 0.15rem 0.85rem 0.7rem;
  }

  .account-logo {
    width: min(6.6rem, 38%);
    margin-top: 0;
  }

  .auth-brand-copy {
    flex: none;
    gap: 0.2rem;
    margin-top: 0.35rem;
  }

  .account-title {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
  }

  .account-lede {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .glass-panel {
    padding: 1.15rem 1rem 0.95rem;
  }

  .auth-form {
    margin-top: 1rem;
  }

  .auth-field {
    gap: 0.2rem;
    margin-bottom: 0.85rem;
  }

  .auth-note {
    margin-top: 0.7rem;
  }

  html[lang="ar"] .account-title,
  html[lang="zh-CN"] .account-title,
  html[lang="ur"] .account-title,
  html[lang="hi"] .account-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    line-height: 1.55;
    padding-block: 0;
  }

  html[lang="ur"] .account-title {
    line-height: 1.9;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .account-logo {
    width: min(12rem, 58%);
    margin-top: 0.2rem;
  }

  .account-title {
    font-size: clamp(2.1rem, 3vw, 3rem);
  }

  .auth-brand {
    padding-top: 4.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-switch::before {
    transition: none;
  }
}

/* Ravand Circle — homepage VIP promo */
.circle-promo-section {
  background: linear-gradient(135deg, #a31621 0%, #4a050c 100%);
  margin: 4rem 0;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.circle-promo-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.circle-promo-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.circle-info {
  flex: 1;
  color: #fff;
  min-width: 0;
}

.circle-title {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: "Abar", Tahoma, sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.circle-title .brand-word,
.neshan-title .brand-word {
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: inherit;
}

.circle-subtitle {
  font-size: 1.2rem;
  opacity: 0.85;
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.circle-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.circle-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.circle-features li:last-child {
  margin-bottom: 0;
}

.circle-features li::before {
  content: "■";
  color: #d4af37;
  margin-left: 15px;
  font-size: 0.8rem;
  flex: none;
}

.circle-pricing-card {
  flex: 0 0 400px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: #fff;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  opacity: 0.9;
  color: #fff;
  font-weight: 700;
}

.price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.45rem;
}

.price-tag .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.price-tag .period,
.price-tag .currency {
  opacity: 0.7;
  font-size: 1rem;
}

.price-tag .period {
  flex: 1 0 100%;
  display: flex;
  direction: rtl;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-offer {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-highlight {
  display: block;
  color: #d4af37;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.pricing-offer p {
  font-size: 0.95rem;
  opacity: 0.7;
  margin: 0;
  line-height: 1.7;
}

.btn-premium-action {
  display: inline-block;
  background: #d4af37;
  color: #111;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1.4;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.btn-premium-action:hover {
  background: #fff;
  color: #111;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

@media (max-width: 980px) {
  .circle-promo-section {
    padding: 3rem 1.25rem;
  }

  .circle-promo-container {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }

  .circle-pricing-card {
    flex: none;
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
    padding: 2rem 1.4rem;
  }

  .circle-title {
    font-size: 2.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-premium-action {
    transition: none;
  }
}

/* نوار خبرنامه: لبهٔ پایین هدر، هم‌سطح کرم، متن در ستون لوگو */
.news-train {
  width: 100%;
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.news-train-rail {
  display: flex;
  align-items: center;
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
  min-height: 2.2rem;
  overflow: hidden;
}

.news-train-label {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-inline: 0 0.95rem;
  background: transparent;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.news-train-window {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  direction: ltr;
  justify-content: flex-start;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 18px), transparent);
}

.news-train-track {
  display: flex;
  direction: ltr;
  width: max-content;
  animation: news-train 50s linear infinite;
}

.news-train:hover .news-train-track,
.news-train:focus-within .news-train-track {
  animation-play-state: paused;
}

.news-train-set {
  display: flex;
  direction: rtl;
  align-items: center;
}

.news-train-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.1rem;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.news-train-item + .news-train-item {
  border-inline-start: 1px solid var(--line);
}

.news-train-src {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.news-train-item:hover,
.news-train-item:focus-visible {
  color: var(--accent);
}

@keyframes news-train {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (max-width: 980px) {
  .news-train-rail {
    width: min(var(--max), calc(100% - 32px));
    min-height: 2.05rem;
  }

  .news-train-label {
    padding-inline-end: 0.7rem;
    font-size: 0.74rem;
  }

  .news-train-item {
    font-size: 0.82rem;
    padding: 0 0.85rem;
  }

  .news-train-window {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 10px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 10px), transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-train-track {
    animation: none;
  }

  .news-train-set[aria-hidden="true"] {
    display: none;
  }

  .news-train-window {
    overflow-x: auto;
  }
}

.section.atlas {
  position: relative;
  z-index: 0;
}

.section.atlas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../img/lotus-persepolis.png");
  background-repeat: repeat;
  background-position: center;
  background-size: 520px 520px;
  opacity: 0.075;
}

.atlas-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  grid-template-areas:
    "title title"
    "sub sub"
    "stage dossier";
  gap: 0.35rem 1.75rem;
  align-items: start;
}

.atlas-title {
  grid-area: title;
  position: static;
  z-index: auto;
  margin: 0;
  padding: 0.35em 0 0.1em;
  color: var(--accent-deep);
  font-family: "Iran Nastaliq", "Abar", serif;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  font-weight: 400;
  font-synthesis: none;
  line-height: 2.2;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
  pointer-events: auto;
  transform: none;
  max-width: none;
}

.atlas-stage {
  grid-area: stage;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.atlas-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-container svg {
  overflow: visible;
  filter:
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1))
    drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08))
    drop-shadow(-30px 20px 60px rgba(0, 0, 0, 0.05));
}

.atlas-map .atlas-seas,
.atlas-map .atlas-sea {
  pointer-events: none;
}

.atlas-map .atlas-sea {
  fill: #a89880;
  stroke: none;
}


.atlas-map a {
  cursor: pointer;
  outline: none;
}

.atlas-map a path {
  fill: var(--cream);
  stroke: color-mix(in srgb, var(--ink) 58%, var(--paper));
  stroke-width: 1.2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 0.16s ease, stroke 0.16s ease;
}

.atlas-map a:hover path,
.atlas-map a:focus path,
.atlas-map a:active path {
  fill: var(--accent);
  stroke: var(--accent-deep);
}

.atlas-map a:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

.map-container svg path {
  fill: #2b2b2b;
  stroke: #d4af37;
  stroke-width: 1px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  transform-origin: center;
}

.map-container svg path:hover,
.map-container svg a:hover path,
.map-container svg a:focus path,
.map-container svg a:active path {
  fill: #d4af37;
  stroke: #ffffff;
  stroke-width: 1.5px;
  transform: translateY(-5px);
  filter: drop-shadow(0 10px 15px rgba(212, 175, 55, 0.4));
}

.atlas-tip {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  pointer-events: none;
  background: #141210;
  color: var(--cream);
  border: 1px solid #d4af37;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.4rem 0.62rem;
  border-radius: 3px;
  white-space: nowrap;
}

.atlas-tip[hidden] {
  display: none;
}

.atlas-list {
  padding-bottom: 2.5rem;
}

.atlas-item {
  padding: 1.45rem 0 1.5rem;
  border-top: 1px solid var(--hairline);
}

.atlas-item h2 {
  margin: 0.3rem 0 0.55rem;
  color: var(--navy);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.55;
}

.atlas-item p {
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.atlas-item .meta a {
  color: var(--accent);
  font-weight: 700;
}

.atlas-back {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 900px) {
  .atlas-spread {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "sub"
      "stage"
      "dossier";
  }

  .atlas-title {
    white-space: normal;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    line-height: 2.35;
  }

  .section.atlas::before {
    background-size: 300px 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-map a path,
  .map-container svg,
  .map-container svg path {
    transition: none;
  }

  .map-container svg path:hover,
  .map-container svg a:hover path,
  .map-container svg a:focus path,
  .map-container svg a:active path {
    transform: none;
  }
}

/* Cinematic industry navigator */
.cinematic-industries {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 2.75rem 0;
    background: #141414 url("../video/industries-bg.jpg") center / cover no-repeat;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw; /* نسبت 16:9 */
    min-height: 100vh;
    min-width: 177.77vh;
    pointer-events: none;
    z-index: 1;
}

.video-background iframe,
.video-background video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20,20,20,0.85) 0%, rgba(74,5,12,0.7) 100%);
    z-index: 2;
}

.industry-badges-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
    padding: 0 1rem;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.glass-badge:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
    color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.glass-badge:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .cinematic-industries {
        height: auto;
        min-height: 250px;
        padding: 2.2rem 0;
    }

    .industry-badges-wrapper {
        gap: 0.85rem;
    }

    .glass-badge {
        padding: 0.65rem 1.2rem;
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cinematic-industries .video-background video {
        display: none;
    }

    .cinematic-industries {
        background: linear-gradient(135deg, #141414 0%, #4a050c 100%);
    }

    .glass-badge,
    .glass-badge:hover {
        transition: none;
        transform: none;
    }
}

.atlas-credit {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.8;
}
.atlas-credit a { color: inherit; font-weight: 700; }
.pay-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 1.1rem;
  max-width: 28rem;
}
.pay-form .solid-btn { cursor: pointer; }
.pay-status {
  margin: 0.35rem 0 0;
  line-height: 1.8;
  color: var(--ink-2);
}
.circle-form { display: flex; flex-direction: column; gap: 0.35rem; text-align: right; }
.circle-label { font-size: 0.85rem; opacity: 0.85; }
.circle-form input {
  width: 100%;
  margin: 0 0 0.45rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25);
  color: #fff;
  font: inherit;
}
.circle-form .btn-premium-action { border: 0; cursor: pointer; margin-top: 0.4rem; }
.form-err { color: #ffb4b4; font-size: 0.9rem; }

.atlas-sub {
  grid-area: sub;
  max-width: none;
  margin: 0 0 0.35rem;
  line-height: 1.8;
  text-align: center;
}

.atlas-dossier {
  grid-area: dossier;
  margin-top: 0;
  align-self: start;
  padding: 1rem 1.15rem;
  background: #fff;
  color: var(--ink, #1c1915);
  border: 1px solid var(--hairline, #e4ddd2);
  border-radius: 16px;
}

.atlas-snapshot {
  display: grid;
  gap: 0.85rem;
}

.atlas-snapshot h3,
.atlas-dossier h3 {
  margin: 0.15rem 0;
  font-size: 1.05rem;
}

.analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0.85rem 1rem;
  margin-top: 1rem;
  align-items: start;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.metric-card b.metric-value {
  font-size: clamp(2.6rem, 3vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #8c1f24;
}

.metric-card .metric-unit,
.metric-card .metric-delta,
.metric-card .metric-note {
  font-size: 0.82rem;
  line-height: 1.45;
}

.metric-card {
  gap: 0.12rem;
  padding: 0.72rem 0.85rem 0.8rem;
}

@media (max-width: 800px) {
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.analysis-grid .analysis-card:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-content: flex-start;
  padding: 0 0 1.2rem;
  overflow: hidden;
  background: #1a1210;
  color: #faf7f2;
  border-color: transparent;
}

.analysis-grid .analysis-card:first-child .analysis-photo {
  width: 100%;
  height: 340px;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
  object-position: center 42%;
}

.analysis-grid .analysis-card:first-child .kicker,
.analysis-grid .analysis-card:first-child h3,
.analysis-grid .analysis-card:first-child p {
  margin-inline: 1.35rem;
}

.analysis-grid .analysis-card:not(:first-child) {
  padding: 0 1.05rem 1rem;
  overflow: hidden;
}

.analysis-grid .analysis-card:not(:first-child) .analysis-photo {
  width: calc(100% + 2.1rem);
  max-width: none;
  margin: 0 -1.05rem 0.45rem;
  border-radius: 16px 16px 0 0;
}

.analysis-grid .analysis-card:first-child .kicker {
  color: #e7d3a4;
}

.analysis-grid .analysis-card:first-child h3 {
  color: #faf7f2;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.45;
}

.analysis-grid .analysis-card:first-child p {
  color: rgba(250, 247, 242, 0.82);
}

.analysis-grid .analysis-card:not(:first-child) {
  border-inline-start: 3px solid var(--accent, #f06161);
}

.analysis-grid .analysis-card:not(:first-child) p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 800px) {
  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .analysis-grid .analysis-card:first-child {
    grid-row: auto;
  }

  .analysis-grid .analysis-card:first-child .analysis-photo {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.analysis-card,
.metric-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--hairline, #e4ddd2);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.analysis-card h3,
.metric-card b {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.analysis-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.metric-grid .metric-card {
  gap: 0.12rem;
  padding: 0.72rem 0.85rem 0.8rem;
}

.fresh-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.fresh-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.fresh-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #ece6dc;
}

.fresh-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .fresh-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .fresh-grid {
    grid-template-columns: 1fr;
  }
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  width: min(100%, 16rem);
  padding: 0.95rem 1.05rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  white-space: normal;
  text-align: right;
}

.industry-card b { font-size: 1.02rem; line-height: 1.5; }
.industry-card small { opacity: 0.8; }
.industry-card .latest { font-size: 0.84rem; line-height: 1.6; opacity: 0.92; }

.industry-card:hover {
  border-color: #d4af37;
  color: #fff;
}

.pulse-list .pulse-clip {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr) 3.2rem;
  grid-template-areas: "src title kind";
  gap: 0.85rem 1.15rem;
  align-items: center;
  width: 100%;
  padding: 0.82rem 0.05rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  color: inherit;
  font: inherit;
  text-align: right;
  cursor: pointer;
}

.clip-dialog {
  width: min(36rem, calc(100% - 2rem));
  border: 0;
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
}

.clip-dialog::backdrop {
  background: rgba(20, 16, 12, 0.45);
}

.clip-dialog button {
  margin-top: 0.6rem;
  font: inherit;
  cursor: pointer;
}

.hero-story {
  display: contents;
}

.side-copy {
  min-width: 0;
}

.article-body {
  max-width: 72ch;
}

.article-body p {
  line-height: 1.9;
}

.article-body .figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #2c3238;
  margin: 1.2rem 0 1.4rem;
}

.article-body .figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crumb {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.8rem;
}

.article-tools {
  display: flex;
  gap: 0.6rem;
  margin: 0.8rem 0 1rem;
}

.article-tools button,
.atlas-filters button {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

.key-figures,
.metric-grid,
.terminal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.8rem;
  margin: 1rem 0 1.4rem;
}

.key-figure,
.metric-card,
.terminal-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
  color: inherit;
  text-decoration: none;
}

.metric-value,
.terminal-value,
.key-figure b,
.desk-dash b {
  font-size: 1.8rem;
  line-height: 1.2;
}

.metric-card.is-up,
.terminal-card.is-up {
  border-color: #1f7a4d;
}

.metric-card.is-down,
.terminal-card.is-down {
  border-color: var(--accent);
}

.spark {
  width: 5.5rem;
  height: 1.8rem;
  margin-top: 0.35rem;
}

.spark polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.implication {
  border-right: 3px solid var(--accent);
  background: #f6efe4;
  padding: 0.9rem 1rem;
  margin: 1.3rem 0;
}

.implication strong {
  display: block;
  margin-bottom: 0.35rem;
}

.account-box {
  border-right: 3px solid var(--gold);
  background: #f8f3ea;
  padding: 0.9rem 1rem;
  margin: 1.3rem 0;
}

.account-box strong {
  display: block;
  margin-bottom: 0.35rem;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.metrics-title {
  margin: 1.4rem 0 0.6rem;
}

.industry-metric {
  display: block;
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 600;
}

.desk-dash b {
  font-size: 1.15rem;
  line-height: 1.6;
}

.source-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0 0 1.2rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.7;
}

.source-matrix .kicker {
  width: 100%;
  margin: 0;
}

.source-matrix span b {
  font-weight: 700;
  margin-left: 0.35rem;
}

.desk-dash {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.atlas-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.atlas-filters button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.atlas-roster {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: grid;
  gap: 0.7rem;
}

.atlas-roster a {
  display: grid;
  gap: 0.2rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.7rem;
}

.related {
  padding-right: 1.1rem;
}


@media (max-width: 420px) {
  .wrap {
    width: min(var(--max), calc(100% - 20px));
  }

  .brand .logo {
    height: 56px;
  }

  .brand .tagline {
    max-width: 100%;
    font-size: 0.74rem;
  }

  .leaders {
    height: 48px;
    max-width: min(132px, 38vw);
  }

  .masthead-actions .ghost-btn,
  .masthead-actions .solid-btn,
  .masthead-actions .circle-btn {
    padding: 6px 10px;
    font-size: 0.76rem;
  }

  .page-hero h1,
  .article-body h1,
  .headline {
    font-size: clamp(1.35rem, 7vw, 1.7rem);
  }

  .wall-title {
    font-size: 1.7rem;
    line-height: 1.85;
  }

  .gallery-wall {
    gap: 0.9rem 0.45rem;
  }

  .talk-copy blockquote {
    font-size: 1.15rem;
  }
}

@media print {
  .masthead,
  .site-footer,
  .article-tools,
  .sidebar-box,
  .nav-toggle {
    display: none !important;
  }

  .article-body {
    max-width: none;
  }
}

/* پیشخوان صفحهٔ اول: چهار ستون فشرده. قاعدهٔ مشترک key-figures پایین‌تر نیاید روش را عوض کند. */
.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

@media (max-width: 800px) {
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* چیدمان تحریریه — سلسله‌مراتب، تناسب و بازآرایی نمایشگرها */
:root {
  --max: 1240px;
}

html {
  overflow-x: clip;
}

.section {
  padding: 4.6rem 0;
}

.section-head {
  align-items: end;
  margin-bottom: 1.65rem;
  padding-top: 0.7rem;
}

.section-head h2,
.card h2,
.card h3,
.fresh-card h3,
.side-item h3,
.analysis-card h3,
.archive-row h2,
.archive-row h3,
.field-card h2,
.field-card h3,
.event-row h3,
.event-body h3,
.pulse-list b,
.issue-card h3,
.sidebar-box h3 {
  font-weight: 700;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2vw, 1.72rem);
  line-height: 1.45;
}

.lede {
  font-size: 1.08rem;
  line-height: 1.85;
}

/* قهرمان: تیتر و لید کنار قاب، نه داخل برش */
.hero {
  grid-template-columns: 1fr;
  grid-template-areas:
    "media"
    "copy"
    "side";
  gap: 1.25rem;
  align-items: start;
  padding: 1.45rem 0 0.4rem;
}

.hero-media {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  clip-path: none;
  filter: none;
  overflow: hidden;
  border-radius: 2px;
  background: #1a1210;
  box-shadow: 8px 8px 0 #f06161;
}

.hero-media::after {
  content: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 38%;
  transform: none;
}

.hero-copy {
  grid-area: copy;
  position: static;
  align-self: start;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0.15rem 0 0;
  background: none;
  color: inherit;
}

.hero-copy .kicker,
.hero-copy h1 {
  position: static;
  inset: auto;
  top: auto;
  width: auto;
  max-width: none;
  margin: 0;
  pointer-events: auto;
  text-shadow: none;
}

.hero-copy .kicker {
  color: var(--accent);
}

.hero-copy .kicker::before {
  background: var(--accent);
}

.hero-copy h1 {
  margin: 0.4rem 0 0.7rem;
  color: var(--navy);
  font-weight: 700;
  font-size: clamp(1.85rem, 6.6vw, 2.35rem);
  line-height: 1.42;
  letter-spacing: -0.4px;
  text-wrap: balance;
}

.hero-copy h1 a,
.hero-copy h1 a:hover {
  color: inherit;
  pointer-events: auto;
}

.hero-copy h1 a:hover {
  color: var(--accent);
}

.hero-copy .lede {
  display: block;
  max-width: 42rem;
  margin: 0 0 0.7rem;
  color: var(--ink-2);
  -webkit-line-clamp: unset;
  overflow: visible;
}

.hero-copy .meta {
  color: var(--muted);
  text-shadow: none;
}

.side-stack {
  display: flex;
  gap: 0.85rem;
  align-items: stretch;
  justify-content: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  padding: 0.15rem 0 0.45rem;
  scrollbar-width: thin;
}

.side-stack .side-item {
  flex: 0 0 min(86%, 22rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  align-items: start;
  scroll-snap-align: start;
  padding: 0;
  border: 0;
  overflow: visible;
}

.side-stack .side-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  min-height: 0;
  object-fit: cover;
  object-position: center 35%;
  clip-path: none;
  filter: none;
  border-radius: 2px;
  transform: none;
}

.side-stack .side-item h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}

.side-stack .side-item .kicker {
  font-size: 0.8rem;
}

@media (min-width: 760px) and (max-width: 1099px) {
  .side-stack .side-item {
    flex-basis: min(46%, 24rem);
  }
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    grid-template-areas:
      "media copy"
      "side side";
    column-gap: 2.4rem;
    row-gap: 1.85rem;
    align-items: center;
    padding: 2.15rem 0 0.5rem;
  }

  .hero-media {
    aspect-ratio: 16 / 9;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    clip-path: polygon(100% 0%, 18% 6%, 0% 22%, 0% 100%, 100% 100%);
    filter: drop-shadow(8px 10px 0 #f06161);
  }

  .hero-copy {
    align-self: center;
    padding: 0.2rem 0;
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 2.5vw, 2.15rem);
    line-height: 1.4;
  }

  .side-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    overflow: visible;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--hairline);
    scroll-snap-type: none;
  }

  .side-stack .side-item {
    flex: none;
    padding: 0;
  }

  .side-stack .side-item h3 {
    font-size: 1.14rem;
  }
}

@media (min-width: 1100px) {
  .hero-copy h1 {
    font-size: clamp(2.15rem, 3.1vw, 2.7rem);
    line-height: 1.38;
  }
}

/* تحلیل و پیشخوان */
.analysis-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
}

.analysis-grid .analysis-card:first-child {
  grid-column: auto;
  grid-row: auto;
}

.analysis-grid .analysis-card:first-child .analysis-photo,
.analysis-card .analysis-photo,
.analysis-grid .analysis-card:not(:first-child) .analysis-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 0.85rem;
  object-fit: cover;
  object-position: center 40%;
}

.analysis-grid .analysis-card:not(:first-child) .analysis-photo {
  width: calc(100% + 2.1rem);
  margin: 0 -1.05rem 0.85rem;
}

.analysis-card h3 {
  font-size: 1.2rem;
  line-height: 1.5;
}

.analysis-grid .analysis-card:first-child h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
}

.analysis-card p,
.analysis-grid .analysis-card:not(:first-child) p {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  font-size: 0.98rem;
  line-height: 1.8;
}

.metrics-title {
  margin: 2rem 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.section.analysis .metric-grid,
.metric-grid {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.metric-card,
.metric-grid .metric-card {
  gap: 0.28rem;
  padding: 1.05rem 1.1rem 1.1rem;
}

.metric-card b.metric-value {
  font-size: clamp(1.8rem, 7vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.metric-card .metric-unit,
.metric-card .metric-delta,
.metric-card .metric-note {
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (min-width: 700px) {
  .section.analysis .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .section.analysis .metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .metric-card b.metric-value {
    font-size: clamp(1.45rem, 1.7vw, 2.05rem);
  }
}

/* تازه‌ها: سه ستون در دسکتاپ، یک ستون در موبایل */
.fresh-grid {
  grid-template-columns: 1fr;
  gap: 1.45rem;
}

.fresh-card {
  gap: 0.5rem;
}

.fresh-card img {
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  object-position: center 35%;
}

.fresh-card h3 {
  font-size: 1.16rem;
  line-height: 1.55;
}

.fresh-card .kicker {
  font-size: 0.8rem;
}

@media (min-width: 760px) {
  .fresh-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.15rem;
  }
}

@media (min-width: 1180px) {
  .fresh-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* گفتگو — سطح مستقل */
.section.talks {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(240, 97, 97, 0.38), transparent 58%),
    #161311;
  color: #f7f1e6;
  padding: 4.2rem 0 3.6rem;
}

.section.talks .section-head {
  border-top-color: rgba(212, 194, 160, 0.7);
}

.section.talks .section-head h2 {
  color: #faf7f2;
}

.section.talks .section-head a,
.section.talks .talk-more {
  color: #e7d3a4;
}

.section.talks .kicker {
  color: #e7d3a4;
}

.section.talks .kicker::before {
  background: #e7d3a4;
}

.section.talks .talk-copy blockquote {
  color: #fffdf9;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.55;
}

.section.talks .talk-original,
.section.talks .talk-gloss,
.section.talks .talk-by {
  color: rgba(247, 241, 230, 0.72);
}

.section.talks .talk-by b {
  color: #fffdf9;
}

.section.talks .talk-shape {
  background: color-mix(in srgb, var(--accent) 34%, #2a1718);
}

.section.talks .talks-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  color: #f7f1e6;
  border-color: rgba(247, 241, 230, 0.3);
}

.section.talks .talks-dot {
  background: rgba(247, 241, 230, 0.28);
}

.section.talks .talks-dot.is-active {
  background: #e7d3a4;
}

.talk-slide {
  grid-template-columns: 1fr;
  gap: 0.4rem;
  min-height: 0;
  align-items: start;
}

.talk-figure {
  --talk-h: min(18rem, 78vw);
  order: 1;
}

.talk-copy {
  order: 2;
}

.talk-figure img.talk-photo {
  object-position: center 30%;
}

@media (min-width: 1100px) {
  .talk-slide {
    grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
    gap: 2rem 3rem;
    min-height: 24rem;
    align-items: center;
  }

  .talk-figure {
    --talk-h: 24rem;
    order: 0;
  }

  .talk-copy {
    order: 0;
  }
}

/* اطلس: ترکیب قبلی. عنوان نستعلیق، نقشهٔ بزرگ، کارت کنار نقشه، پس‌زمینهٔ نیلوفر. */
.section.atlas {
  padding: 3.4rem 0;
}

/* شبکه‌های مشترک صفحات داخلی */
.grid-3 {
  gap: 1.5rem;
}

.card img,
.archive-row img,
.field-card img,
.issue-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 35%;
}

.card h2,
.card h3 {
  font-size: 1.14rem;
  line-height: 1.55;
}

.card p,
.archive-row p {
  font-size: 1rem;
  line-height: 1.8;
}

.page-hero {
  padding: 2.6rem 0 0.6rem;
}

.page-hero h1,
.article-body h1,
.article-body .headline,
.profile-head h1,
.mag-hero h1 {
  line-height: 1.4;
  font-weight: 700;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.archive-row {
  align-items: center;
  gap: 1.4rem;
}

.archive-row h2,
.archive-row h3 {
  font-size: clamp(1.16rem, 1.5vw, 1.38rem);
  line-height: 1.5;
}

.article {
  gap: 2.5rem;
}

.article-body p {
  font-size: 1.12rem;
  line-height: 1.9;
}

@media (max-width: 1080px) {
  .article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .grid-3,
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 3.1rem 0;
  }

  .grid-3,
  .grid-2,
  .field-grid,
  .home-pair {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .archive-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.35rem 0;
  }

  .page-hero h1,
  .article-body h1,
  .article-body .headline {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
  }

  .magazine-band {
    padding: 2rem 1.25rem;
  }

  .magazine-band .headline {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  .event-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    align-items: start;
  }

  .event-row > a {
    grid-column: 1;
  }

  .glass-badge {
    white-space: normal;
    text-align: center;
    font-size: 0.95rem;
  }

  .pulse-list .src,
  .pulse-list b {
    white-space: normal;
  }

  .pulse-list b {
    font-size: 1.05rem;
  }

  .newsletter-box {
    padding: 1.5rem 1.15rem;
  }

  .talk-copy blockquote,
  .section.talks .talk-copy blockquote {
    font-size: clamp(1.35rem, 5.6vw, 1.7rem);
  }
}

@media (max-width: 720px) {
  .masthead-top {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 10px;
  }

  .masthead-actions {
    flex: 1 1 16rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .nav-toggle {
    margin-inline-start: auto;
  }
}

@media (max-width: 420px) {
  .wrap,
  .news-train-rail {
    width: min(var(--max), calc(100% - 28px));
  }

  html,
  body {
    font-size: 17px;
  }

  /* بسمله و منو یک ردیف؛ سه دکمه ردیف بعد. منو تنها در ردیف سوم نماند. */
  .masthead-top {
    column-gap: 8px;
    row-gap: 8px;
  }

  .masthead-actions {
    display: contents;
  }

  .bismillah {
    order: 1;
    height: 1.9rem;
  }

  .nav-toggle {
    order: 2;
    width: 36px;
    height: 36px;
    margin-inline-start: auto;
  }

  .masthead-top::after {
    content: "";
    order: 3;
    flex-basis: 100%;
    height: 0;
  }

  .masthead-actions > :not(.nav-toggle) {
    order: 4;
  }

  .metric-card .kicker {
    display: block;
    max-width: 100%;
    letter-spacing: 0;
    line-height: 1.45;
    white-space: normal;
  }

  .metric-card .kicker::before {
    display: inline-block;
    vertical-align: middle;
    margin-inline-end: 0.35rem;
  }

  .brand .tagline {
    font-size: 0.84rem;
    max-width: none;
    line-height: 1.7;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-head {
    margin-bottom: 1.15rem;
  }

  .section-head h2 {
    font-size: 1.28rem;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy"
      "side";
    gap: 1.05rem;
    padding: 1.15rem 0 0.2rem;
  }

  .hero-media {
    aspect-ratio: 16 / 9;
    box-shadow: 6px 6px 0 #f06161;
  }

  .hero-copy h1 {
    font-size: 1.72rem;
    line-height: 1.45;
    margin: 0.35rem 0 0.55rem;
  }

  .hero-copy .lede {
    font-size: 1.05rem;
    line-height: 1.85;
  }

  .hero-copy .meta {
    font-size: 0.88rem;
  }

  .side-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0.35rem 0 0;
  }

  .side-stack .side-item {
    flex: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    align-items: start;
    padding: 0 0 1.1rem;
    border-bottom: 1px solid var(--hairline);
  }

  .side-stack .side-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .side-stack .side-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .side-stack .side-item h3 {
    font-size: 1.12rem;
    line-height: 1.55;
  }

  .side-stack .side-item .kicker {
    font-size: 0.84rem;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .analysis-grid .analysis-card:first-child,
  .analysis-grid .analysis-card:not(:first-child) {
    grid-column: auto;
    grid-row: auto;
  }

  .analysis-grid .analysis-card:not(:first-child) .analysis-photo,
  .analysis-grid .analysis-card:first-child .analysis-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 0 0.8rem;
  }

  .analysis-card h3,
  .analysis-grid .analysis-card:first-child h3 {
    font-size: 1.22rem;
    line-height: 1.5;
  }

  .analysis-card p {
    font-size: 1.02rem;
    line-height: 1.8;
  }

  .section.analysis .metric-grid,
  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .metric-card,
  .metric-grid .metric-card {
    padding: 0.9rem 0.8rem 0.95rem;
    min-height: 9.5rem;
  }

  .metric-card b.metric-value {
    font-size: 1.42rem;
    line-height: 1.25;
    overflow-wrap: break-word;
  }

  .metric-card .metric-unit,
  .metric-card .metric-delta,
  .metric-card .metric-note {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .fresh-grid,
  .grid-3,
  .field-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .fresh-card h3,
  .card h2,
  .card h3 {
    font-size: 1.12rem;
    line-height: 1.55;
  }

  .fresh-card .kicker,
  .card .kicker {
    font-size: 0.84rem;
  }

  .page-hero h1,
  .article-body h1,
  .headline {
    font-size: 1.72rem;
    line-height: 1.45;
  }
}

/* فوتر: جایگاه شبکه بدون پیوند ساختگی */
.social-list .social-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #d8ccb8;
  border: 1px solid rgba(232, 220, 200, 0.18);
  border-radius: 50%;
}

.social-list .social-slot svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .footer-social {
    justify-self: start;
    text-align: start;
  }

  .social-list {
    justify-content: flex-start;
  }
}

html[dir="ltr"] .implication,
html[dir="ltr"] .account-box {
  border-right: 0;
  border-left: 3px solid var(--accent);
}

html[dir="ltr"] .account-box {
  border-left-color: var(--gold);
}

html[dir="ltr"] .article-body blockquote:not([dir="ltr"]) {
  border-right: 0;
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 18px;
}

/* استاندارد تیتر یک: زیر ۷۶۸ عمودی و خوانا. از ۷۶۸ به بالا تصویر راست و متن چپ. */
@media (max-width: 767px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy"
      "side";
  }

  .hero-media {
    aspect-ratio: 16 / 9;
    clip-path: none;
    filter: none;
    height: auto;
    min-height: 0;
  }

  .hero-copy h1 {
    font-size: 26px;
    line-height: 1.45;
  }

  .hero-copy .lede {
    font-size: 16px;
    line-height: 1.75;
  }

  .analysis-grid,
  .analysis-grid .analysis-card:first-child,
  .analysis-grid .analysis-card:not(:first-child) {
    grid-column: auto;
    grid-row: auto;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .section.analysis .metric-grid,
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .side-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    overflow: visible;
    scroll-snap-type: none;
  }

  .side-stack .side-item {
    display: grid;
    grid-template-columns: 1fr;
  }

  .side-stack .side-item h3 {
    font-size: 1.12rem;
    line-height: 1.55;
  }

  .fresh-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 520px) and (max-width: 767px) {
  .side-stack,
  .fresh-grid {
    grid-template-columns: 1fr 1fr;
  }
}
