/* /agadir-development-institute/assets/styles.css — reusable design system for the five company routes */
@font-face{font-family:Euclid;src:url('/assets/fonts/euclid-square/EuclidSquare-Regular-WebXL.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Euclid;src:url('/assets/fonts/euclid-square/EuclidSquare-Medium-WebXL.woff2') format('woff2');font-weight:500 900;font-display:swap}
:root{--ink:#1b2226;--muted:#667175;--line:#dce0dc;--bg:#f7f7f4;--paper:#fff;--accent:#deb32b;--max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Euclid,Arial,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}.container{width:min(var(--max),calc(100% - 56px));margin-inline:auto}.skip-link{position:absolute;left:10px;top:-80px;z-index:20;padding:10px;background:var(--ink);color:#fff}.skip-link:focus{top:10px}
.site-header{position:sticky;top:0;z-index:12;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}.header-inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:16px}.brand-mark{width:48px;height:48px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:3px;background:var(--ink);padding:3px}.brand-mark span{background:#fff}.brand-mark span:nth-child(2){background:var(--accent)}.brand-mark span:nth-child(3){background:#243e61}.brand-mark span:nth-child(4){background:#ae3430}.brand-copy strong{font-size:15px;line-height:1.08;display:block;font-weight:800;letter-spacing:-.02em}.brand-copy small{font-size:9px;color:var(--muted);display:block;margin-top:6px;letter-spacing:.07em}.site-nav{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:600}.site-nav a:hover,.text-link:hover{color:#977400}.parent-link{border:1px solid var(--line);padding:11px 16px;background:#fff}.nav-toggle{display:none;border:1px solid var(--line);background:white;padding:9px 13px;gap:12px;align-items:center}
.page-intro{padding-top:64px;padding-bottom:67px}.eyebrow,.section-index{font-size:11px;font-weight:800;letter-spacing:.1em;color:#586369}.eyebrow{display:flex;align-items:center;gap:11px}.small-square{display:block;width:10px;height:10px;background:var(--accent)}.eyebrow-line{width:30px;height:1px;background:#bfc7c5}.intro-grid{display:grid;grid-template-columns:1.24fr .76fr;gap:80px;align-items:center;margin-top:36px}.intro-grid h1{font-family:Euclid,Arial,sans-serif;font-size:clamp(42px,5.2vw,76px);font-weight:800;line-height:1.03;letter-spacing:-.055em;max-width:740px;margin-bottom:28px}.intro-grid h1 em{font-style:normal;position:relative;white-space:normal}.intro-lead{font-size:17px;line-height:1.7;color:#536065;max-width:650px}.intro-actions{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:29px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;padding:15px 20px;font-weight:700;font-size:13px}.button-dark{background:var(--ink);color:#fff}.button-dark:hover{background:#3b4448}.text-link{font-weight:800;font-size:13px;border-bottom:1px solid currentColor;padding-bottom:4px}.intro-side{display:grid;grid-template-columns:1fr 46px;grid-template-rows:270px auto;gap:7px;min-width:0}.side-art--image{background:#d8dedb;overflow:hidden}.side-art--image img{width:100%;height:100%;object-fit:cover}.side-art--yellow{background:var(--accent)}.side-note{grid-column:1/3;border-top:2px solid var(--ink);padding-top:17px;display:flex;flex-direction:column;gap:6px}.side-note span{font-size:10px;font-weight:800;letter-spacing:.07em;color:#626c70}.side-note strong{font-size:14px}
.metrics-band{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr)}.metric{padding:30px 28px 28px;border-right:1px solid var(--line)}.metric:first-child{padding-left:0}.metric:last-child{border:0}.metric strong{font-size:clamp(30px,3.2vw,47px);letter-spacing:-.06em;line-height:1.1;font-weight:800;display:block}.metric strong small{font-size:17px;letter-spacing:0}.metric span{display:block;color:#606b70;font-size:12px;margin-top:11px;line-height:1.6}.metric-note{font-size:11px;color:#697579;padding-bottom:18px}.metric-note a,.planning-source a{text-decoration:underline;text-underline-offset:3px}.source-dot{padding:0 10px}
.section{padding-top:88px;padding-bottom:96px}.section-heading{display:grid;grid-template-columns:245px 1fr;gap:36px;align-items:start;margin-bottom:37px}.section-index{padding-top:12px;position:relative}.section-index:before{content:"";display:inline-block;background:var(--accent);width:22px;height:4px;vertical-align:middle;margin-right:12px}.section-heading h2{font-size:clamp(29px,3.5vw,47px);line-height:1.12;letter-spacing:-.04em;margin-bottom:14px;max-width:720px}.section-heading p{max-width:750px;color:#637074;font-size:15px;line-height:1.7}.topics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.topic-card{background:#fff;border:1px solid #e5e9e7;min-width:0;display:flex;flex-direction:column}.topic-label{height:45px;padding:12px 15px;font-size:10px;font-weight:800;color:#5f6a6d}.topic-label span{margin-right:12px;color:#9b7800}.topic-card>img{height:163px;width:100%;object-fit:cover}.topic-body{padding:19px 18px 22px;display:flex;flex-direction:column;flex:1}.topic-body h3{font-size:18px;line-height:1.27;letter-spacing:-.025em;margin-bottom:11px}.topic-body p{color:#687377;font-size:12px;line-height:1.65;margin-bottom:20px}.topic-body a{margin-top:auto;font-weight:800;font-size:11px;border-bottom:1px solid #b9c2c0;align-self:flex-start;padding-bottom:4px}.topic-body a:hover{color:#a47c00}
.section-plan{background:#eaece9}.plans-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.plan-card{padding:27px 23px 24px;background:#fff;border-top:4px solid var(--accent)}.plan-card>span{display:block;color:#637075;font-size:11px;font-weight:800;margin-bottom:16px}.plan-card strong{display:block;font-size:clamp(27px,3vw,44px);letter-spacing:-.04em;line-height:1.12}.plan-card strong small{font-size:16px;letter-spacing:0}.plan-card p{margin:17px 0 0;font-size:12px;color:#657176;line-height:1.65}.planning-source{font-size:12px;margin:23px 0 0;font-weight:700}
.atlas-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px}.filter-tabs{display:flex;flex-wrap:wrap;gap:7px}.filter-button{border:1px solid #d9dfdd;background:#fff;color:#49575b;padding:10px 13px;font-size:12px;font-weight:700}.filter-button span{margin-left:4px;opacity:.65}.filter-button.is-active{background:var(--ink);color:#fff;border-color:var(--ink)}.filter-button:focus-visible,.search-field:focus-within{outline:2px solid #b98e13;outline-offset:2px}.search-field{display:flex;align-items:center;gap:9px;padding:0 11px;background:#fff;border:1px solid #d9dfdd;height:42px;min-width:210px}.search-field input{border:0;outline:0;background:transparent;width:175px;min-width:0;color:var(--ink);font-size:12px}.atlas-results{display:flex;justify-content:space-between;align-items:center;margin:16px 0 19px;color:#677275;font-size:12px}.atlas-results p{margin:0}.clear-button{border:0;background:transparent;color:#3a4447;text-decoration:underline;font-size:12px}.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-card{background:#fff;border:1px solid #e3e7e4;min-width:0}.project-card[hidden]{display:none}.project-image{height:188px;position:relative;background:#e7ebe8;overflow:hidden}.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.project-card:hover .project-image img{transform:scale(1.04)}.project-nr{position:absolute;top:12px;left:14px;background:#fff;color:#2c383b;font-size:11px;padding:6px 10px;font-weight:800}.project-copy{padding:20px 21px 22px}.project-category{text-transform:uppercase;font-size:10px;color:#947000;font-weight:800;margin-bottom:8px}.project-copy h3{font-size:20px;line-height:1.23;letter-spacing:-.02em;margin-bottom:12px}.project-status{font-size:11px;font-weight:800;color:#445358;background:#f0f2ef;display:inline-block;padding:6px 10px;margin-bottom:13px}.project-copy p{color:#677276;font-size:12px;line-height:1.72;min-height:62px}.project-copy a{display:inline-block;font-size:11px;font-weight:800;margin-top:10px;border-bottom:1px solid #b9c3c1;padding-bottom:3px}.project-copy a:hover{color:#a67c00}.no-results,.data-warning{padding:30px;background:#fff;border:1px solid var(--line);margin-top:15px}.data-warning p{color:#647074;margin:10px 0 0}.data-warning code{font-size:12px;white-space:normal;overflow-wrap:anywhere}
.closing-section{background:#fff;border-top:1px solid var(--line)}.closing-grid{display:grid;grid-template-columns:245px 1fr;gap:36px}.closing-grid h2{font-size:clamp(29px,3.5vw,48px);letter-spacing:-.04em;margin-bottom:16px}.closing-grid p{max-width:700px;color:#627074;line-height:1.75;margin-bottom:24px}
.site-footer{background:#252c31;color:#eff2f3}.footer-top{padding-top:75px;padding-bottom:64px;display:grid;grid-template-columns:1.4fr 1fr .7fr;gap:75px}.footer-label,.footer-nav h3{font-size:11px;letter-spacing:.08em;color:#aab5ba;font-weight:800}.footer-intro h2{font-size:clamp(29px,3vw,45px);letter-spacing:-.05em;line-height:1.1;margin:18px 0}.footer-intro p{max-width:390px;font-size:13px;color:#aeb9bd;line-height:1.7}.footer-intro>a{font-size:13px;font-weight:700;display:inline-block;margin-top:8px;border-bottom:1px solid #708086;padding-bottom:4px}.footer-nav{display:flex;flex-direction:column;gap:14px}.footer-nav h3{margin:0 0 8px}.footer-nav a,.footer-nav span{font-size:13px;color:#c1c9cc}.footer-nav a:hover{color:#fff;text-decoration:underline}.footer-bottom{border-top:1px solid #465158;padding:21px 0 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#aeb8bc;font-size:11px}.footer-bottom a{color:#eef2f3}
@media(max-width:1050px){.site-nav{gap:14px}.intro-grid{gap:32px}.section-heading{grid-template-columns:180px 1fr}.topics-grid{grid-template-columns:repeat(2,1fr)}.plans-grid{grid-template-columns:repeat(2,1fr)}.projects-grid{grid-template-columns:repeat(2,1fr)}.footer-top{gap:25px}}
@media(max-width:740px){.container{width:min(100% - 34px,var(--max))}.header-inner{min-height:74px}.brand-mark{width:39px;height:39px}.brand-copy strong{font-size:12px}.brand-copy small{font-size:8px}.nav-toggle{display:flex}.site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:white;border-bottom:1px solid var(--line);padding:15px 17px;flex-direction:column;align-items:stretch;gap:0}.site-nav.open{display:flex}.site-nav a{padding:14px 0;border-bottom:1px solid #edf0ee}.site-nav .parent-link{padding:14px 10px;border:1px solid var(--line);margin-top:10px}.page-intro{padding-top:42px;padding-bottom:44px}.intro-grid{display:flex;flex-direction:column;gap:31px;margin-top:24px}.intro-grid h1{font-size:clamp(39px,10vw,60px)}.intro-lead{font-size:15px}.intro-side{width:100%;grid-template-rows:190px auto}.metrics-grid{grid-template-columns:1fr 1fr}.metric{padding:22px 14px;border-bottom:1px solid var(--line)}.metric:nth-child(odd){padding-left:0}.metric:nth-child(even){border-right:0}.metric:nth-child(n+3){border-bottom:0}.metric strong{font-size:32px}.section{padding-top:60px;padding-bottom:65px}.section-heading,.closing-grid{display:block;margin-bottom:25px}.section-index{display:block;margin-bottom:19px}.section-heading h2{font-size:34px}.topics-grid{grid-template-columns:1fr 1fr}.topic-card>img{height:125px}.topic-body{padding:15px}.topic-body h3{font-size:15px}.topic-body p{font-size:11px}.project-image{height:158px}.footer-top{grid-template-columns:1fr 1fr;gap:44px;padding-top:55px}.footer-intro{grid-column:1/-1}.footer-bottom{align-items:start;flex-direction:column;gap:9px}}
@media(max-width:500px){.eyebrow{font-size:9px;flex-wrap:wrap}.intro-grid h1{font-size:38px}.intro-actions{gap:20px}.button{width:100%}.topics-grid,.plans-grid,.projects-grid{grid-template-columns:1fr}.topic-card>img{height:200px}.topic-body h3{font-size:19px}.project-image{height:205px}.metrics-grid{gap:0}.metric strong{font-size:28px}.atlas-toolbar{align-items:stretch}.search-field{width:100%}.search-field input{width:100%}.footer-top{grid-template-columns:1fr}.footer-intro{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-image img{transition:none}}

/* Agadir Development Institute: dedicated logo */
.brand-logo{display:block;width:56px;height:56px;object-fit:contain;flex:0 0 auto}
@media(max-width:740px){.brand-logo{width:45px;height:45px}}
