:root{
  --navy:#0B1F3A;
  --navy-deep:#071827;
  --navy2:#102A4C;
  --gold:#C6A15B;
  --gold2:#E1C47F;
  --blue:#3478A8;
  --green:#3B8064;
  --ivory:#F7F4ED;
  --white:#FFFFFF;
  --ink:#2E3138;
  --muted:#6A7280;
  --line:#E3DED3;
  --shadow:0 18px 48px rgba(11,31,58,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#FDFBF7 0%,var(--ivory) 100%);color:var(--ink);font-family:"Sultan Nahia","IBM Plex Sans Arabic",Tahoma,Arial,sans-serif}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{touch-action:manipulation}
.site-shell{min-height:100vh;display:flex;flex-direction:column}
.topbar{height:80px;padding:6px clamp(16px,3vw,46px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(198,161,91,.25);background:linear-gradient(90deg,#071827 0%,#091B2D 62%,#071827 100%);z-index:20;box-shadow:0 5px 22px rgba(7,24,39,.10)}
.brand-logo-link{display:flex;align-items:center;min-width:0}
.brand-logo{display:block;width:clamp(170px,15vw,230px);height:auto;max-height:66px;object-fit:contain;object-position:right center}
.main-site-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border:1px solid rgba(225,196,127,.55);border-radius:10px;color:#F4E2B2;background:rgba(255,255,255,.03);font-size:12px;font-weight:700}
.main-site-link:hover{background:rgba(198,161,91,.11);border-color:var(--gold2)}
.page{width:min(1480px,calc(100% - 28px));margin:10px auto 12px;flex:1}
.footer{display:none}
.projects-screen{height:calc(100vh - 102px);min-height:590px;display:flex;flex-direction:column;gap:8px}
.projects-heading{min-height:70px;display:flex;align-items:center;padding:9px 16px;border:1px solid rgba(11,31,58,.08);border-radius:16px;background:rgba(255,255,255,.84);box-shadow:0 7px 24px rgba(11,31,58,.04)}
.eyebrow{color:#9A7636;font-size:10px;font-weight:800;letter-spacing:.03em}
.projects-heading h1{margin:1px 0 1px;color:var(--navy);font-size:clamp(22px,2.45vw,35px);line-height:1.2;letter-spacing:-.02em}
.hero-number{color:#A67B2F}
.projects-heading p{margin:0;color:var(--muted);font-size:12px;font-weight:650;line-height:1.45}
.selection-toolbar{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 13px 10px 17px;border:1px solid rgba(198,161,91,.46);border-radius:15px;background:linear-gradient(90deg,#FFFCF6,#F8F1E4);box-shadow:0 7px 22px rgba(11,31,58,.045);transition:.18s ease}
.selection-toolbar.limit-reached{box-shadow:0 0 0 3px rgba(198,92,72,.16)}
.selection-state{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:12px;min-width:0}
.selection-label{font-size:13px;font-weight:900;color:#76561E;white-space:nowrap}
.selection-state strong{display:inline-flex;align-items:center;justify-content:center;min-width:78px;height:38px;border-radius:999px;background:var(--navy);color:white;font-size:18px;font-weight:900;white-space:nowrap;box-shadow:0 5px 14px rgba(11,31,58,.14)}
.selection-names{min-width:0;color:var(--navy);font-size:13px;font-weight:800;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.selection-action{display:flex;align-items:center;gap:11px;flex:0 0 auto}
.selection-message{color:#9B3F34;font-size:12px;font-weight:800;white-space:nowrap}
.interest-btn{height:44px;min-width:154px;padding:0 21px;border:0;border-radius:11px;background:var(--gold);color:var(--navy);font-size:14px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(198,161,91,.20);transition:.15s ease}
.interest-btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.02)}
.interest-btn:disabled{opacity:.38;cursor:not-allowed;box-shadow:none}
.project-grid{display:grid}
.single-screen-grid{flex:1;min-height:0;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:7px}
.project-card{--card-accent:var(--navy);--card-tint:#F5F7FA;position:relative;min-width:0;min-height:0;padding:8px 9px;border-radius:12px;border:1.5px solid var(--card-accent);background:linear-gradient(180deg,#FFFFFF 0%,var(--card-tint) 100%);color:var(--navy);cursor:pointer;display:grid;grid-template-columns:20px 28px minmax(0,1fr);align-items:center;gap:7px;text-align:right;box-shadow:0 3px 11px rgba(11,31,58,.03);transition:transform .13s ease,border-color .13s ease,box-shadow .13s ease,background .13s ease}
.project-card:nth-child(-n+6){--card-accent:var(--navy);--card-tint:#F4F7FA}
.project-card:nth-child(n+7):nth-child(-n+12){--card-accent:var(--blue);--card-tint:#F1F7FB}
.project-card:nth-child(n+13):nth-child(-n+18){--card-accent:var(--green);--card-tint:#F1F8F4}
.project-card:nth-child(n+19):nth-child(-n+24){--card-accent:#B78935;--card-tint:#FBF6EA}
.project-card:hover{transform:translateY(-1px);border-color:var(--card-accent);background:var(--card-tint);box-shadow:0 7px 17px rgba(11,31,58,.07)}
.project-card:focus-visible{outline:3px solid rgba(198,161,91,.25);outline-offset:2px}
.project-card.selected{border-color:var(--card-accent);background:var(--card-tint);box-shadow:0 0 0 2px rgba(11,31,58,.08),0 7px 17px rgba(11,31,58,.08)}
.choice-mark{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--card-accent);background:white;display:grid;place-items:center;transition:.13s ease}
.project-card.selected .choice-mark{background:var(--card-accent);border-color:var(--card-accent)}
.project-card.selected .choice-mark::after{content:"✓";color:white;font-size:11px;font-weight:900;line-height:1}
.project-no{color:var(--card-accent);font-size:10.5px;font-weight:900;letter-spacing:.05em;white-space:nowrap}
.project-title{font-size:clamp(11.2px,.86vw,12.7px);line-height:1.4;font-weight:750;min-width:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.interest-wrap{width:min(700px,100%);margin:12px auto}
.backlink{display:inline-flex;align-items:center;gap:7px;margin-bottom:12px;color:var(--navy);font-size:13px;font-weight:700}
.interest-card{background:white;border:1px solid var(--line);border-radius:24px;padding:clamp(22px,4vw,38px);box-shadow:var(--shadow)}
.project-pill{display:inline-flex;padding:6px 10px;background:#F3EBDD;color:#8B6B32;border-radius:999px;font-size:11px;font-weight:700}
.interest-card h1{color:var(--navy);font-size:clamp(25px,3.5vw,35px);line-height:1.4;margin:12px 0 6px}
.interest-card .lead{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.7}
.selected-projects{display:grid;gap:7px;margin-bottom:18px}
.selected-project-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;background:linear-gradient(135deg,var(--navy2),var(--navy));color:white;border-radius:13px;padding:10px 13px}
.selected-project-item span{color:var(--gold2);font-size:11px;font-weight:900}
.selected-project-item strong{font-size:12.5px;line-height:1.45}
.form-grid{display:grid;gap:14px}
.field label{display:block;color:var(--navy);font-size:12px;font-weight:700;margin:0 0 6px}
.field input{width:100%;height:49px;border:1px solid #D7D4CC;border-radius:12px;background:#FFFEFB;padding:0 14px;color:var(--ink);font-size:16px;outline:none;transition:.2s ease}
.field input:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(198,161,91,.12)}
.submit-btn{height:50px;border:0;border-radius:12px;background:var(--gold);color:var(--navy);font-weight:800;font-size:15px;cursor:pointer;margin-top:2px}
.submit-btn:disabled{opacity:.55;cursor:wait}
.form-hint{text-align:center;color:var(--muted);font-size:11px;line-height:1.6;margin:8px 0 0}
.status{display:none;margin-top:12px;padding:11px 13px;border-radius:11px;font-size:12px;font-weight:600;line-height:1.6}
.status.show{display:block}
.status.success{background:#EDF7EF;color:#245E33;border:1px solid #CDE7D2}
.status.error{background:#FFF0EF;color:#8E332D;border:1px solid #F0CFCC}
.success-panel{text-align:center;padding:18px 0 6px}
.success-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#EDF7EF;color:#2E6B3C;font-size:28px;font-weight:700}
.success-panel h2{margin:0;color:var(--navy);font-size:25px}
.success-panel p{color:var(--muted);line-height:1.7}
.secondary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:11px;border:1px solid var(--line);color:var(--navy);background:white;font-weight:700;font-size:12px;margin-top:7px}
.not-found{width:min(620px,100%);margin:70px auto;text-align:center;background:white;border:1px solid var(--line);border-radius:22px;padding:38px;box-shadow:var(--shadow)}
.not-found h1{color:var(--navy)}
@media(max-width:1200px){.projects-screen{height:auto;min-height:0}.single-screen-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:none}.project-card{min-height:68px}.selection-toolbar{position:sticky;top:4px;z-index:12}}
@media(max-width:820px){.topbar{height:72px}.brand-logo{width:185px;max-height:60px}.page{margin:8px auto}.single-screen-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.selection-state{grid-template-columns:auto auto}.selection-names{grid-column:1/-1}.selection-toolbar{align-items:stretch}.selection-message{display:none}.project-card{min-height:72px}}
@media(max-width:560px){.page{width:min(100% - 18px,1480px)}.topbar{height:68px;padding:5px 10px}.brand-logo{width:165px;max-height:56px}.main-site-link{min-height:34px;padding:0 9px;font-size:10px}.projects-heading{padding:9px 11px;border-radius:14px}.projects-heading h1{font-size:21px}.projects-heading p{font-size:10.5px}.selection-toolbar{top:3px;padding:8px;gap:9px}.selection-label{font-size:12px}.selection-state strong{font-size:16px;min-width:70px;height:36px}.selection-names{display:none}.selection-action{flex:1}.interest-btn{width:100%;min-width:0;height:42px}.single-screen-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.project-card{min-height:70px;padding:8px}.project-title{font-size:11.5px}.interest-card{border-radius:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
