.toc-entry--divider .toc-entry__row {
  gap: 0;
}

.toc-entry__button--divider {
  cursor: default;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  justify-content: flex-start;
}

.toc-entry__button--anchor {
  width: 100%;
  justify-content: flex-start;
  font-size: clamp(0.78rem, calc(0.85rem * var(--menu-scale)), 0.85rem);
  padding-inline-start: 18px;
  text-align: right;
  color: rgba(255, 255, 255, 0.75);
}

.toc-entry--group .toc-entry__row {
  gap: 0;
}

.toc-entry__button--group {
  cursor: default;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  justify-content: flex-start;
}

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #f6f2ea;
  --bg-alt: #f0e7d8;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --text: #1f2a37;
  --muted: #5a5d63;
  --brand: #c5a46d;
  --brand-2: #856d4a;
  --ink: #c5a46d;
  --glass-border: rgba(197, 164, 109, 0.25);
  --accent: rgba(197, 164, 109, 0.22);
  --menu-scale: 1;
  --menu-gap: 8px;
  --menu-subgap: 4px;
  --menu-padding-block: 8px;
  font-family: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(140% 90% at 15% 10%, rgba(255, 255, 255, 0.8), transparent 55%),
    radial-gradient(120% 80% at 80% 0%, rgba(197, 164, 109, 0.25), transparent 50%),
    linear-gradient(135deg, #f2e8d8, #f7f3ea 60%, #fff);
}

/* Global floating "בס״ד" mark (top-left, overlay) */
.global-bsd {
  position: fixed;
  top: 6px;
  right: 10px;
  padding: 2px 8px;
  font-size: 0.85rem;
  color: rgba(31, 42, 55, 0.6);
  line-height: 1.4;
  white-space: nowrap;
  z-index: 1000; /* above menu/toc */
  user-select: none;
  pointer-events: none; /* never block clicks */
}

.app-shell {
  --shell-pad: clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  min-height: 100vh;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 32px);
  padding: var(--shell-pad);
}

.toc-panel {
  position: sticky;
  top: var(--shell-pad);
  background: var(--panel);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - (var(--shell-pad) * 2));
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 45px rgba(31, 42, 55, 0.08);
  align-self: start;
}

.toc-header h2 {
  margin: 4px 0 6px;
  font-size: 1.5rem;
  color: var(--text);
}

.toc-eyebrow {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(31, 42, 55, 0.6);
}

.toc-note {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: rgba(31, 42, 55, 0.65);
}

.toc-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 12px;
}

.toc-brand__img {
  display: block;
  width: min(96px, 50%);
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0)); /* keep clean, no shadow */
}

.toc-nav {
  flex: 1;
  overflow-y: auto;
  padding-inline-end: 8px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(var(--menu-gap) * var(--menu-scale));
}

.toc-entry {
  display: flex;
  flex-direction: column;
  gap: calc(var(--menu-subgap) * var(--menu-scale));
}

.toc-entry__row {
  display: flex;
  align-items: center;
  gap: calc(6px * var(--menu-scale));
}

.toc-entry__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  padding: calc(var(--menu-padding-block) * var(--menu-scale)) 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.5);
  color: inherit;
  font-size: clamp(0.85rem, calc(0.95rem * var(--menu-scale)), 0.95rem);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.toc-entry__button:hover,
.toc-entry__button:focus-visible {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(197, 164, 109, 0.4);
  outline: none;
  transform: translateX(-2px);
  box-shadow: 0 10px 18px rgba(31, 42, 55, 0.12);
}

.toc-entry__button[disabled] {
  cursor: default;
  color: rgba(31, 42, 55, 0.45);
}

.toc-entry__button.is-active {
  background: rgba(197, 164, 109, 0.22);
  border-color: rgba(197, 164, 109, 0.55);
  color: var(--text);
  box-shadow: 0 10px 25px rgba(197, 164, 109, 0.25);
}

.toc-entry__number {
  font-weight: 600;
  color: var(--ink);
}

.toc-entry__number--hidden {
  display: none;
}

.toc-entry__title {
  flex: 1;
  text-align: right;
}

.toc-entry__tag {
  font-size: 0.75rem;
  padding: 2px 6px;
  background: rgba(197, 164, 109, 0.25);
  border-radius: 999px;
}

.toc-entry__toggle {
  display: none;
}

.toc-sublist {
  list-style: none;
  margin: 4px 0 0;
  padding: 0 16px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.toc-sublist.is-collapsed {
  display: none;
}

.toc-entry--anchor .toc-entry__button {
  justify-content: flex-start;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(31, 42, 55, 0.7);
  padding-block: 6px;
}

.content-panel {
  padding: 0;
  display: flex;
  justify-content: stretch;
}

/* Constrain main content width and add responsive side padding */
.content-panel > * {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(12px, 4vw, 28px);
}

.content-placeholder {
  width: 100%;
  padding: 48px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(197, 164, 109, 0.3);
  text-align: center;
  color: var(--muted);
  backdrop-filter: blur(6px);
  box-shadow: 0 25px 60px rgba(31, 42, 55, 0.12);
}

.section-shell {
  width: 100%;
  padding: clamp(24px, 3vw, 32px) 0;
  border: none;
  background: transparent;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: none;
  animation: fadeUp 0.45s ease;
}

.section-shell__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid rgba(31, 42, 55, 0.12);
  padding-bottom: 18px;
  position: relative; /* allow absolute-positioned hanging logo */
}

.section-shell__label {
  font-size: 0.85rem;
  color: var(--brand-2);
  letter-spacing: 0.08em;
}

.section-shell__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
}

.section-banner {
  width: 100%;
  margin: 0 0 12px 0;
  border-bottom: 1px solid rgba(31, 42, 55, 0.06);
}

.section-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section-shell__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-shell__placeholder {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.section-shell__summary {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
}

.section-kpis {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-block: 6px;
}

.section-kpi {
  flex: 1 1 0;
  min-width: 220px;
  border-radius: 14px;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid rgba(197, 164, 109, 0.2);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.section-kpi__label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(31, 42, 55, 0.6);
  text-transform: uppercase;
}

.section-kpi__value {
  font-size: 2rem;
  color: var(--brand-2);
  font-weight: 700;
  line-height: 1;
}

.section-kpi__context {
  font-size: 0.82rem;
  color: rgba(31, 42, 55, 0.65);
}

.section-kpi::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(197, 164, 109, 0.08), rgba(197, 164, 109, 0.02));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.section-kpi:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 164, 109, 0.5);
  box-shadow: 0 12px 25px rgba(31, 42, 55, 0.12);
}

.section-kpi:hover::after {
  opacity: 1;
}

.section-media {
  margin: 12px 0 28px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.section-media__item {
  margin: 0;
  padding: 0;
  width: min(960px, 100%);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(197, 164, 109, 0.35);
  box-shadow: 0 24px 48px rgba(31, 42, 55, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

.section-media__item--inline {
  width: auto;
  flex: 1 1 45%;
}

.section-media__heading {
  margin: 0;
  padding: 6px 10px 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(31, 42, 55, 0.8);
  text-align: right;
}

.section-media__item img {
  display: block;
  width: 100%;
  height: auto;
}

.section-media__caption {
  margin: 0;
  padding: 12px 18px;
  font-size: 0.9rem;
  text-align: center;
  color: rgba(31, 42, 55, 0.75);
  background: rgba(255, 255, 255, 0.9);
}

/* Section logo inside header (top-left, static) */
@keyframes logoHangIn {
  from {
    opacity: 0;
    transform: translateY(-14px) rotate(-4deg) scale(.96);
  }
  60% {
    opacity: 1;
    transform: translateY(0) rotate(2deg) scale(1.01);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

.section-bullets {
  padding: 24px 28px;
  border-radius: 24px;
  border: 1px solid rgba(197, 164, 109, 0.35);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(250, 247, 240, 0.9));
  box-shadow: 0 18px 36px rgba(31, 42, 55, 0.12);
}

.section-bullets__title {
  margin: 0 0 18px;
  font-size: 1.1rem;
  color: var(--brand-2);
  font-weight: 600;
}

.section-bullets ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: section-bullet;
  color: var(--text);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
}

.section-bullets li {
  position: relative;
  padding-inline-start: 48px;
  padding-inline-end: 0;
  text-align: right;
}

.section-bullets li::before {
  counter-increment: section-bullet;
  content: counter(section-bullet);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  transform: translateY(2px);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 18px rgba(197, 164, 109, 0.35);
}

.section-shell[data-section-id="section-5"] {
  max-width: 760px;
  margin-inline: auto;
}

.section-shell[data-section-id="section-5"] .section-bullets {
  max-width: 680px;
  margin-inline: auto;
}

.section-shell[data-section-id="section-5"] .section-bullets ul {
  counter-reset: none;
  gap: 16px;
}

.section-shell[data-section-id="section-5"] .section-bullets li {
  padding-inline-start: 56px;
  padding-inline-end: 0;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.section-shell[data-section-id="section-5"] .section-bullets li::before {
  content: '';
  counter-increment: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  inset-inline-start: 0;
  inset-inline-end: auto;
  background:
    var(--brand-2)
    url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 5.5C6 4.67157 6.67157 4 7.5 4H17C17.8284 4 18.5 4.67157 18.5 5.5V17.75C18.5 18.1642 18.1642 18.5 17.75 18.5H7.5C6.67157 18.5 6 17.8284 6 17V5.5Z' stroke='white' stroke-width='1.4'/%3E%3Cpath d='M6 7.5H4.75C4.33579 7.5 4 7.83579 4 8.25V18.5H16' stroke='white' stroke-width='1.4'/%3E%3Cpath d='M9.5 7.75H14.5' stroke='white' stroke-width='1.4'/%3E%3Cpath d='M9.5 10.75H14.5' stroke='white' stroke-width='1.4'/%3E%3C/svg%3E")
      center/18px 18px no-repeat;
  box-shadow: 0 12px 20px rgba(133, 109, 74, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-shell[data-section-id="section-3-3"] .section-table {
  max-width: 760px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(197, 164, 109, 0.35);
  box-shadow: 0 18px 32px rgba(31, 42, 55, 0.12);
}

.section-shell[data-section-id="section-3-3"] .section-table__title {
  color: var(--brand-2);
  font-weight: 600;
  text-align: center;
}

.section-shell[data-section-id="section-3-3"] .section-table table {
  color: var(--text);
  font-size: 0.96rem;
}

.section-shell[data-section-id="section-3-3"] .section-table th {
  background: rgba(197, 164, 109, 0.12);
  font-weight: 600;
}

.section-bullets--icon-grid {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.section-bullets--icon-grid .section-bullets__title {
  text-align: center;
  margin-bottom: 20px;
}

.section-bullets__grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-bullets__item--icon {
  width: min(220px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text);
}

.section-bullets__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1))
      var(--brand-2);
  box-shadow: 0 14px 24px rgba(31, 42, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
}

.section-bullets__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}

.section-bullets__icon::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  inset: 0;
  margin: auto;
}

.section-bullets__icon--family::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 8.5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S7 9.88 7 8.5z' stroke='white' stroke-width='1.6'/%3E%3Cpath d='M13 6.5c0-.83.67-1.5 1.5-1.5S16 5.67 16 6.5s-.67 1.5-1.5 1.5S13 7.33 13 6.5z' stroke='white' stroke-width='1.6'/%3E%3Cpath d='M4.5 17.5c0-2.49 2.01-4.5 4.5-4.5h1c2.49 0 4.5 2.01 4.5 4.5v1H4.5v-1z' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M13.5 11.5h1c1.66 0 3 1.34 3 3v4h-4v-7z' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.section-bullets__icon--salary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cellipse cx='12' cy='6.5' rx='6' ry='2.5' stroke='white' stroke-width='1.6'/%3E%3Cpath d='M6 6.5v5c0 1.38 2.69 2.5 6 2.5s6-1.12 6-2.5v-5' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M6 11.5v5c0 1.38 2.69 2.5 6 2.5s6-1.12 6-2.5v-5' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.section-bullets__icon--education::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3.5 9L12 5l8.5 4L12 13 3.5 9Z' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M6 10.5v4.5c0 1.1 2.69 2 6 2s6-.9 6-2v-4.5' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.section-bullets__icon--welfare::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 19s-5.5-3.2-7.5-6C2.8 10.1 4 7 6.8 7c1.5 0 2.6.9 3.2 2 .6-1.1 1.7-2 3.2-2C16.9 7 18.1 10.1 19.5 13c-2 2.8-7.5 6-7.5 6Z' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.section-bullets__icon--employment::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 7.5V6.5C9 5.67 9.67 5 10.5 5h3C14.33 5 15 5.67 15 6.5v1' stroke='white' stroke-width='1.6'/%3E%3Cpath d='M4.5 9.5h15v8.5a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4.5 18V9.5Z' stroke='white' stroke-width='1.6'/%3E%3Cpath d='M4.5 12.5h15' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E");
}

.section-bullets__icon--culture::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4.5 7.5h9l1.5 3h4.5' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M6 10.5c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1Zm5 0c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1Z' fill='white'/%3E%3Cpath d='M3.5 7.5v6c0 2 2 3.5 4 3.5 2.7 0 4-2 4-3.5v-6' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E");
}

.section-bullets__icon--security::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 4.5 18.5 7v5.5c0 3.7-2.7 6.6-6.5 7.5-3.8-.9-6.5-3.8-6.5-7.5V7L12 4.5Z' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.section-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0 24px;
}

.section-paragraphs__item {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
}

.section-paragraphs__emphasis {
  margin: 0;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 247, 240, 0.85));
  border: 1px solid rgba(197, 164, 109, 0.35);
  box-shadow: 0 20px 45px rgba(31, 42, 55, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-paragraphs__emphasis-lead {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(31, 42, 55, 0.8);
}

.section-paragraphs__emphasis-highlight {
  font-weight: 700;
  color: var(--brand-2);
}

.section-paragraphs__emphasis-stat {
  margin: 0;
  font-size: 1rem;
  color: rgba(31, 42, 55, 0.8);
}

.section-paragraphs__emphasis-stat-value {
  display: inline-block;
  margin-inline-start: 6px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
}

.section-paragraphs__emphasis-accent {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-2);
}

.section-paragraphs__emphasis-note {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(31, 42, 55, 0.75);
}

.anchor-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.anchor-card {
  width: 100%;
  padding: 22px 28px;
  border-radius: 22px;
  border: 1px solid rgba(197, 164, 109, 0.32);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(31, 42, 55, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 120px;
  opacity: 0;
  transform: translateY(14px);
  animation: anchorReveal 0.5s ease forwards;
}

.anchor-card--pinboard {
  padding: 22px 28px;
  border: 1px solid rgba(197, 164, 109, 0.32);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(31, 42, 55, 0.15);
}

.anchor-card--pinboard .pinboard {
  margin-top: 12px;
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.anchor-card__title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text);
  text-align: right;
}

.anchor-card__desc {
  margin: 0;
  color: rgba(31, 42, 55, 0.75);
  font-size: 1.05rem;
  text-align: right;
}

.anchor-card__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.anchor-card__details--callout-grid {
  display: flex;
  flex-direction: column;
}

.anchor-card__detail-pinboard {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anchor-card__detail-pinboard-title {
  margin: 0;
  font-weight: 700;
  color: rgba(31, 42, 55, 0.95);
}

.anchor-card__detail-pinboard-desc {
  margin: 0;
  color: rgba(31, 42, 55, 0.7);
}

.anchor-card__detail-pinboard .pinboard {
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.anchor-card__detail {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(31, 42, 55, 0.95);
  line-height: 1.8;
  text-align: right;
}

.anchor-card__detail-label {
  display: inline-block;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--brand-2);
  margin-inline-end: 8px;
}

.anchor-card__detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anchor-card__detail-list ul {
  margin: 0;
  padding-inline-start: 1.25rem;
  padding-inline-end: 0;
  color: rgba(31, 42, 55, 0.85);
  line-height: 1.6;
  text-align: right;
  direction: rtl;
  list-style-position: inside;
}

.anchor-card__detail-list li {
  margin-bottom: 6px;
}

.anchor-card__detail-columns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anchor-card__detail-columns-title {
  margin: 0;
  font-weight: 700;
  color: var(--brand-2);
  font-size: 1.1rem;
}

.anchor-card__detail-columns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.anchor-card__detail-column {
  border: 1px solid rgba(197, 164, 109, 0.25);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  text-align: right;
}

.anchor-card__detail-column-title {
  margin: 0 0 8px;
  font-weight: 700;
  color: rgba(31, 42, 55, 0.85);
}

.anchor-card__detail-column ul {
  margin: 0;
  padding-inline-start: 1.25rem;
  line-height: 1.6;
  color: rgba(31, 42, 55, 0.85);
  list-style-position: inside;
}

.anchor-card__detail-column li {
  margin-bottom: 6px;
}

.anchor-card__detail-highlight {
  padding: 16px 18px;
  border: 1px solid rgba(197, 164, 109, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  text-align: right;
}

.anchor-card__intro,
.section-shell__intro {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.anchor-card__intro-media,
.section-shell__intro-media {
  flex: 0 0 40%;
  max-width: 40%;
}

.section-shell__intro-text {
  flex: 1;
  max-width: 100%;
  margin: 0;
}

.section-shell__intro .section-shell__intro-text {
  flex: 0 0 60%;
  max-width: 60%;
}

.anchor-card__intro .anchor-card__desc {
  flex: 0 0 60%;
  max-width: 60%;
  margin: 0;
}

.anchor-card__inline-media,
.section-shell__inline-media {
  margin: 0;
  border-radius: 20px;
  border: 1px solid rgba(197, 164, 109, 0.4);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 32px rgba(31, 42, 55, 0.15);
  overflow: hidden;
}

.anchor-card__inline-media img,
.section-shell__inline-media img {
  display: block;
  width: 100%;
  height: auto;
}

.anchor-card__inline-media-caption,
.section-shell__inline-media-caption {
  margin: 0;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: rgba(31, 42, 55, 0.7);
  text-align: center;
}

.anchor-card__detail-minicards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  justify-items: center;
}

.anchor-card__minicard {
  width: 100%;
  max-width: 150px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(197, 164, 109, 0.28);
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 84px;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(31, 42, 55, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: miniCardEnter 0.5s ease both;
}

.anchor-card__detail-minicards .anchor-card__minicard:nth-child(odd) {
  animation-delay: 0.08s;
}

.anchor-card__detail-minicards .anchor-card__minicard:nth-child(3n) {
  animation-delay: 0.16s;
}

.anchor-card__minicard:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(197, 164, 109, 0.6);
  box-shadow: 0 20px 40px rgba(31, 42, 55, 0.12);
}

.anchor-card__minicard-label {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(31, 42, 55, 0.78);
  font-weight: 600;
}

.anchor-card__minicard-value {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-2);
  letter-spacing: 0.02em;
  animation: miniNumberRise 0.6s ease both;
}

.anchor-card__minicard-stat {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(31, 42, 55, 0.75);
  letter-spacing: 0.02em;
  animation: miniNumberRise 0.6s ease both;
}

@keyframes miniCardEnter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes miniNumberRise {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.anchor-card__detail-highlight-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--brand-2);
  font-size: 1.1rem;
}

.anchor-card__detail-highlight-body {
  margin: 0;
  color: rgba(31, 42, 55, 0.85);
  line-height: 1.6;
}

.anchor-card__detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.anchor-card__detail-stat {
  border: 1px solid rgba(197, 164, 109, 0.28);
  border-radius: 16px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 247, 240, 0.9));
  text-align: right;
}

.anchor-card__detail-stat-label {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(31, 42, 55, 0.7);
}

.anchor-card__detail-stat-value {
  margin: 4px 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-2);
}

.anchor-card__detail-stat-context {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(31, 42, 55, 0.65);
}

.anchor-card__list {
  margin: 0;
  padding-inline-start: 1.25rem;
  padding-inline-end: 0;
  color: rgba(31, 42, 55, 0.85);
  line-height: 1.7;
  text-align: right;
}

.anchor-card__list li {
  margin-bottom: 8px;
}

.anchor-card__list li::marker {
  color: var(--brand-2);
  font-weight: 700;
}

.pinboard {
  border: 1px solid rgba(197, 164, 109, 0.35);
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 45px rgba(31, 42, 55, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pinboard__meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.pinboard__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

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

.pinboard-filter__label {
  font-weight: 600;
  color: var(--brand-2);
}

.pinboard-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pinboard-chip {
  border: 1px solid rgba(197, 164, 109, 0.35);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pinboard-chip.is-active {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 18px rgba(197, 164, 109, 0.35);
}

.pinboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.pinboard-card {
  border: 1px solid rgba(197, 164, 109, 0.25);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 25px rgba(31, 42, 55, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
}

.pinboard-card__badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-2);
}

.pinboard-card__title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.pinboard-card__meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(31, 42, 55, 0.75);
}

.pinboard-card__stat {
  margin: 0;
  font-weight: 600;
  color: var(--brand-2);
}

.pinboard__actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.pinboard__actions.is-hidden {
  display: none;
}

.pinboard__more {
  border: 1px solid rgba(197, 164, 109, 0.4);
  border-radius: 999px;
  padding: 10px 24px;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-2);
  transition: background 0.2s ease, color 0.2s ease;
}

.pinboard__more:hover,
.pinboard__more:focus-visible {
  background: var(--brand);
  color: #fff;
}

.pinboard__empty {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.pinmap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.pinmap__controls {
  flex: 1 1 220px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pinmap__pin {
  border-radius: 999px;
  border: 1px dashed rgba(197, 164, 109, 0.5);
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 18px;
  font-weight: 600;
  color: rgba(31, 42, 55, 0.9);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  text-align: right;
}

.pinmap__pin:hover {
  background: rgba(197, 164, 109, 0.15);
}

.pinmap__pin.is-active {
  background: var(--brand-2);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(197, 164, 109, 0.35);
}

.pinmap__detail {
  flex: 2 1 360px;
  min-width: 280px;
  border: 1px solid rgba(197, 164, 109, 0.35);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px rgba(31, 42, 55, 0.08);
}

.pinmap__headline {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(31, 42, 55, 0.95);
}

.pinmap__subline {
  margin: 0 0 18px;
  color: rgba(31, 42, 55, 0.7);
  font-weight: 500;
}

.pinmap__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.pinmap__metric {
  flex: 1 1 140px;
  min-width: 120px;
  border: 1px solid rgba(197, 164, 109, 0.3);
  border-radius: 18px;
  padding: 12px 16px;
  background: rgba(197, 164, 109, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.pinmap__metric-label {
  font-size: 0.95rem;
  color: rgba(31, 42, 55, 0.65);
}

.pinmap__metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.pinmap__notes {
  margin: 0;
  padding-inline-start: 1.25rem;
  padding-inline-end: 0;
  color: rgba(31, 42, 55, 0.8);
  line-height: 1.7;
  text-align: right;
  direction: rtl;
}

.pinmap__notes li {
  margin-bottom: 6px;
}

.pinmap__empty {
  margin: 0;
  color: rgba(31, 42, 55, 0.6);
}

@media (max-width: 960px) {
  .pinmap {
    flex-direction: column;
  }

  .pinmap__controls,
  .pinmap__detail {
    width: 100%;
    min-width: unset;
  }
}

.section-tables {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-table {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  overflow-x: auto;
}

.section-table__title {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--text);
}

.section-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  color: var(--text);
}

.section-table th,
.section-table td {
  border: 1px solid rgba(31, 42, 55, 0.1);
  padding: 8px 10px;
  text-align: right;
}

.section-notes {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.section-notes__label {
  font-weight: 600;
  color: var(--brand-2);
  margin-bottom: 8px;
}

.report-footer {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid rgba(31, 42, 55, 0.12);
  display: flex;
  justify-content: center;
}

.report-footer__img {
  display: block;
  width: min(180px, 40%);
  height: auto;
  opacity: 0.95;
}

.section-notes ul {
  margin: 0;
  padding-inline-start: 1.25rem;
  color: rgba(31, 42, 55, 0.72);
  line-height: 1.4;
}

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

  .app-shell {
    grid-template-columns: 1fr;
  }

  .toc-panel {
    position: sticky;
    top: 16px;
    z-index: 2;
  }
}

/* Mobile/tablet drawer and toggle */
@media (max-width: 1024px) {
  .toc-toggle {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 20;
    border: 1px solid rgba(197, 164, 109, 0.45);
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-2);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(31, 42, 55, 0.12);
  }
  .toc-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 100vh;
    max-width: min(88vw, 360px);
    z-index: 19;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  body.menu-open .toc-panel {
    transform: translateX(0);
  }
  .toc-entry__button {
    min-height: 44px; /* touch target */
  }
}

@media (min-width: 1025px) {
  .toc-nav {
    overflow: auto;
  }
  .toc-toggle {
    display: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes anchorReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet and down: stack intro blocks and make inline media full-width */
@media (max-width: 768px) {
  .anchor-card__intro,
  .section-shell__intro {
    flex-direction: column;
    gap: 14px;
  }
  .anchor-card__intro-media,
  .section-shell__intro-media,
  .anchor-card__desc,
  .section-shell__intro-text {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }
  .section-media__item--inline {
    flex: 1 1 100%;
    width: 100%;
  }
  .section-top-logo {
    left: 6px;
    top: -4px;
    width: clamp(90px, 24vw, 135px);
    padding: 6px 10px;
    border-width: 2px;
    box-shadow: 0 10px 20px rgba(31, 42, 55, 0.14);
  }
  .content-placeholder,
  .anchor-card,
  .section-bullets,
  .pinboard,
  .section-table,
  .anchor-card__detail-column,
  .pinboard-card {
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(31, 42, 55, 0.12);
  }
}

/* Small phones: tighter paddings and lighter effects */
@media (max-width: 480px) {
  .content-panel > * {
    padding-inline: clamp(10px, 5vw, 16px);
  }
  .section-paragraphs__emphasis {
    padding: 16px;
  }
  .pinboard__grid {
    gap: 12px;
  }
  .pinmap__detail {
    padding: 16px;
  }
  .toc-toggle {
    padding: 7px 12px;
  }
}
