/*
Theme Name: Kemet Company
Version: 1.1.5
Requires PHP: 8.2
Text Domain: kemet
*/
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#292a2d;--sand:#c8b294;--muted:#63615d;--paper:#f4f1ec}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);background:white;font-family:Manrope,'IBM Plex Sans Arabic',sans-serif;font-size:16px;line-height:1.8}html[lang=ar] body{font-family:'IBM Plex Sans Arabic',Manrope,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #8b6c49;outline-offset:6px}header{height:106px;padding:0 6%;display:flex;align-items:center;justify-content:space-between;gap:28px;background:#fff}nav{display:flex;gap:34px}nav a{font-size:15px;font-weight:500}nav a:hover{color:#977750}.brand{direction:ltr;display:flex;flex-direction:column;line-height:1;align-items:flex-start}.brand>span{font:800 34px/1 Manrope,Arial,sans-serif;letter-spacing:-2px}.brand small{font:600 10px/1.6 Manrope,Arial,sans-serif;letter-spacing:5px}.brand-dot{color:#c8b294}#language{background:none;border:1px solid #d1d9db;border-radius:0;padding:8px 14px;font:600 14px Manrope,Arial;white-space:nowrap}#language span{margin-inline-start:15px}.hero{display:grid;grid-template-columns:1fr 1fr;background:var(--ink);color:#fff;min-height:650px}.hero-copy{padding:66px 12% 24px;display:flex;flex-direction:column;align-items:flex-start}.eyebrow{font-size:13px;letter-spacing:1px;color:var(--sand);margin:0 0 24px;font-weight:500}.eyebrow.dark{color:#795f43}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(48px,5.7vw,86px);font-weight:500;line-height:1.28;letter-spacing:-2px;margin-bottom:28px}em{font-style:normal;color:var(--sand)}.intro{max-width:460px;color:#d0ccc5;line-height:1.9;margin-bottom:35px}.button{background:var(--sand);color:var(--ink);padding:14px 22px;display:inline-flex;gap:35px;align-items:center;font-weight:600}.button:hover{background:#dbc8ad}.hero-foot{width:100%;display:flex;justify-content:space-between;gap:15px;border-top:1px solid #ffffff30;margin-top:auto;padding-top:25px;font-size:12px;color:#cbc5bd;padding-bottom:4px}.hero-image{position:relative;min-height:650px;overflow:hidden}.hero-image img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 62%}.image-note{position:absolute;bottom:25px;left:6%;right:6%;color:white;display:flex;justify-content:space-between;border-top:1px solid #ffffff70;padding-top:20px;text-shadow:0 1px 6px #000;font-size:12px;letter-spacing:1px}.image-note span:last-child{font-size:28px}.section{padding:95px 6%}.about{display:grid;grid-template-columns:1fr 2fr;gap:7%}h2{font-size:clamp(32px,3.6vw,52px);font-weight:500;line-height:1.4;letter-spacing:-1.2px;margin-bottom:24px}.body-copy{color:var(--muted);max-width:790px;font-size:18px}.principles{display:flex;gap:40px;border-top:1px solid #ddd6cc;margin-top:35px;padding-top:22px;font-weight:500}.principles span:before{content:'+';color:#8e704d;margin-inline-end:10px}.expertise{background:var(--ink);color:white}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:60px;margin-bottom:42px}.section-head h2{margin-bottom:0}.section-head>p{max-width:320px;color:var(--muted);margin-bottom:6px}.expertise .section-head>p{color:#cec7bd}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.services article{border-top:1px solid #70685f;padding-top:24px}.services article>span{color:var(--sand);font-size:14px}.services h3{font-size:24px;font-weight:500;margin:24px 0 14px}.services p{color:#cec7bd;max-width:350px;margin-bottom:0}.projects{background:var(--paper)}.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:45px 30px}.project-card{background:none;border:0;text-align:start;color:inherit;padding:0;display:block;width:100%}.project-image{height:340px;position:relative;overflow:hidden;background:#e6e1d9}.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.project-card:hover img{transform:scale(1.04)}.project-image .index{position:absolute;inset-block-start:16px;inset-inline-start:18px;padding:4px 12px;background:white;font:500 13px Manrope}.project-meta{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:17px}.project-meta h3{font-size:23px;line-height:1.5;margin:0 0 4px;font-weight:600}.project-meta p{font-size:14px;color:var(--muted);margin:0}.round-arrow{border:1px solid #a59b8e;width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;font-size:24px}.quality{background:var(--ink);color:#fff;text-align:center}.quality h2{font-size:clamp(34px,4vw,58px)}.quality>p:last-child{max-width:670px;margin:24px auto 0;color:#d0c8bc}.organization{display:grid;grid-template-columns:1fr 1.1fr;gap:10%}.chairman{margin-top:45px;border-inline-start:3px solid #b39874;padding-inline-start:22px}.chairman small{color:var(--muted);font-size:14px}.chairman h3{font-size:22px;margin:6px 0 0;text-align:start;font-weight:600}.departments>div{padding:13px 0;border-bottom:1px solid #ddd6cc;display:flex;gap:25px;align-items:center}.departments span{font:12px Manrope;color:#7f7467}.departments p{margin:0;font-size:17px}.contact{background:var(--sand);display:grid;grid-template-columns:1.5fr 1fr;gap:12%;align-items:center}.contact .eyebrow{color:#524333}.contact em{color:#5b4731}.email{font:500 clamp(20px,2.8vw,36px) Manrope;direction:ltr;display:inline-block;border-bottom:1px solid #292a2d;padding-bottom:12px}.contact-info>p{margin:0 0 8px}.contact-info>a{display:block;width:fit-content;font:500 20px/1.8 Manrope}footer{padding:35px 6%;display:flex;align-items:center;justify-content:space-between;gap:20px}footer p,footer>a:last-child{font-size:13px;color:var(--muted);margin:0}dialog{width:min(720px,92vw);padding:0;border:0;max-height:90vh;color:var(--ink)}dialog::backdrop{background:#242426d9}.close{position:absolute;inset-inline-end:15px;top:15px;background:white;border:0;width:42px;height:42px;font-size:28px;z-index:1}.detail-img{width:100%;height:270px;object-fit:cover}.detail-body{padding:30px}.detail-body h2{font-size:32px}.detail-body dl{display:grid;grid-template-columns:1fr 2fr;gap:12px}.detail-body dt{color:var(--muted)}.detail-body dd{margin:0}.skip{position:fixed;top:-100px;z-index:10;background:var(--sand);padding:12px}.skip:focus{top:0}@media(min-width:1500px){body{max-width:1800px;margin:auto}}@media(max-width:900px){header{padding:0 5%;height:90px;gap:14px}nav{gap:18px}.hero-copy{padding:45px 10% 24px}.hero,.hero-image{min-height:580px}h1{font-size:52px}.hero-foot{flex-direction:column;gap:4px;margin-top:36px}.section{padding:70px 5%}.about{grid-template-columns:1fr;gap:10px}.services{gap:22px}.services h3{font-size:22px}.project-image{height:280px}.organization{gap:6%}.section-head{gap:25px}.section-head>p{max-width:250px}}@media(max-width:620px){header{height:auto;min-height:95px;flex-wrap:wrap;padding:17px 5%;gap:17px}.brand>span{font-size:28px}nav{order:3;width:100%;justify-content:space-between;gap:8px;border-top:1px solid #e0e5e5;padding-top:10px}nav a{font-size:14px}.hero{grid-template-columns:1fr}.hero-copy{padding:40px 6% 25px}.hero-image{min-height:350px;height:350px}.hero-image img{object-position:50% 68%}h1{font-size:52px}.intro{font-size:16px}.hero-foot{flex-direction:row;font-size:11px}.section{padding:55px 6%}h2{font-size:34px}.body-copy{font-size:17px}.principles{gap:15px;font-size:14px;flex-wrap:wrap}.section-head{display:block;margin-bottom:30px}.section-head>p{max-width:100%;margin-top:18px}.services{grid-template-columns:1fr;gap:30px}.services h3{margin-top:10px}.services p{max-width:none}.project-grid{grid-template-columns:1fr;gap:30px}.project-image{height:320px}.project-meta h3{font-size:22px}.organization,.contact{grid-template-columns:1fr;gap:35px}.chairman{margin-top:25px}footer{flex-wrap:wrap;padding:25px 6%}footer p{font-size:12px}.email{font-size:25px}.detail-body{padding:24px}.detail-body h2{font-size:27px}.detail-body dl{grid-template-columns:1fr;gap:4px}.detail-body dd{margin-bottom:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Supplied Kemet brand asset: preserve artwork and transparency. */
header{height:120px;background:var(--ink);color:#fff;border-bottom:1px solid #ffffff25} .brand-logo{display:block;width:82px;height:auto;object-fit:contain} #language{color:inherit;border-color:#ffffff60} nav a:hover{color:var(--sand)} footer{background:var(--ink);color:white} footer p,footer>a:last-child{color:#d0ccc5} @media(max-width:620px){header{height:auto;min-height:145px;padding-top:12px;padding-bottom:12px}.brand-logo{width:70px}nav{border-color:#ffffff25}footer .brand-logo{width:66px}}


.all-projects-link{margin-top:42px}.portfolio-heading{background:var(--ink);color:white;padding-top:45px;padding-bottom:60px}.portfolio-heading h1{font-size:clamp(42px,5vw,70px)}.portfolio-heading .intro{max-width:680px}.breadcrumb{display:block;color:#cbc5bd;font-size:14px;margin-bottom:38px}.portfolio-count{color:var(--sand);border-top:1px solid #ffffff30;display:block;padding-top:22px}.project-text-panel{height:340px;background:#e8e0d5;border-top:3px solid #b39874;padding:32px;display:flex;flex-direction:column;justify-content:space-between;text-align:start}.project-number{font:500 48px Manrope;color:#897358}.project-text-panel p{font-size:24px;line-height:1.6;max-width:440px;margin:12px 0}.project-text-panel>span:last-child{font-size:14px;color:#63615d}nav [aria-current=page]{color:var(--sand)}@media(max-width:900px){.project-text-panel{height:280px}.project-text-panel p{font-size:21px}}@media(max-width:620px){.project-text-panel{height:290px;padding:25px}.portfolio-heading h1{font-size:42px}}

/* Company introduction: charcoal and sand from the profile's architectural palette. */
.hero{grid-template-columns:1.1fr 1fr}.hero-copy{padding-top:60px}.hero h1{font-size:clamp(38px,4.1vw,64px);line-height:1.45;letter-spacing:-1px}.hero .intro{max-width:540px;font-size:18px}.hero-actions{display:flex;gap:26px;align-items:center;flex-wrap:wrap;margin-bottom:34px}.secondary-link{color:#e6d8c5;border-bottom:1px solid #aa9275;padding:8px 0}.hero-image{border-inline-start:1px solid #bba384}.about{padding-bottom:55px}.purpose{padding-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:50px;background:#fff}.purpose article{border-top:2px solid #b39874;padding:30px 0 0}.purpose h2{font-size:34px}.purpose article>p:last-child{color:var(--muted);font-size:18px;max-width:560px}.contact{background:#d4c2a9}.organization{background:#f4f1ec}html[lang=ar] h1,html[lang=ar] h2{letter-spacing:0}@media(max-width:620px){.hero{grid-template-columns:1fr}.hero h1{font-size:38px}.hero .intro{font-size:17px}.purpose{grid-template-columns:1fr;gap:30px}.purpose h2{font-size:30px}.hero-actions{gap:18px}}

/* Responsive full-width presentation; retain readable content on wide displays. */
body{max-width:none;margin:0}
header,footer{padding-inline:max(5%,calc((100vw - 1560px)/2));}
header{height:104px}.brand-logo{width:72px}
.section{padding-inline:max(6%,calc((100vw - 1480px)/2));}
.hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:620px}
.hero-copy{padding:56px clamp(30px,5vw,96px) 26px;justify-content:center;min-width:0}
.hero h1{font-size:clamp(36px,3.25vw,58px);line-height:1.35;margin-bottom:24px;width:100%;overflow-wrap:break-word}
.hero .eyebrow{margin-bottom:20px;font-size:14px}
.hero .intro{max-width:580px;font-size:18px;line-height:1.95;margin-bottom:28px}
.hero-actions{margin-bottom:38px;gap:28px}.button{min-height:50px}
.hero-foot{margin-top:auto;font-size:12px;padding-top:18px}
.hero-image{min-height:620px;border:0}.hero-image img{object-position:center 65%}
.about{grid-template-columns:1fr 2.4fr;padding-top:70px;gap:6%}.about h2{font-size:clamp(30px,3vw,44px)}
@media(min-width:1700px){.hero-copy{padding-inline:max(70px,calc((100vw - 1550px)/2))}.hero,.hero-image{min-height:650px}}
@media(max-width:1000px){.hero-copy{padding:40px 30px 24px}.hero h1{font-size:38px}.hero .intro{font-size:17px}.hero-foot{flex-direction:column;gap:6px}.hero-actions{gap:18px}.about{grid-template-columns:1fr;gap:10px}}
@media(max-width:700px){header{height:auto;min-height:135px;padding:14px 6%}.brand-logo{width:65px}nav{order:3;width:100%;justify-content:space-between;gap:8px;border-top:1px solid #ffffff25;padding-top:10px}header{flex-wrap:wrap}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:38px 6% 24px}.hero h1{font-size:clamp(32px,8.5vw,46px)}.hero .intro{font-size:17px}.hero-foot{flex-direction:row;flex-wrap:wrap}.hero-image{min-height:300px;height:300px}.hero-image img{object-position:center 65%}.section{padding-inline:6%}.about{padding-top:48px}.purpose{grid-template-columns:1fr}.hero-actions{margin-bottom:30px}}

.featured-project{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:start}.featured-visual img{display:block;width:100%;height:560px;object-fit:cover}.featured-copy h2{font-size:48px}.project-facts{margin:32px 0}.project-facts>div{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #ddd6cc;padding:16px 0}.project-facts dt{color:var(--muted);font-size:15px}.project-facts dd{margin:0;font-weight:500}@media(max-width:800px){.featured-project{grid-template-columns:1fr;gap:35px}.featured-visual img{height:380px}.featured-copy h2{font-size:36px}}@media(max-width:420px){.project-facts>div{grid-template-columns:1fr;gap:6px}}

.hero-video{display:flex;align-items:center;justify-content:center;background:#242426}.hero-video video{display:block;width:100%;height:auto;max-height:650px;object-fit:contain}@media(max-width:700px){.hero-video{min-height:0;height:auto}.hero-video video{aspect-ratio:16/9}}

.inquiry{display:grid;grid-template-columns:1fr 1.5fr;gap:7%;background:var(--paper)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid label{display:flex;flex-direction:column;gap:8px}.form-grid .full{grid-column:1/-1}input,textarea,select{font:inherit;padding:12px;width:100%;border:1px solid #b4a897;background:#fff;color:var(--ink);border-radius:0}input:focus,textarea:focus,select:focus{outline:2px solid #795f43;outline-offset:2px}.inquiry button{border:0}.privacy-note{font-size:14px;margin-top:18px}.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-status{padding:16px;border:1px solid #795f43}.back-link{display:inline-block;margin-bottom:30px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}.gallery img{width:100%;height:260px;object-fit:cover}#gallery-dialog{width:min(1100px,94vw);background:#292a2d}#gallery-dialog>img{width:100%;max-height:85vh;object-fit:contain;display:block}.project-meta h2{font-size:28px;margin:0}.pagination{margin-top:35px;display:flex;gap:16px}.featured-copy h1{font-size:48px}.featured-visual img{height:auto;max-height:650px;object-fit:contain}.project-image:empty{background:linear-gradient(135deg,#292a2d,#c8b294)}@media(max-width:700px){.inquiry,.form-grid{grid-template-columns:1fr}.gallery{grid-template-columns:1fr 1fr}.gallery img{height:180px}.featured-copy h1{font-size:36px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.hp{left:auto;inset-inline-start:0;clip-path:inset(50%);clip:rect(0,0,0,0);white-space:nowrap;margin:-1px;padding:0;border:0}

footer{flex-wrap:wrap}.design-credit a{color:var(--sand);font-weight:600;text-decoration:underline;text-underline-offset:4px}.design-credit a:hover{color:#fff}

footer .profile-footer-link{font-size:13px;color:var(--sand)}.profile-footer-link:hover{text-decoration:underline}.secondary-link small,.profile-footer-link small{font-size:.8em}

.project-card .project-summary{font-size:16px;line-height:1.9;color:var(--muted);margin:16px 0;max-width:65ch;overflow-wrap:anywhere}.project-details-link{display:inline-block;font-size:14px;font-weight:600;border-bottom:1px solid var(--sand);padding-bottom:4px;margin-top:8px}.project-card:focus-visible .project-details-link,.project-card:hover .project-details-link{border-color:currentColor}

.featured-copy .project-subheading{font-size:22px;line-height:1.5;margin:24px 0 12px;font-weight:600}.project-scope ul{padding-inline-start:22px;margin:0;color:var(--muted);overflow-wrap:anywhere}.project-scope li{padding-inline-start:5px;margin-bottom:8px}.project-scope li::marker{color:#977750}
