:root{
  --green:#2D5440;
  --green-deep:#23402F;
  --green-soft:#36624B;
  --cream:#FBF7EE;
  --cream-2:#F4ECDB;
  --ochre:#A36C36;
  --ochre-deep:#8C5A2B;
  --gold:#F1E5B7;
  --gold-2:#E6D49B;
  --ink:#22382C;
  --on-green:#F3EEDF;
  --muted:#6E7d72;
  --shadow:0 18px 50px rgba(35,64,47,.14);
  --maxw:1040px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:"Heebo",system-ui,sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
html[lang="ar"] body{font-family:"Cairo",system-ui,sans-serif;}

/* ---------- language switch ---------- */
.lang-switch{
  position:fixed;
  top:18px;
  inset-inline-start:18px;
  z-index:60;
}
.lang-switch button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--gold);
  color:var(--green-deep);
  border:none;
  border-radius:999px;
  padding:9px 18px;
  font-family:inherit;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  box-shadow:0 6px 20px rgba(35,64,47,.22);
  transition:transform .15s ease, background .15s ease;
}
.lang-switch button:hover{transform:translateY(-1px);background:#fff;}
.lang-switch .globe{font-size:16px;}

/* ---------- hero ---------- */
.hero{
  position:relative;
  background:var(--green);
  color:var(--on-green);
  padding:96px 24px 84px;
  overflow:hidden;
  text-align:center;
}
.hero .circle{position:absolute;border-radius:50%;pointer-events:none;}
.hero .circle.ochre{
  width:min(46vw,440px);height:min(46vw,440px);
  background:var(--ochre);
  top:-150px;inset-inline-end:-90px;
  opacity:.95;
}
.hero .circle.olive{
  width:340px;height:340px;
  background:var(--green-deep);
  bottom:-180px;inset-inline-start:-120px;
  opacity:.7;
}
.hero-inner{position:relative;z-index:2;max-width:var(--maxw);margin:0 auto;}
.eyebrow{
  letter-spacing:.42em;
  font-size:14px;
  font-weight:500;
  color:var(--gold-2);
  margin:0 0 18px;
  text-transform:none;
}
html[lang="ar"] .eyebrow{letter-spacing:.18em;}
.hero h1{
  font-size:clamp(46px,9vw,104px);
  font-weight:900;
  color:var(--gold);
  margin:0;
  line-height:1.02;
  letter-spacing:-.01em;
}
.hero .subtitle{
  font-size:clamp(22px,4.4vw,40px);
  font-weight:500;
  color:var(--on-green);
  margin:10px 0 0;
  opacity:.94;
}
.hero .tagline{
  max-width:640px;
  margin:30px auto 0;
  font-size:clamp(15px,2.2vw,18px);
  color:var(--gold-2);
  font-weight:300;
  line-height:1.7;
}
.hero .divider{
  width:60px;height:1px;background:rgba(241,229,183,.4);
  margin:34px auto 0;position:relative;
}
.hero .divider::after{
  content:"";position:absolute;top:-3px;inset-inline-start:50%;
  width:7px;height:7px;border-radius:50%;background:var(--ochre);transform:translateX(50%);
}

/* ---------- detail bar ---------- */
.details{
  background:var(--cream);
  max-width:var(--maxw);
  margin:-38px auto 0;
  position:relative;z-index:5;
  border-radius:18px;
  box-shadow:var(--shadow);
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  padding:26px 22px;
}
.detail{
  flex:1 1 150px;
  min-width:140px;
  text-align:center;
  padding:6px 14px;
}
.detail + .detail{border-inline-start:1px solid var(--cream-2);}
.detail .k{
  display:block;font-size:12.5px;letter-spacing:.12em;color:var(--ochre);
  font-weight:600;margin-bottom:6px;
}
.detail .v{font-size:21px;font-weight:700;color:var(--green);}

/* ---------- sections ---------- */
.section{max-width:var(--maxw);margin:0 auto;padding:64px 24px 8px;}
.section-head{display:flex;align-items:center;gap:16px;margin-bottom:34px;}
.section-head h2{
  font-size:clamp(26px,4.6vw,40px);
  font-weight:800;color:var(--green);margin:0;white-space:nowrap;
}
.section-head .line{flex:1;height:2px;background:linear-gradient(to var(--linedir,left),var(--ochre),transparent);}

/* ---------- schedule ---------- */
.timeline{display:flex;flex-direction:column;gap:14px;}
.slot{
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 26px rgba(35,64,47,.08);
}
.slot-grid{display:grid;grid-template-columns:96px 1fr;align-items:stretch;}
.slot .time{
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:20px;padding:18px 10px;
}
.slot .body{padding:18px 22px;}
.slot .s-title{font-size:clamp(18px,2.6vw,22px);font-weight:800;line-height:1.3;margin:0;}
.slot .s-desc{margin:6px 0 0;font-size:15px;opacity:.92;}
.slot .s-mod{margin:8px 0 0;font-size:14.5px;opacity:.9;}
.slot .s-mod b, .slot .panelist b, .sub .sp b{font-weight:700;}

/* session (green) */
.slot.session{background:var(--green);color:var(--on-green);}
.slot.session .time{background:var(--green-deep);color:var(--gold);}
.slot.session .s-title{color:var(--gold);}
.slot.session .s-mod{color:var(--gold-2);}

/* sub sessions */
.subs{margin-top:14px;display:flex;flex-direction:column;gap:10px;}
.sub{
  background:rgba(251,247,238,.07);
  border-inline-start:3px solid var(--ochre);
  border-radius:10px;padding:11px 14px;
}
.sub .st{font-weight:700;font-size:16px;color:#fff;margin:0;}
.sub .sp{margin:3px 0 0;font-size:14px;color:var(--gold-2);}

/* panel list */
.panel{margin-top:14px;display:flex;flex-direction:column;gap:9px;}
.panelist{
  display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;
  background:rgba(251,247,238,.07);border-radius:10px;padding:10px 14px;
  font-size:14.5px;
}
.panelist .org{color:var(--gold-2);font-weight:600;}
.panelist .sep{color:var(--ochre);font-weight:800;}
.panelist .nm{color:#fff;}

/* plain (open/close) */
.slot.plain{background:#fff;color:var(--green);}
.slot.plain .time{background:var(--ochre);color:#fff;}
.slot.plain .s-title{color:var(--green);font-weight:800;}

/* break */
.slot.brk{background:var(--cream-2);box-shadow:none;}
.slot.brk .time{background:var(--ochre-deep);color:#fff;font-size:18px;}
.slot.brk .s-title{color:var(--ochre-deep);font-weight:700;font-size:18px;}
.slot.brk .body{padding-top:14px;padding-bottom:14px;}

/* ---------- speakers ---------- */
.speakers-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;
}
.spk-card{
  background:#fff;border-radius:16px;padding:24px 22px;
  box-shadow:0 8px 26px rgba(35,64,47,.08);
  border-top:4px solid var(--ochre);
  position:relative;
}
.spk-card h3{margin:0 0 4px;font-size:21px;color:var(--green);font-weight:800;}
.spk-card .role{font-size:13.5px;color:var(--ochre);font-weight:600;margin:0 0 12px;}
.spk-card p{margin:0;font-size:14.5px;color:#465049;line-height:1.7;}

/* ---------- bonus / articles ---------- */
.bonus-intro{font-size:16px;color:#4a5650;max-width:680px;margin:-16px 0 30px;}
.article-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;}
.art-card{
  background:var(--green);color:var(--on-green);
  border-radius:18px;padding:30px 28px;display:flex;flex-direction:column;
  position:relative;overflow:hidden;box-shadow:var(--shadow);
}
.art-card .art-circle{
  position:absolute;width:160px;height:160px;border-radius:50%;
  background:var(--ochre);opacity:.85;top:-70px;inset-inline-end:-50px;
}
.art-card .art-kicker{position:relative;font-size:12.5px;letter-spacing:.16em;color:var(--gold-2);margin:0 0 12px;font-weight:600;}
.art-card h3{position:relative;margin:0 0 6px;font-size:23px;color:var(--gold);font-weight:800;line-height:1.3;}
.art-card .art-author{position:relative;font-size:15px;color:var(--on-green);opacity:.9;margin:0 0 16px;}
.art-card .art-bio{position:relative;font-size:13px;color:rgba(243,238,223,.8);margin:0 0 16px;line-height:1.65;padding-bottom:14px;border-bottom:1px solid rgba(241,229,183,.22);}
.art-card .art-excerpt{position:relative;font-size:14.5px;color:var(--gold-2);font-style:italic;margin:0 0 22px;line-height:1.7;flex:1;}
.modal-content .m-bio{font-size:14px;color:#5a665d;line-height:1.7;margin:0 0 22px;padding-bottom:20px;border-bottom:1px solid var(--cream-2);}
.art-card .art-btn{
  position:relative;align-self:flex-start;
  background:var(--gold);color:var(--green-deep);border:none;
  border-radius:999px;padding:11px 26px;font-family:inherit;font-weight:700;font-size:15px;cursor:pointer;
  transition:transform .15s ease,background .15s ease;
}
.art-card .art-btn:hover{transform:translateY(-1px);background:#fff;}

/* ---------- modal ---------- */
.modal-overlay{
  position:fixed;inset:0;z-index:100;
  background:rgba(20,38,28,.62);backdrop-filter:blur(3px);
  display:flex;align-items:flex-start;justify-content:center;
  padding:40px 18px;overflow-y:auto;
}
.modal-overlay[hidden]{display:none;}
.modal{
  background:var(--cream);color:var(--ink);
  max-width:760px;width:100%;border-radius:18px;
  padding:48px clamp(22px,5vw,56px) 56px;
  box-shadow:0 30px 80px rgba(0,0,0,.4);
  position:relative;margin:auto;
}
.modal-close{
  position:absolute;top:14px;inset-inline-end:18px;
  background:var(--green);color:var(--gold);border:none;
  width:40px;height:40px;border-radius:50%;font-size:26px;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.modal-close:hover{background:var(--ochre);color:#fff;}
.modal-content .art-kicker{font-size:12.5px;letter-spacing:.16em;color:var(--ochre);font-weight:700;margin:0 0 8px;}
.modal-content h2{font-size:clamp(24px,4vw,32px);color:var(--green);font-weight:800;margin:0 0 6px;line-height:1.3;}
.modal-content .m-author{font-size:16px;color:var(--ochre);font-weight:600;margin:0 0 24px;}
.modal-content .art-body{
  font-family:"Frank Ruhl Libre",Georgia,serif;
  font-size:18px;line-height:1.95;color:#2c3a32;
}
html[lang="ar"] .modal-content .art-body{font-family:"Amiri",serif;font-size:19px;line-height:2.05;}
.modal-content .art-body p{margin:0 0 18px;}
.modal-content .art-body .poem{
  white-space:pre-wrap;background:#fff;border-inline-start:3px solid var(--ochre);
  padding:18px 22px;border-radius:10px;font-style:italic;margin:0 0 18px;line-height:1.9;
}
.modal-content .art-body .epigraph{font-style:italic;color:var(--ochre-deep);border:none;background:var(--cream-2);}
.modal-content .art-body .sig{font-size:14.5px;color:var(--muted);font-style:italic;}
.modal-content .art-body .ltr{direction:ltr;text-align:left;font-family:Georgia,serif;}

/* ---------- footer ---------- */
.site-footer{background:var(--green);color:var(--on-green);margin-top:70px;padding:60px 24px 54px;text-align:center;}
.footer-inner{max-width:680px;margin:0 auto;}
.footer-quote{font-size:clamp(19px,3vw,25px);font-style:italic;color:var(--gold);line-height:1.6;margin:0;}
.footer-author{margin:14px 0 0;color:var(--gold-2);font-weight:600;}
.footer-note{margin:30px 0 0;font-size:13.5px;color:rgba(243,238,223,.65);}

/* ---------- responsive ---------- */
@media (max-width:560px){
  .slot-grid{grid-template-columns:72px 1fr;}
  .slot .time{font-size:17px;padding:14px 6px;}
  .slot .body{padding:16px 16px;}
  .details{margin-top:-24px;border-radius:14px;}
  .detail + .detail{border-inline-start:none;border-top:1px solid var(--cream-2);padding-top:14px;}
  .hero{padding:84px 18px 70px;}
}

/* fade-in */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease;}
.reveal.in{opacity:1;transform:none;}
