:root {
  --ink: #193246;
  --navy: #102b42;
  --muted: #526979;
  --blue: #225ccf;
  --blue-deep: #1649ae;
  --sky: #eef5ff;
  --paper: #f6f9fc;
  --line: #dce6ee;
  --max: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 17px/1.7 "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: 5px; }
a:hover { color: #0c377e; }
a:focus-visible, button:focus-visible { outline: 3px solid #138bc7; outline-offset: 4px; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.13; letter-spacing: -.045em; }
h1 { font-size: clamp(3.25rem, 5.8vw, 5.65rem); font-weight: 600; }
h2 { font-size: clamp(2.25rem, 3.6vw, 3.4rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }
p + p { margin-top: 20px; }
.wrap { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: -90px; left: 12px; z-index: 50; padding: 12px 16px; background: #fff; }
.skip:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #e5edf3; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--navy); }
.brand-mark { display: inline-flex; align-items: baseline; justify-content: center; width: 44px; height: 44px; padding-top: 6px; border-radius: 14px; background: var(--blue); color: #fff; font-size: 31px; font-weight: 700; line-height: 1; letter-spacing: -.08em; }
.brand-mark span { color: #a9d9fc; }
.brand-lockup { display: flex; flex-direction: column; gap: 0; }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: -.055em; line-height: 1.08; }
.brand-subtitle { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); line-height: 1.55; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: #33495b; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .nav-contact { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 8px; background: var(--navy); color: #fff; }
.nav .nav-contact:hover, .nav .nav-contact[aria-current="page"] { background: var(--blue); color: #fff; }
.menu-toggle { display: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 21px; color: var(--blue-deep); font-size: 12px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-line { width: 22px; height: 2px; flex: 0 0 auto; background: currentColor; }
.lead { color: var(--muted); font-size: 1.2rem; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 12px 21px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--blue-deep); color: #fff; }
.button span { font-size: 20px; font-weight: 400; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 700; text-decoration-thickness: 1px; }
.text-link span { font-size: 20px; font-weight: 400; line-height: 1; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; margin-top: 34px; }

.hero { overflow: hidden; padding: 70px 0 74px; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: clamp(45px, 6vw, 100px); }
.hero-copy { padding: 8px 0; }
.hero h1 { max-width: 690px; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero .lead { max-width: 530px; margin-top: 29px; }
.hero-locations { display: flex; align-items: center; gap: 13px; margin-top: 78px; color: #677e8f; font-size: 13px; font-weight: 600; letter-spacing: .035em; }
.hero-locations span { color: #9db1c0; }
.hero-visual { position: relative; min-width: 0; }
.hero-image { width: 100%; height: min(570px, 45vw); min-height: 450px; object-fit: cover; object-position: 43% center; border-radius: 18px; }

.section { padding: 110px 0; }
.intro { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(60px, 9vw, 135px); align-items: center; }
.intro-image { position: relative; }
.intro-image::before { content: ""; position: absolute; top: -20px; left: -20px; width: 35%; height: 35%; border-top: 2px solid #a9caed; border-left: 2px solid #a9caed; border-radius: 14px 0 0 0; }
.intro-photo { position: relative; width: 100%; height: 545px; object-fit: cover; object-position: center 23%; border-radius: 14px; }
.intro-copy h2 { max-width: 650px; margin-bottom: 29px; }
.intro-copy p:not(.eyebrow) { max-width: 600px; color: var(--muted); }
.intro-copy .text-link { margin-top: 30px; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 80px; margin-bottom: 50px; }
.section-heading h2 { max-width: 680px; }
.section-heading > p { max-width: 430px; padding-bottom: 6px; color: var(--muted); }
.services-section { background: #fff; border-top: 1px solid #edf1f4; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.service { min-height: 220px; padding: 26px 12px 38px 0; border-top: 1px solid #cad9e5; }
.service-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--sky); }
.service-icon img { width: 30px; height: 30px; }
.service-number { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.service h3 { margin-bottom: 11px; font-size: 1.36rem; }
.service p { max-width: 260px; color: var(--muted); font-size: 15px; line-height: 1.6; }

.team-section { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-photo { width: 100%; aspect-ratio: 1/1.13; margin-bottom: 22px; border-radius: 12px; background: #e1e9ef; object-fit: cover; object-position: center 24%; }
.team-photo.atefeh { object-position: center 20%; }
.team h3 { margin-bottom: 7px; font-size: 1.3rem; }
.team p { color: var(--muted); font-size: 14px; }

.workshop-section { background: #fff; }
.workshops { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(60px, 8vw, 120px); }
.workshop-copy h2 { margin-bottom: 27px; }
.workshop-copy p:not(.eyebrow) { color: var(--muted); }
.workshop-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.workshop-copy li { position: relative; padding-left: 18px; font-size: 15px; font-weight: 600; }
.workshop-copy li::before { content: ""; position: absolute; top: .72em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.workshop-photo { width: 100%; height: 475px; object-fit: cover; border-radius: 14px; }

.location-section { background: var(--navy); }
.location-section .eyebrow, .location-section h2 { color: #fff; }
.locations { display: grid; grid-template-columns: 1fr; }
.location { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 0 44px; min-width: 0; padding: 30px 34px 35px; border: 1px solid #37546a; border-radius: 12px; background: #173951; }
.location-number { display: block; grid-column: 1 / -1; margin-bottom: 22px; color: #a8d1ff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.location-map { display: block; overflow: hidden; border-radius: 8px; background: #fff; }
.location-map img { width: 100%; height: auto; }
.location-copy h3 { margin-bottom: 17px; color: #fff; font-size: 1.65rem; }
.location address { color: #d4e3ec; font-size: 15px; font-style: normal; min-height: 93px; }
.location-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 23px; }
.location .text-link { color: #fff; }
.location .text-link:hover { color: #a8d1ff; }

.footer { padding: 64px 0 28px; background: #0a2133; color: #d1dfe9; }
.footer h2 { color: #fff; font-size: 1.85rem; font-weight: 700; letter-spacing: -.04em; }
.footer-dot { color: #80bcff; }
.footer p { margin-top: 9px; font-size: 14px; }
.footer a { color: #e7f3ff; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 53px; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 30px; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-top: 23px; border-top: 1px solid #294358; color: #aebfcc; font-size: 12px; }

.page-head { padding: 84px 0; background: var(--paper); }
.page-head h1 { max-width: 780px; font-size: clamp(3rem, 5vw, 5rem); }
.page-head .lead { max-width: 700px; margin-top: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-details { display: grid; gap: 32px; }
.contact-details > div { padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.contact-details h2 { margin-bottom: 10px; font-size: 1.05rem; letter-spacing: 0; }
.contact-details a { font-size: clamp(1.1rem, 2vw, 1.55rem); overflow-wrap: anywhere; }
.contact-details p { color: var(--muted); }
.contact-details .text-link { display: inline-block; margin-top: 12px; font-size: 15px; }
.referral { align-self: start; padding: 46px; border-radius: 14px; background: var(--sky); }
.referral h2 { margin-bottom: 25px; font-size: 2.1rem; }
.referral a { font-size: 1.1rem; font-weight: 700; overflow-wrap: anywhere; }
.referral p:not(.eyebrow) { margin-top: 22px; color: var(--muted); }
.profile-layout { display: grid; grid-template-columns: 250px 1fr; align-items: start; gap: 100px; }
.profile-aside { position: sticky; top: 130px; }
.profile-aside img { width: 100%; margin-bottom: 23px; border-radius: 12px; }
.profile-aside p { font-size: 14px; }
.resume-section { padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line); }
.resume-section h2 { margin-bottom: 29px; font-size: 2rem; }
.resume-section h3 { margin: 29px 0 15px; font-size: 1.25rem; }
.resume-section p { max-width: 750px; margin-bottom: 19px; }
.resume-section ul { padding-left: 22px; }
.resume-section li { padding: 4px 0; }
.video-section + .video-section { margin-top: 65px; }
.video-section h2 { margin-bottom: 26px; font-size: 2rem; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.video-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; background: var(--paper); }
.video-card p { margin-top: 8px; font-size: 14px; }
.sitemap-list { max-width: 760px; margin: 0; padding: 0; list-style: none; }
.sitemap-list li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.sitemap-list a { font-size: 1.35rem; font-weight: 600; }
.sitemap-list p { margin-top: 6px; color: var(--muted); }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 52px); }
  .nav { gap: 19px; }
  .hero-grid { gap: 42px; }
  .hero-image { min-height: 430px; }
  .intro, .workshops { gap: 55px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service { min-height: 210px; }
  .team-grid { gap: 17px; }
  .profile-layout { gap: 55px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: 0; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 28px; }
  .brand-name { font-size: 19px; }
  .brand-subtitle { font-size: 9px; }
  .menu-toggle { display: block; }
  .nav { width: 100%; padding: 8px 0 18px; flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
  .nav a { padding: 12px 9px; }
  .nav .nav-contact { justify-content: center; margin-top: 8px; }
  .hero { padding: 54px 0 45px; }
  .hero-grid, .intro, .workshops { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: clamp(3.05rem, 11vw, 4.6rem); }
  .hero .lead { font-size: 1.08rem; margin-top: 23px; }
  .hero-locations { margin-top: 35px; }
  .hero-image { height: 350px; min-height: 0; border-radius: 12px; }
  .section { padding: 76px 0; }
  .intro { gap: 37px; }
  .intro-image::before { top: -10px; left: -10px; }
  .intro-photo { height: 375px; }
  .section-heading { display: block; margin-bottom: 36px; }
  .section-heading > p { margin-top: 20px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
  .team h3 { font-size: 1.12rem; }
  .team p { font-size: 13px; }
  .team-photo { margin-bottom: 15px; }
  .workshops { gap: 38px; }
  .workshop-photo { height: 330px; }
  .locations, .contact-grid, .profile-layout { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; min-height: 0; }
  .location-number { margin-bottom: 33px; }
  .location-map { margin-bottom: 27px; }
  .location address { min-height: 0; }
  .footer-top { display: block; padding-bottom: 37px; }
  .footer-nav { margin-top: 29px; gap: 12px 22px; }
  .page-head { padding: 55px 0; }
  .contact-grid { gap: 43px; }
  .referral { padding: 32px; }
  .profile-layout { gap: 45px; }
  .profile-aside { position: static; display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 20px; }
  .profile-aside img { margin: 0; }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .wrap { width: calc(100% - 36px); }
  .brand { gap: 9px; }
  .brand-name { font-size: 18px; }
  .hero h1 { font-size: clamp(2.8rem, 10.8vw, 3.5rem); }
  .actions { gap: 21px; }
  .hero-image { height: 300px; }
  .service-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 23px 0 35px; }
  .workshop-copy ul { grid-template-columns: 1fr; }
  .location { padding: 27px; }
  .referral { padding: 27px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
