/* Standalone foundations. WordPress/Core may override the same design tokens. */
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
:root {
    --bc-ink: #0b0b10;
    --bc-surface: #1a171a;
    --bc-gold: #b98b45;
    --bc-highlight: #f5de9f;
    --bc-ivory: #faf8f4;
    --bc-ruby: #a20b1e;
    --bg: var(--bc-ink);
    --surface: var(--bc-surface);
    --surface-2: #272124;
    --text: var(--bc-ivory);
    --muted: #aaa3b0;
    --line: color-mix(in srgb, var(--bc-highlight) 15%, transparent);
    --accent-readable: var(--bc-highlight);
    --accent: var(--accent-readable);
    --gold-gradient: linear-gradient(120deg, #94703c, #f5de9f 46%, #ad7f3c 78%, #f5de9f);
    --gold-text-gradient: var(--gold-gradient);
    --font-fa: Vazirmatn, Tahoma, Arial, sans-serif;
    --font-en: Arial, Helvetica, sans-serif;
    --font-heading: inherit;
    --bc-bottom-space: 0px;
    color-scheme: dark;
}
:root[data-theme='light'] {
    --bg: var(--bc-ivory);
    --surface: #fffdfb;
    --surface-2: #efe9e5;
    --text: var(--bc-ink);
    --muted: #625d66;
    --line: color-mix(in srgb, var(--bc-ink) 15%, transparent);
    --accent-readable: #785420;
    --gold-text-gradient: linear-gradient(120deg, #795324, #98733a, #64451d);
    color-scheme: light;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-fa);
    font-size: 16px;
    line-height: 1.95;
}
body:lang(en) {
    font-family: var(--font-en);
    line-height: 1.7;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
img,
svg {
    max-width: 100%;
}
button {
    color: inherit;
}
[hidden] {
    display: none !important;
}
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
:focus-visible {
    outline: 2px solid var(--accent-readable);
    outline-offset: 5px;
}
::selection {
    background: var(--bc-ruby);
    color: var(--bc-ivory);
}
.container {
    width: min(1280px, calc(100% - 64px));
    margin-inline: auto;
}
.bc-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}
.skip-link {
    position: absolute;
    inset-inline-start: 1rem;
    top: -8rem;
    z-index: 9999;
    padding: 1rem;
    background: var(--surface);
    color: var(--text);
}
.skip-link:focus {
    top: 1rem;
}
.bc-kicker {
    display: block;
    font: 500 10px/1.8 var(--font-en);
    letter-spacing: 0.2em;
    color: var(--accent-readable);
}
.bc-kicker:lang(fa) {
    font-family: var(--font-fa);
    letter-spacing: 0.06em;
}
p {
    color: var(--muted);
}
@media (max-width: 700px) {
    .container {
        width: calc(100% - 36px);
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
