@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/vazirmatn-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/vazirmatn-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Markazi Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/markazi-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Markazi Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/markazi-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #06111f;
  --navy: #0b2140;
  --navy-deep: #07162b;
  --gold: #c8a35d;
  --gold-deep: #8a6230;
  --gold-bright: #f1dfb4;
  --text: #172033;
  --muted: #5a6b80;
  --line: rgba(11, 33, 64, 0.11);
  --paper: #f3f5f8;
  --paper-strong: #ffffff;
  --cotton: #e8edf3;
  --header: 4.5rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.9;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 45% at 50% -8%, rgba(200, 163, 93, 0.16), transparent 58%),
    radial-gradient(ellipse 55% 40% at 100% 28%, rgba(11, 33, 64, 0.06), transparent 60%),
    radial-gradient(ellipse 45% 35% at 0% 70%, rgba(200, 163, 93, 0.06), transparent 55%),
    linear-gradient(180deg, #f8f9fb 0%, #eef2f6 48%, #f3f5f8 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cpath d='M0 70h140M70 0v140' stroke='%230b2140' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 78%);
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.6rem;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--navy);
  color: white;
  padding: 0.4rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 249, 251, 0.88);
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid rgba(200, 163, 93, 0.55);
  backdrop-filter: blur(14px) saturate(1.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header);
  padding-block: 0.55rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 3.1rem;
  height: auto;
  flex: none;
  filter: drop-shadow(0 4px 10px rgba(11, 33, 64, 0.12));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
}

.nav a {
  position: relative;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.45rem 0.7rem;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0.7rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav a:hover {
  color: var(--gold-deep);
}

.nav a:hover::after {
  transform: scaleX(1);
}

section {
  scroll-margin-top: 6.75rem;
}

.hero {
  position: relative;
  padding: 2.6rem 0 3.2rem;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset-inline: 10%;
  top: 4%;
  height: 58%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(241, 223, 180, 0.55), rgba(241, 223, 180, 0.08) 42%, transparent 70%);
  filter: blur(8px);
}

.hero-inner {
  text-align: center;
}

.emblem-stage {
  position: relative;
  width: min(440px, 90vw);
  margin: 0 auto 0.85rem;
  animation: rise-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.emblem-ring {
  position: absolute;
  inset: 8% 4% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75), transparent 68%);
  box-shadow: 0 0 0 1px rgba(200, 163, 93, 0.18);
  animation: breathe 6.5s ease-in-out infinite;
}

.emblem {
  position: relative;
  width: 100%;
  display: block;
  background: transparent;
  filter: drop-shadow(0 16px 26px rgba(11, 33, 64, 0.18));
}

.hero-kicker {
  margin: 0 0 0.55rem;
  color: var(--gold-deep);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

h1,
h2,
.member-name,
.footer-name {
  font-family: "Markazi Text", Vazirmatn, serif;
  font-weight: 500;
  line-height: 1.35;
}

h1 {
  margin: 0 auto;
  max-width: 14.5em;
  color: var(--navy);
  font-size: clamp(2.05rem, 5.2vw, 3.85rem);
  text-wrap: balance;
}

.diamond-rule {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: min(260px, 70%);
  margin: 1.2rem auto 0.9rem;
}

.diamond-rule span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.diamond-rule i {
  width: 0.5rem;
  height: 0.5rem;
  background: linear-gradient(135deg, #f4e4ba, var(--gold-deep));
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(200, 163, 93, 0.15);
}

.chamber {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.ribbon {
  display: block;
  width: 100%;
  height: 86px;
  margin-bottom: -1px;
  line-height: 0;
}

.ribbon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ribbon-navy {
  fill: var(--navy);
}

.ribbon-gold {
  stroke: var(--gold);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.ribbon-soft {
  stroke: rgba(241, 223, 180, 0.45);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.ribbon-flip {
  margin-top: -1px;
  margin-bottom: 0;
  transform: scaleY(-1);
}

.mission {
  position: relative;
  background:
    linear-gradient(160deg, rgba(200, 163, 93, 0.12), transparent 36%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #f6f3ec;
  padding: 0.2rem 0 3rem;
  overflow: clip;
}

.mission-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(241, 223, 180, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 223, 180, 0.28) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  pointer-events: none;
}

.mission-inner {
  position: relative;
  text-align: center;
}

.mission :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-bright);
}

.latin {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mission .latin {
  margin: 0 0 1rem;
  color: var(--gold-bright);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.3;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.mission-text {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1.1rem;
  line-height: 2.05;
  color: rgba(246, 243, 236, 0.94);
}

.mission-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.4rem 1.3rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(180deg, #f7e8c4, var(--gold-bright));
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-gold:hover {
  background: #fff6e3;
}

.btn-line {
  color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(240, 221, 176, 0.72);
  backdrop-filter: blur(4px);
}

.btn-line:hover {
  background: rgba(240, 221, 176, 0.08);
}

.board {
  padding: 4.6rem 0 3.4rem;
}

.contact {
  padding: 0.6rem 0 4.8rem;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0.2rem 0 0.5rem;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.2vw, 3.15rem);
}

.section-head p {
  margin: 0;
  color: var(--text);
}

.eyebrow {
  margin: 0;
  color: var(--gold-deep);
  font-size: 0.86rem;
  font-weight: 700;
}

.roll-label {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.roll {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(11, 33, 64, 0.06);
  box-shadow: 0 18px 40px rgba(11, 33, 64, 0.05);
}

.member {
  display: grid;
  grid-template-columns: 12.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease;
}

.member:nth-child(2) {
  transition-delay: 0.05s;
}
.member:nth-child(3) {
  transition-delay: 0.1s;
}
.member:nth-child(4) {
  transition-delay: 0.15s;
}
.member:nth-child(5) {
  transition-delay: 0.2s;
}

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

.member:last-child {
  border-bottom: 0;
}

.member:hover {
  background: rgba(255, 255, 255, 0.9);
}

.member-lead {
  background: linear-gradient(90deg, rgba(241, 223, 180, 0.28), rgba(255, 255, 255, 0.4) 42%);
  box-shadow: inset -3px 0 0 var(--gold);
}

.member-lead:hover {
  background: linear-gradient(90deg, rgba(241, 223, 180, 0.36), rgba(255, 255, 255, 0.55) 42%);
}

.member-role {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.member-name {
  margin: 0;
  color: var(--navy);
  font-size: 1.9rem;
  line-height: 1.15;
}

.member-lead .member-name {
  font-size: 2.12rem;
}

.office {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}

.office article {
  background: rgba(255, 255, 255, 0.7);
  padding: 1.25rem 1.25rem 1.35rem;
  border-top: 2px solid var(--gold);
  box-shadow: 0 14px 30px rgba(11, 33, 64, 0.05);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.office article.is-in {
  opacity: 1;
  transform: none;
}

.office article:nth-child(2) {
  transition-delay: 0.08s;
}

.office h3 {
  margin: 0 0 0.3rem;
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.office .member-role {
  margin: 0.15rem 0 0;
}

.notice {
  margin: 0 0 1.55rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.55);
  border-inline-start: 3px solid var(--gold);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(11, 33, 64, 0.04);
}

.channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-height: 6.7rem;
  padding: 1.05rem 1.1rem 0.95rem;
  background: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  box-shadow: 0 12px 26px rgba(11, 33, 64, 0.045);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.channels li:nth-child(2) .channel {
  transition-delay: 0.04s;
}
.channels li:nth-child(3) .channel {
  transition-delay: 0.08s;
}
.channels li:nth-child(4) .channel {
  transition-delay: 0.12s;
}
.channels li:nth-child(5) .channel {
  transition-delay: 0.16s;
}
.channels li:nth-child(6) .channel {
  transition-delay: 0.2s;
}
.channels li:nth-child(7) .channel {
  transition-delay: 0.24s;
}
.channels li:nth-child(8) .channel {
  transition-delay: 0.28s;
}

.channel:hover {
  border-bottom-color: var(--gold);
  background: #fff;
  box-shadow: 0 16px 34px rgba(11, 33, 64, 0.08);
  transform: translateY(-2px);
}

.channel-platform {
  color: var(--gold-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.channel-purpose {
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.6;
}

.channel-purpose.latin {
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.channel-go {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.channel-go b {
  font-weight: 500;
  transition: transform 0.2s ease;
}

.channel:hover .channel-go {
  color: var(--gold-deep);
}

.channel:hover .channel-go b {
  transform: translateX(-3px);
}

.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(200, 163, 93, 0.16), transparent 45%),
    linear-gradient(180deg, #0a1b33, var(--ink));
  color: #e6e1d6;
  padding: 2.6rem 0 2.2rem;
}

.footer-thread {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 223, 180, 0.75), transparent);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
}

.footer-name {
  margin: 0;
  font-size: 1.75rem;
  color: white;
}

.footer-sub {
  margin: 0.3rem 0 0;
  color: #c9c2b4;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.footer-links a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-links .latin {
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-style: normal;
  font-weight: 500;
}

.hero .reveal {
  animation: rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .delay-1 {
  animation-delay: 0.12s;
}
.hero .delay-2 {
  animation-delay: 0.22s;
}
.hero .delay-3 {
  animation-delay: 0.32s;
}

.mission .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.mission .delay-1 {
  transition-delay: 0.08s;
}
.mission .delay-2 {
  transition-delay: 0.16s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@media (max-width: 760px) {
  section {
    scroll-margin-top: 8.75rem;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
    gap: 0;
  }

  .nav a {
    padding-inline: 0.35rem;
  }

  .member {
    grid-template-columns: 1fr;
    gap: 0.12rem;
    padding-inline: 0.85rem;
  }

  .office,
  .channels,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .board {
    padding-top: 3.2rem;
  }

  .mission .latin {
    line-height: 1.35;
  }

  .ribbon {
    height: 64px;
  }

  .channel:hover {
    transform: none;
  }
}

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

  .emblem-ring,
  .emblem-stage,
  .hero .reveal {
    animation: none !important;
  }

  .mission .reveal,
  .member,
  .office article,
  .channel,
  .emblem-stage,
  .hero .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
