/* ============================================================
   مجید ریاضی‌ماهر — dark cinematic theme
   Deep void · Vazirmatn · electric blue/violet · glass panels
   ============================================================ */

/* ===== Tokens ===== */
:root {
  --bg-void:   #07070f;
  --bg-panel:  #101018;
  --bg-panel2: #0c0c14;
  --accent:    #4d9fff;
  --accent-2:  #9b5cff;
  --accent-spark: #d6e8ff;
  --accent-mono:  #dcdae4;
  --text:      #f3f1fa;
  --text-muted:#a7a3c2;
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.16);
  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

/* ===== Fonts ===== */
@font-face { font-family:'Vazirmatn'; src:url('../assets/fonts/Vazirmatn-Regular.woff2') format('woff2');  font-weight:400; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url('../assets/fonts/Vazirmatn-Medium.woff2') format('woff2');   font-weight:500; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url('../assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2'); font-weight:600; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url('../assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');font-weight:800; font-display:swap; }

/* ===== Reset ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-void);
  color: var(--text);
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

section[id] { scroll-margin-top: 72px; }

::selection { background: rgba(77,159,255,0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: 12px; inset-inline-start: 16px; z-index: 200;
  background: var(--accent); color: #04121f; font-weight: 600;
  padding: 10px 18px; border-radius: 10px;
  transform: translateY(-160%); transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: rgba(167,163,194,0.22); border-radius: 999px; border: 2px solid var(--bg-void); }
::-webkit-scrollbar-thumb:hover { background: rgba(167,163,194,0.38); }

/* Film grain */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 2000;
  pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  margin: 0 0 0.85rem; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.14em; color: var(--accent-spark); text-transform: uppercase;
}
.section-title {
  margin: 0 0 0.85rem; font-weight: 800;
  font-size: clamp(1.7rem, 4.2vw, 2.5rem); line-height: 1.35; color: var(--text); letter-spacing: -0.01em;
}
.section-text { margin: 0; font-size: 1.02rem; line-height: 1.9; color: var(--text-muted); }
.note-pill {
  font-size: 0.72rem; font-weight: 600; color: #04121f;
  background: linear-gradient(135deg, var(--accent-spark), var(--accent));
  padding: 2px 9px; border-radius: 6px; margin-inline-end: 8px; vertical-align: middle;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font: inherit; font-weight: 600; font-size: 0.95rem;
  border-radius: 12px; padding: 0.8rem 1.5rem; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.2s ease;
}
.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.85rem; }
.btn:active { transform: translateY(1px); }
.btn--primary { color: #04121f; background: linear-gradient(135deg, #ffffff, var(--accent-mono)); box-shadow: 0 12px 34px -14px rgba(214,232,255,0.4); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(214,232,255,0.55); }
.btn--ghost { color: var(--text); background: rgba(255,255,255,0.03); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); }

/* ===== Site header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(7,7,15,0.72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { background: rgba(7,7,15,0.9); border-bottom-color: var(--line); box-shadow: 0 12px 32px -18px rgba(0,0,0,0.85); }
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 clamp(18px, 4vw, 36px);
}
.site-header__brand { display: inline-flex; align-items: center; gap: 11px; }
.site-header__logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.site-header__brand-name { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.site-header__nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.1rem); }
.site-header__nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); position: relative; padding: 0.35rem 0; transition: color 0.2s ease; }
.site-header__nav-link::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; height: 1.5px;
  transform: scaleX(0); transform-origin: right; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: transform 0.25s ease;
}
.site-header__nav-link:hover, .site-header__nav-link:focus-visible { color: var(--text); }
.site-header__nav-link:hover::after, .site-header__nav-link:focus-visible::after { transform: scaleX(1); }
.site-header__links { display: flex; align-items: center; gap: 0.9rem; }
.site-header__icon { display: inline-flex; color: var(--text-muted); transition: color 0.2s ease; }
.site-header__icon:hover, .site-header__icon:focus-visible { color: var(--text); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero (two-column) ===== */
.hero {
  position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: center;
  padding: clamp(96px, 15vh, 156px) 0 clamp(48px, 8vh, 96px);
  background: radial-gradient(125% 90% at 82% 12%, #111633 0%, var(--bg-void) 55%);
}
.hero__glyphs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero__aurora {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: blur(8px);
  background:
    radial-gradient(48% 42% at 76% 32%, rgba(77,159,255,0.22), transparent 70%),
    radial-gradient(42% 40% at 88% 68%, rgba(155,92,255,0.18), transparent 70%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.6;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(85% 75% at 78% 42%, #000 18%, transparent 76%);
          mask-image: radial-gradient(85% 75% at 78% 42%, #000 18%, transparent 76%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px);
}
.hero__copy { order: 2; }        /* renders on the LEFT in RTL */
.hero__figure { order: 1; }      /* renders on the RIGHT in RTL */

.hero__headline { margin: 0 0 0.7rem; font-weight: 800; font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.14; letter-spacing: -0.015em; }
.hero__name { background: linear-gradient(115deg, #ffffff 6%, #bcd6ff 44%, #9b5cff 94%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__role {
  margin: 0 0 2.1rem; font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--accent-spark); letter-spacing: 0.03em;
}
.hero__role::before {
  content: ''; display: inline-block; width: 30px; height: 2px; border-radius: 2px; vertical-align: middle;
  margin-inline-end: 12px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__figure { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: min(78vh, 620px); }
.hero__photo {
  position: relative; z-index: 1; width: auto; max-width: 100%; max-height: min(80vh, 640px);
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 26px 54px rgba(0,0,0,0.6));
}
.hero__photo-glow {
  position: absolute; z-index: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 92%; height: 82%; pointer-events: none; filter: blur(26px);
  background: radial-gradient(ellipse at 50% 72%, rgba(77,159,255,0.32), rgba(155,92,255,0.16) 46%, transparent 72%);
}

.chip {
  display: inline-flex; align-items: center; font-size: 0.82rem; font-weight: 500;
  color: var(--accent-spark); background: rgba(77,159,255,0.08);
  border: 1px solid rgba(77,159,255,0.22); border-radius: 999px; padding: 0.35rem 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.chip:hover { border-color: rgba(77,159,255,0.5); background: rgba(77,159,255,0.14); }

/* Tilt photo card (used in the hero figure) */
.tilt {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.25s ease; will-change: transform;
}
.tilt__inner {
  position: relative; overflow: hidden; border: 1px solid rgba(167,163,194,0.18); border-radius: 24px; aspect-ratio: 6 / 7;
  background: radial-gradient(120% 100% at 50% 0%, #1a2340, #0b0d18 72%);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.85), 0 0 80px -22px rgba(77,159,255,0.35);
}
.tilt__ring {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,0.16), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}
.tilt__img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; transform: translateZ(45px) scale(1.02); }
.tilt__glare {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 0.25s ease;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(214,232,255,0.18), transparent 60%);
}
.tilt:hover .tilt__glare { opacity: 1; }
.tilt__badge {
  position: absolute; z-index: 6; width: 54px; height: 54px; display: grid; place-items: center;
  font-size: 1.55rem; font-weight: 700; color: var(--accent-spark);
  font-family: Georgia, "Times New Roman", serif;
  background: rgba(16,16,26,0.82); border: 1px solid var(--line-strong); border-radius: 15px;
  backdrop-filter: blur(8px); box-shadow: 0 14px 34px -14px #000;
  top: 9%; inset-inline-start: -20px; animation: bob 5s ease-in-out infinite;
}
.tilt__badge--2 { top: auto; bottom: 12%; inset-inline-start: auto; inset-inline-end: -20px; color: var(--accent-2); animation-delay: 0.9s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== Motto strip ===== */
.motto-strip { background: var(--bg-panel); padding: 6.5vh 1.5rem; text-align: center; position: relative; }
.motto-strip__text {
  margin: 0; font-weight: 600; font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.02em; color: var(--text); text-shadow: 0 0 24px rgba(214,232,255,0.22);
}

/* shared section shell */
.philosophy, .method, .courses, .contact { background: var(--bg-panel); padding: 11vh 1.5rem; position: relative; }
.method__head, .courses__head, .contact__head { max-width: 720px; margin: 0 auto 3.4rem; text-align: center; }

/* glass look */
.philosophy__card, .course-card--feature, .channel {
  background: linear-gradient(155deg, rgba(243,241,250,0.07), rgba(243,241,250,0.02));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 30px 80px -30px rgba(0,0,0,0.65);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
}

/* ===== Philosophy ===== */
.philosophy { padding-block: 12vh; }
.philosophy__card {
  position: relative; overflow: hidden; max-width: 900px; margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.6rem, 5vw, 4rem); border-radius: 30px; text-align: center;
}
.philosophy__glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 70%; height: 80%; pointer-events: none; filter: blur(12px);
  background: radial-gradient(ellipse at 50% 0%, rgba(77,159,255,0.2), rgba(155,92,255,0.09) 50%, transparent 75%);
}
.philosophy .eyebrow { position: relative; }
.statement { position: relative; margin: 0 0 1.4rem; font-weight: 800; font-size: clamp(1.7rem, 5vw, 3.2rem); line-height: 1.5; color: var(--text-muted); }
.statement__yes { position: relative; color: var(--text); white-space: nowrap; }
.statement__yes::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0.04em; height: 0.1em; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: right; transition: transform 0.8s var(--ease) 0.3s;
}
.reveal.is-visible .statement__yes::after { transform: scaleX(1); }
.statement__no { color: rgba(167,163,194,0.55); text-decoration: line-through; text-decoration-color: rgba(167,163,194,0.5); text-decoration-thickness: 2px; white-space: nowrap; }
.statement__sep { color: rgba(167,163,194,0.6); }
.philosophy__sub { position: relative; max-width: 54ch; margin: 0 auto; font-size: 1.1rem; color: var(--text-muted); }

/* ===== Method ===== */
.method__grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.method__grid > .reveal { display: grid; }
.method__grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.method__grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.method-card {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem 1.7rem; border-radius: 20px;
  background: linear-gradient(160deg, rgba(243,241,250,0.05), rgba(243,241,250,0.015)); border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.method-card::before {
  content: ''; position: absolute; inset: 0 12% auto 12%; height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(77,159,255,0.8), transparent); transition: opacity 0.25s ease;
}
.method-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.8); }
.method-card:hover::before { opacity: 1; }
.method-card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px;
  color: var(--accent-spark); background: rgba(77,159,255,0.09); border: 1px solid rgba(77,159,255,0.22);
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.method-card:hover .method-card__icon { color: #fff; border-color: rgba(77,159,255,0.5); box-shadow: 0 0 24px -6px rgba(77,159,255,0.45); }
.method-card__index { margin: 1.4rem 0 0.2rem; font-weight: 800; font-size: 0.9rem; color: rgba(167,163,194,0.5); letter-spacing: 0.1em; }
.method-card__title { margin: 0 0 0.6rem; font-weight: 800; font-size: 1.35rem; color: var(--text); }
.method-card__text { margin: 0; font-size: 0.96rem; line-height: 1.9; color: var(--text-muted); }

/* ===== Courses ===== */
.courses { background: var(--bg-panel2); }
.courses__grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.courses__grid > .reveal { display: grid; }
.courses__grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.courses__grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.course-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; height: 100%;
  padding: 2rem 1.7rem; border-radius: 20px;
  background: linear-gradient(160deg, rgba(243,241,250,0.05), rgba(243,241,250,0.015)); border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.course-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.8); }
.course-card--feature { border-color: rgba(77,159,255,0.3); }
.course-card__glow { position: absolute; top: -50%; inset-inline: 0; height: 90%; pointer-events: none; filter: blur(14px); background: radial-gradient(ellipse at 50% 0%, rgba(77,159,255,0.16), transparent 70%); }
.course-card__tag {
  position: relative; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; color: var(--accent-spark);
  background: rgba(77,159,255,0.1); border: 1px solid rgba(77,159,255,0.22); padding: 4px 11px; border-radius: 8px; margin-bottom: 1.1rem;
}
.course-card__title { position: relative; margin: 0 0 0.6rem; font-weight: 800; font-size: 1.3rem; line-height: 1.4; color: var(--text); }
.course-card__text { position: relative; margin: 0 0 1.5rem; font-size: 0.96rem; line-height: 1.9; color: var(--text-muted); flex: 1; }
.course-card__link { position: relative; font-weight: 600; font-size: 0.95rem; color: var(--accent); border-bottom: 1.5px solid transparent; padding-bottom: 2px; transition: border-color 0.2s; }
.course-card__link:hover { border-bottom-color: currentColor; }

/* ===== Contact ===== */
.contact__grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.channel { display: flex; align-items: center; gap: 1rem; border-radius: 16px; padding: 1.15rem 1.3rem; transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s; }
.channel:hover { transform: translateY(-4px); border-color: rgba(77,159,255,0.45); }
.channel__icon {
  flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  color: var(--accent-spark); background: rgba(77,159,255,0.1); border: 1px solid rgba(77,159,255,0.22); transition: color 0.2s, background 0.2s;
}
.channel__icon svg { width: 24px; height: 24px; }
.channel:hover .channel__icon { color: #04121f; background: linear-gradient(135deg, var(--accent-spark), var(--accent)); border-color: transparent; }
.channel__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.channel__label { font-weight: 600; color: var(--text); font-size: 1rem; }
.channel__value { font-size: 0.82rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel__arrow { color: var(--text-muted); transition: transform 0.2s, color 0.2s; }
.channel:hover .channel__arrow { color: var(--accent); transform: translate(-3px, -3px); }

/* ===== Footer ===== */
.footer { background: var(--bg-panel2); border-top: 1px solid var(--line); padding: 2.6rem 1.5rem 1.6rem; }
.footer__main { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 13px; }
.footer__logo { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__brand-name { display: block; font-weight: 800; font-size: 1.05rem; color: var(--text); }
.footer__motto { margin: 0.25rem 0 0; font-size: 0.82rem; color: var(--text-muted); }
.footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; }
.footer__nav-link { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s ease; }
.footer__nav-link:hover, .footer__nav-link:focus-visible { color: var(--text); }
.footer__social { display: flex; align-items: center; gap: 1rem; }
.footer__icon { display: inline-flex; color: var(--text-muted); transition: color 0.2s ease; }
.footer__icon:hover, .footer__icon:focus-visible { color: var(--text); }
.footer__bottom { max-width: 1080px; margin: 1.8rem auto 0; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--text-muted); text-align: center; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.channel.is-nudge { animation: nudge 0.4s var(--ease); }
@keyframes nudge { 0%,100% { transform: translateX(0);} 25% { transform: translateX(6px);} 75% { transform: translateX(-6px);} }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: clamp(90px, 13vh, 130px); }
  .hero__inner { grid-template-columns: 1fr; gap: 1.4rem; text-align: center; justify-items: center; }
  .hero__figure { min-height: 0; }
  .hero__photo { max-height: 44vh; }
  .hero__actions { justify-content: center; }
  .method__grid, .courses__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .site-header__nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(7,7,15,0.97); backdrop-filter: blur(14px);
    padding: 14px clamp(18px,4vw,36px) 22px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform 0.35s var(--ease);
  }
  .site-header__nav.is-open { transform: translateY(0); }
  .site-header__nav-link { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line); }
  .site-header__nav-link::after { display: none; }
  .nav-toggle { display: flex; }
  .site-header__cta { display: none; }
}
@media (max-width: 620px) {
  .method__grid, .courses__grid, .contact__grid { grid-template-columns: 1fr; }
  .site-header__brand-name { display: none; }
  .footer__main { flex-direction: column; align-items: flex-start; }
  .tilt__badge { width: 46px; height: 46px; font-size: 1.3rem; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .statement__yes::after { transform: scaleX(1); }
  .tilt__badge { animation: none; }
}
