@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0c2340;
  --navy-2: #16345a;
  --ink: #1b2430;
  --muted: #5c6775;
  --gold: #c6a15b;
  --gold-2: #e4cb8a;
  --paper: #f6f3ec;
  --white: #ffffff;
  --line: #e6e0d4;
  --ok: #1d6b45;
  --danger: #8d2b2b;
  --shadow: 0 12px 32px rgba(12, 35, 64, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  font-size: 1.05rem;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 30;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-inline-end: auto;
}

.brand img {
  display: block;
  height: 52px;
  width: auto;
}

.brand-name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--navy);
}

.section h2.partners-title {
  text-align: center;
  margin-bottom: 18px;
}

.partners {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.partners li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  width: 148px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.partners img {
  max-width: 100%;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--navy);
  color: var(--white);
}

.site-nav a:focus-visible,
.brand:focus-visible,
.button:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav-toggle-bars {
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.home-poster {
  background:
    radial-gradient(circle at 85% 18%, rgba(198, 161, 91, 0.28), transparent 32%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 78%);
  color: var(--white);
}

.poster-image {
  display: block;
  width: 100%;
  height: auto;
}

.poster-image[hidden] {
  display: none;
}

.poster-fallback {
  position: relative;
  padding: 58px 9vw 52px;
}

.poster-fallback::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(198, 161, 91, 0.55);
  pointer-events: none;
}

.poster-mark {
  width: 76px;
  height: auto;
}

.poster-kicker,
.poster-place,
.poster-tags,
.poster-title {
  margin: 0;
}

.poster-kicker {
  margin-top: 16px;
  color: var(--gold-2);
  font-weight: 700;
}

.poster-title {
  margin-top: 6px;
  font-size: clamp(1.8rem, 4.4vw, 3.3rem);
  line-height: 1.35;
  font-weight: 700;
}

.poster-place {
  margin-top: 8px;
  font-size: 1.2rem;
}

.poster-tags {
  margin-top: 18px;
  color: var(--gold-2);
  font-weight: 700;
}

.games {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
}

.games li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 112px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

.games img {
  height: 46px;
  width: auto;
  max-width: 132px;
}

.hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(198, 161, 91, 0.22), transparent 34%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 72%);
  color: var(--white);
  padding: 76px 0 68px;
}

.hero-kicker {
  color: var(--gold-2);
  font-weight: 700;
  margin: 0 0 10px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.35;
  max-width: 14em;
}

.lead {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero .lead {
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.button-gold {
  background: var(--gold);
  color: var(--navy);
}

.button-gold:hover {
  background: var(--gold-2);
}

.button-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button-navy {
  background: var(--navy);
  color: var(--white);
}

.button-navy:hover {
  background: var(--navy-2);
}

.section {
  padding: 64px 0;
}

.section-follow {
  padding-top: 28px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}

.section h2,
.page-hero h1,
.prose h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.45;
}

.section h2,
.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.eyebrow {
  color: #8d6b2f;
  font-weight: 700;
  margin: 0 0 6px;
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.about-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
}

.about-panel h2 {
  color: var(--white);
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.about-panel p {
  margin: 0 0 16px;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

.gold-rule {
  width: 64px;
  height: 4px;
  background: var(--gold);
  border: 0;
  margin: 18px 0 0;
}

.cards,
.disciplines,
.members,
.goals {
  display: grid;
  gap: 16px;
}

.cards,
.members {
  grid-template-columns: repeat(3, 1fr);
}

.disciplines {
  grid-template-columns: repeat(4, 1fr);
}

.goals {
  grid-template-columns: 1fr 1fr;
  margin-top: 8px;
}

.card,
.discipline,
.member,
.goal,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
}

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

.card time,
.article-meta {
  color: #8d6b2f;
  font-weight: 700;
  font-size: 0.92rem;
}

.card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.65;
}

.card p,
.goal p,
.page-hero .lead {
  margin: 0;
  color: var(--muted);
}

.prose p {
  margin: 0;
}

.prose h1,
.panel h2,
.member h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.45;
}

.prose h1 {
  margin: 8px 0 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.panel h2 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.member h2 {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 600;
}

.card .more {
  margin-top: auto;
  padding-top: 10px;
  color: var(--navy);
  font-weight: 700;
}

.discipline {
  padding: 22px 16px;
  text-align: center;
}

.discipline strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.discipline span {
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: 48px 0 8px;
}

.page-hero .lead {
  margin-top: 10px;
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 18px;
  padding-bottom: 48px;
}

.panel,
.prose {
  padding: 28px;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.45rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p + p {
  margin-top: 12px;
}

.goal,
.member {
  padding: 18px 20px;
}

.goal h3,
.member h3 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 1.08rem;
}

.member h3 {
  color: var(--muted);
  font-weight: 600;
}

.role {
  display: inline-block;
  background: rgba(198, 161, 91, 0.18);
  color: #6f531f;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.88rem;
}

.note {
  color: var(--muted);
  margin: 18px 0 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 56px;
}

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

.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-list li:first-child {
  padding-top: 0;
}

.info-list strong {
  display: block;
  color: var(--navy);
}

.info-list span,
.info-list a {
  color: var(--muted);
  text-decoration: none;
}

.info-list a:hover {
  text-decoration: underline;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
}

input,
textarea {
  font: inherit;
  border: 1px solid #d9d2c4;
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.hp {
  position: absolute;
  inset-inline-start: -9999px;
}

.banner {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 4px;
}

.banner.is-ok {
  background: #e7f6ee;
  color: var(--ok);
}

.banner.is-error {
  background: #fdecec;
  color: var(--danger);
}

.article-top {
  padding-top: 36px;
}

.back-link {
  display: inline-block;
  margin-bottom: 14px;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 36px 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-title {
  margin: 0 0 6px;
  color: var(--white);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold-2);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 24px;
  padding-top: 14px;
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .cards,
  .disciplines,
  .members,
  .goals,
  .contact-layout,
  .about-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-panel,
  .panel,
  .prose {
    padding: 22px;
  }

  .hero {
    padding: 52px 0 48px;
  }
}

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