/* Raheem Impex — homepage hero, certificates, categories and product menu (Oct 2026).
   Static by design: no slider, no wipe, no entrance animations. */
:root{--rh-y:#f5c518;--rh-ink:#080b0d;--rh-panel:#11171b;--rh-line:#e4e7ea;--rh-mut:#5d6872}

/* ---------- hero slider ---------- */
.rh-hero{position:relative;background:radial-gradient(1000px 560px at 80% 30%,rgba(245,197,24,.12),transparent 60%),radial-gradient(700px 500px at 0% 100%,rgba(168,7,11,.18),transparent 60%),linear-gradient(180deg,#0b0f12 0%,#080b0d 100%);color:#fff;padding:52px 0 0;overflow:hidden}
.rh-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:64px;background:#fff}
.rh-stage{display:grid}
.rh-slide{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .9s ease,visibility 0s linear .9s}
.rh-slide.is-active{opacity:1;visibility:visible;transition:opacity .9s ease,visibility 0s}
.rh-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;min-height:470px}
.rh-eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 18px;color:#c9d0d5;font:700 12px/1.3 "Instrument Sans",system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.rh-eyebrow::before{content:"";width:34px;height:3px;border-radius:2px;background:var(--rh-y);flex:none}
.rh-h{margin:0;font:700 clamp(38px,4.8vw,66px)/1.0 "Outfit",system-ui,sans-serif;letter-spacing:-.02em;text-transform:uppercase}
.rh-t1,.rh-t2{display:block}
.rh-t2{color:var(--rh-y);font-size:.6em;letter-spacing:-.005em;margin-top:.3em}
.rh-text{margin:22px 0 0;max-width:540px;color:#d5dbdf;font:400 17px/1.6 "Instrument Sans",system-ui,sans-serif}
.rh-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.rh-media{display:flex;justify-content:center}
.rh-frame{position:relative;width:100%;max-width:560px;aspect-ratio:912/840;border-radius:28px;overflow:hidden;background:#f1f2f3;box-shadow:0 30px 70px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.06)}
.rh-frame::before{content:"";position:absolute;inset:auto auto -1px -1px;width:38%;height:6px;background:var(--rh-y);z-index:2;border-radius:0 6px 0 0}
.rh-frame img{display:block;width:100%;height:100%;object-fit:cover}

/* transitions: soft cross-fade, slow zoom on the photo, text rising in */
.rh-frame img{transform:scale(1.08);transition:transform 7.5s cubic-bezier(.2,.6,.3,1)}
.rh-slide.is-active .rh-frame img{transform:scale(1)}
.rh-in{opacity:0;transform:translateY(22px);transition:opacity .5s ease,transform .5s ease}
.rh-slide.is-active .rh-in{opacity:1;transform:none;transition:opacity .7s ease calc(.3s + var(--o) * .11s),transform .7s cubic-bezier(.2,.7,.2,1) calc(.3s + var(--o) * .11s)}
html:not(.js) .rh-in{opacity:1;transform:none}

/* slide tabs with progress */
.rh-nav{position:relative;z-index:3;display:flex;align-items:center;gap:18px;margin-top:30px}
.rh-tabs{flex:1;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
.rh-tab{position:relative;display:flex;align-items:center;gap:10px;padding:12px 4px 16px;background:none;border:0;color:#8f9aa3;font:700 13.5px "Instrument Sans",system-ui,sans-serif;text-align:left;cursor:pointer}
.rh-tab-n{font:700 12px "Outfit",system-ui,sans-serif;color:#5f6b74}
.rh-tab:hover,.rh-tab[aria-selected=true]{color:#fff}
.rh-tab[aria-selected=true] .rh-tab-n{color:var(--rh-y)}
.rh-bar{position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:2px;background:rgba(255,255,255,.14);overflow:hidden}
.rh-bar b{display:block;height:100%;width:0;background:var(--rh-y)}
.rh-tab[aria-selected=true] .rh-bar b{width:100%}
.rh-hero.is-playing .rh-tab[aria-selected=true] .rh-bar b{width:0;animation:rhfill var(--rh-dur,6.5s) linear forwards}
.rh-hero.is-paused .rh-tab[aria-selected=true] .rh-bar b{animation-play-state:paused}
@keyframes rhfill{to{width:100%}}
.rh-arrows{display:flex;gap:8px;flex:none}
.rh-arrow{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.04);color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.rh-arrow:hover{background:var(--rh-y);border-color:var(--rh-y);color:#111}
.rh-arrow svg{width:18px;height:18px}
.rh-arrow.prev svg{transform:rotate(180deg)}
.rh-tab:focus-visible,.rh-arrow:focus-visible{outline:2px solid var(--rh-y);outline-offset:3px}

/* certificate strip: white plate at the bottom of the banner */
.rh-certs{position:relative;z-index:2;display:flex;align-items:center;gap:22px;margin-top:22px;padding:16px 22px;background:#fff;color:#111;border:1px solid var(--rh-line);border-radius:16px;box-shadow:0 18px 40px rgba(8,11,13,.18)}
.rh-certs-label{margin:0;flex:none;padding-right:20px;border-right:1px solid var(--rh-line);font:700 11.5px/1.35 "Instrument Sans",system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#4c5660}
.rh-certs ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:10px 26px;flex:1}
.rh-certs li a{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.rh-certs img{display:block;height:44px;width:auto;max-width:120px;object-fit:contain}
.rh-cert-txt{display:flex;flex-direction:column;line-height:1.15}
.rh-cert-txt b{font:700 14px "Outfit",system-ui,sans-serif;color:#111}
.rh-cert-txt small{font:500 11.5px "Instrument Sans",system-ui,sans-serif;color:var(--rh-mut)}
.rh-seal{display:grid;place-items:center;width:46px;height:46px;border:2.5px solid #111;border-radius:50%;font:800 13px/1 "Outfit",system-ui,sans-serif;letter-spacing:.02em;color:#111;text-align:center;flex:none}
.rh-seal small{display:block;font:700 8.5px/1 "Instrument Sans",system-ui,sans-serif;margin-top:-10px}
.rh-certs li a:hover b{color:#a8070b}

/* the white plate overlaps into the next section */
.rh-hero + .rc-sec{padding-top:44px}

/* ---------- categories: photo tiles ---------- */
.rc-sec{background:#fff;padding:64px 0 72px}
.rc-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:26px}
.rc-kicker{margin:0 0 6px;color:#b38f00;font:700 12px "Instrument Sans",system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.rc-head h2{margin:0;font:700 clamp(28px,3.2vw,42px)/1.08 "Outfit",system-ui,sans-serif;color:#0b0f12;letter-spacing:-.02em}
.rc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
.rc-card{position:relative;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:#0f1316;isolation:isolate;box-shadow:0 10px 30px rgba(11,15,18,.10);transition:transform .3s ease,box-shadow .3s ease}
.rc-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(11,15,18,.18)}
.rc-media{position:relative;aspect-ratio:4/3;overflow:hidden;background:#0b0e10}
.rc-blur{position:absolute;inset:-24px;width:calc(100% + 48px);height:calc(100% + 48px);object-fit:cover;filter:blur(20px) brightness(.45);z-index:0}
.rc-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1;transition:transform .7s cubic-bezier(.2,.6,.3,1)}
.rc-card:hover .rc-photo{transform:scale(1.04)}
.rc-num{position:absolute;z-index:2;top:10px;left:10px;padding:5px 9px;border-radius:999px;background:rgba(8,11,13,.78);color:var(--rh-y);font:700 11.5px "Outfit",system-ui,sans-serif;letter-spacing:.04em}
.rc-std{position:absolute;z-index:2;top:10px;right:10px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;margin:0;max-width:62%}
.rc-std span{padding:3px 7px;border-radius:6px;background:rgba(255,255,255,.92);color:#1d252b;font:700 10px "Instrument Sans",system-ui,sans-serif;letter-spacing:.02em}
.rc-cap{flex:1;display:flex;flex-direction:column;gap:8px;padding:14px 16px 16px;border-top:2px solid var(--rh-y)}
.rc-cap h3{margin:0;font:700 17px/1.2 "Outfit",system-ui,sans-serif;letter-spacing:-.01em}
.rc-cap h3 a{color:#fff;text-decoration:none}
.rc-cap h3 a::after{content:"";position:absolute;inset:0;z-index:3}
.rc-subs{position:relative;z-index:4;list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.rc-subs a{display:inline-block;padding:5px 10px;border-radius:999px;background:rgba(245,197,24,.14);border:1px solid rgba(245,197,24,.5);color:#ffe27a;font:700 11.5px "Instrument Sans",system-ui,sans-serif;text-decoration:none}
.rc-subs a:hover{background:var(--rh-y);color:#111}
.rc-go{margin-top:auto;display:inline-flex;align-items:center;gap:6px;color:#c9d0d5;font:700 12.5px "Instrument Sans",system-ui,sans-serif}
.rc-go svg{width:14px;height:14px;transition:transform .25s}
.rc-card:hover .rc-go{color:var(--rh-y)}
.rc-card:hover .rc-go svg{transform:translateX(4px)}
.rc-card:focus-within{outline:3px solid var(--rh-y);outline-offset:2px}

/* ---------- product menu (server-rendered, uses the existing dark dropdown style) ---------- */
.site-header .ri-product-menu .ri-menu-group a.rm-top{font-weight:800!important;color:#fff!important;margin-top:6px}
.site-header .ri-product-menu .ri-menu-group .rm-top:first-child{margin-top:0}
.site-header .ri-product-menu .ri-menu-group a.rm-child{padding-left:20px!important;color:#c9d0d4!important;font-size:12.5px!important;position:relative}
.site-header .ri-product-menu .ri-menu-group a.rm-child::before{content:"";position:absolute;left:9px;top:50%;width:5px;height:1.5px;background:var(--rh-y)}

/* ---------- category pages: sub-category chips ---------- */
.rc-subnav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px}
.rc-subnav span{font:700 11.5px "Instrument Sans",system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--rh-mut);margin-right:4px}
.chips .chip.chip-sub{font-size:.92em;opacity:.92}
.empty .rc-note{margin-top:6px}

/* category page banner: show the category's own picture (older rules swapped in fixed images by address) */
#rc-cat-art{background-image:none!important;display:flex;align-items:center;justify-content:center}
#rc-cat-art img{display:block!important;width:auto;max-width:86%!important;max-height:340px!important;object-fit:contain;border-radius:18px;filter:none}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .rh-grid{grid-template-columns:1fr;min-height:0;gap:22px}
  .rh-media{order:-1}
  .rh-frame{max-width:none;aspect-ratio:16/10}
  .rh-nav{margin-top:20px}
  .rh-tab-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rh-certs{flex-direction:column;align-items:flex-start;gap:12px}
  .rh-certs-label{border-right:0;padding-right:0;border-bottom:1px solid var(--rh-line);padding-bottom:10px;width:100%}
  .rh-certs-label br{display:none}
}
@media (max-width:640px){
  .rh-hero{padding-top:18px}
  .rh-h{font-size:34px}
  .rh-text{font-size:15.5px;margin-top:14px}
  .rh-cta{margin-top:20px}
  .rh-cta .btn{flex:1 1 auto;justify-content:center}
  .rh-frame{border-radius:20px}
  .rh-tab{padding:10px 0 14px}
  .rh-tab-t{display:none}
  .rh-tab-n{font-size:13px}
  .rh-arrow{width:38px;height:38px}
  .rh-certs{padding:14px 16px}
  .rh-certs ul{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;width:100%}
  .rh-certs img{height:36px;max-width:84px}
  .rc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .rc-card{border-radius:12px}
  .rc-subs a{padding:4px 8px;font-size:11px}
  .rc-cap{padding:10px 11px 12px;gap:7px}
  .rc-cap h3{font-size:15px}
  .rc-std{display:none}
  .rc-sec{padding:44px 0 52px}
}
@media (prefers-reduced-motion:reduce){
  .rh-slide,.rh-slide.is-active,.rh-in,.rh-slide.is-active .rh-in,.rh-frame img,.rc-photo{transition:none!important}
  .rh-frame img{transform:none!important}
}

/* ---------- full designed banners (picture contains headline, button and marks) ---------- */
.rh-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rh-hero-full{padding-top:0;background:#070708}
.rh-hero-full .rh-stage{position:relative}
.rh-full .rh-banner{display:block;position:relative;overflow:hidden;width:100%;margin:0;background:#070708}
.rh-full .rh-pic{position:relative;margin-top:-5.6%;transform:scale(1.035);transform-origin:60% 60%;transition:transform 7.5s cubic-bezier(.2,.6,.3,1)}
.rh-full.is-active .rh-pic{transform:scale(1)}
.rh-full .rh-banner img{display:block;width:100%;height:auto}
.rh-hot{position:absolute;z-index:3;display:block;border-radius:12px;cursor:pointer;transition:box-shadow .25s ease,background .25s ease}
.rh-hot:hover{background:rgba(255,255,255,.08);box-shadow:0 0 0 2px rgba(255,255,255,.6),0 10px 30px rgba(245,197,24,.45)}
.rh-hot:focus-visible{outline:3px solid #fff;outline-offset:3px}

.rh-mcap{display:none}
.rh-hero-full .rh-nav{grid-area:1/1;align-self:end;justify-self:center;width:100%;max-width:1320px;margin:0 auto clamp(10px,1.6vw,26px);z-index:4}
.rh-hero-full .rh-tabs{padding:0 6px;border-radius:12px;background:linear-gradient(180deg,rgba(7,7,8,0),rgba(7,7,8,.55))}
.rh-hero-full .rh-tab{padding:10px 4px 13px;font-size:12.5px;color:#aab4bb}
.rh-hero-full .rh-arrow{background:rgba(7,7,8,.55);backdrop-filter:blur(4px)}
.rh-hero-full .rh-certs{margin-top:18px}
@media (max-width:980px){
  .rh-hero-full .rh-tab-t{display:none}
}
@media (max-width:760px){
  .rh-mcap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;padding-bottom:4px}
  .rh-mcap-t{margin:0;font:700 19px/1.2 "Outfit",system-ui,sans-serif;color:#fff;text-transform:uppercase;letter-spacing:-.01em}
  .rh-mcap .btn{flex:none;padding:10px 14px;font-size:13px}
  .rh-full .rh-mcap{opacity:0;transform:translateY(10px);transition:opacity .5s ease,transform .5s ease}
  .rh-full.is-active .rh-mcap{opacity:1;transform:none;transition-delay:.25s}
  .rh-hero-full .rh-nav{grid-area:auto;margin:6px auto 0;max-width:none}
  .rh-hero-full .rh-tabs{background:none}
}
@media (prefers-reduced-motion:reduce){.rh-full .rh-pic,.rh-full .rh-mcap{transition:none!important;transform:none!important}}
