/* Berkeh — shared look: warm night, brass and cream. Used by every page. */
@font-face { font-family: "Vazirmatn"; src: url("../assets/fonts/Vazirmatn-FD-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../assets/fonts/Vazirmatn-FD-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../assets/fonts/Vazirmatn-FD-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../assets/fonts/Vazirmatn-FD-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --ink: #0b0907;
  --ink-2: #15110d;
  --ink-3: #1e1813;
  --cream: #f7efe1;
  --muted: #b9ab96;
  --faint: #7d705f;
  --gold: #d7b46c;
  --gold-hi: #f1dcaa;
  --gold-lo: #8a6a33;
  --brand: #e7272d;
  --ok: #8fcf9a;
  --line: rgba(215, 180, 108, 0.22);
  --line-soft: rgba(255, 255, 255, 0.09);
  --glass: rgba(14, 11, 8, 0.62);
  --glass-hi: rgba(20, 16, 12, 0.82);
  --bar-h: 76px;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "Vazirmatn", system-ui, sans-serif;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video, canvas, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- header */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 30px;
  padding: 0 clamp(16px, 4vw, 52px);
  background: linear-gradient(to bottom, rgba(6, 5, 4, 0.82), rgba(6, 5, 4, 0));
  transition: background-color 0.3s ease;
}
.bar.solid { background: rgba(9, 7, 5, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.brand span { font-weight: 900; font-size: 18px; letter-spacing: 0; white-space: nowrap; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--gold); }
.bar .btn { margin-inline-start: auto; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 700 15px/1 "Vazirmatn", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1b1307; box-shadow: 0 10px 28px rgba(215, 180, 108, 0.28); }
.btn-gold:hover { box-shadow: 0 14px 34px rgba(215, 180, 108, 0.4); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(215, 180, 108, 0.12); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-weight: 700; font-size: 14px; margin: 0 0 8px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.8; }

/* ---------------------------------------------------------------- sections and footer */
.section { padding: clamp(64px, 10vw, 128px) clamp(16px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.section h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.3; font-weight: 900; margin: 0 0 14px; }
.section .lede { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0; }

.foot {
  border-top: 1px solid var(--line-soft);
  background: #080605;
  color: var(--muted); font-size: 14px;
}
.foot-in {
  max-width: 1280px; margin: 0 auto; padding: 44px clamp(16px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.foot img { height: 64px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--gold-hi); }

@media (max-width: 860px) {
  :root { --bar-h: 64px; }
  .nav { display: none; }
  .brand img { height: 42px; }
  .brand span { display: none; }
  .bar .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
