/* ATHR public website — v3 modern layer (loaded last). Visual only: it never moves or hides the texts written in the pages.
   Identity of the Saudi Center for Down Syndrome: white + beige base, wine & gold accents, teal and green highlights. */
:root{
 --v3-wine:#7f222d;--v3-wine-d:#4f101a;--v3-red:#ed1c24;--v3-gold:#d99a2b;--v3-gold-l:#f6dfb4;--v3-teal:#1498a3;--v3-green:#7caf3b;
 --v3-sand:#fffaf7;--v3-beige:#f4ebe1;--v3-line:rgba(127,34,45,.10);--v3-ink:#2a1d20;--v3-muted:#76655f;
 --v3-glass:rgba(255,255,255,.62);--v3-glass-b:rgba(255,255,255,.85);
 --v3-shadow:0 1px 2px rgba(79,16,26,.05),0 18px 44px -18px rgba(79,16,26,.22);
 --v3-r:22px;--v3-font:"IBM Plex Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
}
html{scroll-behavior:smooth}
html body{font-family:var(--v3-font);color:var(--v3-ink);background:var(--v3-sand)}
/* ---------- animated ambient background (fixed, behind everything) */
.v3-bg{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:linear-gradient(180deg,#fffdfb 0%,var(--v3-sand) 40%,#fbf3ea 100%)}
.v3-bg i{position:absolute;border-radius:50%;filter:blur(60px);opacity:.55;animation:v3float 26s ease-in-out infinite alternate}
.v3-bg i:nth-child(1){width:46vw;height:46vw;background:radial-gradient(circle,#f6dfb4 0,transparent 65%);top:-14vw;right:-10vw}
.v3-bg i:nth-child(2){width:38vw;height:38vw;background:radial-gradient(circle,rgba(20,152,163,.22) 0,transparent 65%);bottom:-12vw;left:-8vw;animation-duration:32s}
.v3-bg i:nth-child(3){width:30vw;height:30vw;background:radial-gradient(circle,rgba(237,28,36,.12) 0,transparent 65%);top:40%;left:30%;animation-duration:38s}
.v3-bg::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(127,34,45,.09) 1px,transparent 1.2px);background-size:26px 26px;mask-image:linear-gradient(180deg,#000 0,transparent 70%)}
@keyframes v3float{to{transform:translate3d(4vw,3vw,0) scale(1.12)}}
html body main,html body .section,html body .stats,html body .hero{background-color:transparent}
/* ---------- top bar + header (glass, sticky) */
html body .topbar{background:linear-gradient(90deg,var(--v3-wine-d),var(--v3-wine));color:#fff}
html body .header{background:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);border-bottom:1px solid var(--v3-line);box-shadow:0 10px 30px -22px rgba(79,16,26,.35);transition:box-shadow .3s,background .3s}
html body .header.v3-scrolled{background:rgba(255,255,255,.92);box-shadow:0 14px 34px -20px rgba(79,16,26,.45)}
html body .nav a{position:relative;border-radius:999px;transition:color .2s,background .2s}
html body .nav a:not(.platform-btn)::after{content:"";position:absolute;inset:auto 22% 4px 22%;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--v3-gold),var(--v3-red));transform:scaleX(0);transition:transform .25s}
html body .nav a:not(.platform-btn):hover::after,html body .nav a.active::after,html body .nav a[aria-current]::after{transform:scaleX(1)}
html body .nav a:not(.platform-btn):hover{color:var(--v3-wine);background:rgba(127,34,45,.05)}
html body .nav .platform-btn{background:linear-gradient(135deg,var(--v3-wine),var(--v3-red));color:#fff!important;border:0;box-shadow:0 10px 22px -10px rgba(237,28,36,.6)}
html body .nav .platform-btn:hover{filter:brightness(1.06);transform:translateY(-1px)}
/* ---------- hero */
html body .hero{position:relative;overflow:hidden;isolation:isolate}
html body .hero::before{content:"";position:absolute;inset:auto -10% -40% -10%;height:70%;z-index:-1;background:radial-gradient(60% 60% at 50% 0,rgba(246,223,180,.55),transparent 70%)}
html body .hero h1{letter-spacing:-.01em;line-height:1.25}
html body .hero h1 span{background:linear-gradient(120deg,var(--v3-red) 0%,var(--v3-wine) 45%,var(--v3-gold) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;background-size:200% 100%;animation:v3shine 6s ease-in-out infinite alternate}
@keyframes v3shine{to{background-position:100% 0}}
html body .hero .eyebrow{background:rgba(255,255,255,.7);border:1px solid var(--v3-line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html body .hero .primary-btn,html body .primary-btn{background:linear-gradient(135deg,var(--v3-red),var(--v3-wine));box-shadow:0 14px 30px -14px rgba(237,28,36,.7);transition:transform .2s,box-shadow .2s}
html body .primary-btn:hover{transform:translateY(-2px);box-shadow:0 18px 36px -14px rgba(237,28,36,.75)}
html body .hero .float-card{background:var(--v3-glass);border:1px solid var(--v3-glass-b);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--v3-shadow);animation:v3bob 5s ease-in-out infinite}
html body .hero .float-card.two{animation-delay:-2.5s}
@keyframes v3bob{50%{transform:translateY(-8px)}}
.v3-wave{position:absolute;inset:auto 0 0 0;height:120px;z-index:0;pointer-events:none}
.v3-wave svg{width:200%;height:100%;display:block;animation:v3wave 18s linear infinite}
.v3-wave svg:nth-child(2){position:absolute;inset:0;opacity:.6;animation-duration:26s;animation-direction:reverse}
@keyframes v3wave{to{transform:translateX(50%)}}
html[dir=ltr] .v3-wave svg,body.ltr .v3-wave svg{animation-name:v3waveL}@keyframes v3waveL{to{transform:translateX(-50%)}}
/* orbit rings around the hero picture */
.v3-orbit{position:absolute;inset:-6%;pointer-events:none;z-index:-1}
.v3-orbit circle{fill:none;stroke-width:1.4;vector-effect:non-scaling-stroke}
.v3-orbit .o1{stroke:rgba(217,154,43,.55);stroke-dasharray:3 9;animation:v3spin 60s linear infinite;transform-origin:50% 50%}
.v3-orbit .o2{stroke:rgba(20,152,163,.35);stroke-dasharray:1 14;animation:v3spin 90s linear infinite reverse;transform-origin:50% 50%}
.v3-orbit .dot{animation:v3spin 22s linear infinite;transform-origin:50% 50%}
@keyframes v3spin{to{transform:rotate(360deg)}}
/* ---------- ticker */
html body .ticker{background:linear-gradient(90deg,var(--v3-wine-d),var(--v3-wine) 50%,var(--v3-wine-d));color:#fff;border:0;box-shadow:0 12px 30px -18px rgba(79,16,26,.6)}
html body .ticker span::before{color:var(--v3-gold-l)}
/* ---------- stats */
html body .stat{background:var(--v3-glass);border:1px solid var(--v3-glass-b);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:var(--v3-r);box-shadow:var(--v3-shadow);position:relative;overflow:hidden;transition:transform .3s}
html body .stat::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--v3-wine),var(--v3-gold),var(--v3-teal))}
html body .stat:hover{transform:translateY(-4px)}
html body .stat strong{background:linear-gradient(135deg,var(--v3-wine),var(--v3-red));-webkit-background-clip:text;background-clip:text;color:transparent}
/* ---------- section heads */
html body .section-title{position:relative}
html body .section-head{border-bottom-color:var(--v3-line)}
html body .section-sub{color:var(--v3-muted)}
/* ---------- cards (glass, lift on hover) */
html body .card,html body .about-card,html body .service,html body .detail-card,html body .program-card,html body .vm-card,html body .program-detail{background:var(--v3-glass);border:1px solid var(--v3-glass-b);-webkit-backdrop-filter:blur(12px) saturate(140%);backdrop-filter:blur(12px) saturate(140%);border-radius:var(--v3-r);box-shadow:var(--v3-shadow);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
html body .card:hover,html body .about-card:hover,html body .service:hover,html body .detail-card:hover,html body .program-card:hover{transform:translateY(-6px);box-shadow:0 2px 4px rgba(79,16,26,.05),0 28px 54px -22px rgba(79,16,26,.32)}
html body .card{overflow:hidden}
html body .card img{transition:transform .6s cubic-bezier(.2,.8,.2,1)}
html body .card:hover img{transform:scale(1.05)}
html body .service .badge{background:linear-gradient(135deg,var(--v3-gold-l),#fff);color:var(--v3-wine);box-shadow:inset 0 0 0 1px rgba(217,154,43,.35)}
html body .service:hover .badge{background:linear-gradient(135deg,var(--v3-wine),var(--v3-red));color:#fff}
html body .detail-card .detail-number{background:linear-gradient(135deg,var(--v3-wine),var(--v3-red));-webkit-background-clip:text;background-clip:text;color:transparent}
html body .vm-card.vision{background:linear-gradient(140deg,rgba(127,34,45,.92),rgba(79,16,26,.92));color:#fff;border-color:rgba(255,255,255,.2)}
html body .vm-card.vision h3,html body .vm-card.vision .vm-kicker{color:#fff}
html body .vm-card.mission{background:linear-gradient(140deg,rgba(255,255,255,.75),rgba(246,223,180,.55))}
html body .closing-message{background:linear-gradient(110deg,var(--v3-wine-d),var(--v3-wine) 60%,#9c2b38);box-shadow:0 18px 40px -20px rgba(79,16,26,.7);position:relative;overflow:hidden}
html body .closing-message::after{content:"";position:absolute;inset:-60% -10% auto auto;width:220px;height:220px;border-radius:50%;border:2px dashed rgba(246,223,180,.35);animation:v3spin 40s linear infinite}
html body .profile-photo-wrap img,html body .profile-photo{border-radius:28px;box-shadow:0 30px 60px -30px rgba(79,16,26,.45)}
/* ---------- new «smile» band with the girl photo (no text) */
.v3-smile{position:relative;padding:40px 0 10px}
.v3-smile .container{position:relative;display:grid;place-items:center}
.v3-smile figure{position:relative;margin:0;width:min(520px,82vw);aspect-ratio:1.1}
.v3-smile .ph{position:absolute;inset:8% 10%;border-radius:46% 54% 42% 58%/52% 44% 56% 48%;overflow:hidden;box-shadow:0 40px 80px -36px rgba(79,16,26,.55),0 0 0 10px rgba(255,255,255,.8);animation:v3blob 14s ease-in-out infinite alternate;background:#f3e6d7}
.v3-smile .ph img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.04)}
@keyframes v3blob{50%{border-radius:56% 44% 52% 48%/44% 56% 44% 56%}}
.v3-smile svg.deco{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.v3-smile .ring{fill:none;stroke-width:2;vector-effect:non-scaling-stroke}
.v3-smile .spark{animation:v3twinkle 3.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.v3-smile .spark.s2{animation-delay:-1.1s}.v3-smile .spark.s3{animation-delay:-2.2s}
@keyframes v3twinkle{50%{transform:scale(.6) rotate(25deg);opacity:.5}}
.v3-smile .heart{animation:v3bob 4s ease-in-out infinite;transform-box:fill-box}
/* ---------- footer */
html body .footer{background:radial-gradient(80% 120% at 100% 0,#5c1420 0,#2b0a10 70%);position:relative;overflow:hidden}
html body .footer::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--v3-wine),var(--v3-gold),var(--v3-teal),var(--v3-green))}
/* ---------- scroll reveal (only when JS is ready, so nothing is ever hidden without it) */
html.v3-js .v3-rv{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1);transition-delay:var(--v3-d,0s)}
html.v3-js .v3-rv.v3-in{opacity:1;transform:none}
/* back-to-top */
.v3-top{position:fixed;inset:auto auto 22px 22px;z-index:60;width:46px;height:46px;border-radius:50%;border:1px solid var(--v3-glass-b);background:var(--v3-glass);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:var(--v3-shadow);color:var(--v3-wine);font-size:20px;cursor:pointer;opacity:0;transform:translateY(12px);transition:.3s;pointer-events:none}
.v3-top.on{opacity:1;transform:none;pointer-events:auto}
body.ltr .v3-top{inset:auto 22px 22px auto}
.v3-progress{position:fixed;inset:0 0 auto 0;height:3px;z-index:80;background:linear-gradient(90deg,var(--v3-gold),var(--v3-red));transform-origin:right;transform:scaleX(0)}
body.ltr .v3-progress{transform-origin:left}
@media (max-width:760px){.v3-wave{height:70px}.v3-smile figure{width:88vw}}
@media (prefers-reduced-motion:reduce){.v3-bg i,.v3-wave svg,.v3-orbit *,.v3-smile *,html body .hero h1 span,html body .float-card,html body .closing-message::after{animation:none!important}html.v3-js .v3-rv{opacity:1;transform:none}}
/* tidy lists built from one-line texts (values, goals …) */
.v3-src{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.v3-list{list-style:none;margin:.4rem 0 0;padding:0;display:grid;gap:.45rem;counter-reset:v3}
.v3-list li{position:relative;padding:.5rem .9rem .5rem .5rem;padding-inline-start:2.4rem;border-radius:14px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.7);line-height:1.8;font-weight:600;font-size:.98rem}
.v3-list li::before{content:"✦";position:absolute;inset-inline-start:.8rem;top:.55rem;color:var(--v3-gold)}
.v3-ol li{counter-increment:v3}.v3-ol li::before{content:counter(v3,arabic-indic);display:grid;place-items:center;width:1.5rem;height:1.5rem;border-radius:50%;top:.6rem;background:linear-gradient(135deg,var(--v3-wine),var(--v3-red));color:#fff;font-size:.8rem}
html body .vm-card.vision .v3-list li{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18);color:#fff}
html body .vm-card.vision .v3-list li::before{color:var(--v3-gold-l)}
html body .vision-mission-grid{grid-template-columns:1fr!important}
/* ---------- S2: the center name in the hero is a headline; larger, easier text in «الرؤية والرسالة» */
html body .hero .eyebrow{display:inline-block!important;font-size:clamp(1.25rem,2.45vw,2.5rem)!important;white-space:nowrap!important;max-width:100%!important;white-space:nowrap!important;max-width:100%!important;font-weight:800!important;line-height:1.5!important;letter-spacing:0!important;
 padding:.35em .9em!important;border-radius:18px!important;color:var(--v3-wine-d)!important;background:linear-gradient(135deg,rgba(255,255,255,.85),rgba(246,223,180,.55))!important;
 border:1px solid rgba(217,154,43,.35)!important;box-shadow:0 14px 30px -18px rgba(79,16,26,.45)!important;margin-bottom:.4em!important}
html body .hero .eyebrow::before,html body .hero .eyebrow::after{display:none!important}
html body #about .section-sub{font-size:clamp(1.05rem,1.6vw,1.25rem)!important;line-height:1.9!important}
html body .about-card{padding:28px 30px!important}
html body .about-card h3{font-size:clamp(1.45rem,2.2vw,1.85rem)!important;line-height:1.5!important;margin-bottom:.45em!important;color:var(--v3-wine)!important}
html body .about-card p{font-size:clamp(1.12rem,1.6vw,1.32rem)!important;line-height:2!important;color:var(--v3-ink)!important;font-weight:500!important}
html body .vm-card h3,html body .detail-card p,html body .program-card p,html body .profile-copy p{font-size:clamp(1.02rem,1.4vw,1.15rem)!important;line-height:2!important}
html body .v3-list li{font-size:clamp(1rem,1.4vw,1.1rem)!important}
/* ---------- S2: larger, balanced header */
html body .header-nav .nav-wrap{min-height:clamp(84px,7vw,108px)!important}
html body .header-nav img{height:clamp(54px,4.4vw,78px)!important;width:auto!important;max-height:none!important;max-width:none!important}
html body .header-nav .nav>a:not(.platform-btn),html body .header-nav .nav .athr-more>button,html body .header-nav .nav [aria-haspopup]{font-size:clamp(14px,1.02vw,16px)!important;padding:12px clamp(6px,.55vw,11px)!important}
html body .header-nav .platform-btn{font-size:clamp(14px,1vw,16px)!important;padding:12px clamp(12px,1.1vw,22px)!important;white-space:nowrap!important;border-radius:14px!important}
html body .topbar{font-size:clamp(14px,1vw,16px)!important}
html body .hero h1{font-size:clamp(1.45rem,2.4vw,2.3rem)!important;line-height:1.5!important;margin-top:.2em!important}
html body .header-nav .sx-brand,html body .header-nav .header-logo{width:auto!important;min-width:0!important;flex:0 0 auto!important;max-width:none!important}
html body .header-nav .nav-wrap{gap:clamp(8px,1.2vw,24px)!important;max-width:min(1440px,calc(100vw - 32px))!important;width:100%!important}
@media (max-width:1300px){html body .header-nav .nav>a:not(.platform-btn){font-size:13.6px!important;padding:11px 6px!important}html body .header-nav img{height:52px!important}}
/* ---------- S2: news ticker readable (white text on the wine bar) and moving */
html body .ticker{padding:0!important;border:0!important;overflow:hidden!important;white-space:nowrap!important;color:#fff!important}
html body .ticker .ticker-track{display:inline-flex!important;gap:56px!important;padding:13px 0!important;padding-inline-start:100%!important;color:#fff!important;font-weight:700!important;font-size:clamp(15px,1.05vw,17px)!important;animation:v3tick 38s linear infinite!important;will-change:transform}
html body .ticker .ticker-track span{color:#fff!important}
html body .ticker .ticker-track span::before{content:"✦"!important;color:var(--v3-gold-l)!important;margin-inline-end:12px!important;margin-left:0!important}
html body .ticker:hover .ticker-track{animation-play-state:paused!important}
@keyframes v3tick{from{transform:translateX(0)}to{transform:translateX(100%)}}
body.ltr .ticker .ticker-track,html[dir=ltr] body .ticker .ticker-track{animation-name:v3tickL!important}
@keyframes v3tickL{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){html body .ticker .ticker-track{animation:none!important;padding-inline-start:18px!important;flex-wrap:wrap!important;white-space:normal!important}}
html body .ticker{position:relative!important;z-index:2!important;margin-bottom:22px!important}

/* ---------- S3 (2026-11-01): mobile — the hero wave must never cover the button or the news ticker.
   1) hero content sits above the decorative wave; 2) the hero clips its decoration on iPhone/Safari too;
   3) the ticker always sits on top; 4) on phones the wave is hidden (it was covering text). */
html body .hero{clip-path:inset(0)}
html body .hero>.container,html body .hero .hero-grid,html body .hero .hero-actions{position:relative;z-index:1}
html body .ticker{position:relative!important;z-index:20!important;isolation:isolate}
@media (max-width:760px){.v3-wave{display:none!important}}

/* ---------- S5 (2026-11-01): «القيم» / «الأهداف» as a centred title plaque that lifts out on hover */
html body .vm-card .vm-kicker{display:table!important;position:relative;margin:4px auto 26px!important;padding:13px 40px!important;border-radius:16px;
 font-size:clamp(1.45rem,1.05rem + 1.4vw,2rem)!important;font-weight:800!important;line-height:1.3;text-align:center;letter-spacing:0;cursor:default;
 transition:transform .35s cubic-bezier(.2,.9,.3,1.3),box-shadow .35s ease,filter .35s ease;will-change:transform}
html body .vm-card .vm-kicker::before,html body .vm-card .vm-kicker::after{content:"";position:absolute;top:50%;width:7px;height:7px;transform:translateY(-50%) rotate(45deg);border-radius:1px;background:currentColor;opacity:.75}
html body .vm-card .vm-kicker::before{right:16px}
html body .vm-card .vm-kicker::after{left:16px}
/* القيم — on the wine card: gold plaque, wine text */
html body .vm-card.vision .vm-kicker{color:var(--v3-wine-d)!important;background:linear-gradient(135deg,#fff3dc 0%,var(--v3-gold-l) 45%,var(--v3-gold) 100%);
 border:1px solid rgba(255,255,255,.65);box-shadow:0 10px 24px -12px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.8)}
/* الأهداف — on the light card: wine plaque, white text, gold edge */
html body .vm-card.mission .vm-kicker{color:#fff!important;background:linear-gradient(135deg,var(--v3-wine) 0%,var(--v3-wine-d) 100%);
 border:1px solid rgba(217,154,43,.55);box-shadow:0 12px 26px -14px rgba(79,16,26,.7),inset 0 1px 0 rgba(255,255,255,.18)}
html body .vm-card.mission .vm-kicker::before,html body .vm-card.mission .vm-kicker::after{background:var(--v3-gold-l)}
@media (hover:hover){
 html body .vm-card .vm-kicker:hover{transform:translateY(-7px) scale(1.07)}
 html body .vm-card.vision .vm-kicker:hover{box-shadow:0 22px 40px -14px rgba(0,0,0,.55),0 0 0 6px rgba(246,223,180,.18),inset 0 1px 0 rgba(255,255,255,.9)}
 html body .vm-card.mission .vm-kicker:hover{box-shadow:0 24px 42px -16px rgba(79,16,26,.75),0 0 0 6px rgba(127,34,45,.10),inset 0 1px 0 rgba(255,255,255,.2)}
}
html body .vm-card .vm-kicker:active{transform:translateY(-3px) scale(1.03)}
@media (max-width:760px){html body .vm-card .vm-kicker{font-size:1.5rem!important;padding:11px 34px!important;margin-bottom:20px!important}}
@media (prefers-reduced-motion:reduce){html body .vm-card .vm-kicker{transition:none}html body .vm-card .vm-kicker:hover{transform:none}}

/* ---------- S5: boy + girl — same size, overlapping photo frames (profile section) */
html body .profile-duo{position:relative;display:flex;justify-content:center;align-items:center;padding:22px 6px 30px;isolation:isolate}
html body .profile-duo::before{content:"";position:absolute;inset:8% 14%;z-index:-1;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(246,223,180,.75),rgba(246,223,180,0) 70%);filter:blur(6px)}
html body .profile-duo .profile-photo{position:relative;flex:0 0 54%;width:54%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:26px;
 border:6px solid #fff;background:#f7efe6;box-shadow:0 26px 50px -24px rgba(79,16,26,.55),0 0 0 1.5px rgba(217,154,43,.45);
 transition:transform .55s cubic-bezier(.2,.9,.3,1.2),box-shadow .45s ease}
html body .profile-duo .duo-boy{object-position:64% 16%;z-index:1;transform:rotate(-5deg) translateY(-10px);margin-inline-end:-14%}
html body .profile-duo .duo-girl{object-position:50% 20%;z-index:2;transform:rotate(5deg) translateY(12px);margin:0}
@media (hover:hover){
 html body .profile-duo .profile-photo:hover{z-index:3;transform:rotate(0) translateY(-6px) scale(1.05);box-shadow:0 38px 70px -28px rgba(79,16,26,.6),0 0 0 3px var(--v3-gold-l)}
}
html body .profile-photo-wrap:has(.profile-duo) .profile-photo-tag{position:relative;inset:auto;margin:6px 0 0}
@media (max-width:760px){html body .profile-duo{padding:16px 4px 24px}html body .profile-duo .profile-photo{border-width:4px;border-radius:18px}
 html body .profile-duo .duo-boy{transform:rotate(-4deg) translateY(-6px)}html body .profile-duo .duo-girl{transform:rotate(4deg) translateY(8px)}}
@media (prefers-reduced-motion:reduce){html body .profile-duo .profile-photo{transition:none}}
/* the girl now lives in the profile section, so the separate «smile» band is not shown (avoids the same photo twice) */
.v3-smile{display:none!important}

/* ---------- S6 (2026-11-01): centred section heads (الرؤية والرسالة / القيم والأهداف) — eyebrow pill + large gradient title + centred ornament */
html body .section-head.v3-head-center{display:flex;justify-content:center!important;text-align:center;border-bottom:0!important;margin:0 auto 40px!important;padding-bottom:0!important}
html body .section-head.v3-head-center>div{display:flex;flex-direction:column;align-items:center;width:100%}
html body .v3-eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 16px;padding:7px 20px;border-radius:999px;font-weight:800;font-size:.95rem;letter-spacing:.2px;
 color:var(--v3-wine);background:linear-gradient(135deg,#fffaf1,var(--v3-gold-l));border:1px solid rgba(217,154,43,.45);box-shadow:0 8px 20px -12px rgba(127,34,45,.45)}
html body .v3-eyebrow::before,html body .v3-eyebrow::after{content:"";width:6px;height:6px;border-radius:1px;transform:rotate(45deg);background:var(--v3-gold)}
html body .v3-head-center .section-title{font-size:clamp(2.05rem,1.35rem + 2.3vw,3.1rem)!important;line-height:1.25!important;padding-bottom:26px!important;margin:0!important}
html:not(.sx-hc) body .v3-head-center .section-title{background:linear-gradient(90deg,var(--v3-wine-d) 0%,var(--v3-wine) 45%,var(--v3-red) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
html body .v3-head-center .section-title::after{inset-inline-start:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%) scale(1.25);transform-origin:center}
@media (max-width:760px){html body .section-head.v3-head-center{margin-bottom:28px!important}html body .v3-eyebrow{font-size:.88rem;padding:6px 16px;margin-bottom:12px}}

/* ---------- S8 (2026-11-01): floating buttons + profile photo
   1) two back-to-top buttons were stacked on each other (red .sx-top + glass .v3-top) — keep only the red one;
   2) phones: accessibility button sits right above back-to-top, music stays bottom-right;
   3) desktop: the boy+girl photo card follows the reader (sticky) next to the long column instead of leaving an empty gap. */
.v3-top{display:none!important}
@media (max-width:760px){.sx-a11y-btn{bottom:72px!important;left:16px!important}body.ltr .sx-a11y-btn{left:auto!important;right:16px!important}}
@media (min-width:981px){
 html body .profile-intro{align-items:start!important}
 html body .profile-intro>.profile-photo-wrap{position:sticky;top:118px;align-self:start}
}

/* ---------- S9 (2026-11-01): top-bar button «الذهاب إلى منصة أثر» (links to the ATHR page) */
html body .topbar .v3-athr-link{display:inline-flex!important;align-items:center;gap:9px;padding:6px 16px 6px 8px;border-radius:999px;text-decoration:none;font-weight:800;color:#fff!important;
 background:linear-gradient(135deg,#3b2378,#6c4bd1);border:1px solid rgba(255,255,255,.35);box-shadow:0 8px 20px -10px rgba(59,35,120,.8);white-space:nowrap;transition:transform .25s ease,box-shadow .25s ease}
html body .topbar .v3-athr-link img{width:26px;height:26px;border-radius:50%;background:#fff;padding:2px;object-fit:contain}
html body .topbar .v3-athr-link:hover{transform:translateY(-2px);box-shadow:0 12px 26px -10px rgba(59,35,120,.95)}
@media (max-width:760px){html body .topbar .v3-athr-link{order:-1;padding:7px 18px 7px 8px;font-size:.95rem}}
