@font-face { font-family: "VazirmatnSample"; src: url("/assets/fonts/Vazirmatn-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "VazirmatnSample"; src: url("/assets/fonts/Vazirmatn-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "EstedadSample"; src: url("/assets/fonts/Estedad-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "EstedadSample"; src: url("/assets/fonts/Estedad-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "ShabnamSample"; src: url("/assets/fonts/Shabnam-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ShabnamSample"; src: url("/assets/fonts/Shabnam-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "SahelSample"; src: url("/assets/fonts/Sahel-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SahelSample"; src: url("/assets/fonts/Sahel-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Samim"; src: url("/assets/fonts/Samim-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Samim"; src: url("/assets/fonts/Samim-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "ParastooSample"; src: url("/assets/fonts/Parastoo-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ParastooSample"; src: url("/assets/fonts/Parastoo-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --blue: #006f9f;
  --blue-dark: #073b70;
  --blue-soft: #eaf6fa;
  --ink: #17212b;
  --muted: #5c6874;
  --line: #dce5ea;
  --paper: #ffffff;
  --surface: #f5f8fa;
  font-family: "Samim", Tahoma, "Noto Naskh Arabic", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.95; }
a { color: var(--blue-dark); }
a:focus-visible, button:focus-visible, audio:focus-visible { outline: 3px solid #efb800; outline-offset: 3px; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -5rem; background: #fff; padding: .6rem 1rem; z-index: 10; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.site-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 96%); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--blue-dark); font-size: 1.05rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand img { width: 54px; height: 54px; border-radius: 50%; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .2rem .4rem; }
nav a { padding: .35rem .65rem; border-radius: .5rem; text-decoration: none; font-size: .92rem; }
nav a:hover, nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-dark); }
main { min-height: 70vh; }
.hero { display: grid; justify-items: center; gap: 1.1rem; padding: clamp(2rem, 6vw, 5rem) 1rem 1rem; background: #fff; overflow: hidden; }
.hero-logo { width: min(225px, 45vw); height: auto; }
.calligraphy { display: block; max-width: min(100%, 680px); height: auto; object-fit: contain; }
.calligraphy-wide { width: auto; }
.calligraphy-title { display: block; max-width: 100%; height: auto; margin: 1rem auto 2rem; }
.prose { width: min(100% - 2rem, 760px); margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) 0; }
.prose h1 { margin-top: 0; color: var(--blue-dark); font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.45; }
.prose h2 { color: var(--blue-dark); line-height: 1.5; }
.prose p { text-align: justify; }
.intro { text-align: center; }
.intro p { text-align: center; }
.lead { color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.button { display: inline-block; padding: .65rem 1.1rem; border-radius: .6rem; background: var(--blue-dark); color: #fff; text-decoration: none; }
.button.secondary { background: var(--blue-soft); color: var(--blue-dark); }
.document-image { margin: 2rem 0; text-align: center; }
.document-image img { max-width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 1rem 2.5rem rgb(7 59 112 / 10%); }
.invitation-frame { display: grid; justify-items: center; gap: 1.25rem; margin: 2rem 0; padding: clamp(1rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: .8rem; background: #fff; box-shadow: 0 1rem 2.5rem rgb(7 59 112 / 10%); }
.invitation-frame img { display: block; max-width: 100%; height: auto; }
.invitation-logo { width: min(150px, 42vw); }
.invitation-title { width: min(120px, 34vw); }
.invitation-preamble { width: min(400px, 100%); }
.invitation-document { width: min(600px, 100%); }
.invitation-transcript { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.invitation-transcript h2 { text-align: center; line-height: 1.9; }
.invitation-transcript p { font-size: 1.05rem; line-height: 2.15; }
figcaption, .accessibility-note, .archive-label { color: var(--muted); font-size: .9rem; }
.archive-label { padding: .6rem .85rem; border-inline-start: 4px solid #c98b00; background: #fff8df; }
.nowruz-credit, .nowruz-subtitle, .nowruz-invocation { text-align: center !important; }
.nowruz-credit { color: var(--muted); font-weight: 700; }
.nowruz-subtitle { font-size: 1.15rem; font-weight: 700; }
.nowruz-invocation { margin-block: 1.5rem; font-size: 1.25rem; font-weight: 700; }
.nowruz-preface { margin-block: 2rem 3rem; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--ink); background: #fff; }
.nowruz-preface h2, .nowruz-body h2 { color: var(--blue-dark); text-align: center; }
.nowruz-preface p, .nowruz-original-bold { font-weight: 700; }
.nowruz-signature { margin-top: 1.5rem; text-align: left !important; font-weight: 700; }
.nowruz-body { margin-top: 2rem; }
.nowruz-body > h2 { margin-bottom: 2rem; font-size: 1.6rem; }
.nowruz-original-centered { text-align: center !important; }
.nowruz-original-emphasis { font-size: 1.2rem; }
.nowruz-subheading { margin-block: 2.5rem 1.25rem; color: var(--blue-dark); text-align: center; font-size: 1.55rem; }
audio { display: block; width: 100%; margin: .8rem 0; }
.audio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; width: min(100% - 2rem, 1040px); margin: 0 auto; padding-bottom: 4rem; }
.audio-card, .document-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; box-shadow: 0 .5rem 1.5rem rgb(7 59 112 / 6%); }
.audio-card h2 { margin-top: 0; font-size: 1rem; color: var(--blue-dark); }
.audio-card > a { font-size: .9rem; }
.email { font-size: clamp(1rem, 4vw, 1.3rem); overflow-wrap: anywhere; }
footer { padding: 2.5rem 1rem; background: var(--blue-dark); color: #fff; text-align: center; }
footer p { margin: .3rem; }
footer a { color: #fff; }
.copyright-notice { width: min(100%, 760px); margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / 25%); color: rgb(255 255 255 / 82%); font-size: .84rem; line-height: 1.9; }
.copyright-notice span { white-space: nowrap; }
.font-comparison { width: min(100% - 2rem, 1100px); }
.font-samples { display: grid; gap: 1.5rem; }
.font-card { overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: #fff; box-shadow: 0 .5rem 1.5rem rgb(7 59 112 / 6%); }
.font-card > header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--surface); font-family: Tahoma, Arial, sans-serif; }
.font-card > header h2, .font-card > header p { margin: 0; }
.font-card > header h2 { color: var(--blue-dark); font-size: 1.15rem; }
.font-card > header p { color: var(--muted); font-size: .88rem; }
.font-example { padding: clamp(1.1rem, 4vw, 2rem); font-size: 1.08rem; line-height: 2.15; }
.font-example h3 { margin-top: 0; text-align: center; font-size: 1.35rem; line-height: 1.8; }
.font-digits { text-align: center !important; color: var(--muted); }
.font-vazirmatn .font-example { font-family: "VazirmatnSample", sans-serif; }
.font-estedad .font-example { font-family: "EstedadSample", sans-serif; }
.font-shabnam .font-example { font-family: "ShabnamSample", sans-serif; }
.font-sahel .font-example { font-family: "SahelSample", sans-serif; }
.font-samim .font-example { font-family: "Samim", sans-serif; }
.font-parastoo .font-example { font-family: "ParastooSample", sans-serif; }
@media (max-width: 820px) {
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; width: 100%; flex-wrap: wrap; padding-bottom: .35rem; }
  nav a { white-space: nowrap; background: var(--surface); }
}
@media (max-width: 480px) {
  .brand img { width: 46px; height: 46px; }
  .prose { width: min(100% - 1.25rem, 760px); }
  .hero { padding-inline: .5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
