/* Khaled Salameh: ivory, burgundy, and clearly highlighted teaching areas. */
:root { --paper:#fff8f0; --ink:#421b2b; --green:#531c34; --muted:#634852; --rule:#dec9d1; --accent:#ffd8ab; --serif:Georgia,'Times New Roman',serif; --sans:'Helvetica Neue',Arial,sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:var(--sans); -webkit-font-smoothing:antialiased; }
a { color:inherit; }
svg { display:block; }
a:focus-visible,button:focus-visible { outline:3px solid #8b2946; outline-offset:5px; }
.page { min-height:100svh; max-width:1600px; margin:auto; padding:0 clamp(24px,5.6vw,90px); display:flex; flex-direction:column; }
.header { min-height:76px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--rule); gap:16px; }
.identity { display:flex; align-items:center; gap:13px; text-decoration:none; font-family:var(--serif); font-size:24px; letter-spacing:-.5px; }
.brand-mark { width:42px; height:auto; flex-shrink:0; display:block; }
.mentor-intro { margin:10px 0 12px; }
.portrait { display:block; width:128px; height:128px; margin:0 auto 18px; object-fit:cover; object-position:50% 25%; border-radius:50%; border:2px solid var(--accent); }
.identity small { display:block; font-family:var(--sans); font-size:11px; letter-spacing:1.2px; margin-top:4px; }
.header-actions { display:flex; align-items:center; }
.language-toggle { font:14px Tahoma,Arial,sans-serif; color:var(--ink); background:transparent; border:1px solid #9b7382; border-radius:3px; padding:8px 13px; min-height:40px; cursor:pointer; }
.language-toggle:hover { background:#f6edf1; }
.language-toggle[hidden] { display:none; }
main { flex:1; display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(40px,7vw,110px); align-items:center; padding:28px 0; max-width:1200px; width:100%; margin:auto; }
h1 { font-family:var(--serif); font-size:clamp(44px,4.2vw,62px); font-weight:400; letter-spacing:-2px; line-height:1.08; margin:0; }
h1 em { font-weight:400; color:#8b2946; }
.lead { font-size:18px; color:var(--muted); line-height:1.5; margin:22px 0 28px; max-width:390px; }
.services { border-top:1px solid var(--rule); }
.service { padding:14px 0; display:flex; gap:14px; align-items:center; border-bottom:1px solid var(--rule); }
.number { display:flex; align-items:center; justify-content:center; width:32px; height:32px; flex:0 0 32px; border-radius:50%; background:var(--green); color:#fff; font-family:var(--sans); font-size:12px; font-weight:600; }
.service h2 { font-weight:700; font-size:18px; margin:0 0 6px; }
.service p { font-size:14px; line-height:1.45; color:var(--muted); margin:0; }
.subject { display:inline-block; font-size:12px; line-height:1.5; color:#75233e; font-weight:500; }
.mentor { background:var(--green); color:var(--paper); padding:24px 30px; position:relative; border-radius:3px; box-shadow:0 16px 35px #421b2b09; }
.mentor-top { display:flex; align-items:center; justify-content:space-between; font-size:10px; letter-spacing:1.4px; color:#f0dae1; }
.mentor-top svg { width:24px; height:24px; stroke:var(--accent); stroke-width:1; }
.meet { font-family:var(--serif); font-size:32px; letter-spacing:-.7px; margin:0 0 12px; }
.mentor-copy { font-size:16px; line-height:1.65; color:#f0dae1; margin:0; }
.credentials { border-top:1px solid #ffffff24; padding-top:18px; margin-top:20px; }
.credentials .eyebrow { color:#f0dae1; font-size:11px; letter-spacing:1.2px; margin:0 0 12px; }
.credentials>p:not(.eyebrow) { font-size:16px; line-height:1.4; margin:10px 0; }
.credentials>p>span { display:block; color:#f0dae1; font-size:13px; margin-bottom:3px; }
.contact { margin-top:20px; }
.whatsapp { background:#ffd8ab; color:var(--green); display:flex; align-items:center; justify-content:center; gap:12px; min-height:54px; padding:12px 15px; border:1px solid transparent; border-radius:2px; text-decoration:none; font-size:16px; font-weight:600; transition:background .15s; }
.whatsapp[href]:hover { background:#ffe5c7; }
.whatsapp>svg { width:24px; height:24px; flex:0 0 24px; fill:currentColor; stroke:none; }
.whatsapp>span:last-child { margin-inline-start:auto; font-size:20px; font-weight:400; }
.contact>p { font-size:12px; line-height:1.4; color:#f0dae1; text-align:center; margin:10px 0 0; }
footer { min-height:48px; display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:11px; color:var(--muted); border-top:1px solid var(--rule); }
footer>span:first-child { font-family:var(--serif); font-style:italic; font-size:14px; }
.footer-dot { padding:0 8px; }
[lang=ar] body { font-family:Tahoma,Arial,sans-serif; }
[lang=ar] .identity,[lang=ar] .meet,[lang=ar] h1,[lang=ar] footer>span:first-child { font-family:Tahoma,Arial,sans-serif; letter-spacing:0; }
[lang=ar] h1 { font-size:clamp(42px,4vw,58px); line-height:1.3; }
[lang=ar] h1 em { font-style:normal; }
[lang=ar] .identity small,[lang=ar] .eyebrow,[lang=ar] .mentor-top { letter-spacing:0; }
[lang=ar] .mentor-top { font-size:12px; }
[lang=ar] .meet { font-size:30px; }
[lang=ar] .whatsapp>span:last-child { transform:scaleX(-1); }
@media(min-width:901px) and (max-height:800px) {
  .header { min-height:64px; }
  main { padding:20px 0; }
  .mentor { padding:20px 26px; }
  .mentor-intro { margin:8px 0 12px; }
  .portrait { width:100px; height:100px; margin-bottom:12px; }
  .credentials { margin-top:16px; padding-top:14px; }
  .contact { margin-top:16px; }
  footer { min-height:40px; }
}
@media(max-width:900px) {
  .page { padding:0 23px; }
  .header { min-height:64px; }
  .identity { font-size:22px; gap:10px; }
  .identity small { font-size:10px; }
  .brand-mark { width:36px; }
  .language-toggle { font-size:13px; min-height:38px; padding:7px 10px; }
  main { display:flex; flex-direction:column; gap:20px; padding:20px 0; justify-content:center; align-items:stretch; max-width:500px; }
  h1 { font-size:43px; letter-spacing:-1.5px; }
  h1 br { display:none; }
  h1 em::before { content:' '; }
  .lead { font-size:16px; margin:12px 0 18px; }
  .service { padding:10px 0; gap:10px; }
  .number { width:26px; height:26px; flex-basis:26px; font-size:11px; }
  .service h2 { font-size:16px; margin-bottom:4px; }
  .service p { font-size:13px; }
  .subject { font-size:12px; }
  .mentor { padding:18px 20px; }
  .mentor-top,.mentor-copy { display:none; }
  .mentor-intro { display:flex; align-items:center; gap:12px; margin:0 0 12px; }
  .portrait { width:64px; height:72px; flex:0 0 64px; border-radius:5px; margin:0; object-position:50% 25%; }
  .mentor-intro .meet { margin:0; font-size:24px; }
  .meet { font-size:27px; margin-bottom:12px; }
  .credentials { margin:0; padding-top:8px; }
  .credentials .eyebrow { display:none; }
  .credentials>p:not(.eyebrow) { font-size:15px; margin:8px 0; }
  .credentials>p>span { font-size:12px; margin-bottom:1px; }
  .contact { margin-top:14px; }
  .whatsapp { min-height:48px; font-size:15px; }
  .contact>p { font-size:11px; margin-top:8px; }
  footer { min-height:36px; font-size:10px; justify-content:center; }
  footer>span:first-child { display:none; }
  [lang=ar] h1 { font-size:40px; line-height:1.3; }
  [lang=ar] .meet { font-size:26px; }
}
@media(max-width:900px) and (max-height:700px) {
  .mentor-intro { margin-bottom:8px; }
  .header { min-height:56px; }
  main { padding:8px 0; gap:10px; }
  h1 { font-size:37px; }
  .lead { margin:8px 0; }
  .service { padding:7px 0; }
  .mentor { padding:14px 17px; }
  .meet { margin-bottom:8px; }
  .credentials>p:not(.eyebrow) { margin:6px 0; }
  .contact { margin-top:10px; }
  footer { min-height:28px; }
  [lang=ar] h1 { font-size:35px; }
}
@media(max-width:900px) and (max-height:600px) {
  .portrait { width:52px; height:58px; flex-basis:52px; }
  .contact>p { display:none; }
  .header { min-height:52px; }
  h1 { font-size:34px; }
  .service p,footer { display:none; }
  .service { min-height:38px; padding:6px 0; }
  .service h2 { margin:0; font-size:15px; }
  .subject { font-size:11px; }
  [lang=ar] h1 { font-size:32px; }
}
@media(max-width:360px) {
  .meet { font-size:22px; }
  .mentor-intro .meet { font-size:21px; }
  .page { padding:0 18px; }
  .identity { font-size:19px; gap:8px; }
  .identity small { font-size:9px; }
  .brand-mark { width:32px; }
  .language-toggle { padding:6px 8px; }
  .service h2 { font-size:14px; }
  .subject { font-size:10px; }
  .whatsapp { gap:9px; font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { * { transition:none!important; } }
