/* =========================================================
   CORDIA LANGUAGE ACADEMY — Midnight Bloom
   Gold #F1C50E · Blue/Indigo #0B0049 · Ivory · Red accent #E4322B
   ========================================================= */
@font-face{
  font-family:'Brush Script Std';
  src:url('../fonts/BrushScriptStd.otf') format('opentype'),
      url('../fonts/BRUSHSCI.TTF') format('truetype');
  font-weight:400;font-style:normal;font-display:swap;
}
:root{
  --paper:#F7F5EF;        /* warm off-white canvas (brand logo bg) */
  --paper-2:#FFFFFF;      /* white cards */
  --paper-3:#EFEAD9;      /* deeper panel */
  --indigo:#0E0640;       /* brand deep navy — dark accent bands/cards */
  --indigo-2:#0A043A;
  --indigo-lift:#171150;
  --gold:#B8860B;         /* deep gold — for text/icons on white (contrast) */
  --gold-2:#DAA520;
  --gold-deep:#8A6508;
  --gold-bright:#F2C919;  /* bright lotus gold (decorative strokes/glows) */
  --ivory:#141042;        /* MAIN TEXT = deep navy ink (repurposed for light theme) */
  --white:#FFFFFF;
  --ink:rgba(20,16,66,.80);
  --ink-dim:rgba(20,16,66,.56);
  --line:rgba(20,16,66,.12);
  --line-2:rgba(20,16,66,.08);

  --serif-en:'Cormorant Garamond',serif;
  --serif-ar:'Amiri',serif;
  --body:'Tajawal','Inter',system-ui,sans-serif;
  --script:'Brush Script Std','Dancing Script',cursive;
  --red:#C41E3A;
  --red-text:#B01732;

  --nav-h:76px;
  --ease:cubic-bezier(.23,1,.32,1);
  --ease-io:cubic-bezier(.77,0,.175,1);
  --t:.4s var(--ease);
  --container:1180px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--body);
  color:var(--ink);
  background:
    radial-gradient(120% 90% at 50% -8%, #FFFFFF 0%, var(--paper) 58%, #F1EEE2 100%);
  background-attachment:fixed;
  line-height:1.6;
  overflow-x:clip;
  min-height:100vh;
}
.container{width:min(var(--container),92vw);margin-inline:auto}
a{color:inherit;text-decoration:none}
b{font-weight:inherit}

/* Latin display when in EN mode */
.hero-title,.greet-word,.trust b{font-family:var(--serif-ar),var(--serif-en)}
html[dir=ltr] .hero-title,html[dir=ltr] .greet-word,html[dir=ltr] .trust b{font-family:var(--serif-en)}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  font-family:var(--body);font-weight:700;font-size:.98rem;
  padding:.85em 1.7em;border-radius:999px;cursor:pointer;border:1px solid transparent;
  transition:transform .18s var(--ease),box-shadow var(--t),background var(--t),color var(--t),border-color var(--t);
  white-space:nowrap;
}
@media (hover:hover){.btn:hover{transform:translateY(-2px)}}
.btn:active{transform:translateY(0) scale(.98)}
.btn-gold{
  background:linear-gradient(180deg,var(--gold-2),var(--gold));
  color:#3a2c00;
  box-shadow:0 10px 30px -10px rgba(241,197,14,.7), inset 0 1px 0 rgba(255,255,255,.5);
}
@media (hover:hover){.btn-gold:hover{box-shadow:0 16px 40px -12px rgba(241,197,14,.85)}}
.btn-red{background:linear-gradient(180deg,#d6394f,var(--red));color:#fff;
  box-shadow:0 10px 30px -10px rgba(196,30,58,.55),inset 0 1px 0 rgba(255,255,255,.2)}
@media (hover:hover){.btn-red:hover{box-shadow:0 16px 42px -12px rgba(196,30,58,.72)}}
.btn-ghost{
  background:rgba(247,243,233,.04);
  color:var(--ivory);
  border-color:rgba(241,197,14,.45);
}
@media (hover:hover){.btn-ghost:hover{border-color:var(--gold);background:rgba(241,197,14,.08)}}

/* ---------- Scroll progress ---------- */
.scroll-progress{position:fixed;inset-block-start:0;inset-inline:0;height:3px;z-index:100;pointer-events:none}
.scroll-progress span{display:block;height:100%;width:0;
  background:linear-gradient(90deg,var(--gold-deep),var(--gold),var(--gold-2));
  box-shadow:0 0 12px rgba(241,197,14,.6);transition:width .1s linear}

/* ---------- Floating WhatsApp ---------- */
.wa-float{position:fixed;inset-block-end:1.4rem;inset-inline-start:1.4rem;z-index:90;
  width:58px;height:58px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(180deg,var(--gold-2),var(--gold));color:#0B0049;
  box-shadow:0 12px 30px -8px rgba(241,197,14,.6);animation:wapulse 2.6s var(--ease) infinite;
  transition:transform var(--t)}
.wa-float svg{width:30px;height:30px}
@media (hover:hover){.wa-float:hover{transform:scale(1.08) translateY(-2px)}}
@keyframes wapulse{
  0%{box-shadow:0 12px 30px -8px rgba(241,197,14,.6),0 0 0 0 rgba(241,197,14,.45)}
  70%{box-shadow:0 12px 30px -8px rgba(241,197,14,.6),0 0 0 15px rgba(241,197,14,0)}
  100%{box-shadow:0 12px 30px -8px rgba(241,197,14,.6),0 0 0 0 rgba(241,197,14,0)}}
@media (prefers-reduced-motion:reduce){.wa-float{animation:none}}

/* ---------- Nav ---------- */
.nav{position:fixed;inset-inline:0;top:0;z-index:60;height:var(--nav-h);
  display:flex;align-items:center;
  background:linear-gradient(180deg,rgba(247,245,239,.82),rgba(247,245,239,0));
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:background var(--t),box-shadow var(--t),border-color var(--t);
  border-bottom:1px solid transparent;
}
.nav.scrolled{background:rgba(247,245,239,.9);backdrop-filter:blur(16px) saturate(120%);
  -webkit-backdrop-filter:blur(16px) saturate(120%);border-bottom-color:var(--line);
  box-shadow:0 10px 40px -18px rgba(20,16,66,.14)}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;width:min(var(--container),94vw)}
.brand{display:flex;align-items:center;gap:.7rem}
.brand-logo{height:56px;width:auto;display:block;filter:drop-shadow(0 0 10px rgba(241,197,14,.22))}
.brand-mark{width:42px;height:auto;color:var(--gold);
  filter:drop-shadow(0 0 10px rgba(241,197,14,.45));flex:none}
.brand-txt{display:flex;flex-direction:column;line-height:1}
.brand-txt b{font-family:var(--serif-en);font-weight:700;font-size:1.32rem;letter-spacing:.14em;color:var(--ivory)}
.brand-txt i{font-family:var(--script);font-style:normal;font-size:.82rem;color:var(--gold);letter-spacing:.02em;margin-top:2px}

.nav-links{display:flex;gap:1.9rem}
.nav-links a{font-size:.95rem;font-weight:500;color:var(--ink);position:relative;padding-block:.4rem;transition:color var(--t)}
.nav-links a::after{content:"";position:absolute;inset-inline-start:0;bottom:0;width:100%;height:1.5px;
  background:var(--gold);transform:scaleX(0);transform-origin:inline-start;transition:transform .4s var(--ease)}
@media (hover:hover){.nav-links a:hover{color:var(--ivory)}.nav-links a:hover::after{transform:scaleX(1)}}

.nav-actions{display:flex;align-items:center;gap:.9rem}
.lang-btn{display:inline-flex;align-items:center;gap:.4rem;background:transparent;border:1px solid var(--line-2);
  color:var(--ink);border-radius:999px;padding:.5rem .85rem;font-family:var(--body);font-weight:700;font-size:.82rem;cursor:pointer;transition:border-color var(--t),color var(--t)}
.lang-btn svg{width:15px;height:15px}
@media (hover:hover){.lang-btn:hover{border-color:var(--gold);color:var(--ivory)}}
.nav-actions .btn{padding:.6em 1.25em;font-size:.9rem}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:100svh;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
  padding:calc(var(--nav-h) + 3.2rem) 0 0;overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.6}
.hbg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;
  transform:scale(1.09);transition:opacity 1.6s var(--ease),transform 9s linear}
.hbg.active{opacity:.62;transform:scale(1)}
.hero-bg::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,0) 62%,var(--paper))}
.hero-glow{position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(48% 42% at 50% 40%, rgba(242,201,25,.14), rgba(242,201,25,0) 70%)}

.lotus{position:absolute;top:52%;left:50%;transform:translate(-50%,-50%);
  width:min(660px,96vw);height:auto;opacity:.34;pointer-events:none;z-index:1;
  filter:drop-shadow(0 0 30px rgba(242,201,25,.4))}
.petal{fill:none;stroke:var(--gold-bright);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:900;stroke-dashoffset:900}
.js .petal{animation:draw 2.3s var(--ease) forwards}
.p0{animation-delay:.15s}
.p1,.p2{animation-delay:.35s}
.p3,.p4{animation-delay:.55s}
.p5,.p6{animation-delay:.75s}
.p7,.p8{animation-delay:.95s}
@keyframes draw{to{stroke-dashoffset:0}}

.hero-in{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;max-width:900px}
.hero-in::before{content:"";position:absolute;inset:-10% -14%;z-index:-1;
  background:radial-gradient(58% 56% at 50% 48%, rgba(255,255,255,.72), rgba(255,255,255,0) 72%);filter:blur(8px)}

.kicker{display:inline-flex;align-items:center;gap:.6rem;font-size:.9rem;font-weight:500;
  letter-spacing:.02em;color:var(--gold);
  background:rgba(241,197,14,.07);border:1px solid var(--line);
  padding:.5rem 1.15rem;border-radius:999px;margin-bottom:1.9rem}
.kicker .spark{color:var(--red)}

.greet{min-height:1.3em;margin-bottom:1.1rem;display:flex;align-items:center;justify-content:center}
.greet-word{font-weight:700;font-size:clamp(1.3rem,2.8vw,2.05rem);color:var(--gold);
  display:inline-block;transition:opacity .5s var(--ease),transform .5s var(--ease),filter .5s var(--ease)}
.greet-word.swap{opacity:0;transform:translateY(10px);filter:blur(6px)}

.hero-title{font-weight:700;font-size:clamp(1.9rem,4.4vw,3.4rem);line-height:1.14;
  letter-spacing:-.01em;margin-bottom:1.4rem;text-shadow:none}
.hero-title span{display:block}
.hero-title .grad{
  background:linear-gradient(100deg,var(--gold-2),var(--gold) 55%,var(--gold-deep));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  padding-bottom:.12em}
html[dir=rtl] .hero-title{line-height:1.34}
html[dir=rtl] .hero-title .grad{padding-bottom:.2em}

.hero-sub{max-width:600px;font-size:clamp(.98rem,1.4vw,1.1rem);color:var(--ink);
  font-weight:300;margin-bottom:2.1rem}

.hero-cta{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}

/* ---------- Trust bar ---------- */
.trust{position:relative;z-index:2;width:100%;margin-top:auto;border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(20,16,66,0),rgba(20,16,66,.04));padding:clamp(1.1rem,2.4vw,1.7rem) 0}
.trust-in{display:flex;align-items:center;justify-content:center;gap:clamp(.3rem,1.4vw,1.3rem);flex-wrap:wrap}
.tstat{display:flex;align-items:center;gap:.85rem;padding:.55rem 1.05rem;border-radius:14px;
  transition:background var(--t),transform var(--t)}
@media (hover:hover){.tstat:hover{background:rgba(255,255,255,.045);transform:translateY(-2px)}}
.tstat-ic{width:44px;height:44px;flex:none;border-radius:12px;display:grid;place-items:center;color:var(--gold);
  background:rgba(241,197,14,.1);border:1px solid var(--line);transition:background var(--t),border-color var(--t)}
.tstat-ic svg{width:22px;height:22px}
.tstat-b{display:flex;flex-direction:column;gap:.02rem;text-align:start}
.tstat-n{display:flex;align-items:baseline;gap:.06rem}
.tstat-n b,.tstat b.ox{font-family:var(--serif-en);font-weight:700;line-height:1;font-variant-numeric:tabular-nums;
  background:linear-gradient(180deg,var(--gold-2),var(--gold-deep));-webkit-background-clip:text;background-clip:text;color:transparent}
.tstat-n b{font-size:clamp(1.7rem,3vw,2.4rem)}
.tstat-n s{text-decoration:none;font-family:var(--serif-en);font-weight:700;font-size:1.25rem;color:var(--gold-deep)}
.tstat b.ox{font-size:clamp(1.4rem,2.6vw,2rem);letter-spacing:.02em}
.tstat-l{font-size:.78rem;color:var(--ink-dim);font-weight:500}
.tstat-accent{background:rgba(196,30,58,.06)}
.tstat-accent .tstat-ic{color:#ec6a72;background:rgba(196,30,58,.15);border-color:rgba(196,30,58,.4);
  box-shadow:0 0 18px -6px rgba(196,30,58,.5)}
@media (hover:hover){.tstat-accent:hover{background:rgba(196,30,58,.1)}}

/* ---------- Section system ---------- */
.section{position:relative;padding-block:clamp(4.5rem,9vw,8rem)}
.sec-head{max-width:760px;margin-bottom:clamp(2.2rem,4vw,3.4rem)}
.sec-head.center{margin-inline:auto;text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;font-family:var(--body);font-weight:600;
  font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-bottom:1.1rem}
.sec-head.center .eyebrow{justify-content:center}
.lotus-dot{width:9px;height:9px;background:var(--gold);border-radius:50% 0 50% 50%;transform:rotate(45deg);
  box-shadow:0 0 12px rgba(241,197,14,.6);flex:none}
.h-lg{font-weight:700;font-size:clamp(1.65rem,3.2vw,2.55rem);line-height:1.2;color:var(--ivory);letter-spacing:-.01em}
html[dir=rtl] .h-lg{line-height:1.4}
.h-lg .gold{background:linear-gradient(100deg,var(--gold-2),var(--gold) 55%,var(--gold-deep));
  -webkit-background-clip:text;background-clip:text;color:transparent}
.h-lg .hl,.hero-title .hl{color:var(--red-text)}

/* display serif for headings */
.h-lg,.about-lead,.vm-card h3,.vm-ghost{font-family:var(--serif-ar),var(--serif-en)}
html[dir=ltr] .h-lg,html[dir=ltr] .about-lead,html[dir=ltr] .vm-card h3,html[dir=ltr] .vm-ghost{font-family:var(--serif-en)}

/* ---------- About (asymmetric split) ---------- */
.about2{display:grid;grid-template-columns:1.12fr .88fr;gap:clamp(2rem,5vw,5rem);align-items:center;
  margin-bottom:clamp(2.6rem,5vw,4.2rem)}
.about-lead{font-size:clamp(1.2rem,2vw,1.6rem);line-height:1.55;color:var(--ivory);font-weight:500;
  position:relative;padding-inline-start:1.4rem;margin-bottom:1.5rem}
.about-lead::before{content:"";position:absolute;inset-inline-start:0;top:.3em;bottom:.3em;width:3px;
  border-radius:3px;background:linear-gradient(180deg,var(--gold),transparent)}
.about-body p{color:var(--ink);margin-bottom:1rem;font-weight:300;font-size:1.06rem;line-height:1.8}
.about-body p:last-child{margin-bottom:0}
.about-mini{display:flex;gap:clamp(1.2rem,3vw,2.6rem);margin-top:2.1rem;padding-top:1.6rem;
  border-top:1px solid var(--line-2)}
.about-mini .mini{display:flex;flex-direction:column;gap:.1rem}
.about-mini b{font-family:var(--serif-ar),var(--serif-en);font-weight:700;font-size:clamp(1.7rem,2.6vw,2.3rem);
  line-height:1;background:linear-gradient(180deg,var(--gold-2),var(--gold-deep));-webkit-background-clip:text;background-clip:text;color:transparent}
html[dir=ltr] .about-mini b{font-family:var(--serif-en)}
.about-mini span{font-size:.82rem;color:var(--ink-dim);font-weight:500}

.about2-media{position:relative}
.media-panel{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:26px;
  padding:clamp(1.6rem,3vw,2.4rem);background:linear-gradient(165deg,rgba(242,201,25,.12),var(--paper-2));
  box-shadow:0 30px 80px -40px rgba(20,16,66,.3)}
.media-lotus{position:absolute;bottom:-14%;inset-inline-end:-10%;width:70%;height:auto;color:var(--gold);
  opacity:.14;filter:drop-shadow(0 0 24px rgba(241,197,14,.4));pointer-events:none}
.mp-label{position:relative;z-index:1;display:block;font-family:var(--script);color:var(--gold);
  font-size:1.5rem;margin-bottom:1.3rem}
.greet-stack{position:relative;z-index:1;display:flex;flex-direction:column}
.gs{display:flex;align-items:center;gap:.85rem;padding:.6rem .55rem;border-radius:12px;
  border-bottom:1px solid var(--line-2);transition:background .3s var(--ease)}
.gs:last-child{border-bottom:0}
@media (hover:hover){.gs:hover{background:rgba(241,197,14,.06)}}
.gs-code{flex:none;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;
  font-family:var(--serif-en);font-weight:700;font-size:.82rem;color:var(--gold);letter-spacing:.02em;
  background:rgba(241,197,14,.08);border:1px solid var(--line)}
.gs-word{flex:1;font-family:var(--serif-ar),var(--serif-en);font-weight:700;font-size:1.35rem;color:var(--ivory);transition:color .3s var(--ease)}
html[dir=ltr] .gs-word{font-family:var(--serif-en)}
@media (hover:hover){.gs:hover .gs-word{color:var(--gold)}}
.gs-meta{display:flex;flex-direction:column;align-items:flex-end;text-align:end;line-height:1.25}
.gs-meta em{font-style:normal;color:var(--gold);font-size:.82rem;font-weight:600}
.gs-meta i{font-style:normal;color:var(--ink-dim);font-size:.7rem}

.float-badge{position:absolute;inset-block-end:-1.4rem;inset-inline-start:-1.4rem;z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:.15rem;text-align:center;
  padding:1rem 1.3rem;border-radius:18px;border:1px solid rgba(241,197,14,.5);
  background:rgba(255,255,255,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 20px 50px -18px rgba(20,16,66,.28),0 0 26px -10px rgba(242,201,25,.45);will-change:transform}
.float-badge .fb-ic{color:var(--gold);display:grid;place-items:center;margin-bottom:.2rem}
.float-badge .fb-ic svg{width:26px;height:26px}
.float-badge b{font-family:var(--serif-en);font-weight:700;color:var(--gold);font-size:1.25rem;letter-spacing:.02em}
.float-badge>span{font-size:.72rem;color:var(--ink-dim);font-weight:500}
.about2-media{display:flex;flex-direction:column;align-items:stretch}
.media-seal{align-self:center;display:inline-flex;align-items:center;gap:.6rem;margin-top:1.5rem;
  padding:.6rem 1.2rem;border-radius:999px;border:1px solid var(--line);background:rgba(241,197,14,.07);
  color:var(--gold);font-size:.85rem;font-weight:500}
.media-seal .fb-ic{display:grid;place-items:center}
.media-seal .fb-ic svg{width:19px;height:19px}
.media-seal b{font-family:var(--serif-en);font-weight:700}
.media-seal span span{color:var(--ink-dim)}

/* ---------- Vision / Mission ---------- */
.vm-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,2.5vw,1.6rem)}
.vm-card{position:relative;overflow:hidden;padding:clamp(1.7rem,3vw,2.5rem);border-radius:22px;
  background:linear-gradient(160deg,var(--paper-2),var(--paper));
  border:1px solid var(--line-2);transition:transform var(--t),border-color var(--t),box-shadow var(--t)}
@media (hover:hover){.vm-card:hover{transform:translateY(-6px);border-color:var(--line);
  box-shadow:0 30px 70px -34px rgba(0,0,0,.75)}}
.vm-ghost{position:absolute;top:-.24em;inset-inline-end:.12em;font-weight:700;font-size:6.5rem;line-height:1;
  color:transparent;-webkit-text-stroke:1.4px rgba(241,197,14,.15);z-index:0;pointer-events:none}
.vm-ic{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;color:var(--gold);
  background:rgba(241,197,14,.1);border:1px solid var(--line);margin-bottom:1.3rem;position:relative;z-index:1}
.vm-ic svg{width:26px;height:26px}
.vm-card h3{font-size:1.55rem;font-weight:700;color:var(--ivory);margin-bottom:.75rem;position:relative;z-index:1}
.vm-card p{color:var(--ink);font-weight:300;position:relative;z-index:1;line-height:1.7}

/* ---------- Courses (pinned scroll-telling) ---------- */
.courses-pin{position:relative;height:460vh}
.courses-sticky{position:sticky;top:0;height:100svh;min-height:540px;overflow:hidden}
.courses-bg{position:absolute;inset:0;z-index:0}
.cbg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;
  transform:scale(1.06) translateZ(0);will-change:opacity;backface-visibility:hidden;
  transition:opacity 1.1s var(--ease),transform 8s linear}
.cbg.active{opacity:1;transform:scale(1) translateZ(0)}
.courses-scrim{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(6,2,38,.72) 0%,rgba(6,2,38,.12) 26%,rgba(6,2,38,.45) 60%,rgba(6,2,38,.95) 100%),
             radial-gradient(120% 70% at 50% 118%,rgba(11,0,73,.92),transparent 62%)}
.courses-inner{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;
  padding-block:calc(var(--nav-h) + clamp(1.4rem,3vw,2.6rem)) clamp(2rem,5vw,3.4rem)}
.courses-head{margin-bottom:auto}
.courses-stage{position:relative;min-height:clamp(230px,34vh,320px);display:flex;align-items:flex-end}
.course{position:absolute;inset-block-end:0;inset-inline-start:0;max-width:620px;
  opacity:0;transform:translateY(26px);transition:opacity .6s var(--ease),transform .6s var(--ease);pointer-events:none}
.course.active{opacity:1;transform:none;pointer-events:auto}
.c-greet{display:block;font-family:var(--serif-en);font-weight:700;
  font-size:clamp(2.4rem,5.2vw,4.2rem);line-height:1;color:var(--gold);
  text-shadow:0 4px 30px rgba(0,0,0,.5);margin-bottom:.7rem}
.c-meta{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.c-name{font-family:var(--serif-ar),var(--serif-en);font-weight:700;
  font-size:clamp(1.35rem,2.4vw,2rem);color:var(--ivory)}
html[dir=ltr] .c-name{font-family:var(--serif-en)}
.c-badge{font-size:.84rem;font-weight:600;color:var(--gold);letter-spacing:.02em;
  border:1px solid var(--line);background:rgba(241,197,14,.1);padding:.42em 1em;border-radius:999px}
.c-desc{color:rgba(247,243,233,.88);font-size:clamp(1rem,1.4vw,1.12rem);font-weight:300;
  line-height:1.7;max-width:560px;text-shadow:0 2px 16px rgba(0,0,0,.55)}
.courses-foot{display:flex;align-items:center;gap:clamp(1rem,2.5vw,2rem);margin-top:clamp(1.6rem,3vw,2.4rem)}
.c-count{font-family:var(--serif-en);color:var(--ivory);white-space:nowrap}
.c-count b{color:var(--gold);font-size:1.5rem;font-weight:700}
.c-count span{color:var(--ink-dim);font-size:.9rem;margin-inline-start:.3rem}
.c-progress{flex:1;height:2px;background:rgba(247,243,233,.16);border-radius:2px;overflow:hidden}
.c-progress span{display:block;height:100%;width:16.66%;border-radius:2px;
  background:linear-gradient(90deg,var(--gold-deep),var(--gold));transition:width .5s var(--ease)}
.c-dots{display:flex;gap:.5rem}
.c-dots button{width:9px;height:9px;padding:0;border-radius:50%;border:1px solid rgba(247,243,233,.35);
  background:transparent;cursor:pointer;transition:width .3s var(--ease),background .3s var(--ease),border-color .3s var(--ease)}
.c-dots button.active{background:var(--gold);border-color:var(--gold);width:24px;border-radius:6px}
@media (max-width:640px){.courses-pin{height:340vh}.courses-sticky{min-height:0}.c-desc{font-size:.98rem}}

/* ---------- Curricula (badge marquee) ---------- */
.cur-marquee,.val-marquee{overflow:hidden;direction:ltr;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.cur-marquee{margin-top:clamp(1.6rem,3vw,2.6rem)}
.cur-track,.val-track{display:flex;align-items:center;width:max-content;
  animation:mq var(--mq-dur,40s) linear infinite}
.cur-marquee:hover .cur-track,.val-marquee:hover .val-track{animation-play-state:paused}
.cur-track{gap:clamp(.9rem,2vw,1.5rem)}
.cur-item{display:inline-flex;align-items:center;gap:.85rem;padding:.85rem 1.4rem;border-radius:16px;
  border:1px solid var(--line);background:linear-gradient(160deg,var(--paper-2),var(--paper));
  white-space:nowrap;transition:border-color var(--t),background var(--t),transform var(--t)}
@media (hover:hover){.cur-item:hover{border-color:rgba(241,197,14,.4);background:rgba(241,197,14,.05);transform:translateY(-3px)}}
.cur-ic{width:40px;height:40px;flex:none;border-radius:11px;display:grid;place-items:center;color:var(--gold);
  background:rgba(241,197,14,.09);border:1px solid var(--line);transition:background var(--t)}
@media (hover:hover){.cur-item:hover .cur-ic{background:rgba(241,197,14,.18)}}
.cur-ic svg{width:20px;height:20px}
.cur-info{display:flex;flex-direction:column;gap:.05rem}
.cur-item b{font-family:var(--serif-en);font-weight:700;font-size:1.25rem;color:var(--ivory);line-height:1.1}
.cur-info i{font-style:normal;font-size:.78rem;color:var(--gold);font-weight:600}
@keyframes mq{to{transform:translateX(-50%)}}

/* ---------- Values (gold ribbon) ---------- */
.val-marquee{margin-top:clamp(1.6rem,3vw,2.6rem);border-block:1px solid var(--line);
  padding-block:clamp(1.4rem,3.2vw,2.4rem);background:linear-gradient(180deg,rgba(241,197,14,.03),transparent)}
.val-track{gap:clamp(1.2rem,2.6vw,2.4rem);font-family:var(--serif-ar),var(--serif-en);font-weight:700;
  font-size:clamp(1.5rem,3vw,2.6rem)}
html[dir=ltr] .val-track{font-family:var(--serif-en)}
.val-w{color:transparent;-webkit-text-stroke:1.1px rgba(241,197,14,.55);white-space:nowrap;
  transition:color .4s var(--ease),-webkit-text-stroke-color .4s var(--ease)}
.val-marquee:hover .val-w{color:var(--gold);-webkit-text-stroke-color:transparent}
.val-sep{flex:none;width:10px;height:10px;background:var(--gold);border-radius:50% 0 50% 50%;
  transform:rotate(45deg);opacity:.8}

/* ---------- Goals (stacking cards storytelling) ---------- */
.goals-stack{position:relative;max-width:860px;margin-inline:auto;
  display:flex;flex-direction:column;gap:clamp(1.4rem,4vw,2.6rem);
  padding-top:clamp(1rem,3vw,2rem);padding-bottom:28vh}
.gstack-card{position:sticky;top:calc(var(--nav-h) + clamp(1.6rem,5vw,3.5rem) + var(--i) * 16px);
  min-height:clamp(260px,44vh,380px);display:flex;flex-direction:column;justify-content:center;
  padding:clamp(2rem,4vw,3.4rem);border-radius:26px;overflow:hidden;transform-origin:center top;
  background:linear-gradient(160deg,#1a1266,#0d0650 72%);border:1px solid var(--line);
  box-shadow:0 30px 70px -28px rgba(0,0,0,.85);transition:transform .12s linear,opacity .12s linear}
.gstack-card::before{content:"";position:absolute;inset-block-start:0;inset-inline:0;height:4px;
  background:linear-gradient(90deg,var(--gold),var(--red))}
.gs-top{display:flex;align-items:baseline;gap:.5rem;margin-bottom:.8rem}
.gs-num{font-family:var(--serif-en);font-weight:700;font-size:clamp(2.8rem,6vw,4.6rem);line-height:.9;
  background:linear-gradient(180deg,var(--gold-2),var(--gold-deep));-webkit-background-clip:text;background-clip:text;color:transparent}
.gs-of{font-family:var(--serif-en);color:var(--ink-dim);font-size:1rem}
.gstack-card p{font-family:var(--serif-ar),var(--serif-en);font-weight:500;
  font-size:clamp(1.25rem,2.2vw,1.85rem);line-height:1.5;color:var(--ivory);max-width:34ch}
html[dir=ltr] .gstack-card p{font-family:var(--serif-en)}
@media (max-width:640px){.gstack-card{min-height:230px;top:calc(var(--nav-h) + 1.2rem + var(--i) * 12px)}}

@media (max-width:600px){.cur-item b{font-size:1.15rem}.val-track{font-size:1.35rem}}

/* ---------- Section subtitle ---------- */
.sec-sub{max-width:640px;color:var(--ink);font-weight:300;font-size:1.06rem;line-height:1.75;margin-top:1rem}

/* ---------- Instructors (rail + tilt + monogram) ---------- */
.inst-rail{display:flex;gap:clamp(1rem,2vw,1.5rem);overflow-x:auto;scroll-snap-type:x mandatory;
  padding:1rem clamp(1rem,4vw,3rem) 1.6rem;margin-top:clamp(1.6rem,3vw,2.6rem);scrollbar-width:none}
.inst-rail::-webkit-scrollbar{display:none}
.inst-card{flex:0 0 clamp(258px,78vw,296px);scroll-snap-align:start;
  background:linear-gradient(160deg,var(--paper-2),var(--paper));
  border:1px solid var(--line-2);border-radius:20px;padding:1.6rem;box-shadow:0 24px 50px -34px rgba(20,16,66,.35);
  transition:transform .2s var(--ease),border-color var(--t);will-change:transform}
@media (hover:hover){.inst-card:hover{border-color:var(--line)}}
.inst-photo{width:100%;aspect-ratio:4/5;border-radius:14px;background-size:cover;background-position:center 16%;
  border:1px solid var(--line);margin-bottom:1.2rem;box-shadow:0 20px 40px -24px rgba(0,0,0,.7)}
.inst-photo.inst-icon{display:grid;place-items:center;box-shadow:none;
  background:linear-gradient(160deg,rgba(241,197,14,.08),rgba(255,255,255,.015))}
.inst-icon svg{width:40%;height:auto;color:rgba(241,197,14,.45)}
.inst-card h3{font-family:var(--serif-ar),var(--serif-en);font-weight:700;font-size:1.2rem;color:var(--ivory);margin-bottom:.4rem}
html[dir=ltr] .inst-card h3{font-family:var(--serif-en)}
.inst-role{display:inline-block;font-size:.78rem;color:var(--gold);font-weight:600;margin-bottom:.9rem;
  padding:.25em .8em;border-radius:999px;background:rgba(241,197,14,.09);border:1px solid var(--line)}
.inst-card p{color:var(--ink);font-weight:300;font-size:.9rem;line-height:1.65}

/* ---------- Accreditation (reading-light over Oxford) ---------- */
.sec-accred{position:relative;overflow:hidden;padding-block:clamp(5rem,12vw,9rem);text-align:center}
.accred-bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0;opacity:.55}
.accred-scrim{position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,var(--indigo) 0%,rgba(11,0,73,.55) 42%,rgba(11,0,73,.62) 60%,var(--indigo) 100%),
             radial-gradient(80% 60% at 50% 50%,transparent,rgba(5,2,32,.55))}
.accred-in{position:relative;z-index:2;max-width:860px;margin-inline:auto}
.accred-in .eyebrow{justify-content:center}
.reading{font-family:var(--serif-ar),var(--serif-en);font-weight:500;
  font-size:clamp(1.3rem,2.8vw,2.05rem);line-height:1.6;margin:1.2rem 0 2rem}
html[dir=ltr] .reading{font-family:var(--serif-en)}
.reading .w{color:rgba(247,243,233,.26);transition:color .3s var(--ease)}
.reading .w.lit{color:var(--ivory)}
.accred-seal{display:inline-flex;align-items:center;gap:.7rem;padding:.8rem 1.5rem;border-radius:999px;
  border:1px solid var(--line);background:rgba(241,197,14,.08);color:var(--gold);
  font-family:var(--serif-en);font-size:1.02rem;font-weight:600}
.accred-seal svg{width:24px;height:24px}

/* ---------- Why Cordia (split: sticky image + icon reasons) ---------- */
.why-split{display:grid;grid-template-columns:.82fr 1.18fr;gap:clamp(2rem,5vw,4.5rem);align-items:start}
.why-media{position:sticky;top:calc(var(--nav-h) + 1.5rem)}
.why-img{position:relative;aspect-ratio:4/5;border-radius:24px;background-size:cover;background-position:center;
  border:1px solid var(--line);box-shadow:0 40px 90px -40px rgba(0,0,0,.75)}
.why-stat{position:absolute;inset-block-end:1.2rem;inset-inline-start:1.2rem;
  background:rgba(255,255,255,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(242,201,25,.5);border-radius:16px;padding:.85rem 1.3rem;display:flex;flex-direction:column;
  box-shadow:0 18px 40px -16px rgba(20,16,66,.28)}
.why-stat b{font-family:var(--serif-en);font-weight:700;color:var(--gold);font-size:2.1rem;line-height:1}
.why-stat b span{font-size:1.2rem}
.why-stat-l{color:var(--ink-dim);font-size:.76rem;font-weight:500;margin-top:.15rem}
.why-list{list-style:none;display:flex;flex-direction:column;gap:.7rem;margin-top:clamp(1.4rem,3vw,2rem)}
.why-li{display:flex;align-items:center;gap:1.1rem;padding:1rem 1.3rem;border-radius:14px;
  border:1px solid var(--line-2);background:var(--paper-2);
  transition:border-color var(--t),background var(--t),transform var(--t)}
@media (hover:hover){.why-li:hover{border-color:var(--line);background:rgba(241,197,14,.04);transform:translateY(-2px)}}
.why-ic{width:44px;height:44px;flex:none;border-radius:12px;display:grid;place-items:center;color:var(--gold);
  background:rgba(241,197,14,.09);border:1px solid var(--line);transition:background var(--t)}
@media (hover:hover){.why-li:hover .why-ic{background:rgba(241,197,14,.16)}}
.why-ic svg{width:22px;height:22px}
.why-li p{color:var(--ivory);font-weight:400;font-size:1.02rem}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:start}
.contact-copy p{color:var(--ink);font-weight:300;line-height:1.8;margin:1rem 0 1.8rem;max-width:44ch}
.contact-list{list-style:none;display:flex;flex-direction:column;gap:1rem}
.contact-list li{display:flex;align-items:center;gap:.9rem;color:var(--ivory)}
.contact-list a{color:var(--ivory);transition:color var(--t)}
@media (hover:hover){.contact-list a:hover{color:var(--gold)}}
.ci-ic{width:42px;height:42px;flex:none;border-radius:12px;display:grid;place-items:center;color:var(--gold);
  background:rgba(241,197,14,.09);border:1px solid var(--line)}
.ci-ic svg{width:20px;height:20px}
.contact-form{background:linear-gradient(160deg,var(--paper-2),var(--paper));
  border:1px solid var(--line-2);border-radius:22px;padding:clamp(1.5rem,3vw,2.2rem);box-shadow:0 30px 70px -44px rgba(20,16,66,.35)}
.field{margin-bottom:1.05rem}
.field label{display:block;font-size:.85rem;color:var(--ink);margin-bottom:.5rem;font-weight:500}
.field input,.field select,.field textarea{width:100%;background:rgba(20,16,66,.035);
  border:1px solid var(--line);border-radius:12px;padding:.8rem 1rem;color:var(--ivory);
  font-family:var(--body);font-size:1rem;transition:border-color var(--t),box-shadow var(--t)}
.field textarea{resize:vertical;min-height:82px}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(241,197,14,.14)}
.field select{cursor:pointer}.field select option{background:#fff;color:#141042}
.contact-form .btn{width:100%;margin-top:.4rem}

/* ---------- Footer ---------- */
.footer{position:relative;overflow:hidden;border-top:1px solid var(--line);margin-top:clamp(2rem,5vw,4rem)}
.footer::before{content:"";position:absolute;inset-block-start:0;inset-inline:0;height:2px;z-index:2;
  background:linear-gradient(90deg,transparent,var(--gold) 35%,var(--red) 65%,transparent);opacity:.7}
.footer-lotus{position:absolute;inset-block-end:-38%;inset-inline-start:50%;transform:translateX(-50%);
  width:min(760px,130%);height:auto;color:var(--gold);opacity:.05;z-index:0;pointer-events:none}
.footer-cta{position:relative;z-index:1;border-bottom:1px solid var(--line-2)}
.footer-cta-in{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;
  padding-block:clamp(2.4rem,5vw,4rem)}
.footer-cta-txt .h-lg{margin-top:.4rem}
.footer-in{position:relative;z-index:1;display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;
  gap:clamp(1.5rem,3vw,3rem);padding-block:clamp(2.5rem,5vw,3.6rem)}
.footer-lock{display:flex;align-items:center;gap:.7rem}
.footer-logo{height:86px;width:auto;display:block;filter:drop-shadow(0 0 10px rgba(241,197,14,.22))}
.footer-brand .brand-mark{width:46px;color:var(--gold);filter:drop-shadow(0 0 10px rgba(241,197,14,.4))}
.footer-brand .brand-txt{display:flex;flex-direction:column;line-height:1}
.footer-brand .brand-txt b{font-family:var(--serif-en);font-weight:700;font-size:1.4rem;letter-spacing:.14em;color:var(--ivory)}
.footer-brand .brand-txt i{font-family:var(--script);font-style:normal;color:var(--gold);font-size:.9rem;margin-top:2px}
.footer-tag{color:var(--ink);font-weight:300;margin-top:1rem;line-height:1.7;max-width:34ch}
.footer-social{display:flex;gap:.7rem;margin-top:1.3rem}
.footer-social a{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:var(--gold);
  border:1px solid var(--line);background:rgba(241,197,14,.06);transition:background var(--t),transform var(--t),border-color var(--t)}
.footer-social a svg{width:20px;height:20px}
@media (hover:hover){.footer-social a:hover{background:rgba(241,197,14,.16);transform:translateY(-3px);border-color:rgba(241,197,14,.4)}}
.footer-col h4{font-family:var(--serif-ar),var(--serif-en);font-size:1.05rem;color:var(--ivory);margin-bottom:1.1rem;font-weight:700}
html[dir=ltr] .footer-col h4{font-family:var(--serif-en)}
.footer-links{display:flex;flex-direction:column;gap:.65rem}
.footer-links a{color:var(--ink);font-size:.92rem;transition:color var(--t)}
@media (hover:hover){.footer-links a:hover{color:var(--gold)}}
.footer-contact{list-style:none;display:flex;flex-direction:column;gap:.9rem}
.footer-contact li{display:flex;align-items:center;gap:.65rem;color:var(--ink);font-size:.9rem}
.footer-contact li svg{width:18px;height:18px;color:var(--gold);flex:none}
.footer-contact a{color:var(--ink);transition:color var(--t)}
@media (hover:hover){.footer-contact a:hover{color:var(--gold)}}
.footer-bottom{position:relative;z-index:1;border-top:1px solid var(--line-2)}
.footer-bottom-in{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
  padding-block:1.4rem;font-size:.82rem;color:var(--ink-dim)}
.footer-totop{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;color:var(--gold);
  border:1px solid var(--line);background:rgba(241,197,14,.06);transition:background var(--t),transform var(--t)}
.footer-totop svg{width:18px;height:18px}
@media (hover:hover){.footer-totop:hover{background:rgba(241,197,14,.16);transform:translateY(-4px)}}
@media (max-width:820px){
  .footer-in{grid-template-columns:1fr 1fr;gap:2rem}
  .footer-brand{grid-column:1 / -1}
  .footer-cta-in{flex-direction:column;align-items:flex-start;gap:1.4rem}
}

@media (max-width:820px){
  .why-split{grid-template-columns:1fr;gap:1.5rem}
  .why-media{display:none}
  .contact-grid{grid-template-columns:1fr;gap:2.2rem}
}

@media (max-width:820px){
  .about2{grid-template-columns:1fr;gap:2.4rem}
  .vm-grid{grid-template-columns:1fr}
  .float-badge{inset-inline-start:auto;inset-inline-end:1rem;inset-block-end:-1.2rem}
}

/* ---------- Reveal ---------- */
.js .reveal{opacity:0;transform:translateY(22px)}
.js .reveal.in{opacity:1;transform:none;transition:opacity .8s var(--ease),transform .8s var(--ease)}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto}
  .js .petal{animation:none;stroke-dashoffset:0}
  .js .reveal{opacity:1;transform:none}
  .greet-word{transition:opacity .3s linear}
}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .nav-links{display:none}
  .brand-txt b{font-size:1.12rem}
}
@media (max-width:560px){
  /* nav — keep the brand from clipping */
  .nav-actions .btn{display:none}
  .nav-in{width:100%;padding-inline:18px;box-sizing:border-box;gap:.5rem}
  .brand{min-width:0}
  .brand-logo{height:44px}
  /* hero — tame the lotus to a faint watermark, give air */
  .hero{padding-top:calc(var(--nav-h) + 1.1rem)}
  .lotus{width:118vw;opacity:.12;top:47%;filter:drop-shadow(0 0 24px rgba(241,197,14,.28))}
  .kicker{max-width:92vw;font-size:.74rem;line-height:1.5;padding:.5rem .95rem;margin-bottom:1.15rem;text-align:center}
  .kicker>span{white-space:normal}
  .kicker .spark{display:none}
  .hero-sub{font-size:.96rem;margin-bottom:1.5rem}
  .hero-cta{width:100%;gap:.7rem}
  .hero-cta .btn{flex:1;padding-inline:.5em}
  /* stat band — compact 2-up */
  .trust{padding-block:1rem}
  .trust-in{gap:.4rem 0}
  .tstat{flex:1 1 46%;justify-content:center;padding:.5rem .4rem;gap:.55rem}
  .tstat-ic{width:38px;height:38px}
  .tstat-ic svg{width:18px;height:18px}
  .tstat-n b{font-size:1.45rem}
  .tstat b.ox{font-size:1.25rem}
  .tstat-l{font-size:.7rem}
}

/* ============ Light theme — dark cinematic bands keep light text ============ */
.hero-video,.hbg{display:none}
/* Courses = full-bleed dark photo band */
.courses-inner .h-lg,.courses-inner .sec-sub,.courses-sticky .c-name,.courses-sticky .c-count{color:#F7F3E9}
.courses-sticky .c-count span{color:rgba(247,243,233,.62)}
.courses-sticky .c-progress{background:rgba(247,243,233,.18)}
.courses-sticky .c-dots button{border-color:rgba(247,243,233,.4)}
/* Accreditation = dark Oxford band */
.sec-accred .h-lg{color:#F7F3E9}
.sec-accred .reading .w{color:rgba(247,243,233,.28)}
.sec-accred .reading .w.lit{color:#F7F3E9}
/* Goals = deep-navy stacking cards on ivory */
.gstack-card{background:linear-gradient(160deg,#171150,#0c0740 72%);box-shadow:0 30px 70px -28px rgba(20,16,66,.55)}
.gstack-card p{color:#F7F3E9}
.gstack-card .gs-of{color:rgba(247,243,233,.5)}

/* ---------- Impact stats band ---------- */
.sec-impact{padding-block:clamp(1rem,2.5vw,2rem)}
.impact-band{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-around;
  flex-wrap:wrap;gap:1.4rem clamp(1rem,4vw,3rem);
  padding:clamp(2rem,4vw,3rem) clamp(1.5rem,4vw,3.4rem);border-radius:26px;
  background:linear-gradient(160deg,rgba(242,201,25,.10),var(--paper-2));
  border:1px solid var(--line);box-shadow:0 30px 70px -46px rgba(20,16,66,.34)}
.impact-lotus{position:absolute;bottom:-34%;inset-inline-start:-5%;width:32%;height:auto;
  color:var(--gold-bright);opacity:.10;pointer-events:none}
.impact-stat{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:.35rem;
  text-align:center;flex:1 1 auto;min-width:130px}
.impact-stat b{direction:ltr;font-family:var(--serif-en);font-weight:700;line-height:1;
  display:inline-flex;align-items:baseline;font-variant-numeric:tabular-nums;
  background:linear-gradient(180deg,var(--gold-2),var(--gold-deep));
  -webkit-background-clip:text;background-clip:text;color:transparent}
.impact-stat b .impact-n{font-size:clamp(2.6rem,6vw,4.3rem)}
.impact-stat b s{text-decoration:none;font-size:clamp(1.5rem,3vw,2.3rem);margin-inline-start:.04em}
.impact-stat>span{font-size:clamp(.85rem,1.4vw,1rem);color:var(--ink-dim);font-weight:600}
.impact-div{width:1px;align-self:center;height:64px;flex:none;
  background:linear-gradient(180deg,transparent,var(--line),transparent)}
@media (max-width:640px){.impact-div{display:none}.impact-stat{flex:1 1 40%;min-width:120px}}

/* ---------- Contact form status ---------- */
.form-status{margin-top:.9rem;font-size:.9rem;font-weight:600;line-height:1.5;min-height:1.2em}
.form-status.ok{color:var(--gold-deep)}
.form-status.err{color:var(--red)}
