/* ==========================================================================
   Hosein Ataei — personal site
   Mobile-first. Base styles = phones (360–390px); breakpoints at 640 / 900 / 1200.
   Palette: exactly three colors (+ opacity variants). Logical properties
   everywhere so RTL (fa) and LTR (en) mirror without duplicate rules.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #111111;
  --text: #f3eee3;
  --accent: #d9541e;

  --bg-rgb: 17, 17, 17;
  --text-rgb: 243, 238, 227;
  --accent-rgb: 217, 84, 30;

  --muted: rgba(var(--text-rgb), .7);          /* secondary text (AA on --bg) */
  --line: rgba(var(--text-rgb), .12);          /* hairline borders */
  --line-strong: rgba(var(--text-rgb), .3);
  --surface: rgba(var(--text-rgb), .05);       /* cards */

  --font-fa: 'Vazirmatn', Tahoma, system-ui, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 64px;
  --pad: 20px;
  --container: 1120px;
  --radius: 14px;
  --radius-lg: 22px;

  color-scheme: dark;
}

@supports (background: color-mix(in srgb, red 50%, blue)) {
  :root { --surface: color-mix(in srgb, var(--bg) 95%, var(--text) 5%); }
}

/* 2. Reset / base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-fa);
  font-size: 1rem;              /* 16px minimum on mobile */
  line-height: 1.9;
  font-weight: 400;
  text-align: start;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

/* Font family + rhythm switch automatically with <html lang> */
html[lang="fa"] body { font-family: var(--font-fa); line-height: 1.9; letter-spacing: 0; }
html[lang|="en"] body { font-family: var(--font-en); line-height: 1.65; }
html[lang="fa"] [lang="en"] { font-family: var(--font-en); }
html[lang|="en"] [lang="fa"] { font-family: var(--font-fa); }

/* Avoid a flash of Persian text when the stored language is English */
html.i18n-pending body { visibility: hidden; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
html[lang="fa"] h1, html[lang="fa"] h2 { font-weight: 700; }

::selection { background: var(--accent); color: var(--bg); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* 3. Utilities --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

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

.skip-link {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Directional icons (arrows) mirror in RTL */
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

/* Bracketed placeholders, easy to spot */
.ph { color: var(--accent); font-weight: 500; }

/* Animated underline link */
.link {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  padding-block-end: 2px;
  transition: background-size .4s var(--ease), color .3s var(--ease);
}
[dir="rtl"] .link { background-position: 100% 100%; }
.link:hover, .link:focus-visible { background-size: 100% 1px; }
.link--accent { color: var(--accent); background-size: 100% 1px; font-weight: 500; }
.link--accent:hover { color: var(--text); }

/* 4. Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), .28);
}
.btn--outline { border-color: var(--line-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; font-weight: 500; }
.btn:active { transform: none; }
.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  color: var(--muted);
  border-color: var(--line);
  border-style: dashed;
  transform: none;
  box-shadow: none;
}

/* 5. Header --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
}
/* Blur lives on a pseudo-element so the header itself does not become the
   containing block of the fixed full-screen menu. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--bg-rgb), .74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-block-end: 1px solid var(--line);
}

.header__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 16px;
  min-height: var(--header-h);
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  font-size: 1rem;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--accent);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  transition: border-color .3s var(--ease);
}
.logo:hover .logo__mark { border-color: var(--accent); }

.header__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle,
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.lang-toggle { font-size: .875rem; font-weight: 600; line-height: 1; }
.lang-toggle:hover, .menu-toggle:hover { border-color: var(--accent); }

.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle__bars::before { top: 1px; }
.menu-toggle__bars::after { top: 9px; }
.menu-open .menu-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

/* No-JS fallback: toggles are useless, nav links sit inline under the logo */
html:not(.js) .lang-toggle,
html:not(.js) .menu-toggle { display: none; }

.site-nav { order: 3; flex-basis: 100%; position: relative; z-index: 1; }
.nav__list { display: flex; flex-wrap: wrap; column-gap: 18px; padding-block-end: 8px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .9375rem;
  transition: color .3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link[aria-current] { color: var(--text); }

/* Mobile overlay menu (only when JS is running, only below 900px) */
@media (max-width: 899.98px) {
  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    order: 0;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 20px);
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
    padding-left: max(var(--pad), env(safe-area-inset-left));
    padding-right: max(var(--pad), env(safe-area-inset-right));
    background: var(--bg);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .js.menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    transition: opacity .35s var(--ease), visibility 0s;
  }
  .js .nav__list { display: block; padding: 0; }
  .js .nav__item {
    border-block-end: 1px solid var(--line);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .45s var(--ease), transform .45s var(--ease);
  }
  .js.menu-open .nav__item { opacity: 1; transform: none; }
  .js.menu-open .nav__item:nth-child(2) { transition-delay: 60ms; }
  .js.menu-open .nav__item:nth-child(3) { transition-delay: 120ms; }
  .js.menu-open .nav__item:nth-child(4) { transition-delay: 180ms; }
  .js.menu-open .nav__item:nth-child(5) { transition-delay: 240ms; }
  .js.menu-open .nav__item:nth-child(6) { transition-delay: 300ms; }
  .js .nav__link {
    display: flex;
    min-height: 64px;
    padding-block: 10px;
    color: var(--text);
    font-size: clamp(1.5rem, 7vw, 2rem);
    font-weight: 600;
    line-height: 1.4;
  }
  .js .nav__link[aria-current] { color: var(--accent); }

  /* Scroll lock while the menu is open */
  html.menu-open, html.menu-open body { overflow: hidden; }
}

/* 6. Sections ----------------------------------------------------------------------- */
main section { scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top)); }

.section {
  padding-block: clamp(72px, 14vw, 128px);
  border-block-start: 1px solid var(--line);
}

.section__head { margin-block-end: 32px; }

.label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 14px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}
.label__num { font-variant-numeric: tabular-nums; }
.label__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.section__title {
  font-size: clamp(1.75rem, 7vw, 3rem);
  line-height: 1.4;
}
html[lang|="en"] .section__title { line-height: 1.15; letter-spacing: -.02em; }

.section__intro { margin-block-start: 16px; color: var(--muted); max-width: 60ch; }

.prose p + p { margin-block-start: 1.1em; }
.prose { max-width: 64ch; }

/* 7. Hero ------------------------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: 48px 64px;
  overflow: hidden;
}
/* Very faint accent glow, same hue only */
.hero::before {
  content: "";
  position: absolute;
  inset-block-start: -20%;
  inset-inline-end: -30%;
  width: min(720px, 120%);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .11), rgba(var(--accent-rgb), 0));
  pointer-events: none;
}

.hero__grid { position: relative; display: grid; gap: 44px; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 1rem;
}
.hero__name {
  margin-block-start: 8px;
  font-size: clamp(2.5rem, 12vw, 5.5rem);
  line-height: 1.3;
}
html[lang|="en"] .hero__name { line-height: 1.08; letter-spacing: -.035em; }

.hero__role { margin-block-start: 12px; font-size: 1.0625rem; font-weight: 500; }
.hero__tagline {
  margin-block-start: 14px;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.125rem, 4.6vw, 1.375rem);
  font-weight: 300;
}
html[lang|="en"] .hero__tagline { font-weight: 400; }

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-block-start: 30px;
}
.hero__resume {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-block-start: 10px;
  color: var(--muted);
  font-size: .9375rem;
  transition: color .3s var(--ease);
}
.hero__resume:hover { color: var(--text); }

.hero__figure { width: 100%; max-width: 280px; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

/* 8. About ------------------------------------------------------------------------------ */
.facts { display: grid; gap: 0; margin-block-start: 36px; border-block-start: 1px solid var(--line); }
.fact { padding-block: 16px; border-block-end: 1px solid var(--line); }
.fact dt { color: var(--muted); font-size: .875rem; }
.fact dd { font-weight: 500; }

/* 9. Skills / tags ------------------------------------------------------------------------ */
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 22px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9375rem;
  line-height: 1.5;
}
.tag--filled { background: var(--text); color: var(--bg); font-weight: 500; }
.tag--outline { border-color: var(--line-strong); border-style: dashed; color: var(--text); }
.tag--quiet { border-color: var(--line); color: var(--muted); }
.tags--small { gap: 8px; }
.tags--small .tag { min-height: 30px; padding: 2px 12px; font-size: .8125rem; }

.skill-groups { display: grid; gap: 14px; margin-block-start: 32px; }
.skill-group {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.skill-group__title { margin-block-end: 14px; font-size: 1.0625rem; }

/* 10. Projects ------------------------------------------------------------------------------ */
.projects__grid { display: grid; gap: 20px; }
.projects__item { display: flex; min-width: 0; }

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.card:hover, .card:focus-within { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .55); }

.card__media { position: relative; border-block-end: 1px solid var(--line); }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.badge {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  padding: 2px 12px;
  border: 1px solid rgba(var(--accent-rgb), .6);
  border-radius: 999px;
  background: rgba(var(--bg-rgb), .8);
  color: var(--text);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.7;
}

.card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  padding: 22px 20px 24px;
}
.card__title { font-size: 1.25rem; line-height: 1.5; }
.card__desc { color: var(--muted); }
.card__body .btn { margin-block-start: auto; }
.card__body .tags { margin-block-end: 8px; }

/* 11. Experience ------------------------------------------------------------------------------ */
.timeline { border-inline-start: 1px solid var(--line-strong); margin-inline-start: 5px; }
.timeline__item { position: relative; padding-inline-start: 26px; padding-block-end: 40px; }
.timeline__item:last-child { padding-block-end: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  inset-inline-start: -5px;
  inset-block-start: .7em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--bg);
}
.timeline__role { font-size: 1.1875rem; line-height: 1.6; }
.timeline__period { color: var(--muted); font-size: .9375rem; }
.timeline__points { margin-block-start: 12px; display: grid; gap: 8px; color: var(--muted); }
.timeline__points li { position: relative; padding-inline-start: 18px; }
.timeline__points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .85em;
  width: 8px; height: 1px;
  background: var(--line-strong);
}

.resume-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-block-start: 44px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* 12. Education ------------------------------------------------------------------------------ */
.edu {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.edu__degree { font-size: 1.25rem; line-height: 1.5; }
.edu__school { margin-block-start: 6px; }
.edu__period { color: var(--muted); font-size: .9375rem; }

/* 13. Contact ------------------------------------------------------------------------------ */
.contact__text { max-width: 52ch; color: var(--muted); font-size: 1.0625rem; }
.contact__links { display: grid; gap: 12px; margin-block-start: 32px; }

.btn--xl {
  min-height: 72px;
  padding: 14px 24px;
  gap: 14px;
  border-radius: 18px;
  font-size: 1.125rem;
}
.btn--xl .icon { width: 1.5em; height: 1.5em; }
.btn__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.5; text-align: start; }
.btn__handle { font-size: .875rem; font-weight: 500; }

.contact__row { display: grid; gap: 12px; }
.contact__row .btn { justify-content: flex-start; min-width: 0; font-weight: 500; }
.contact__email { overflow-wrap: anywhere; min-width: 0; }

/* 14. Footer ------------------------------------------------------------------------------ */
.site-footer {
  border-block-start: 1px solid var(--line);
  padding-block: 28px calc(28px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: .9375rem;
}
.footer__inner { display: flex; flex-direction: column; gap: 8px; }
.footer__top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start; transition: color .3s var(--ease); }
.footer__top:hover { color: var(--text); }
.site-footer .link { color: var(--text); }

/* 15. Reveal animations (only when JS is running) -------------------------------------------- */
.js .reveal,
.js .stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-visible,
.js .stagger.is-visible > * { opacity: 1; transform: none; }

.stagger > :nth-child(2) { --i: 1; }
.stagger > :nth-child(3) { --i: 2; }
.stagger > :nth-child(4) { --i: 3; }
.stagger > :nth-child(5) { --i: 4; }
.stagger > :nth-child(6) { --i: 5; }
.stagger > :nth-child(7) { --i: 6; }
.stagger > :nth-child(8) { --i: 7; }

/* ============================================================================
   >= 640px
   ============================================================================ */
@media (min-width: 640px) {
  :root { --pad: 32px; }

  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .fact { border-block-end: 0; padding-block: 20px 0; }
  .skill-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .resume-card { flex-direction: row; align-items: center; justify-content: space-between; }
  .contact__links { justify-items: start; }
  .contact__row { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__top { align-self: auto; }
}

/* ============================================================================
   >= 900px  (desktop header, two-column editorial layout)
   ============================================================================ */
@media (min-width: 900px) {
  :root { --header-h: 72px; --pad: 40px; }

  .header__inner { flex-wrap: nowrap; }
  .site-nav { order: 0; flex-basis: auto; margin-inline-start: auto; }
  .nav__list { flex-wrap: nowrap; column-gap: 26px; padding: 0; }
  .nav__link { position: relative; }
  .nav__link::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-end: 8px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .4s var(--ease);
  }
  [dir="rtl"] .nav__link::after { transform-origin: 100% 50%; }
  .nav__link:hover::after,
  .nav__link[aria-current]::after { transform: scaleX(1); }
  .menu-toggle { display: none; }

  .hero { padding-block: 64px 96px; }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; gap: 64px; }
  .hero__figure { max-width: 380px; justify-self: end; }

  .section--split > .container {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: 64px;
    align-items: start;
  }
  .section--split .section__head { position: sticky; inset-block-start: calc(var(--header-h) + 32px); margin: 0; }

  .section__head { margin-block-end: 48px; }
  .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .card__body { padding: 26px 26px 28px; }
  .skill-group, .edu, .resume-card { padding: 26px; }
  .contact__row { grid-template-columns: repeat(4, auto); width: auto; }
}

/* ============================================================================
   >= 1200px
   ============================================================================ */
@media (min-width: 1200px) {
  .hero__grid { gap: 96px; }
  .section--split > .container { column-gap: 96px; }
  .projects__grid { gap: 32px; }
}

/* ============================================================================
   Reduced motion: remove everything non-essential
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .js .stagger > *, .js .nav__item { opacity: 1 !important; transform: none !important; }
  .card:hover, .card:focus-within, .btn:hover { transform: none; }
}

/* Print: plain and readable */
@media print {
  .site-header, .hero::before, .footer__top { display: none; }
  .js .reveal, .js .stagger > * { opacity: 1 !important; transform: none !important; }
}

/* Language toggle: the Persian label needs a slightly larger size to match "EN" */
.lang-toggle [lang="fa"] { font-size: 1rem; }
