/* ═══════════════════════════════════════════
   WIZART — Editorial Design System
   ═══════════════════════════════════════════ */

/* ---------- فونت (self-hosted) ---------- */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/vazirmatn-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/vazirmatn-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/vazirmatn-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- توکن‌ها ---------- */
:root {
  --ink: #2A1B3D;
  --purple: #4a0d55;
  --magenta: #8e1470;
  --pink: #E52A6F;
  --amber: #F2A81D;
  --amber-2: #FFC24A;
  --amber-dark: #b07004;
  --blue: #67AECA;
  --indigo: #44318D;
  --bg: #FAF8F6;
  --bg-2: #F3EDF5;
  --cream: #FCF3E2;
  --muted: #6b5a7e;
  --muted-2: #4b3c5e;
  --line: rgba(42,27,61,.1);
  --line-2: rgba(42,27,61,.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Vazirmatn', system-ui, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; }
a { color: var(--purple); text-decoration: none; transition: color .25s, background .25s, transform .25s, border-color .25s, box-shadow .25s; }
a:hover { color: var(--pink); }
::selection { background: var(--amber); color: var(--ink); }
input::placeholder, textarea::placeholder { color: #9a8aab; font-family: 'Vazirmatn', sans-serif; }

@keyframes wzFloat { 0%,100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-10deg) translateY(-16px); } }
@keyframes wzMarquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes wzUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

.container { max-width: 1280px; margin: 0 auto; }
.wide { max-width: 1320px; }

/* ---------- سرصفحه ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 48px;
  background: rgba(250,248,246,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .logo img { height: 28px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--ink); }
.site-nav a:hover, .site-nav a.active { color: var(--pink); }
.btn-header {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg);
  font-weight: 700; font-size: 14px; padding: 11px 26px; border-radius: 999px;
}
.btn-header:hover { background: var(--purple); color: var(--bg); transform: translateY(-1px); }
.btn-header img { height: 16px; display: block; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- دکمه‌ها ---------- */
.btn { display: inline-block; font-weight: 800; border-radius: 999px; cursor: pointer; font-family: inherit; border: none; text-align: center; }
.btn-amber { background: var(--amber); color: var(--ink); font-size: 16px; padding: 15px 36px; box-shadow: 0 10px 30px rgba(242,168,29,.35); }
.btn-amber:hover { background: var(--amber-2); color: var(--ink); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 16px; padding: 15px 36px; background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-outline-light { border: 1.5px solid rgba(250,248,246,.6); color: var(--bg); font-weight: 700; font-size: 17px; padding: 16px 42px; background: transparent; }
.btn-outline-light:hover { border-color: var(--amber); color: var(--amber); }
.btn-ink { background: var(--ink); color: var(--bg); font-size: 14px; padding: 12px 28px; }
.btn-ink:hover { background: var(--purple); color: var(--bg); }

/* ---------- تایپوگرافی ادیتوریال ---------- */
.kicker { font-size: 13px; letter-spacing: 6px; color: var(--magenta); font-weight: 600; margin-bottom: 20px; }
.kicker-sm { font-size: 12px; letter-spacing: 5px; color: var(--magenta); font-weight: 600; margin-bottom: 16px; }
.stroke-amber { color: transparent; -webkit-text-stroke: 2.5px var(--amber); }
.stroke-pink { color: transparent; -webkit-text-stroke: 2.5px var(--pink); }
.stroke-purple { color: transparent; -webkit-text-stroke: 2.5px var(--purple); }
h2 .stroke-amber, h2 .stroke-pink, h2 .stroke-purple { -webkit-text-stroke-width: 2px; }
.h-display { margin: 0; font-size: clamp(42px, 5.4vw, 84px); font-weight: 900; line-height: 1.35; }
.h-section { margin: 0; font-size: clamp(32px, 3.4vw, 52px); font-weight: 900; }
.lead { margin: 26px 0 0; max-width: 640px; font-size: 18px; line-height: 2.1; color: var(--muted); font-weight: 300; }

/* ---------- تصویر / جای خالی ---------- */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(242,168,29,.14), transparent 55%),
    radial-gradient(120% 120% at 85% 100%, rgba(229,42,111,.12), transparent 55%),
    var(--bg-2);
  border: 1.5px dashed rgba(74,13,85,.28);
  color: var(--muted); font-size: 13px; font-weight: 600;
  text-align: center; padding: 16px;
}
.img-slot-hat { width: 34px; opacity: .4; }
.rounded { border-radius: 28px; overflow: hidden; }
.rounded-md { border-radius: 18px; overflow: hidden; }
.rounded-sm { border-radius: 14px; overflow: hidden; }
.circle { border-radius: 50%; overflow: hidden; }

/* ---------- هیروی خانه ---------- */
.hero { position: relative; padding: 90px 48px 40px; max-width: 1320px; margin: 0 auto; }
.hero-hat {
  position: absolute; top: 30px; left: 6%;
  width: clamp(100px, 12vw, 180px); opacity: .9;
  animation: wzFloat 9s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
.hero-hat-2 { position: absolute; top: 320px; right: -40px; width: 110px; opacity: .16; transform: rotate(24deg); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; animation: wzUp .9s ease both; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero-eyebrow .line { width: 46px; height: 1.5px; background: var(--ink); display: inline-block; }
.hero-eyebrow .txt { font-size: 13px; letter-spacing: 6px; font-weight: 600; color: var(--magenta); }
.hero h1 { margin: 0; font-size: clamp(46px, 6.4vw, 96px); font-weight: 900; line-height: 1.35; max-width: 1000px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: end; margin-top: 40px; }
.hero-lead { margin: 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 2.1; color: var(--muted); max-width: 560px; font-weight: 300; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; margin-top: 70px; z-index: 1; }
.hero-media .frame { width: 100%; height: clamp(320px, 44vw, 560px); display: block; box-shadow: 0 40px 90px rgba(42,27,61,.18); border-radius: 28px; overflow: hidden; }
.hero-badge {
  position: absolute; bottom: -22px; right: 40px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 600; padding: 12px 24px; border-radius: 999px;
  transform: rotate(-2deg);
}

/* ---------- نوار متحرک ---------- */
.marquee { margin: 90px 0 0; background: var(--ink); transform: rotate(-1.2deg) scale(1.02); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: wzMarquee 26s linear infinite reverse; }
.marquee-chunk { display: flex; align-items: center; gap: 34px; padding: 0 17px; white-space: nowrap; color: var(--bg); font-size: 17px; font-weight: 700; }
.marquee-chunk img { height: 20px; }

/* ---------- سکشن‌ها ---------- */
.section { padding: 110px 48px; }
.section-tight { padding: 20px 48px 90px; }
.deco { position: absolute; pointer-events: none; }

/* درباره */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.about-sticky { position: sticky; top: 110px; }
.grad-bar { width: 72px; height: 4px; background: linear-gradient(90deg, var(--amber), var(--pink)); border-radius: 2px; margin-top: 26px; }
.about-quote {
  margin: 0; font-size: clamp(24px, 2.3vw, 34px); font-weight: 800; line-height: 1.9;
  color: var(--ink); border-right: 4px solid var(--amber); padding-right: 28px;
}
.about-text { margin: 0; font-size: 17px; line-height: 2.1; color: var(--muted); font-weight: 300; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.mv-card { border-radius: 20px; padding: 30px; position: relative; overflow: hidden; transition: transform .3s; }
.mv-card:hover { transform: translateY(-4px); }
.mv-card.mission { background: var(--bg-2); }
.mv-card.vision { background: var(--cream); }
.mv-card .hat { position: absolute; left: -18px; bottom: -22px; width: 90px; opacity: .14; transform: rotate(-20deg); }
.mv-card .label { font-size: 14px; letter-spacing: 2px; font-weight: 800; margin-bottom: 12px; }
.mv-card.mission .label { color: var(--purple); }
.mv-card.vision .label { color: var(--amber-dark); }
.mv-card p { margin: 0; font-size: 16px; line-height: 2; color: var(--muted); font-weight: 300; }

/* هدر سکشن با لینک */
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 50px; }
.section-head p { margin: 0; max-width: 440px; font-size: 16px; line-height: 2; color: var(--muted); font-weight: 300; }
.more-link { font-size: 16px; font-weight: 800; color: var(--purple); display: flex; align-items: center; gap: 10px; }
.more-link .arr { font-size: 20px; }

/* تیم */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.team-card {
  background: var(--bg); border-radius: 22px; padding: 30px 24px; text-align: center;
  box-shadow: 0 6px 24px rgba(42,27,61,.06);
  transition: transform .3s, box-shadow .3s;
}
.team-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 20px 44px rgba(42,27,61,.14); }
.team-card:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.team-photo { width: 140px; height: 140px; margin: 0 auto; border-radius: 50%; overflow: hidden; }
.team-card .name { font-size: 19px; font-weight: 800; margin-top: 20px; }
.team-card .role { font-size: 14px; color: var(--magenta); font-weight: 700; margin-top: 6px; }
.team-card .bio { margin: 14px 0 0; font-size: 14px; line-height: 1.9; color: var(--muted); font-weight: 300; }

/* لیست فستیوال خانه */
.fest-list a {
  display: grid; grid-template-columns: 120px 1fr 200px 160px 40px; gap: 28px; align-items: center;
  padding: 34px 20px; border-top: 1.5px solid var(--line-2); color: var(--ink);
}
.fest-list a:hover { background: var(--bg-2); color: var(--ink); }
.fest-list .num { font-size: 58px; font-weight: 900; color: transparent; line-height: 1; }
.fest-list .t1 { display: block; font-size: clamp(22px, 2vw, 30px); font-weight: 900; }
.fest-list .t2 { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; font-weight: 400; }
.fest-list .date { font-size: 14px; font-weight: 700; }
.fest-list .thumb { width: 160px; height: 90px; border-radius: 14px; overflow: hidden; }
.fest-list .arr { font-size: 22px; }
.fest-list-end { border-top: 1.5px solid var(--line-2); }

/* نوار CTA */
.cta-band {
  background: linear-gradient(150deg, var(--purple), var(--magenta) 85%);
  border-radius: 32px; padding: 80px 64px; position: relative; overflow: hidden; text-align: center;
}
.cta-band .wordmark { width: min(380px, 60vw); display: block; margin: 0 auto; }
.cta-band p { margin: 26px auto 0; max-width: 560px; font-size: 18px; line-height: 2.1; color: #EBD9F0; font-weight: 300; }
.cta-band .btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.cta-band .btn-amber { font-size: 17px; padding: 16px 42px; box-shadow: 0 10px 34px rgba(0,0,0,.3); }

/* ---------- کارت کارگاه ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.ws-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 28px rgba(42,27,61,.06);
  transition: transform .3s, box-shadow .3s;
}
.ws-card:hover { transform: translateY(-6px); box-shadow: 0 24px 52px rgba(42,27,61,.14); }
.ws-cover { position: relative; height: 200px; }
.ws-badge { position: absolute; top: 16px; right: 16px; color: var(--bg); font-size: 12px; font-weight: 800; padding: 6px 16px; border-radius: 999px; }
.ws-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ws-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ws-meta .date { font-size: 13px; font-weight: 800; color: var(--amber-dark); }
.ws-meta .seats { font-size: 12px; font-weight: 700; color: var(--muted); }
.ws-card h3 { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.6; }
.ws-teacher { font-size: 14px; color: var(--muted); font-weight: 600; }
.ws-desc { margin: 0; font-size: 14px; line-height: 1.9; color: var(--muted); font-weight: 300; flex: 1; }
.ws-card .btn-ink { align-self: flex-start; }

/* فرم ثبت‌نام */
.register-band { padding: 110px 48px 130px; background: linear-gradient(150deg, var(--purple), var(--magenta) 90%); position: relative; overflow: hidden; }
.register-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; position: relative; }
.register-intro { color: var(--bg); }
.register-intro .kicker { color: var(--amber); letter-spacing: 5px; font-size: 12px; }
.register-intro h2 { margin: 0; font-size: clamp(30px, 3vw, 46px); font-weight: 900; line-height: 1.5; }
.register-intro p { margin: 20px 0 0; font-size: 16px; line-height: 2.1; color: #EBD9F0; font-weight: 300; }
.register-intro .wordmark { width: 220px; opacity: .85; margin-top: 44px; display: block; }
.register-form {
  background: var(--bg); border-radius: 26px; padding: 40px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 40px 90px rgba(0,0,0,.3);
}
.register-form .form-title { font-size: 15px; font-weight: 800; color: var(--purple); display: flex; align-items: center; gap: 10px; }
.register-form .form-title img { height: 18px; }
.field {
  background: #fff; border: 1.5px solid rgba(42,27,61,.2); border-radius: 12px;
  padding: 14px 16px; color: var(--ink); font-size: 15px; font-family: inherit;
  outline: none; width: 100%;
}
.field:focus { border-color: var(--amber); }
select.field { cursor: pointer; }
textarea.field { resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit { background: var(--amber); color: var(--ink); font-weight: 800; font-size: 16px; padding: 15px; border: none; border-radius: 999px; cursor: pointer; font-family: inherit; transition: background .25s; }
.btn-submit:hover { background: var(--amber-2); }
.form-msg { text-align: center; font-size: 14px; font-weight: 700; border-radius: 12px; padding: 12px; }
.form-msg.err { color: var(--pink); background: rgba(229,42,111,.08); border: 1px solid rgba(229,42,111,.3); }
.form-msg.ok { color: #2e7d4f; background: rgba(46,125,79,.08); border: 1px solid rgba(46,125,79,.3); font-size: 15px; }

/* ---------- آرشیو فستیوال ---------- */
.fest-articles { display: flex; flex-direction: column; gap: 120px; }
.fest-article { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fest-article .head { display: flex; align-items: center; gap: 18px; }
.fest-article .big-num { font-size: 84px; font-weight: 900; color: transparent; line-height: 1; }
.fest-article .date { font-size: 13px; letter-spacing: 2px; font-weight: 800; }
.fest-article h2 { margin: 4px 0 0; font-size: clamp(26px, 2.4vw, 40px); font-weight: 900; }
.fest-article .desc { margin: 26px 0 0; font-size: 17px; line-height: 2.1; color: var(--muted); font-weight: 300; }
.fest-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fest-tags span { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--bg-2); padding: 8px 18px; border-radius: 999px; }
.fest-media { position: relative; }
.fest-main { width: 100%; height: 400px; border-radius: 26px; overflow: hidden; box-shadow: 0 34px 80px rgba(42,27,61,.18); }
.fest-main.tilt-l { transform: rotate(-1deg); }
.fest-main.tilt-r { transform: rotate(1deg); }
.fest-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.fest-thumbs > div, .fest-thumbs > a { position: relative; height: 100px; border-radius: 14px; overflow: hidden; display: block; }
.play-overlay { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.play-overlay .disc {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(250,248,246,.85); border: 1.5px solid var(--purple);
  display: grid; place-items: center; color: var(--purple); font-size: 14px; padding-right: 3px;
}

/* موزاییک لحظه‌ها */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 16px; }
.mosaic-item { position: relative; transition: transform .3s; border-radius: 16px; overflow: hidden; }
.mosaic-item:hover { transform: scale(1.02) rotate(-1deg); }
.mosaic-item.big { grid-column: span 2; grid-row: span 2; }
.mosaic-item.tall { grid-row: span 2; }
.mosaic-item .play-overlay .disc { width: 48px; height: 48px; font-size: 16px; }

/* ---------- برنامه‌ها ---------- */
.programs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prog-col-title { margin: 0 0 28px; font-size: 24px; font-weight: 900; display: flex; align-items: center; gap: 12px; }
.prog-col-title .bar { width: 34px; height: 3px; border-radius: 2px; display: inline-block; }
.prog-col-title.past { color: var(--muted); }
.prog-col-title.past .bar { background: #A4B3B6; }
.prog-col-title.future { color: var(--amber-dark); }
.prog-col-title.future .bar { background: var(--amber); }
.prog-list { display: flex; flex-direction: column; gap: 18px; }
.prog-past {
  display: flex; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  box-shadow: 0 4px 18px rgba(42,27,61,.05);
  transition: transform .3s, box-shadow .3s;
}
.prog-past:hover { transform: translateX(-4px); box-shadow: 0 12px 30px rgba(42,27,61,.1); }
.prog-past .pic { width: 108px; height: 84px; flex-shrink: 0; border-radius: 12px; overflow: hidden; }
.prog-past .date { font-size: 13px; color: var(--blue); font-weight: 700; }
.prog-past .title { font-size: 18px; font-weight: 800; margin-top: 4px; }
.prog-past p { margin: 6px 0 0; font-size: 14px; line-height: 1.8; color: var(--muted); font-weight: 300; }
.prog-future {
  background: linear-gradient(135deg, var(--cream), #FBEAEF);
  border: 1px solid rgba(242,168,29,.35); border-radius: 18px; padding: 26px;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.prog-future:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(42,27,61,.1); }
.prog-future .hat { position: absolute; left: -20px; bottom: -26px; width: 100px; opacity: .14; transform: rotate(-18deg); }
.prog-future .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.prog-future .date { font-size: 13px; color: var(--amber-dark); font-weight: 800; }
.prog-future .title { font-size: 20px; font-weight: 800; margin-top: 6px; }
.prog-future p { margin: 14px 0 0; font-size: 15px; line-height: 1.9; color: var(--muted); font-weight: 300; }
.prog-future .btn { font-size: 14px; padding: 10px 22px; box-shadow: none; }

/* ---------- مدرسان ---------- */
.teachers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.teacher-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  color: var(--ink); box-shadow: 0 8px 28px rgba(42,27,61,.06);
  transition: transform .3s, box-shadow .3s;
}
.teacher-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 26px 56px rgba(42,27,61,.16); color: var(--ink); }
.teacher-card:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
.teacher-card .cover { position: relative; height: 320px; }
.teacher-card .hat { position: absolute; top: 16px; left: 16px; width: 44px; transform: rotate(-14deg); }
.teacher-card .body { padding: 28px; }
.teacher-card .name { font-size: 22px; font-weight: 900; }
.teacher-card .field { font-size: 14px; font-weight: 800; margin-top: 6px; }
.teacher-card .short { margin: 14px 0 0; font-size: 15px; line-height: 2; color: var(--muted); font-weight: 300; }
.teacher-card .cta { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 15px; font-weight: 800; color: var(--purple); }

/* صفحهٔ مدرس */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.back-link:hover { color: var(--pink); }
.teacher-hero { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; margin-top: 40px; }
.teacher-hero h1 { margin: 0; font-size: clamp(40px, 4.6vw, 70px); font-weight: 900; line-height: 1.35; }
.teacher-hero .field { font-size: 19px; font-weight: 800; margin-top: 14px; }
.teacher-hero .lead { max-width: 540px; }
.teacher-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.teacher-hero .btn-amber { font-size: 15px; padding: 13px 30px; }
.teacher-hero .btn-outline { font-size: 15px; padding: 13px 30px; }
.portrait-wrap { position: relative; }
.portrait-wrap .hat { position: absolute; top: -40px; right: -24px; width: 110px; transform: rotate(16deg); z-index: 1; }
.portrait { width: 100%; height: 460px; border-radius: 28px; overflow: hidden; box-shadow: 0 34px 80px rgba(42,27,61,.2); transform: rotate(-1.5deg); }
.bio-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.bio-grid .sticky { position: sticky; top: 110px; }
.bio-grid h2 { margin: 0; font-size: 30px; font-weight: 900; }
.bio-bar { width: 56px; height: 4px; background: var(--amber); border-radius: 2px; margin-top: 18px; }
.bio-text { display: flex; flex-direction: column; gap: 22px; font-size: 17px; line-height: 2.2; color: var(--muted-2); font-weight: 300; }
.bio-text p { margin: 0; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 16px; }
.works-grid .w1 { grid-column: span 2; grid-row: span 2; }
.works-grid .w4 { grid-column: span 2; }
.works-grid > div { border-radius: 18px; overflow: hidden; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.related-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  box-shadow: 0 6px 22px rgba(42,27,61,.05);
  transition: transform .3s, box-shadow .3s;
}
.related-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(42,27,61,.12); }

/* ---------- پاصفحه ---------- */
.site-footer {
  background: linear-gradient(160deg, #35093f, #22072b 75%);
  color: #F5EFF7; padding: 80px 48px 40px;
  position: relative; overflow: hidden;
}
.footer-hat { position: absolute; left: -60px; bottom: -70px; width: 320px; opacity: .07; transform: rotate(-18deg); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; align-items: start; position: relative; }
.footer-grid .wordmark { width: 210px; display: block; }
.footer-about { margin: 20px 0 0; font-size: 15px; line-height: 2; color: #C9B8D4; font-weight: 300; max-width: 340px; }
.footer-title { font-size: 14px; font-weight: 800; color: var(--amber); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-links a { color: #D9C8E6; }
.footer-links a:hover { color: var(--amber); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: #C9B8D4; font-weight: 300; }
.footer-bottom {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(201,184,212,.25);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #9d86b3; position: relative;
}

/* ---------- گندم صفحه ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .035;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="160" height="160" filter="url(%23n)" opacity="0.7"/></svg>');
}

/* ═══════════ ریسپانسیو ═══════════ */
@media (max-width: 1020px) {
  .about-grid, .register-grid, .teacher-hero, .bio-grid { grid-template-columns: 1fr; }
  .about-sticky, .bio-grid .sticky { position: static; }
  .fest-article { grid-template-columns: 1fr; gap: 36px; }
  .fest-article .media-first { order: -1; }
  .programs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fest-list a { grid-template-columns: 70px 1fr 40px; }
  .fest-list .date, .fest-list .thumb { display: none; }
  .fest-list .num { font-size: 40px; }
}
@media (max-width: 760px) {
  .site-header { padding: 12px 20px; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line-2);
    padding: 10px 20px 20px;
  }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .btn-header span { display: none; }
  .btn-header { padding: 11px 16px; }
  .hero, .section, .section-tight, .register-band { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 50px; }
  .hero-hat { top: 0; opacity: .5; }
  .section { padding-top: 70px; padding-bottom: 70px; }
  .cta-band { padding: 56px 24px; }
  .mv-grid, .form-2col { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { padding: 60px 20px 30px; }
  .register-form { padding: 26px 20px; }
  .fest-main { height: 280px; }
  .portrait { height: 360px; }
  .marquee { margin-top: 60px; }
}
