
:root{
  --black:#0d0d0d;
  --black-2:#151515;
  --gold:#b08d57;
  --gold-light:#d6b77d;
  --white:#ffffff;
  --off-white:#f6f3ee;
  --slate:#5e6472;
  --navy:#243b53;
  --border:rgba(176,141,87,.28);
  --shadow:0 18px 45px rgba(0,0,0,.16);
  --radius:22px;
  --max:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--off-white);
  color:#222;
  font-family:Arial,"Noto Sans Arabic",sans-serif;
  line-height:1.75;
}
body[dir="rtl"]{font-family:Tahoma,Arial,"Noto Sans Arabic",sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.section{padding:90px 0}
.section-dark{background:var(--black);color:var(--white)}
.section-title{
  margin:0 0 14px;
  font-size:clamp(2rem,4vw,3.6rem);
  line-height:1.12;
  letter-spacing:-.02em;
}
.section-kicker{
  color:var(--gold);
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-size:.78rem;
}
.section-lead{max-width:780px;color:#666;font-size:1.08rem}
.section-dark .section-lead{color:#c7c7c7}

.topbar{
  position:sticky;top:0;z-index:1000;
  background:rgba(13,13,13,.94);
  backdrop-filter:blur(12px);
  color:white;border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{
  min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px
}
.brand{display:flex;align-items:center;gap:12px}
.monogram{
  width:44px;height:44px;border:1px solid var(--gold);
  display:grid;place-items:center;color:var(--gold);
  font-family:Georgia,serif;font-size:1.2rem;border-radius:50%
}
.brand-text strong{display:block;font-size:.95rem}
.brand-text span{font-size:.73rem;color:#b9b9b9}
.nav-links{display:flex;align-items:center;gap:22px;font-size:.9rem}
.nav-links a{color:#d7d7d7}
.nav-links a:hover{color:var(--gold-light)}
.lang-switch{
  border:1px solid var(--gold);color:var(--gold-light);
  padding:8px 13px;border-radius:999px;font-weight:700
}

.hero{
  min-height:calc(100vh - 76px);
  background:
    radial-gradient(circle at 70% 30%,rgba(176,141,87,.18),transparent 33%),
    linear-gradient(125deg,#080808 0%,#111 55%,#191919 100%);
  color:white;display:flex;align-items:center;overflow:hidden;position:relative
}
.hero:before,.hero:after{
  content:"";position:absolute;border:1px solid rgba(176,141,87,.28);
  transform:rotate(26deg);width:520px;height:220px;border-radius:50%
}
.hero:before{right:-260px;top:80px}
.hero:after{left:-320px;bottom:-40px}
.hero-grid{
  display:grid;grid-template-columns:1.16fr .84fr;gap:70px;align-items:center;
  position:relative;z-index:2;padding:70px 0
}
.hero h1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(3rem,7vw,6.3rem);
  line-height:.95;margin:16px 0 24px;font-weight:500
}
.hero h1 span{color:var(--gold-light)}
.hero-subtitle{font-size:1.15rem;color:#d2d2d2;max-width:760px}
.hero-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.hero-tags span{
  border:1px solid rgba(255,255,255,.16);padding:8px 13px;
  border-radius:999px;font-size:.82rem;color:#ddd
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:13px 20px;border-radius:999px;font-weight:700;
  border:1px solid transparent;transition:.2s
}
.btn-gold{background:var(--gold);color:#0b0b0b}
.btn-gold:hover{background:var(--gold-light);transform:translateY(-2px)}
.btn-outline{border-color:#555;color:white}
.btn-outline:hover{border-color:var(--gold);color:var(--gold-light)}
.portrait-wrap{
  position:relative;max-width:470px;margin-inline:auto;
  border-radius:260px 260px 24px 24px;
  padding:12px;border:1px solid rgba(176,141,87,.5);
  background:linear-gradient(180deg,rgba(176,141,87,.18),rgba(255,255,255,.02))
}
.portrait-wrap img{
  width:100%;aspect-ratio:4/5;object-fit:cover;
  border-radius:250px 250px 18px 18px;filter:saturate(.92) contrast(1.02)
}
.portrait-caption{
  position:absolute;inset:auto 18px 18px 18px;
  background:rgba(13,13,13,.82);backdrop-filter:blur(8px);
  padding:16px;border:1px solid rgba(176,141,87,.28);border-radius:14px
}
.portrait-caption strong{display:block;color:var(--gold-light)}
.portrait-caption span{font-size:.84rem;color:#ddd}

.stats{
  margin-top:-42px;position:relative;z-index:4
}
.stats-grid{
  background:white;border-radius:var(--radius);box-shadow:var(--shadow);
  display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden
}
.stat{padding:28px;border-inline-end:1px solid #eee}
.stat:last-child{border-inline-end:none}
.stat strong{display:block;font-size:2rem;color:var(--gold)}
.stat span{font-size:.88rem;color:#666}

.cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:42px
}
.card{
  background:white;border:1px solid #ece8e1;border-radius:var(--radius);
  padding:28px;box-shadow:0 12px 30px rgba(0,0,0,.05)
}
.card .number{font-family:Georgia,serif;font-size:2.6rem;color:var(--gold)}
.card h3{margin:8px 0 10px;font-size:1.25rem}
.card p{margin:0;color:#666}

.identity-grid{
  display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start
}
.quote-panel{
  background:var(--black);color:white;border-radius:var(--radius);
  padding:44px;position:sticky;top:110px;overflow:hidden
}
.quote-panel:after{
  content:"“";position:absolute;inset:-30px auto auto 20px;
  font-family:Georgia,serif;font-size:12rem;color:rgba(176,141,87,.12)
}
.quote-panel blockquote{
  font-family:Georgia,"Times New Roman",serif;font-size:2rem;line-height:1.35;
  margin:0;position:relative;z-index:2
}
.quote-panel cite{display:block;margin-top:22px;color:var(--gold-light);font-style:normal}

.chip-grid{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.chip{
  padding:9px 14px;border-radius:999px;background:#fff;border:1px solid #e9e3db;
  font-size:.86rem
}
.framework{
  display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:42px
}
.framework-step{
  background:#fff;border-top:4px solid var(--gold);padding:20px 16px;
  min-height:138px;border-radius:12px;box-shadow:0 10px 24px rgba(0,0,0,.05)
}
.framework-step small{display:block;color:var(--gold);font-weight:700}
.framework-step strong{display:block;margin:8px 0}
.framework-step span{font-size:.82rem;color:#666}

.case-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:42px}
.case{
  background:#fff;border-radius:var(--radius);overflow:hidden;
  border:1px solid #eae5dd;box-shadow:0 12px 30px rgba(0,0,0,.05)
}
.case-head{
  min-height:190px;padding:28px;color:#fff;
  background:linear-gradient(135deg,#151515,#2b241b);
  display:flex;flex-direction:column;justify-content:flex-end
}
.case-head small{color:var(--gold-light);font-weight:700}
.case-head h3{font-family:Georgia,serif;font-size:1.7rem;margin:7px 0 0}
.case-body{padding:26px}
.case-body dl{display:grid;grid-template-columns:130px 1fr;gap:10px;margin:0}
.case-body dt{font-weight:700;color:#222}
.case-body dd{margin:0;color:#666}

.timeline{margin-top:44px;position:relative}
.timeline:before{
  content:"";position:absolute;top:0;bottom:0;inset-inline-start:18px;width:2px;background:#d8c6a7
}
.timeline-item{position:relative;padding-inline-start:58px;margin-bottom:34px}
.timeline-dot{
  position:absolute;inset-inline-start:7px;top:5px;width:24px;height:24px;
  border-radius:50%;background:var(--black);border:5px solid var(--gold)
}
.timeline-item h3{margin:0 0 4px}
.timeline-item p{margin:0;color:#666}

.contact{
  background:linear-gradient(135deg,#0a0a0a,#1b1b1b);
  color:white;border-radius:30px;padding:50px;
  display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center
}
.contact p{color:#ccc;margin-bottom:0}
.footer{
  padding:34px 0;background:#080808;color:#aaa;font-size:.86rem
}
.footer-inner{display:flex;justify-content:space-between;gap:24px;align-items:center}
.footer strong{color:var(--gold-light)}

@media (max-width:980px){
  .nav-links{display:none}
  .hero-grid,.identity-grid{grid-template-columns:1fr}
  .portrait-wrap{max-width:380px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .cards{grid-template-columns:repeat(2,1fr)}
  .framework{grid-template-columns:repeat(2,1fr)}
  .case-grid{grid-template-columns:1fr}
}
@media (max-width:620px){
  .container{width:min(100% - 24px,var(--max))}
  .section{padding:68px 0}
  .hero-grid{gap:42px}
  .hero h1{font-size:3.2rem}
  .stats-grid,.cards,.framework{grid-template-columns:1fr}
  .stat{border-inline-end:none;border-bottom:1px solid #eee}
  .contact{grid-template-columns:1fr;padding:30px}
  .footer-inner{flex-direction:column;align-items:flex-start}
}


/* Version 2 expansion */
.biography-section{background:linear-gradient(180deg,#f6f3ee,#ffffff)}
.biography-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:start}
.biography-points{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px}
.biography-points div{background:#fff;border:1px solid #e9e3db;border-radius:16px;padding:18px}
.biography-points strong,.biography-points span{display:block}
.biography-points strong{color:var(--gold);margin-bottom:6px}
.biography-points span{font-size:.88rem;color:#666}
.profile-panel{background:var(--black);color:#fff;border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}
.profile-line{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.profile-line:last-child{border-bottom:0}
.profile-line span,.profile-line strong{display:block}
.profile-line span{font-size:.74rem;color:var(--gold-light);text-transform:uppercase;letter-spacing:.08em}
.profile-line strong{margin-top:5px;font-size:.96rem}
.principles-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:38px}
.principles-grid article{padding:22px;background:#171717;border:1px solid rgba(176,141,87,.25);border-radius:16px}
.principles-grid article>span{display:block;color:var(--gold);font-size:1.8rem;font-family:Georgia,serif}
.principles-grid h3{font-size:1rem;margin:8px 0}
.principles-grid p{font-size:.84rem;color:#bbb;margin:0}
.achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:38px}
.achievement-grid article{background:#fff;border-radius:18px;padding:24px;border:1px solid #e9e3db;box-shadow:0 10px 26px rgba(0,0,0,.05)}
.achievement-grid strong{display:block;font-size:2.35rem;color:var(--gold);font-family:Georgia,serif}
.achievement-grid h3{margin:6px 0 8px}
.achievement-grid p{margin:0;color:#666;font-size:.9rem}
.higher-ed-section{background:#ebe6dd}
.spotlight{display:grid;grid-template-columns:1.25fr .75fr;gap:50px;align-items:center}
.gold-list{padding:0;margin:26px 0 0;list-style:none}
.gold-list li{position:relative;padding-inline-start:25px;margin:11px 0}
.gold-list li:before{content:"";position:absolute;inset-inline-start:0;top:.72em;width:10px;height:2px;background:var(--gold)}
.spotlight-card{background:var(--black);color:#fff;border-radius:28px;padding:42px;box-shadow:var(--shadow)}
.spotlight-card span{color:var(--gold-light);font-size:.76rem;letter-spacing:.12em;text-transform:uppercase}
.spotlight-card strong{display:block;color:var(--gold);font-family:Georgia,serif;font-size:6rem;line-height:1;margin:18px 0 4px}
.spotlight-card h3{margin:0 0 12px;font-size:1.4rem}
.spotlight-card p{margin:0;color:#c7c7c7}
.partnership-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:36px}
.partnership-grid span{display:flex;align-items:center;justify-content:center;min-height:80px;text-align:center;padding:16px;border:1px solid rgba(176,141,87,.28);border-radius:14px;background:#151515;color:#eee}
.publication-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:center}
.publication-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.publication-cards article{background:#fff;border-top:4px solid var(--gold);border-radius:14px;padding:22px;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.publication-cards strong{display:block;font-size:2.5rem;color:var(--gold);font-family:Georgia,serif;margin-bottom:8px}
.publication-cards span{font-size:.87rem;color:#666}
@media (max-width:980px){
  .biography-grid,.spotlight,.publication-grid{grid-template-columns:1fr}
  .biography-points,.principles-grid,.achievement-grid,.partnership-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .biography-points,.principles-grid,.achievement-grid,.partnership-grid,.publication-cards{grid-template-columns:1fr}
}


@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

:root{
  --font-ar:"Noto Naskh Arabic","Amiri","Traditional Arabic",serif;
}

/* Unified Arabic publishing typography */
body[dir="rtl"],
body[dir="rtl"] p,
body[dir="rtl"] li,
body[dir="rtl"] a,
body[dir="rtl"] span,
body[dir="rtl"] strong,
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] blockquote,
body[dir="rtl"] cite,
body[dir="rtl"] dt,
body[dir="rtl"] dd,
body[dir="rtl"] button{
  font-family:var(--font-ar);
}
body[dir="rtl"]{
  font-size:18px;
  line-height:1.9;
}
body[dir="rtl"] .hero h1,
body[dir="rtl"] .section-title,
body[dir="rtl"] .quote-panel blockquote,
body[dir="rtl"] .case-head h3,
body[dir="rtl"] .number,
body[dir="rtl"] .stat strong,
body[dir="rtl"] .achievement-grid strong,
body[dir="rtl"] .spotlight-card strong{
  font-family:var(--font-ar);
}
body[dir="rtl"] .section-title{
  letter-spacing:0;
  line-height:1.28;
}
body[dir="rtl"] .section-kicker{
  letter-spacing:.05em;
}
body[dir="rtl"] .monogram{
  font-family:Georgia,serif;
}

/* Deep-dive chapter pages */
.chapter-hero{
  min-height:58vh;
  display:flex;
  align-items:flex-end;
  color:#fff;
  background:
    radial-gradient(circle at 82% 18%,rgba(176,141,87,.2),transparent 32%),
    linear-gradient(135deg,#080808,#1a1a1a);
  padding:95px 0 65px;
  position:relative;
  overflow:hidden;
}
.chapter-hero:after{
  content:"";
  position:absolute;
  width:460px;height:460px;border:1px solid rgba(176,141,87,.25);
  border-radius:50%;
  inset:auto -180px -240px auto;
}
.chapter-number{
  color:var(--gold);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:.78rem;
}
.chapter-hero h1{
  font-size:clamp(3rem,6vw,5.8rem);
  line-height:1.03;
  margin:14px 0 20px;
  font-family:Georgia,"Times New Roman",serif;
}
body[dir="rtl"] .chapter-hero h1{font-family:var(--font-ar);line-height:1.22}
.chapter-hero p{max-width:820px;color:#d4d4d4;font-size:1.08rem}
.breadcrumbs{font-size:.86rem;color:#bbb;margin-bottom:24px}
.breadcrumbs a{color:var(--gold-light)}
.chapter-layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:55px;
  align-items:start;
}
.chapter-toc{
  position:sticky;
  top:100px;
  background:#fff;
  border:1px solid #e9e3db;
  border-radius:18px;
  padding:22px;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
}
.chapter-toc strong{display:block;color:var(--gold);margin-bottom:12px}
.chapter-toc a{display:block;padding:8px 0;border-bottom:1px solid #eee;color:#555;font-size:.9rem}
.chapter-toc a:last-child{border-bottom:0}
.chapter-content section{scroll-margin-top:105px;margin-bottom:64px}
.chapter-content h2{
  font-size:2.25rem;line-height:1.25;margin:0 0 18px;color:#151515
}
body[dir="rtl"] .chapter-content h2{font-family:var(--font-ar)}
.chapter-content h3{font-size:1.28rem;margin:28px 0 10px}
.editorial-lead{
  font-size:1.2rem;color:#4d4d4d;border-inline-start:4px solid var(--gold);
  padding-inline-start:20px;margin:0 0 28px
}
.insight-box{
  background:var(--black);color:#fff;border-radius:20px;padding:30px;margin:28px 0
}
.insight-box strong{display:block;color:var(--gold-light);margin-bottom:8px}
.insight-box p{margin:0;color:#ddd}
.matrix{
  display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:25px
}
.matrix article{
  background:#fff;border:1px solid #e8e2d9;border-radius:16px;padding:22px
}
.matrix article span{display:block;color:var(--gold);font-weight:700;margin-bottom:8px}
.process-line{
  display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px
}
.process-line article{
  min-height:145px;background:#fff;border-top:4px solid var(--gold);
  border-radius:14px;padding:20px;box-shadow:0 10px 24px rgba(0,0,0,.05)
}
.process-line small{display:block;color:var(--gold);font-weight:700}
.process-line h3{margin:8px 0;font-size:1rem}
.process-line p{font-size:.86rem;color:#666;margin:0}
.evidence-list{
  display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:24px
}
.evidence-list div{
  background:#eee8de;border-radius:14px;padding:19px
}
.evidence-list strong{display:block;color:#171717}
.evidence-list span{font-size:.87rem;color:#666}
.next-chapters{
  background:#171717;color:#fff;border-radius:24px;padding:34px;
  display:flex;justify-content:space-between;gap:24px;align-items:center
}
.next-chapters span{color:#bbb}
.next-chapters a{color:var(--gold-light);font-weight:700}
@media (max-width:980px){
  .chapter-layout{grid-template-columns:1fr}
  .chapter-toc{position:relative;top:auto}
  .process-line{grid-template-columns:repeat(2,1fr)}
  .evidence-list{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  body[dir="rtl"]{font-size:17px}
  .matrix,.process-line,.evidence-list{grid-template-columns:1fr}
  .next-chapters{flex-direction:column;align-items:flex-start}
}

/* Print-ready website pages */
@media print{
  @page{size:A4;margin:17mm}
  .topbar,.hero-actions,.lang-switch,.footer,.chapter-toc{display:none!important}
  body{background:#fff;color:#111}
  .section,.chapter-hero{padding:22px 0}
  .chapter-hero{min-height:auto;background:#fff;color:#111}
  .chapter-hero p,.section-dark .section-lead{color:#333}
  .section-dark{background:#fff;color:#111}
  .card,.case,.framework-step,.achievement-grid article,.profile-panel,
  .spotlight-card,.insight-box{box-shadow:none;break-inside:avoid}
}


/* Version 4 — executive library and portfolio depth */
.library-section{
  background:linear-gradient(180deg,#ffffff,#f0ece5);
}
.library-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:38px;
}
.library-card{
  background:#fff;
  border:1px solid #e8e1d7;
  border-radius:18px;
  padding:24px;
  transition:.22s ease;
  box-shadow:0 10px 26px rgba(0,0,0,.04);
}
.library-card:hover{
  transform:translateY(-5px);
  border-color:rgba(176,141,87,.65);
  box-shadow:0 18px 38px rgba(0,0,0,.08);
}
.library-card small{
  color:var(--gold);
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.library-card h3{
  margin:8px 0 10px;
  font-size:1.15rem;
}
.library-card p{
  color:#666;
  font-size:.9rem;
  margin:0 0 18px;
}
.library-card a{
  color:var(--gold);
  font-weight:700;
}
.chapter-callout{
  margin:28px 0;
  border:1px solid #e6dfd4;
  border-radius:18px;
  padding:26px;
  background:#fff;
}
.chapter-callout h3{margin-top:0}
.chapter-callout p:last-child{margin-bottom:0}
.toolkit-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:26px;
}
.tool-card{
  background:#fff;
  border:1px solid #e7e0d7;
  border-radius:16px;
  padding:22px;
}
.tool-card strong{
  display:block;
  color:var(--gold);
  margin-bottom:7px;
}
.tool-card span{
  color:#666;
  font-size:.9rem;
}
.systems-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:25px;
}
.systems-grid div{
  min-height:105px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#fff;
  border:1px solid #e7e1d8;
  border-radius:14px;
  padding:18px;
  text-align:center;
}
.systems-grid strong{color:#171717}
.systems-grid span{font-size:.82rem;color:#777;margin-top:5px}
.executive-summary{
  background:linear-gradient(135deg,#0c0c0c,#252015);
  color:#fff;
  border-radius:24px;
  padding:36px;
  margin:32px 0;
}
.executive-summary strong{display:block;color:var(--gold-light);margin-bottom:8px}
.executive-summary p{margin:0;color:#ddd}
.outcome-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:24px;
}
.outcome-strip div{
  background:#eee8de;
  border-radius:14px;
  padding:18px;
}
.outcome-strip strong{display:block;color:#171717;margin-bottom:5px}
.outcome-strip span{font-size:.85rem;color:#666}
@media (max-width:980px){
  .library-grid{grid-template-columns:repeat(2,1fr)}
  .systems-grid,.outcome-strip{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .library-grid,.toolkit-grid,.systems-grid,.outcome-strip{grid-template-columns:1fr}
}


/* Version 4 Expanded — case studies, credentials, service architecture */
.portfolio-band{
  background:linear-gradient(135deg,#0b0b0b,#221d15);
  color:#fff;
  border-radius:28px;
  padding:42px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:30px;
  align-items:center;
}
.portfolio-band p{color:#d1d1d1;margin:8px 0 0}
.portfolio-band .band-actions{display:flex;gap:12px;flex-wrap:wrap}
.case-library{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:36px;
}
.case-tile{
  background:#fff;
  border:1px solid #e7e0d7;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.05);
  transition:.2s ease;
}
.case-tile:hover{transform:translateY(-5px);border-color:rgba(176,141,87,.6)}
.case-tile-head{
  min-height:150px;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:linear-gradient(145deg,#121212,#2b241a);
  color:#fff;
}
.case-tile-head small{color:var(--gold-light);font-weight:700}
.case-tile-head h3{margin:8px 0 0;font-size:1.25rem}
.case-tile-body{padding:22px}
.case-tile-body p{margin:0 0 16px;color:#666;font-size:.9rem}
.case-tile-body a{color:var(--gold);font-weight:700}
.credentials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:34px;
}
.credential-card{
  background:#fff;
  border:1px solid #e8e1d7;
  border-radius:16px;
  padding:22px;
}
.credential-card span{
  display:block;
  color:var(--gold);
  font-size:.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.credential-card strong{
  display:block;
  margin:8px 0;
  font-size:1.03rem;
}
.credential-card p{margin:0;color:#666;font-size:.88rem}
.service-architecture{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:36px;
}
.service-pillar{
  background:#fff;
  border-top:4px solid var(--gold);
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 24px rgba(0,0,0,.05)
}
.service-pillar small{color:var(--gold);font-weight:700}
.service-pillar h3{margin:8px 0}
.service-pillar ul{margin:0;padding-inline-start:18px;color:#666;font-size:.87rem}
.case-study-hero{
  background:
    radial-gradient(circle at 85% 20%,rgba(176,141,87,.23),transparent 32%),
    linear-gradient(135deg,#080808,#1b1814);
}
.case-study-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:38px;
  margin-top:28px;
}
.case-facts{
  background:#fff;
  border:1px solid #e7e0d7;
  border-radius:18px;
  padding:26px;
}
.case-fact{
  padding:14px 0;
  border-bottom:1px solid #eee;
}
.case-fact:last-child{border-bottom:0}
.case-fact span{display:block;color:var(--gold);font-size:.76rem;font-weight:700;text-transform:uppercase}
.case-fact strong{display:block;margin-top:5px}
.impact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
  margin-top:24px;
}
.impact-grid div{
  background:#eee8de;
  border-radius:14px;
  padding:18px;
}
.impact-grid strong{display:block;color:#171717}
.impact-grid span{font-size:.85rem;color:#666}
.case-method{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:24px;
}
.case-method article{
  background:#fff;
  border:1px solid #e6dfd5;
  border-radius:14px;
  padding:18px;
}
.case-method small{color:var(--gold);font-weight:700}
.case-method h3{font-size:1rem;margin:8px 0}
.case-method p{font-size:.84rem;color:#666;margin:0}
@media (max-width:980px){
  .portfolio-band,.case-study-grid{grid-template-columns:1fr}
  .case-library,.credentials-grid{grid-template-columns:repeat(2,1fr)}
  .service-architecture,.case-method{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .case-library,.credentials-grid,.service-architecture,.case-method,.impact-grid{grid-template-columns:1fr}
}
