@font-face {
  font-family: "Vazirmatn";
  src: url("Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #17322c;
  --plum: #1e4d43;
  --wine: #32715f;
  --rose: #5c9b7a;
  --gold: #d5aa64;
  --cream: #f2f5ef;
  --paper: #fdfefb;
  --muted: #65736d;
  --line: rgba(30, 77, 67, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif; line-height: 1.85; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.skip-link { position: fixed; top: -100px; right: 1rem; z-index: 100; padding: .75rem 1rem; background: #fff; color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { position: relative; z-index: 20; background: #102a24; color: #fff; border-bottom: 1px solid rgba(255,255,255,.15); }
.nav-wrap { width: min(1180px, calc(100% - 48px)); height: 92px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand-logo-wrap { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; overflow: visible; border: 0; background: transparent; box-shadow: none; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand strong, .brand small { display: block; line-height: 1.35; }
.brand strong { font-size: 1.05rem; letter-spacing: 0; }
.brand small { opacity: .72; font-size: .78rem; margin-top: .15rem; }
nav { display: flex; gap: 2rem; font-size: .88rem; }
nav a { position: relative; opacity: .78; transition: opacity .2s; }
nav a:hover, nav a:focus-visible { opacity: 1; }
nav a::after { content: ""; position: absolute; right: 0; bottom: -.5rem; width: 0; height: 1px; background: var(--gold); transition: width .2s; }
nav a:hover::after, nav a:focus-visible::after { width: 100%; }
.menu-button { display: none; border: 0; background: transparent; padding: .5rem; }
.menu-button span { display: block; width: 24px; height: 1px; margin: 5px; background: #fff; }

.hero { min-height: 668px; height: calc(100svh - 92px); position: relative; display: grid; align-items: center; overflow: hidden; background: #102f28; color: #fff; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,35,29,.95) 0%, rgba(16,54,45,.78) 39%, rgba(16,54,45,.12) 68%), linear-gradient(0deg, rgba(9,35,29,.45), transparent 58%); }
.hero-content { position: relative; z-index: 2; width: min(560px, calc(50vw - 32px)); margin-right: auto; margin-left: max(24px, calc((100% - 1180px)/2)); direction: rtl; }
.eyebrow, .kicker { margin: 0 0 1.2rem; color: var(--rose); font-size: .86rem; font-weight: 700; letter-spacing: .06em; }
.eyebrow { display: flex; align-items: center; gap: .8rem; color: #e8c798; }
.eyebrow span { width: 36px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 1.5rem; font-size: clamp(3rem, 5.5vw, 5.35rem); font-weight: 600; line-height: 1.28; letter-spacing: -.025em; }
h1 em { color: var(--gold); font-family: inherit; font-weight: 350; font-style: normal; }
.contact h2 em { color: var(--gold); font-family: inherit; font-weight: 350; font-style: normal; }
.hero-copy { max-width: 570px; margin-bottom: 2rem; color: rgba(255,255,255,.75); font-size: 1.02rem; }
.hero-actions { display: flex; gap: .8rem; }
.button { min-height: 52px; padding: .7rem 1.5rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; font-weight: 700; font-size: .88rem; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--ink); }
.button-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.hero-actions .button { gap: .7rem; border-radius: 999px; padding: .55rem .7rem .55rem 1.25rem; }
.hero-actions .button::after { content: '↗'; width: 28px; height: 28px; display: grid; flex: 0 0 28px; place-items: center; border-radius: 50%; font-family: Arial, sans-serif; font-size: 1rem; font-weight: 400; line-height: 1; }
.hero-actions .button-primary::after { background: var(--ink); color: var(--gold); }
.hero-actions .button-ghost::after { border: 1px solid rgba(255,255,255,.35); color: var(--gold); }
.hero-meta { display: flex; gap: 1rem; align-items: center; margin-top: 4rem; color: rgba(255,255,255,.62); font-size: .82rem; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.scroll-cue { display: none; }
.scroll-cue b { color: var(--gold); font-size: 1.2rem; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

.section { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 7rem 0; }
.intro { display: grid; grid-template-columns: 70px 1.4fr .8fr; gap: 3.5rem; align-items: start; }
.section-number { padding-top: .55rem; color: var(--gold); font-family: Georgia, serif; font-size: 1rem; }
.intro h2, .section-head h2, .path h2 { font-size: clamp(2.1rem, 4vw, 4.4rem); line-height: 1.28; letter-spacing: -.04em; }
.intro h2 span, .mentor h2 span { color: var(--rose); font-family: inherit; font-style: normal; font-weight: 400; }
.intro-copy { padding-top: 2.8rem; color: var(--muted); }
.text-link { display: inline-flex; gap: .75rem; align-items: center; margin-top: 1.2rem; color: var(--plum); font-weight: 700; font-size: .86rem; }
.text-link span { color: var(--gold); font-size: 1.1rem; }

.courses { width: 100%; padding-right: max(24px, calc((100% - 1180px)/2)); padding-left: max(24px, calc((100% - 1180px)/2)); background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 390px; margin-bottom: .6rem; color: var(--muted); }
.course-grid { display: grid; gap: 1.25rem; }
.course-card { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 1.45fr) minmax(205px, .72fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: stretch; padding: clamp(1.6rem, 3.2vw, 3rem); border: 1px solid rgba(30,77,67,.14); border-radius: 24px; background: #e7f0ea; color: var(--ink); box-shadow: 0 14px 30px rgba(23,50,44,.05); overflow: hidden; }
.course-card:nth-child(2) { background: #edf4ef; }
.course-card:nth-child(3) { background: #e4efe8; }
.course-intro { position: relative; padding-left: 1rem; border-left: 1px solid rgba(30,77,67,.18); }
.course-index { display: inline-block; margin-bottom: 1.5rem; color: var(--gold); font-family: Georgia, serif; font-size: .92rem; letter-spacing: .12em; }
.course-icon { margin-bottom: 1.2rem; color: var(--plum); font-size: 2rem; line-height: 1; }
.course-card h3 { margin: 0 0 .85rem; font-size: clamp(1.28rem, 2vw, 1.65rem); line-height: 1.55; }
.course-card p { color: var(--muted); font-size: .92rem; }
.course-lead { margin: 0 0 1rem; font-weight: 700; line-height: 1.8; }
.course-meta { margin: 0; padding-top: 1rem; border-top: 1px solid rgba(30,77,67,.16); font-size: .88rem !important; line-height: 1.9; }
.course-details { display: flex; flex-direction: column; justify-content: center; padding: .15rem 0; }
.course-list { margin: 0; padding: 0 1.15rem 0 0; color: var(--ink); font-size: .92rem; line-height: 1.95; }
.course-list li + li { margin-top: .32rem; }
.course-note { margin: 1.2rem 0 0; padding: .85rem 1rem; border-right: 2px solid var(--gold); border-radius: 0 8px 8px 0; background: rgba(255,255,255,.48); font-size: .86rem !important; line-height: 1.9; }
.course-footer { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding-right: clamp(1rem, 2vw, 2rem); border-right: 1px solid rgba(30,77,67,.18); }
.course-pricing { display: grid; gap: .55rem; padding: 1rem; border-radius: 14px; background: var(--plum); color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.8; }
.course-tag { color: var(--rose); font-size: .84rem; line-height: 1.9; }

.mentor { display: grid; grid-template-columns: .96fr 1.04fr; min-height: 650px; margin: 7rem auto; padding: 0; align-items: stretch; overflow: hidden; border-radius: 38px; background: var(--plum); color: #fff; box-shadow: 0 28px 70px rgba(30,77,67,.18); }
.mentor-visual { position: relative; min-height: 650px; margin: 0; align-self: stretch; overflow: hidden; background: var(--ink); }
.mentor-visual::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(213,170,100,.75); border-radius: 22px; pointer-events: none; }
.mentor-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; transition: transform .7s ease; }
.mentor:hover .mentor-photo { transform: scale(1.025); }
.mentor-copy { position: relative; padding: clamp(3.5rem, 6vw, 6.5rem); display: flex; flex-direction: column; justify-content: center; }
.mentor-copy::before { content: ""; width: 64px; height: 2px; margin-bottom: 2rem; background: var(--gold); }
.mentor h2 { margin-bottom: 1.5rem; font-size: clamp(3.4rem, 6vw, 6rem); line-height: 1.05; }
.mentor h2 span, .mentor .kicker { color: #e6be83; }
.mentor-copy > p:not(.kicker) { max-width: 490px; color: rgba(255,255,255,.7); }
.mentor dl { margin-top: 2.2rem; }
.mentor dl div { padding: 1rem 0; display: grid; grid-template-columns: 120px 1fr; border-bottom: 1px solid rgba(255,255,255,.14); }
.mentor dt { color: rgba(255,255,255,.62); font-size: .86rem; }
.mentor dd { margin: 0; font-weight: 700; font-size: .88rem; }

.space { padding-top: 0; }
.space-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.8rem; }
.space-head h2 { margin: 0; font-size: clamp(2.25rem, 4.2vw, 4.25rem); line-height: 1.24; }
.space-head h2 span { color: var(--wine); }
.space-head > p { max-width: 340px; margin: 0 0 .45rem; color: var(--muted); line-height: 1.9; }
.space-gallery { display: grid; grid-template-columns: 1.1fr .9fr .9fr; grid-template-rows: 285px 285px; gap: 16px; }
.space-image { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: 18px; background: var(--ink); box-shadow: 0 16px 34px rgba(23,50,44,.12); }
.space-image-main { grid-row: span 2; }
.space-image-wide { grid-column: span 2; }
.space-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.space-image-main img { object-position: 48% center; }
.space-image-wide img { object-position: center 58%; }
.space-image:hover img { transform: scale(1.045); }
.space-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,35,29,.65), rgba(9,35,29,.05) 56%); pointer-events: none; }
.space-image figcaption { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; padding: .48rem .78rem; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(9,35,29,.23); backdrop-filter: blur(8px); color: #fff; font-size: .86rem; text-shadow: 0 1px 14px rgba(0,0,0,.24); }

.path { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; border-top: 1px solid var(--line); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { padding: 1.5rem 0; display: grid; grid-template-columns: 55px 1fr; gap: 1.2rem; border-bottom: 1px solid var(--line); }
.steps li > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--plum); font-family: Georgia, serif; }
.steps h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }

.contact { width: 100%; padding-right: max(24px, calc((100% - 1180px)/2)); padding-left: max(24px, calc((100% - 1180px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; background: var(--plum); color: #fff; }
.kicker.light { color: #e6be83; }
.contact h2 { margin: 0; font-size: clamp(3rem, 6vw, 6rem); line-height: 1.12; }
.contact-info { padding-top: 2.6rem; color: rgba(255,255,255,.7); }
.contact address, .instagram-link, .phone-link { min-height: 62px; margin-bottom: .8rem; padding: .72rem .8rem .72rem .95rem; display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; align-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.035); font-style: normal; transition: background .2s, transform .2s; }
.contact address { margin: 2rem 0 .8rem; }
.contact address span, .instagram-link span, .phone-link span { color: #e8c798; font-size: .86rem; }
.contact address strong { color: #fff; }
.pending-note { font-size: .86rem; opacity: .72; }
.instagram-link, .phone-link { color: #fff; }
.contact address:hover, .instagram-link:hover, .instagram-link:focus-visible, .phone-link:hover, .phone-link:focus-visible { background: rgba(255,255,255,.09); transform: translateY(-2px); }
.instagram-link strong, .phone-link strong { font-size: .92rem; }
.contact address b, .instagram-link b, .phone-link b, .instagram-icon { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(230,190,131,.55); border-radius: 50%; color: var(--gold); font-size: .92rem; }
.instagram-icon { padding: 5px; }

footer { min-height: 150px; padding: 2.5rem max(24px, calc((100% - 1180px)/2)); display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: #102a24; color: rgba(255,255,255,.62); font-size: .84rem; }
.footer-brand { color: #fff; }
.footer-brand .brand-logo-wrap { width: 58px; height: 58px; }
footer p { margin: 0; }

@media (max-width: 800px) {
  .nav-wrap { width: calc(100% - 32px); height: 76px; }
  .menu-button { display: block; }
  nav { position: absolute; top: 76px; right: 0; left: 0; padding: 1.5rem 2rem; display: none; flex-direction: column; gap: 1rem; background: rgba(12,42,35,.98); border-top: 1px solid rgba(255,255,255,.12); }
  nav.open { display: flex; }
  .hero { height: calc(100svh - 76px); min-height: 620px; max-height: 760px; display: grid; align-items: center; }
  .hero-image { position: absolute; inset: 0; height: 100%; object-position: 86% center; opacity: 1; }
  .hero-shade { background: linear-gradient(90deg, rgba(9,35,29,.96) 0%, rgba(9,35,29,.78) 48%, rgba(9,35,29,.08) 78%), linear-gradient(0deg, rgba(9,35,29,.72), transparent 58%); }
  .hero-content { width: min(54vw, 216px); margin: 0 auto 0 16px; }
  .hero .eyebrow { margin-bottom: .9rem; gap: .55rem; font-size: .76rem; }
  .hero .eyebrow span { width: 26px; }
  h1 { max-width: 220px; margin-bottom: 1.05rem; font-size: clamp(2.15rem, 9vw, 2.6rem); line-height: 1.2; }
  .hero-copy { margin-bottom: 1.35rem; font-size: .84rem; line-height: 1.7; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .6rem; }
  .hero-actions .button { min-height: 46px; padding: .42rem .55rem .42rem 1rem; border-radius: 999px; clip-path: none; font-size: .84rem; letter-spacing: .01em; }
  .hero-actions .button::after { width: 23px; height: 23px; flex-basis: 23px; font-size: .86rem; }
  .hero-actions .button-primary { box-shadow: 0 10px 22px rgba(213,170,100,.23), inset 0 1px 0 rgba(255,255,255,.3); }
  .hero-actions .button-ghost { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.055); backdrop-filter: blur(5px); }
  .hero-meta { margin-top: 1.55rem; gap: .45rem; flex-wrap: wrap; font-size: .74rem; }
  .section { width: calc(100% - 40px); padding: 5rem 0; }
  .intro { grid-template-columns: 1fr; gap: 1rem; }
  .section-number { display: none; }
  .intro-copy { padding-top: 0; }
  .courses, .contact { width: 100%; padding-right: 20px; padding-left: 20px; }
  .section-head { align-items: start; flex-direction: column; }
  .course-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; border-radius: 18px; }
  .course-intro { padding: 0 0 1.25rem; border-left: 0; border-bottom: 1px solid rgba(30,77,67,.18); }
  .course-index { margin-bottom: 1rem; }
  .course-icon { margin-bottom: .85rem; }
  .course-footer { gap: 1.25rem; padding: 1.25rem 0 0; border-right: 0; border-top: 1px solid rgba(30,77,67,.18); }
  .mentor { width: calc(100% - 40px); grid-template-columns: 1fr; margin: 5rem auto; border-radius: 28px; }
  .mentor-visual { width: 100%; min-height: 520px; margin: 0; }
  .mentor-visual::after { inset: 15px; border-radius: 18px; }
  .mentor-copy { padding: 3.5rem 2rem; }
  .space-head { align-items: start; flex-direction: column; gap: 1rem; }
  .space-gallery { width: calc(100% + 20px); margin-left: -20px; display: flex; gap: 12px; overflow-x: auto; padding: 0 20px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
  .space-image, .space-image-main, .space-image-wide { flex: 0 0 min(82vw, 320px); height: 430px; grid-column: auto; grid-row: auto; scroll-snap-align: start; border-radius: 18px; }
  .space-image-main img, .space-image-wide img { object-position: center; }
  .space-image figcaption { right: .9rem; bottom: .9rem; font-size: .82rem; }
  .path { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact { grid-template-columns: 1fr; gap: 1rem; }
  .contact-info { padding-top: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
