@font-face {
  font-family: Shabnam;
  src: url("../fonts/Shabnam-Thin-FD.woff2") format("woff2");
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: Shabnam;
  src: url("../fonts/Shabnam-Light-FD.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Shabnam;
  src: url("../fonts/Shabnam-FD.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Shabnam;
  src: url("../fonts/Shabnam-Medium-FD.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Shabnam;
  src: url("../fonts/Shabnam-Bold-FD.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #0c1220;
  --navy-2: #141c2c;
  --gold: #c9a227;
  --gold-soft: #e4c76a;
  --gold-deep: #8c6e14;
  --ivory: #f6f1e6;
  --paper: #fbf8f1;
  --ink: #1a1712;
  --muted: #6e675b;
  --line: #e6dfd0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body.avanovin {
  margin: 0;
  font-family: Shabnam, Tahoma, sans-serif;
  background: var(--paper);
  color: var(--ink);
  direction: rtl;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 500;
  line-height: 1.3;
}
button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}
.skip-link {
  position: absolute;
  right: -999px;
  top: 8px;
}
.skip-link:focus {
  right: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 80;
}
.wrap {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}
.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold-soft) 50%, var(--gold) 82%, transparent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar {
  display: none;
  background: var(--navy);
  border-bottom: 1px solid color-mix(in oklab, var(--gold) 20%, transparent);
  color: color-mix(in oklab, var(--gold-soft) 80%, white);
  font-size: 12px;
}
@media (min-width: 860px) {
  .topbar {
    display: block;
  }
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 16px;
}
.topbar-start,
.topbar-end {
  display: flex;
  gap: 18px;
  align-items: center;
}
.chip {
  border: 1px solid color-mix(in oklab, var(--gold) 35%, transparent);
  border-radius: 999px;
  padding: 2px 10px;
  color: var(--gold-soft);
}
.header-main {
  background: var(--navy);
  height: 72px;
  transition: height 220ms var(--ease), background 220ms ease;
}
.site-header.is-scrolled .header-main {
  height: 60px;
  background: color-mix(in oklab, var(--navy) 92%, transparent);
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
}
.brand img {
  width: 44px;
  height: 44px;
}
.mark-logo {
  width: 44px;
  height: 44px;
}
.mark-logo svg {
  width: 44px;
  height: 44px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text strong {
  font-size: 1.05rem;
  line-height: 1;
}
.brand-text small {
  margin-top: 4px;
  font-size: 0.68rem;
  opacity: 0.75;
}
.desktop-nav {
  display: none;
  align-items: center;
}
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}
.nav-item {
  position: relative;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  color: color-mix(in oklab, white 82%, var(--gold));
  font-size: 0.9375rem;
  font-weight: 500;
  background: transparent;
  border: 0;
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
}
.nav-trigger:hover,
.nav-item:focus-within > .nav-trigger {
  color: var(--gold-soft);
  background: color-mix(in oklab, var(--gold) 10%, transparent);
}
.nav-trigger .caret {
  width: 10px;
  height: 10px;
  opacity: 0.7;
  transition: transform 180ms var(--ease);
}
.nav-item:hover .caret,
.nav-item:focus-within .caret {
  transform: rotate(180deg);
}
.nav-panel {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  min-width: 280px;
  width: 420px;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 8px, 0);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms;
}
.nav-item:hover > .nav-panel,
.nav-item:focus-within > .nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}
.nav-panel-inner {
  background: var(--navy-2);
  border: 1px solid color-mix(in oklab, var(--gold) 28%, transparent);
  border-radius: 16px;
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.55);
  overflow: hidden;
  padding: 8px;
}
.nav-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  color: color-mix(in oklab, white 88%, var(--gold));
  transition: background 140ms ease;
}
.nav-link:hover,
.nav-link:focus-visible {
  background: color-mix(in oklab, var(--gold) 12%, transparent);
  outline: none;
}
.nav-link .mark {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 18%, transparent);
}
.nav-link .lbl {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}
.nav-link .hint {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: color-mix(in oklab, white 52%, var(--gold));
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 0;
  transition: transform 150ms ease, background 150ms ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid color-mix(in oklab, var(--gold) 40%, transparent);
}
.btn-navy {
  background: var(--navy);
  color: var(--gold-soft);
}
.btn.block {
  width: 100%;
  margin-top: 16px;
  height: 48px;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold-soft);
}
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.mobile-sheet[hidden] {
  display: none;
}
.mobile-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(8 10 16 / 0.62);
}
.mobile-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(380px, 92vw);
  background: var(--navy);
  border-left: 1px solid color-mix(in oklab, var(--gold) 24%, transparent);
  overflow: auto;
  padding: 20px 16px 40px;
  color: var(--gold-soft);
}
.mobile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.mobile-head button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--gold-soft);
  font-size: 28px;
}
.mobile-nav-tree .nav-trigger {
  width: 100%;
  justify-content: space-between;
}
.mobile-nav-tree .nav-panel {
  position: static;
  width: auto;
  min-width: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  padding: 0 0 8px 0;
  display: none;
}
.mobile-nav-tree .nav-item.is-open > .nav-panel {
  display: block;
}
.mobile-nav-tree .nav-panel-inner {
  box-shadow: none;
  border: 0;
  background: transparent;
  padding-right: 12px;
  border-right: 1px solid color-mix(in oklab, var(--gold) 25%, transparent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  background: var(--navy);
  color: var(--ivory);
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgb(12 18 32 / 0.9), rgb(12 18 32 / 0.5), rgb(12 18 32 / 0.22));
}
.hero-shade::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, var(--navy), transparent);
}
.hero-copy {
  position: relative;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 96px 0 128px;
}
.kicker {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0 8px;
}
.kicker.dark {
  color: var(--gold-deep);
}
.hero h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin: 0;
  color: var(--ivory);
}
.hero h1 span {
  display: block;
  margin-top: 8px;
  color: var(--gold-soft);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.years {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid color-mix(in oklab, var(--gold) 30%, transparent);
}
.years strong {
  font-size: 2.2rem;
  color: var(--gold);
}
.years span {
  font-size: 0.875rem;
}

/* Events under hero */
.events-strip {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding-bottom: 16px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}
.section-head.light h2,
.section-head.light .kicker,
.section-head.light .more {
  color: var(--ivory);
}
.section-head h2 {
  margin: 0;
  font-size: 1.6rem;
}
.event-grid {
  display: grid;
  gap: 12px;
}
@media (min-width: 760px) {
  .event-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.event-card {
  display: flex;
  gap: 14px;
  background: var(--paper);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 0 0 1px rgb(26 23 18 / 0.06), 0 18px 40px -24px rgb(12 18 32 / 0.45);
  color: var(--ink);
  transition: transform 200ms var(--ease);
}
.event-card:hover {
  transform: translateY(-2px);
}
.event-card.list {
  padding: 16px;
}
.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  min-height: 80px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold-soft);
  flex: 0 0 auto;
}
.date-badge .d {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.date-badge .m {
  font-size: 0.75rem;
  margin-top: 4px;
}
.date-badge .y {
  font-size: 0.7rem;
  opacity: 0.7;
}
.event-body .cat {
  color: var(--gold-deep);
  font-size: 11px;
}
.event-body .ttl {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}
.event-body .excerpt {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.intro {
  padding: 72px 0;
  background: var(--paper);
}
.intro-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.intro .media {
  border-radius: 28px;
  overflow: hidden;
}
.intro .media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.intro h2 {
  margin: 0 0 16px;
  font-size: 1.8rem;
}
.intro p {
  color: var(--muted);
  line-height: 2;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.stats div {
  background: var(--ivory);
  border-radius: 16px;
  padding: 12px 14px;
}
.stats span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.stats strong {
  font-size: 1.1rem;
}

.board {
  background: var(--ivory);
  padding: 72px 0;
}
.board h2 {
  margin: 0 0 28px;
  font-size: 1.8rem;
}
.board-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .board-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.board-card {
  background: var(--paper);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 0 0 1px rgb(26 23 18 / 0.06);
}
.who {
  display: flex;
  gap: 12px;
  align-items: center;
}
.initials {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--gold) 16%, var(--navy-2));
  color: var(--gold-soft);
  font-weight: 700;
  border: 1px solid color-mix(in oklab, var(--gold) 35%, transparent);
}
.role {
  color: var(--gold-deep);
  font-size: 12px;
  margin: 2px 0 0;
}
.org,
.bio {
  color: var(--muted);
  font-size: 0.85rem;
}
.bio-list {
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.shareholders {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
}
.shareholders .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.share-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 64px 0;
}
.share-inner h2 {
  max-width: 22ch;
  margin: 0;
}

.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--ivory);
  overflow: hidden;
  padding: 56px 0;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.page-hero .wrap {
  position: relative;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.prose {
  padding: 56px 0 80px;
  max-width: 860px;
  color: var(--muted);
  line-height: 2;
}
.prose h2,
.prose h3 {
  color: var(--ink);
}
.article-list {
  display: grid;
  gap: 12px;
  padding: 40px 0 80px;
}
.consult {
  margin-top: 32px;
  background: var(--ivory);
  border-radius: 24px;
  padding: 24px;
}
.consult label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--ink);
}
.consult input,
.consult textarea {
  font-family: inherit;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgb(26 23 18 / 0.08);
}
.consult input:focus,
.consult textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--gold);
}

.site-footer {
  background: var(--navy);
  color: var(--gold-soft);
}
.footer-grid {
  display: grid;
  gap: 32px;
  padding: 56px 0;
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.2fr;
  }
}
.footer-grid h3 {
  color: var(--gold);
  font-size: 0.95rem;
}
.footer-grid p,
.footer-links {
  color: color-mix(in oklab, var(--gold-soft) 75%, white);
  font-size: 0.9rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 6px;
}
.footer-copy {
  border-top: 1px solid color-mix(in oklab, var(--gold) 15%, transparent);
  font-size: 12px;
  color: color-mix(in oklab, var(--gold-soft) 55%, white);
  padding: 16px 0;
}

@media (prefers-reduced-motion: reduce) {
  .nav-panel,
  .header-main,
  .nav-trigger,
  .event-card {
    transition: none !important;
  }
}

.who-photo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid color-mix(in oklab, var(--gold) 35%, transparent);
  flex: 0 0 auto;
}

.sejam {
  background: var(--ivory);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.sejam-grid {
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--paper);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 0 0 1px rgb(26 23 18 / 0.06);
}
@media (min-width: 800px) {
  .sejam-grid {
    grid-template-columns: 72px 1fr auto;
  }
}
.sejam-mark {
  width: 72px;
  height: 72px;
}
.sejam-mark svg {
  width: 72px;
  height: 72px;
}
.sejam-copy h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}
.sejam-lead {
  color: var(--gold-deep) !important;
  font-weight: 500;
  margin: 0 0 8px;
}
.sejam-copy p {
  color: var(--muted);
  margin: 0;
  line-height: 2;
}

.home-articles {
  padding: 72px 0;
  background: var(--paper);
}
.home-articles .section-head h2 {
  margin: 0;
  font-size: 1.8rem;
}
.article-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 800px) {
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.article-card {
  background: var(--ivory);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 0 0 1px rgb(26 23 18 / 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.article-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.6;
}
.article-card h3 a:hover {
  color: var(--gold-deep);
}
.article-card p {
  color: var(--muted);
  line-height: 2;
  margin: 0 0 18px;
  flex: 1;
}
.more-link {
  color: var(--gold-deep);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.more-link::after {
  content: "←";
}
.more-link:hover {
  color: var(--gold);
}

.site-links {
  background: var(--ivory);
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}
.site-links h2 {
  margin: 0 0 24px;
  font-size: 1.4rem;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  .links-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
.site-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 14px 8px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgb(26 23 18 / 0.06);
  transition: transform 180ms var(--ease), box-shadow 180ms ease;
  min-height: 118px;
  justify-content: center;
}
.site-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--gold) 40%, transparent), 0 14px 28px -18px rgb(12 18 32 / 0.5);
}
.site-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;
}
.site-icon img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}
.site-name {
  font-size: 0.75rem;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 500;
}

.page-board {
  margin-top: 28px;
}
.prose .board-grid {
  max-width: none;
}

