﻿:root{
  --bg:#101211;
  --panel:#171a18;
  --panel2:#20231f;
  --paper:#f6efe3;
  --paper2:#fffaf0;
  --line:rgba(246,239,227,.16);
  --line2:#d9cdbd;
  --text:#f7efe5;
  --muted:#b9ad9d;
  --ink:#161411;
  --accent:#b88954;
  --accent2:#e3c397;
  --max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;font-family:'IBM Plex Sans Arabic','Tajawal',system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.75;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img,video{display:block;max-width:100%}
button{font-family:inherit}
.nav{position:sticky;top:0;z-index:50;background:rgba(16,18,17,.84);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.nav-inner{max-width:var(--max);margin:auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{direction:ltr;letter-spacing:.42em;font-size:13px;color:var(--paper);font-weight:600}
.nav-links{display:flex;gap:24px;color:var(--muted);font-size:14px}
.nav-links a:hover{color:var(--paper)}
.hero{max-width:var(--max);margin:auto;padding:92px 24px 74px;display:grid;grid-template-columns:1.1fr .9fr;gap:54px;align-items:end;min-height:76vh}
.hero-kicker{direction:ltr;color:var(--accent2);letter-spacing:.18em;text-transform:uppercase;font-size:12px;margin-bottom:24px}
.hero h1{direction:ltr;margin:0 0 24px;font-size:clamp(62px,10vw,132px);line-height:.92;letter-spacing:.12em;font-weight:300;color:var(--paper)}
.hero h2{margin:0 0 18px;font-size:clamp(34px,5vw,72px);line-height:1.12;font-weight:600;max-width:820px}
.hero p{margin:0;color:var(--muted);font-size:19px;max-width:650px}
.hero-side{border:1px solid var(--line);border-radius:34px;background:linear-gradient(180deg,rgba(255,250,240,.08),rgba(255,250,240,.035));padding:26px}
.hero-side h3{margin:0 0 18px;font-size:22px;font-weight:500;color:var(--paper)}
.scope-list{display:grid;gap:10px}
.scope-item{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:18px;padding:14px 16px;color:var(--paper);background:rgba(255,255,255,.025)}
.scope-item small{direction:ltr;color:var(--accent2);letter-spacing:.14em}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn,.case-btn{border:1px solid var(--accent);background:var(--accent);color:#111;border-radius:999px;padding:12px 22px;font-size:14px;cursor:pointer;transition:.22s}
.btn:hover,.case-btn:hover{transform:translateY(-2px);background:var(--accent2);border-color:var(--accent2)}
.btn.ghost{background:transparent;color:var(--paper);border-color:var(--line)}
.section{max-width:var(--max);margin:auto;padding:56px 24px 98px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:38px;border-top:1px solid var(--line);padding-top:28px}
.section-head span{direction:ltr;color:var(--accent2);letter-spacing:.16em;text-transform:uppercase;font-size:12px}
.section-head h2{margin:0;font-size:clamp(36px,5.5vw,76px);line-height:1.1;font-weight:600}
.section-head p{margin:0;color:var(--muted);max-width:430px}
.work-list{display:grid;gap:34px}
.case{display:grid;grid-template-columns:360px minmax(0,1fr);gap:26px;align-items:start;background:var(--panel);border:1px solid var(--line);border-radius:34px;padding:22px;box-shadow:0 28px 70px rgba(0,0,0,.18)}
.case-info{position:sticky;top:96px;min-height:510px;border-radius:26px;background:var(--paper);color:var(--ink);padding:28px;display:flex;flex-direction:column;align-items:flex-start}
.case-num{direction:ltr;color:var(--accent);font-weight:700;letter-spacing:.18em;font-size:13px;margin-bottom:32px}
.case-label{border:1px solid var(--line2);border-radius:999px;padding:6px 13px;color:#5f5348;font-size:13px;margin-bottom:18px}
.case-info h3{margin:0 0 14px;font-size:clamp(30px,3.2vw,46px);line-height:1.18;font-weight:700;color:var(--ink)}
.case-info p{margin:0;color:#5f564d;font-size:17px;line-height:1.9}
.case-info .case-btn{margin-top:auto}
.case-visual{display:grid;gap:16px}
.cover-shot,.thumb,.system-block,.product-card,.video-tile{margin:0}
.screen-shell{border:1px solid rgba(255,255,255,.12);border-radius:26px;overflow:hidden;background:#0b0c0b;box-shadow:0 24px 70px rgba(0,0,0,.23);cursor:zoom-in}
.screen-bar{height:34px;display:flex;align-items:center;gap:7px;padding:0 14px;background:#1d201d;border-bottom:1px solid rgba(255,255,255,.10);direction:ltr}
.screen-bar i{width:8px;height:8px;border-radius:50%;background:#d4c5ae;opacity:.9}
.screen-body{height:560px;background:#fff;display:grid;place-items:center;overflow:hidden}
.screen-body img,.screen-body video{width:100%;height:100%;object-fit:contain;background:#fff}
.cover-shot figcaption,.thumb figcaption,.video-tile figcaption{font-size:13px;color:var(--muted);padding:10px 4px 0}
.thumb-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.thumb{border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.04);padding:10px;cursor:zoom-in}
.thumb img{height:170px;width:100%;object-fit:contain;background:#fff;border-radius:14px}
.system-block{display:grid;grid-template-columns:320px 1fr;gap:18px;align-items:center;background:linear-gradient(135deg,rgba(184,137,84,.16),rgba(255,250,240,.04));border:1px solid var(--line);border-radius:26px;padding:18px;cursor:zoom-in}
.system-copy{padding:14px}
.system-copy span{display:block;color:var(--accent2);font-size:12px;letter-spacing:.12em;margin-bottom:14px}
.system-copy h4{margin:0 0 10px;font-size:30px;line-height:1.25}
.system-copy p{margin:0;color:var(--muted);font-size:16px}
.system-frame{height:330px;background:#fff;border-radius:20px;border:1px solid rgba(255,255,255,.12);display:grid;place-items:center;overflow:hidden}
.system-frame img,.system-frame video{width:100%;height:100%;object-fit:contain;background:#fff}
.video-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.video-tile{border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.035);padding:12px;cursor:zoom-in}
.video-tile video{height:380px;width:100%;object-fit:contain;background:#000;border-radius:16px}
.product-case{background:var(--paper);color:var(--ink);border-radius:34px;padding:36px 34px 40px;border:1px solid var(--line2)}
.product-head{text-align:center;border-bottom:1px solid var(--line2);padding:0 16px 30px;margin-bottom:24px}
.product-head span{direction:ltr;display:block;color:var(--accent);font-size:13px;letter-spacing:.18em;font-weight:700;margin-bottom:12px}
.product-head small{color:#6a5d50}
.product-head h3{margin:12px 0 10px;font-size:clamp(38px,5vw,70px);line-height:1.12}
.product-head p{margin:0 auto 18px;max-width:660px;color:#5f564d;font-size:17px}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.product-card{border:1px solid var(--line2);border-radius:22px;overflow:hidden;background:#fff;cursor:zoom-in}
.product-frame{height:340px;background:#fff;display:grid;place-items:center}
.product-frame img{width:100%;height:100%;object-fit:contain;background:#fff}
.product-card figcaption{min-height:56px;padding:13px 16px;border-top:1px solid var(--line2);color:#62594f;font-size:14px}
.product-card:nth-child(4){grid-column:1/-1}
.product-card:nth-child(4) .product-frame{height:430px}
.contact{background:var(--paper);color:var(--ink);border-radius:34px;padding:46px;display:grid;grid-template-columns:1fr .7fr;gap:28px;align-items:center}
.contact h2{font-size:clamp(36px,5vw,68px);margin:0 0 12px;line-height:1.15}
.contact p{margin:0;color:#62594f;font-size:17px}
.contact-actions{display:grid;gap:10px}
.contact-actions a{border:1px solid var(--line2);border-radius:999px;text-align:center;padding:13px;color:#1a1713}
.footer{max-width:var(--max);margin:auto;padding:32px 24px 46px;color:var(--muted);border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:13px}
.lightbox{position:fixed;inset:0;z-index:9999;background:rgba(8,9,8,.86);backdrop-filter:blur(18px);display:none;align-items:center;justify-content:center;padding:34px 78px}
.lightbox.open{display:flex}
.light-window{width:min(1200px,100%);height:min(86vh,850px);display:grid;grid-template-rows:48px minmax(0,1fr) 54px;background:#111;border:1px solid rgba(255,255,255,.14);border-radius:28px;overflow:hidden;box-shadow:0 35px 110px rgba(0,0,0,.5)}
.light-top,.light-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 18px;color:#d7cbbb;border-bottom:1px solid rgba(255,255,255,.10)}
.light-bottom{border-top:1px solid rgba(255,255,255,.10);border-bottom:0}
.light-stage{min-height:0;display:grid;place-items:center;padding:20px;background:#090909}
.light-stage img,.light-stage video{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;background:#fff;border-radius:16px}
.light-stage video{background:#000}
.light-close,.light-arrow{position:absolute;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.10);color:#fff;cursor:pointer;display:grid;place-items:center;backdrop-filter:blur(12px)}
.light-close{top:22px;left:22px;width:46px;height:46px;border-radius:50%;font-size:28px}
.light-arrow{top:50%;transform:translateY(-50%);width:58px;height:58px;border-radius:50%;font-size:38px}
.light-arrow.prev{right:22px}.light-arrow.next{left:22px}
@media(max-width:980px){
  .hero,.case,.contact{grid-template-columns:1fr}
  .hero{padding-top:64px;min-height:auto}
  .case-info{position:static;min-height:auto}
  .screen-body{height:430px}
  .system-block{grid-template-columns:1fr}
  .thumb-row,.product-grid,.video-row{grid-template-columns:1fr}
  .product-card:nth-child(4){grid-column:auto}
  .product-frame,.product-card:nth-child(4) .product-frame{height:360px}
  .section-head{display:block}
  .nav-links{display:none}
  .lightbox{padding:70px 12px 24px}
  .light-window{height:min(78vh,780px);border-radius:22px}
  .light-arrow{width:44px;height:44px;font-size:30px}
  .light-arrow.prev{right:10px}.light-arrow.next{left:10px}
  .light-close{top:16px;left:16px}
}


/* White identity update + left arrows */
:root{
  --bg:#ffffff;
  --panel:#ffffff;
  --panel2:#f7f7f5;
  --paper:#ffffff;
  --paper2:#ffffff;
  --line:rgba(22,20,17,.12);
  --line2:#e2ddd6;
  --text:#171514;
  --muted:#6f6860;
  --ink:#171514;
  --accent:#9b6a3d;
  --accent2:#8a5f38;
}
html,body{background:#fff!important;color:var(--ink)!important;}
body:before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(circle at 90% 6%, rgba(155,106,61,.10), transparent 30%),
    radial-gradient(circle at 10% 34%, rgba(0,0,0,.035), transparent 26%),
    linear-gradient(180deg,#fff 0%,#fff 52%,#fafafa 100%);
}
.nav{background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(22,20,17,.10)!important;}
.brand,.nav-links a:hover,.hero h1,.hero h2,.hero-side h3,.scope-item,.btn.ghost{color:var(--ink)!important;}
.nav-links,.hero p,.section-head p,.cover-shot figcaption,.thumb figcaption,.video-tile figcaption,.footer{color:var(--muted)!important;}
.hero-kicker,.section-head span,.scope-item small,.case-num,.product-head span,.system-copy span{color:var(--accent)!important;}
.hero{align-items:center;}
.hero-side{
  background:#fff!important;
  border:1px solid rgba(22,20,17,.12)!important;
  box-shadow:0 24px 80px rgba(22,20,17,.07)!important;
}
.scope-list{gap:12px!important;}
.scope-item{
  position:relative;
  background:#fbfbfa!important;
  border:1px solid rgba(22,20,17,.11)!important;
  padding:15px 18px 15px 58px!important;
  min-height:58px;
  box-shadow:0 10px 26px rgba(22,20,17,.035);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.scope-item:hover{
  transform:translateX(-4px);
  border-color:rgba(155,106,61,.42)!important;
  background:#fff!important;
  box-shadow:0 18px 42px rgba(22,20,17,.07);
}
.scope-arrow{
  position:absolute;left:14px;top:50%;transform:translateY(-50%);
  width:30px;height:30px;border-radius:999px;
  display:grid;place-items:center;
  background:var(--ink);color:#fff;font-size:16px;font-weight:500;line-height:1;
}
.btn,.case-btn{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important;}
.btn:hover,.case-btn:hover{background:#000!important;border-color:#000!important;}
.btn.ghost{background:#fff!important;border-color:rgba(22,20,17,.16)!important;color:var(--ink)!important;}
.section-head{border-top:1px solid rgba(22,20,17,.10)!important;}
.case{
  background:#fff!important;
  border:1px solid rgba(22,20,17,.10)!important;
  box-shadow:0 24px 70px rgba(22,20,17,.075)!important;
}
.case-info{
  background:#fafafa!important;
  border:1px solid rgba(22,20,17,.10)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.case-label{border-color:rgba(22,20,17,.12)!important;color:#5f5348!important;background:#fff;}
.screen-shell,.thumb,.video-tile,.system-block{
  border-color:rgba(22,20,17,.11)!important;
  box-shadow:0 18px 46px rgba(22,20,17,.06)!important;
}
.screen-shell{background:#fff!important;}
.screen-bar{background:#f5f4f2!important;border-bottom:1px solid rgba(22,20,17,.10)!important;}
.thumb,.video-tile{background:#fff!important;}
.system-block{
  background:linear-gradient(135deg,rgba(155,106,61,.10),#fff)!important;
}
.system-copy h4,.system-copy p{color:var(--ink)!important;}
.product-case,.contact{
  background:#fff!important;
  border:1px solid rgba(22,20,17,.10)!important;
  box-shadow:0 24px 70px rgba(22,20,17,.06)!important;
}
.product-card,.contact-actions a{background:#fff!important;border-color:rgba(22,20,17,.10)!important;}
.footer{border-top:1px solid rgba(22,20,17,.10)!important;}
@media(max-width:980px){
  .scope-item:hover{transform:none;}
}


/* Mobile rebuild — clean, white, fixed spacing */
@media (max-width: 760px){
  :root{--max:100%;}
  html,body{width:100%;overflow-x:hidden;background:#fff!important;}
  body:before{background:linear-gradient(180deg,#fff 0%,#fff 70%,#fafafa 100%)!important;}
  .nav{position:sticky!important;background:rgba(255,255,255,.94)!important;}
  .nav-inner{padding:14px 16px!important;}
  .brand{font-size:12px!important;letter-spacing:.26em!important;}

  .hero{
    min-height:auto!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:22px!important;
    padding:42px 16px 32px!important;
    align-items:start!important;
  }
  .hero-kicker{font-size:10px!important;letter-spacing:.13em!important;margin-bottom:16px!important;}
  .hero h1{font-size:clamp(46px,17vw,68px)!important;line-height:.96!important;letter-spacing:.08em!important;margin-bottom:18px!important;}
  .hero h2{font-size:clamp(27px,8.5vw,38px)!important;line-height:1.18!important;margin-bottom:12px!important;max-width:100%!important;}
  .hero p{font-size:15px!important;line-height:1.85!important;max-width:100%!important;}
  .hero-actions{margin-top:22px!important;gap:10px!important;}
  .btn,.case-btn{width:auto!important;min-height:44px!important;padding:11px 18px!important;font-size:13px!important;}

  .hero-side{
    width:100%!important;
    padding:16px!important;
    border-radius:24px!important;
    box-shadow:0 16px 44px rgba(22,20,17,.06)!important;
  }
  .hero-side h3{font-size:18px!important;margin-bottom:14px!important;}
  .scope-list{gap:9px!important;}
  .scope-item{
    min-height:54px!important;
    border-radius:16px!important;
    padding:12px 14px 12px 50px!important;
    font-size:14px!important;
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:8px!important;
  }
  .scope-item small{font-size:10px!important;letter-spacing:.10em!important;align-self:center!important;}
  .scope-arrow{left:12px!important;width:28px!important;height:28px!important;font-size:15px!important;}

  .section{padding:36px 16px 64px!important;}
  .section-head{display:block!important;margin-bottom:22px!important;padding-top:22px!important;}
  .section-head span{font-size:10px!important;letter-spacing:.13em!important;}
  .section-head h2{font-size:clamp(32px,10vw,46px)!important;margin-top:8px!important;}
  .section-head p{font-size:14px!important;line-height:1.8!important;margin-top:10px!important;}
  .work-list{gap:22px!important;}

  .case{
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:14px!important;
    border-radius:26px!important;
    box-shadow:0 16px 48px rgba(22,20,17,.06)!important;
  }
  .case-info{
    position:static!important;
    min-height:auto!important;
    padding:20px!important;
    border-radius:22px!important;
  }
  .case-num{font-size:11px!important;margin-bottom:18px!important;}
  .case-label{font-size:12px!important;margin-bottom:12px!important;padding:5px 11px!important;}
  .case-info h3{font-size:clamp(27px,8.5vw,36px)!important;line-height:1.18!important;margin-bottom:10px!important;}
  .case-info p{font-size:15px!important;line-height:1.8!important;}
  .case-info .case-btn{margin-top:18px!important;}
  .case-visual{gap:12px!important;}

  .screen-shell{border-radius:20px!important;box-shadow:0 14px 36px rgba(22,20,17,.07)!important;}
  .screen-bar{height:30px!important;padding:0 12px!important;}
  .screen-bar i{width:7px!important;height:7px!important;}
  .screen-body{height:260px!important;min-height:260px!important;}
  .screen-body img,.screen-body video{object-fit:contain!important;}

  .thumb-row{
    display:flex!important;
    gap:10px!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
    padding:2px 2px 10px!important;
    -webkit-overflow-scrolling:touch;
  }
  .thumb-row::-webkit-scrollbar{height:0!important;}
  .thumb{
    min-width:72%!important;
    scroll-snap-align:start!important;
    border-radius:18px!important;
    padding:9px!important;
  }
  .thumb img{height:150px!important;border-radius:12px!important;object-fit:contain!important;}
  .cover-shot figcaption,.thumb figcaption,.video-tile figcaption{font-size:12px!important;line-height:1.6!important;padding-top:8px!important;}

  .system-block{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    padding:14px!important;
    border-radius:22px!important;
  }
  .system-frame{order:1!important;width:100%!important;height:230px!important;border-radius:17px!important;}
  .system-copy{order:2!important;padding:4px 2px 2px!important;width:100%!important;}
  .system-copy span{font-size:10px!important;margin-bottom:9px!important;letter-spacing:.11em!important;}
  .system-copy h4{font-size:24px!important;line-height:1.25!important;margin-bottom:8px!important;}
  .system-copy p{font-size:14px!important;line-height:1.75!important;}

  .video-row{display:flex!important;gap:10px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;padding-bottom:10px!important;}
  .video-row::-webkit-scrollbar{height:0!important;}
  .video-tile{min-width:78%!important;scroll-snap-align:start!important;border-radius:18px!important;padding:9px!important;}
  .video-tile video{height:300px!important;border-radius:13px!important;}

  .product-case{padding:22px 14px 24px!important;border-radius:26px!important;}
  .product-head{padding:0 4px 20px!important;margin-bottom:16px!important;}
  .product-head span{font-size:11px!important;letter-spacing:.14em!important;}
  .product-head h3{font-size:clamp(31px,9.6vw,42px)!important;line-height:1.15!important;margin:8px 0!important;}
  .product-head p{font-size:15px!important;line-height:1.75!important;}
  .product-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .product-card{border-radius:18px!important;}
  .product-frame,.product-card:nth-child(4) .product-frame{height:270px!important;}
  .product-card figcaption{min-height:auto!important;font-size:13px!important;line-height:1.6!important;padding:11px 13px!important;}

  .contact{
    grid-template-columns:1fr!important;
    gap:20px!important;
    padding:28px 18px!important;
    border-radius:26px!important;
  }
  .contact h2{font-size:clamp(32px,10vw,44px)!important;}
  .contact p{font-size:15px!important;line-height:1.8!important;}
  .contact-actions a{padding:12px!important;font-size:14px!important;}
  .footer{display:block!important;padding:24px 16px 34px!important;font-size:12px!important;}

  .lightbox{padding:68px 10px 20px!important;}
  .light-window{height:min(76vh,700px)!important;border-radius:20px!important;grid-template-rows:42px minmax(0,1fr) 48px!important;}
  .light-stage{padding:10px!important;}
  .light-stage img,.light-stage video{border-radius:12px!important;}
  .light-arrow{width:42px!important;height:42px!important;font-size:28px!important;}
  .light-close{top:16px!important;left:14px!important;width:40px!important;height:40px!important;font-size:26px!important;}
}

@media (max-width: 430px){
  .screen-body{height:230px!important;min-height:230px!important;}
  .system-frame{height:215px!important;}
  .product-frame,.product-card:nth-child(4) .product-frame{height:245px!important;}
  .video-tile video{height:270px!important;}
  .thumb{min-width:78%!important;}
  .thumb img{height:140px!important;}
}



/* Clean section identity — كل قسم يوضح نفسه بدون ألوان مزعجة */
body{background:#fff!important;}
.section{padding-top:54px!important;}
.work-list{gap:46px!important;}
.case,.product-case{
  background:#fff!important;
  border:1px solid rgba(22,20,17,.13)!important;
  box-shadow:0 22px 70px rgba(22,20,17,.055)!important;
  overflow:hidden!important;
  position:relative!important;
}
.case{
  grid-template-columns:340px minmax(0,1fr)!important;
  gap:0!important;
  padding:0!important;
}
.case-band{
  grid-column:1/-1;
  min-height:74px;
  display:grid;
  grid-template-columns:64px 1fr auto auto;
  align-items:center;
  gap:16px;
  padding:16px 24px;
  background:#fff;
  border-bottom:1px solid rgba(22,20,17,.11);
}
.case-band .band-num{
  direction:ltr;
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:50%;
  background:#161411;
  color:#fff;
  font-size:12px;
  letter-spacing:.08em;
  font-weight:700;
}
.case-band strong{
  font-size:22px;
  line-height:1.3;
  color:#161411;
}
.case-band em{
  font-style:normal;
  color:#675f56;
  font-size:14px;
  white-space:nowrap;
}
.case-band small{
  direction:ltr;
  color:#9a9188;
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  border-right:1px solid rgba(22,20,17,.12);
  padding-right:16px;
}
.case-info{
  position:sticky!important;
  top:92px!important;
  margin:22px!important;
  min-height:500px!important;
  border:1px solid rgba(22,20,17,.12)!important;
  border-radius:24px!important;
  background:#fbfaf8!important;
  box-shadow:none!important;
}
.case-info::before{
  content:attr(data-section);
}
.case-label{
  background:#fff!important;
  border-color:rgba(22,20,17,.14)!important;
  color:#4f473f!important;
}
.case-num{margin-bottom:24px!important;color:#161411!important;}
.case-visual{
  padding:22px 22px 22px 0!important;
  gap:18px!important;
  border-right:1px solid rgba(22,20,17,.10);
}
.visual-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  min-height:54px;
  border:1px solid rgba(22,20,17,.10);
  background:#fbfaf8;
  border-radius:20px;
  padding:12px 16px;
}
.visual-head strong{font-size:18px;color:#161411;}
.visual-head span{color:#6d655c;font-size:14px;line-height:1.7;}
.screen-shell,.thumb,.system-block,.video-tile,.product-card{
  border-color:rgba(22,20,17,.12)!important;
  box-shadow:0 16px 48px rgba(22,20,17,.055)!important;
}
.screen-body{background:#fff!important;}
.system-block{
  background:#fbfaf8!important;
  border-radius:24px!important;
}
.system-copy span{color:#161411!important;letter-spacing:.14em;}
.system-copy h4{color:#161411!important;}
.system-copy p{color:#675f56!important;}
.thumb,.video-tile{background:#fff!important;}
.product-case{padding:0!important;}
.product-case .case-band{display:grid;}
.product-head{
  border-bottom:1px solid rgba(22,20,17,.11)!important;
  padding:30px 24px 24px!important;
  margin:0!important;
  background:#fbfaf8!important;
}
.product-head span,.product-head small{display:none!important;}
.product-head h3{margin-top:0!important;}
.product-grid{
  padding:22px!important;
  background:#fff!important;
}
.product-frame{background:#fff!important;}
.cover-shot figcaption,.thumb figcaption,.video-tile figcaption,.product-card figcaption{
  color:#655d55!important;
}
@media(max-width:950px){
  .case{grid-template-columns:1fr!important;}
  .case-band{
    grid-template-columns:48px 1fr;
    gap:12px;
    padding:14px 16px;
    min-height:auto;
  }
  .case-band .band-num{width:40px;height:40px;font-size:11px;grid-row:1/3;}
  .case-band strong{font-size:19px;}
  .case-band em{font-size:13px;white-space:normal;line-height:1.6;}
  .case-band small{display:none;}
  .case-info{
    position:static!important;
    margin:14px!important;
    min-height:auto!important;
    padding:20px!important;
  }
  .case-visual{
    border-right:0!important;
    padding:0 14px 16px!important;
  }
  .visual-head{
    display:block;
    min-height:auto;
    padding:13px 14px;
    border-radius:18px;
  }
  .visual-head strong{display:block;font-size:16px;margin-bottom:4px;}
  .visual-head span{font-size:13px;}
  .product-grid{padding:14px!important;}
  .product-head{padding:22px 18px 18px!important;text-align:right!important;}
}
@media(max-width:430px){
  .case-band{padding:12px 14px;}
  .case-info h3{font-size:29px!important;}
  .case-info p{font-size:14px!important;}
}


/* Removed extra labels/section boxes per request */
.hero{grid-template-columns:1fr!important;max-width:980px!important;min-height:62vh!important;padding-bottom:54px!important;}
.hero h2{max-width:780px!important;}
.hero p{max-width:620px!important;}
.section-head p{display:none!important;}
.case-visual{padding-top:0!important;}
.case{gap:22px!important;}
.screen-body{height:540px!important;}
@media(max-width:980px){
  .hero{padding-top:54px!important;padding-bottom:38px!important;min-height:auto!important;}
  .case-visual{padding-top:0!important;}
  .screen-body{height:360px!important;}
}
@media(max-width:520px){
  .screen-body{height:300px!important;}
}


/* Product section as clean corporate cards */
article.product-case{
  max-width:1180px!important;
  margin:0 auto!important;
  padding:56px 34px 42px!important;
  border:1px solid #dedede!important;
  border-radius:30px!important;
  background:#fff!important;
  box-shadow:0 24px 80px rgba(0,0,0,.04)!important;
}
article.product-case .case-band{display:none!important;}
article.product-case .product-head{
  position:relative!important;
  min-height:154px!important;
  text-align:center!important;
  padding:4px 170px 32px!important;
  border-bottom:1px solid #dedede!important;
  margin-bottom:28px!important;
}
article.product-case .product-head > span{
  position:absolute!important;
  left:54px!important;
  top:0!important;
  direction:ltr!important;
  color:#9a8a78!important;
  font-size:13px!important;
  letter-spacing:.18em!important;
}
article.product-case .product-head > small{
  display:block!important;
  color:#9a8a78!important;
  font-size:13px!important;
  margin-bottom:6px!important;
}
article.product-case .product-head h3{
  margin:0 0 12px!important;
  font-size:clamp(42px,5.2vw,68px)!important;
  line-height:1.12!important;
  font-weight:500!important;
  letter-spacing:-.035em!important;
  color:#111!important;
}
article.product-case .product-head p{
  max-width:720px!important;
  margin:0 auto!important;
  color:#4e4a45!important;
  font-size:17px!important;
  line-height:1.9!important;
}
article.product-case .product-head .case-btn{
  position:absolute!important;
  left:0!important;
  top:38px!important;
  min-width:138px!important;
  height:50px!important;
  border:0!important;
  border-radius:999px!important;
  background:#050505!important;
  color:#fff!important;
  font-size:14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
article.product-case .product-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:start!important;
  margin-top:0!important;
}
article.product-case .product-card{
  margin:0!important;
  background:#fff!important;
  border:1px solid #dedede!important;
  border-radius:22px!important;
  overflow:hidden!important;
  cursor:zoom-in!important;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease!important;
}
article.product-case .product-card:hover{
  transform:translateY(-3px)!important;
  border-color:#cfcfcf!important;
  box-shadow:0 20px 55px rgba(0,0,0,.08)!important;
}
article.product-case .product-frame{
  height:330px!important;
  background:#fff!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}
article.product-case .product-frame img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  background:#fff!important;
}
article.product-case .product-card figcaption{
  min-height:64px!important;
  padding:15px 16px!important;
  border-top:1px solid #dedede!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  color:#665f58!important;
  font-size:14px!important;
  line-height:1.7!important;
  background:#fff!important;
}
article.product-case .product-card:nth-child(4){
  grid-column:1/-1!important;
}
article.product-case .product-card:nth-child(4) .product-frame{
  height:410px!important;
}
@media(max-width:900px){
  article.product-case{
    padding:28px 16px 24px!important;
    border-radius:24px!important;
  }
  article.product-case .product-head{
    min-height:0!important;
    padding:0 0 24px!important;
    text-align:right!important;
  }
  article.product-case .product-head > span{
    position:static!important;
    display:block!important;
    margin-bottom:6px!important;
  }
  article.product-case .product-head > small{
    text-align:right!important;
  }
  article.product-case .product-head h3{
    font-size:36px!important;
    line-height:1.2!important;
  }
  article.product-case .product-head p{
    font-size:15px!important;
    margin:0!important;
  }
  article.product-case .product-head .case-btn{
    position:static!important;
    margin-top:18px!important;
    width:100%!important;
  }
  article.product-case .product-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  article.product-case .product-frame,
  article.product-case .product-card:nth-child(4) .product-frame{
    height:330px!important;
  }
  article.product-case .product-card:nth-child(4){grid-column:auto!important;}
}


/* Organized explanation for jewelry & gifts website */
.programmed-summary{
  background:#fbfaf8!important;
  border:1px solid rgba(22,20,17,.12)!important;
  border-radius:24px!important;
  padding:24px!important;
  margin-top:4px!important;
  box-shadow:0 16px 48px rgba(22,20,17,.045)!important;
}
.programmed-intro{
  display:grid!important;
  gap:8px!important;
  margin-bottom:18px!important;
  max-width:760px!important;
}
.programmed-intro span{
  direction:ltr!important;
  color:#9b6a3d!important;
  font-size:12px!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  font-weight:700!important;
}
.programmed-intro h4{
  margin:0!important;
  color:#161411!important;
  font-size:clamp(26px,3.2vw,40px)!important;
  line-height:1.25!important;
}
.programmed-intro p{
  margin:0!important;
  color:#62594f!important;
  font-size:16px!important;
  line-height:1.9!important;
}
.programmed-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
.programmed-card{
  background:#fff!important;
  border:1px solid rgba(22,20,17,.11)!important;
  border-radius:18px!important;
  padding:17px 16px!important;
  min-height:142px!important;
}
.programmed-card strong{
  display:block!important;
  color:#161411!important;
  font-size:17px!important;
  margin-bottom:8px!important;
}
.programmed-card p{
  margin:0!important;
  color:#655d55!important;
  font-size:14px!important;
  line-height:1.75!important;
}
.case-2 .case-info{
  background:linear-gradient(180deg,#fbfaf8,#fff)!important;
}
.case-2 .case-label{
  color:#161411!important;
  border-color:rgba(155,106,61,.28)!important;
}
.case-2 .case-band .band-num{
  background:#161411!important;
  color:#fff!important;
}
.case-2 .case-info .case-num{
  background:transparent!important;
  color:#161411!important;
}
@media(max-width:950px){
  .programmed-summary{padding:18px!important;border-radius:20px!important;}
  .programmed-grid{grid-template-columns:1fr!important;gap:10px!important;}
  .programmed-card{min-height:auto!important;padding:15px!important;}
  .programmed-intro h4{font-size:25px!important;}
  .programmed-intro p{font-size:14px!important;}
}


/* Jewelry & gifts two-image explanation — larger, clearer screenshots */
.case-2 .jewelry-detail-heading{
  margin:8px 0 0!important;
  padding:18px 20px!important;
  border:1px solid rgba(22,20,17,.11)!important;
  border-radius:22px!important;
  background:#fbfaf8!important;
}
.case-2 .jewelry-detail-heading span{
  display:block!important;
  color:#9b6a3d!important;
  font-size:12px!important;
  letter-spacing:.12em!important;
  margin-bottom:8px!important;
}
.case-2 .jewelry-detail-heading h4{
  margin:0 0 6px!important;
  font-size:26px!important;
  line-height:1.3!important;
  color:#161411!important;
}
.case-2 .jewelry-detail-heading p{
  margin:0!important;
  color:#665f58!important;
  font-size:15px!important;
  line-height:1.8!important;
}
.case-2 .jewelry-detail-row{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:24px!important;
  overflow:visible!important;
  padding:0!important;
  max-width:980px!important;
  margin:0 auto!important;
}
.case-2 .jewelry-detail-card{
  min-width:0!important;
  width:100%!important;
  padding:0!important;
  border-radius:26px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid rgba(22,20,17,.13)!important;
  box-shadow:0 22px 62px rgba(22,20,17,.07)!important;
}
.case-2 .jewelry-detail-card img{
  width:100%!important;
  height:520px!important;
  object-fit:contain!important;
  background:#fff!important;
  border-radius:0!important;
  padding:16px!important;
}
.case-2 .jewelry-detail-card figcaption{
  min-height:142px!important;
  padding:18px 20px 20px!important;
  border-top:1px solid rgba(22,20,17,.10)!important;
  background:#fbfaf8!important;
  color:#161411!important;
}
.case-2 .jewelry-detail-card figcaption strong{
  display:block!important;
  margin-bottom:8px!important;
  color:#161411!important;
  font-size:20px!important;
  line-height:1.35!important;
}
.case-2 .jewelry-detail-card figcaption p{
  margin:0!important;
  color:#665f58!important;
  font-size:15px!important;
  line-height:1.85!important;
}
@media(max-width:980px){
  .case-2 .jewelry-detail-row{
    grid-template-columns:1fr!important;
    display:grid!important;
    gap:16px!important;
    overflow:visible!important;
    max-width:100%!important;
  }
  .case-2 .jewelry-detail-card{
    min-width:0!important;
    scroll-snap-align:unset!important;
  }
  .case-2 .jewelry-detail-card img{
    height:420px!important;
    padding:12px!important;
  }
}
@media(max-width:520px){
  .case-2 .jewelry-detail-heading{padding:15px 16px!important;border-radius:20px!important;}
  .case-2 .jewelry-detail-heading h4{font-size:22px!important;}
  .case-2 .jewelry-detail-card img{height:320px!important;padding:8px!important;}
  .case-2 .jewelry-detail-card figcaption{min-height:auto!important;padding:15px 16px!important;}
  .case-2 .jewelry-detail-card figcaption strong{font-size:18px!important;}
  .case-2 .jewelry-detail-card figcaption p{font-size:14px!important;}
}

/* Unify jewelry website + programmed details as one connected project story */
.case-2{
  background:linear-gradient(180deg,#fff 0%,#fffaf5 100%)!important;
  border:1px solid rgba(155,106,61,.22)!important;
  box-shadow:0 28px 90px rgba(155,106,61,.10)!important;
}
.case-2 .case-band{
  background:linear-gradient(90deg,#fbf4ec,#fff)!important;
  border-bottom:1px solid rgba(155,106,61,.20)!important;
}
.case-2 .case-band strong::after{
  content:"نفس المشروع";
  display:inline-flex;
  margin-inline-start:12px;
  padding:5px 12px;
  border-radius:999px;
  background:#161411;
  color:#fff;
  font-size:12px;
  font-weight:500;
  vertical-align:middle;
}
.case-2 .case-info{
  background:#fffaf5!important;
  border-color:rgba(155,106,61,.20)!important;
}
.case-2 .case-visual{
  position:relative!important;
  background:#fff!important;
  border:1px solid rgba(155,106,61,.16)!important;
  border-radius:28px!important;
  margin:22px 22px 22px 0!important;
  padding:24px 24px 26px!important;
  overflow:visible!important;
}
.case-2 .case-visual::before{
  content:"";
  position:absolute;
  top:82px;
  bottom:96px;
  right:22px;
  width:2px;
  background:linear-gradient(180deg,rgba(155,106,61,.12),rgba(155,106,61,.55),rgba(155,106,61,.12));
  border-radius:999px;
}
.case-2 .cover-shot,
.case-2 .jewelry-detail-heading,
.case-2 .jewelry-detail-row{
  position:relative!important;
  z-index:1!important;
  margin-right:28px!important;
}
.case-2 .cover-shot::before,
.case-2 .jewelry-detail-heading::before{
  content:"";
  position:absolute;
  right:-40px;
  top:28px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#9b6a3d;
  border:5px solid #fff;
  box-shadow:0 0 0 1px rgba(155,106,61,.30),0 10px 22px rgba(155,106,61,.18);
}
.case-2 .cover-shot figcaption{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:10px!important;
  padding:14px 18px!important;
  border:1px solid rgba(155,106,61,.14)!important;
  border-radius:18px!important;
  background:#fffaf5!important;
  color:#4f473f!important;
  font-size:15px!important;
}
.case-2 .cover-shot figcaption::before{
  content:"01";
  direction:ltr;
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#161411;
  color:#fff;
  font-size:12px;
  font-weight:700;
  flex:0 0 auto;
}
.case-2 .jewelry-detail-heading{
  margin-top:24px!important;
  background:linear-gradient(135deg,#fffaf5,#fff)!important;
  border-color:rgba(155,106,61,.22)!important;
  box-shadow:0 16px 42px rgba(155,106,61,.06)!important;
}
.case-2 .jewelry-detail-heading::after{
  content:"02";
  direction:ltr;
  position:absolute;
  right:18px;
  top:18px;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#161411;
  color:#fff;
  font-size:12px;
  font-weight:700;
}
.case-2 .jewelry-detail-heading span,
.case-2 .jewelry-detail-heading h4,
.case-2 .jewelry-detail-heading p{
  padding-right:48px!important;
}
.case-2 .jewelry-detail-card{
  border-color:rgba(155,106,61,.18)!important;
}
.case-2 .jewelry-detail-card figcaption{
  background:#fffaf5!important;
  border-top:1px solid rgba(155,106,61,.16)!important;
}
@media(max-width:950px){
  .case-2 .case-visual{
    margin:0 14px 16px!important;
    padding:18px 16px 20px!important;
    border-radius:24px!important;
  }
  .case-2 .case-visual::before{
    right:16px!important;
    top:70px!important;
    bottom:80px!important;
  }
  .case-2 .cover-shot,
  .case-2 .jewelry-detail-heading,
  .case-2 .jewelry-detail-row{
    margin-right:26px!important;
  }
  .case-2 .cover-shot::before,
  .case-2 .jewelry-detail-heading::before{
    right:-35px!important;
  }
  .case-2 .case-band strong::after{
    display:flex;
    width:max-content;
    margin:8px 0 0;
  }
}
@media(max-width:520px){
  .case-2 .case-visual{
    padding:14px 12px 18px!important;
  }
  .case-2 .case-visual::before{
    right:13px!important;
  }
  .case-2 .cover-shot,
  .case-2 .jewelry-detail-heading,
  .case-2 .jewelry-detail-row{
    margin-right:22px!important;
  }
  .case-2 .cover-shot::before,
  .case-2 .jewelry-detail-heading::before{
    right:-31px!important;
    width:15px!important;
    height:15px!important;
    border-width:4px!important;
  }
  .case-2 .jewelry-detail-heading::after{
    position:static!important;
    margin-bottom:10px!important;
  }
  .case-2 .jewelry-detail-heading span,
  .case-2 .jewelry-detail-heading h4,
  .case-2 .jewelry-detail-heading p{
    padding-right:0!important;
  }
}


/* Cleaner section system: remove distracting numbers/circles and keep each project clear */
.case-band{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px 18px!important;
  flex-wrap:wrap!important;
  min-height:auto!important;
  padding:18px 24px!important;
}
.case-band .band-num,
.case-info .case-num{
  display:none!important;
}
.case-band strong{
  font-size:23px!important;
  color:#161411!important;
  line-height:1.35!important;
}
.case-band em{
  color:#6a6259!important;
  font-size:14px!important;
  line-height:1.7!important;
  white-space:normal!important;
}
.case-band small{
  border:1px solid rgba(22,20,17,.12)!important;
  border-radius:999px!important;
  padding:6px 12px!important;
  color:#8a8177!important;
  background:#fff!important;
  font-size:11px!important;
  letter-spacing:.12em!important;
}
.case-label{
  margin-bottom:14px!important;
  border-radius:999px!important;
  background:#fff!important;
}
.case-info{
  min-height:420px!important;
}

/* Jewelry section: keep the unity, but remove extra dots, timeline and small numbered badges */
.case-2 .case-band strong::after{
  content:"مشروع واحد"!important;
  display:inline-flex!important;
  margin-inline-start:10px!important;
  padding:5px 12px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#9b6a3d!important;
  border:1px solid rgba(155,106,61,.22)!important;
  font-size:12px!important;
  font-weight:600!important;
  vertical-align:middle!important;
}
.case-2 .case-visual::before,
.case-2 .cover-shot::before,
.case-2 .jewelry-detail-heading::before,
.case-2 .jewelry-detail-heading::after,
.case-2 .cover-shot figcaption::before{
  content:none!important;
  display:none!important;
}
.case-2 .cover-shot,
.case-2 .jewelry-detail-heading,
.case-2 .jewelry-detail-row{
  margin-right:0!important;
}
.case-2 .jewelry-detail-heading span,
.case-2 .jewelry-detail-heading h4,
.case-2 .jewelry-detail-heading p{
  padding-right:0!important;
}
.case-2 .case-visual{
  border-color:rgba(155,106,61,.18)!important;
  background:linear-gradient(180deg,#fff,#fffaf5)!important;
}
.case-2 .cover-shot figcaption{
  display:block!important;
  padding:13px 16px!important;
}

/* Lama trips: make videos prominent inside the same section */
.case-3{
  border-color:rgba(22,20,17,.12)!important;
}
.case-3 .case-band{
  background:linear-gradient(90deg,#f8faf7,#fff)!important;
}
.case-3 .case-info{
  background:#f8faf7!important;
}
.case-3 .case-visual{
  padding-bottom:24px!important;
}
.case-3 .lama-video-heading{
  margin:8px 0 0!important;
  padding:18px 20px!important;
  border:1px solid rgba(22,20,17,.12)!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#f8faf7,#fff)!important;
  box-shadow:0 14px 38px rgba(22,20,17,.045)!important;
}
.case-3 .lama-video-heading span{
  display:block!important;
  color:#6d655c!important;
  font-size:12px!important;
  letter-spacing:.11em!important;
  margin-bottom:8px!important;
}
.case-3 .lama-video-heading h4{
  margin:0 0 6px!important;
  font-size:28px!important;
  line-height:1.3!important;
  color:#161411!important;
}
.case-3 .lama-video-heading p{
  margin:0!important;
  color:#665f58!important;
  font-size:15px!important;
  line-height:1.85!important;
}
.case-3 .lama-video-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  padding:18px!important;
  border:1px solid rgba(22,20,17,.12)!important;
  border-radius:26px!important;
  background:#f8faf7!important;
  overflow:visible!important;
  box-shadow:0 18px 48px rgba(22,20,17,.05)!important;
}
.case-3 .lama-video-row .video-tile{
  min-width:0!important;
  padding:12px!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid rgba(22,20,17,.12)!important;
  box-shadow:0 16px 42px rgba(22,20,17,.065)!important;
}
.case-3 .lama-video-row .video-tile video{
  height:460px!important;
  border-radius:16px!important;
  background:#000!important;
}
.case-3 .lama-video-row .video-tile figcaption{
  padding:12px 6px 0!important;
  font-size:14px!important;
  color:#5f574f!important;
}

@media(max-width:950px){
  .case-band{
    display:block!important;
    padding:15px 16px!important;
  }
  .case-band strong{
    display:block!important;
    font-size:20px!important;
    margin-bottom:4px!important;
  }
  .case-band em{
    display:block!important;
    margin-bottom:8px!important;
  }
  .case-band small{
    display:inline-flex!important;
  }
  .case-info{
    min-height:auto!important;
  }
  .case-2 .case-band strong::after{
    margin:8px 0 0!important;
    width:max-content!important;
  }
  .case-2 .case-visual{
    margin:0 14px 16px!important;
  }
  .case-3 .lama-video-row{
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:14px!important;
  }
  .case-3 .lama-video-row .video-tile video{
    height:360px!important;
  }
}
@media(max-width:520px){
  .case-3 .lama-video-heading{
    padding:15px 16px!important;
    border-radius:20px!important;
  }
  .case-3 .lama-video-heading h4{
    font-size:23px!important;
  }
  .case-3 .lama-video-row .video-tile video{
    height:300px!important;
  }
}



/* ===== Redesign v3: clearer sections, one feature per project, less clutter ===== */
body.portfolio-redesign{
  background:#faf8f4!important;
  color:#171514!important;
}
body.portfolio-redesign:before{
  background:
    radial-gradient(circle at 82% 4%, rgba(155,106,61,.08), transparent 28%),
    linear-gradient(180deg,#fff 0%,#faf8f4 100%)!important;
}
.portfolio-redesign .nav{
  background:rgba(255,255,255,.92)!important;
}
.portfolio-redesign .hero{
  max-width:1120px!important;
  min-height:auto!important;
  padding:74px 24px 34px!important;
}
.portfolio-redesign .hero h1{
  font-size:clamp(54px,8vw,110px)!important;
  margin-bottom:18px!important;
}
.portfolio-redesign .hero h2{
  max-width:860px!important;
  font-size:clamp(34px,4.8vw,66px)!important;
}
.portfolio-redesign .hero p{
  max-width:720px!important;
  font-size:18px!important;
}
.portfolio-overview{
  max-width:1240px;
  margin:0 auto;
  padding:0 24px 58px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.overview-card{
  background:#fff;
  border:1px solid rgba(22,20,17,.10);
  border-radius:24px;
  padding:20px 18px;
  box-shadow:0 18px 45px rgba(22,20,17,.045);
}
.overview-card span{
  display:block;
  color:#9b6a3d;
  font-size:12px;
  margin-bottom:8px;
}
.overview-card strong{
  display:block;
  font-size:21px;
  line-height:1.35;
  color:#171514;
}
.overview-card p{
  margin:8px 0 0;
  color:#6b6258;
  font-size:14px;
  line-height:1.7;
}
.portfolio-redesign .section{
  max-width:1240px!important;
  padding:42px 24px 90px!important;
}
.portfolio-redesign .section-head{
  display:flex!important;
  align-items:end!important;
  justify-content:space-between!important;
  gap:24px!important;
  margin-bottom:28px!important;
  border-top:1px solid rgba(22,20,17,.10)!important;
}
.portfolio-redesign .section-head p{
  display:block!important;
  max-width:520px!important;
  color:#6b6258!important;
  font-size:15px!important;
  line-height:1.8!important;
}
.portfolio-redesign .work-list{
  gap:34px!important;
}
.portfolio-redesign .case,
.portfolio-redesign article.product-case{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(22,20,17,.11)!important;
  border-radius:34px!important;
  background:#fff!important;
  box-shadow:0 26px 80px rgba(22,20,17,.06)!important;
}
.portfolio-redesign .case{
  display:grid!important;
  grid-template-columns:330px minmax(0,1fr)!important;
  gap:0!important;
  padding:0!important;
}
.portfolio-redesign .case-band{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  align-items:center!important;
  gap:16px!important;
  min-height:auto!important;
  padding:24px 30px!important;
  background:#fff!important;
  border-bottom:1px solid rgba(22,20,17,.09)!important;
}
.portfolio-redesign .case-band .band-num,
.portfolio-redesign .case-info .case-num,
.portfolio-redesign .case-band small,
.portfolio-redesign article.product-case .product-head > span{
  display:none!important;
}
.portfolio-redesign .case-band strong{
  color:#171514!important;
  font-size:26px!important;
  line-height:1.35!important;
}
.portfolio-redesign .case-band strong::after{
  content:none!important;
  display:none!important;
}
.portfolio-redesign .case-band em{
  border:1px solid rgba(22,20,17,.10)!important;
  border-radius:999px!important;
  padding:8px 14px!important;
  color:#5f574e!important;
  background:#fbfaf8!important;
  font-size:13px!important;
  white-space:normal!important;
}
.portfolio-redesign .case-info{
  position:static!important;
  min-height:auto!important;
  margin:0!important;
  padding:30px 28px!important;
  border:0!important;
  border-left:1px solid rgba(22,20,17,.08)!important;
  border-radius:0!important;
  background:#fbfaf8!important;
  box-shadow:none!important;
}
.portfolio-redesign .case-info::before{
  content:none!important;
}
.portfolio-redesign .case-label{
  background:#fff!important;
  border:1px solid rgba(22,20,17,.11)!important;
  color:#5c5147!important;
  margin-bottom:14px!important;
}
.portfolio-redesign .case-info h3{
  font-size:clamp(28px,3vw,42px)!important;
  line-height:1.18!important;
  margin-bottom:12px!important;
}
.portfolio-redesign .case-info p{
  color:#655d55!important;
  font-size:16px!important;
  line-height:1.85!important;
}
.portfolio-redesign .section-feature{
  margin-top:22px!important;
  padding:18px!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid rgba(22,20,17,.10)!important;
}
.portfolio-redesign .section-feature span{
  display:block!important;
  color:#9b6a3d!important;
  font-size:12px!important;
  margin-bottom:8px!important;
}
.portfolio-redesign .section-feature strong{
  display:block!important;
  color:#171514!important;
  font-size:19px!important;
  line-height:1.45!important;
  margin-bottom:6px!important;
}
.portfolio-redesign .section-feature p{
  margin:0!important;
  color:#655d55!important;
  font-size:14px!important;
  line-height:1.75!important;
}
.portfolio-redesign .case-info .case-btn{
  margin-top:22px!important;
  width:100%!important;
  justify-content:center!important;
}
.portfolio-redesign .case-visual{
  position:relative!important;
  margin:0!important;
  padding:30px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  gap:18px!important;
}
.portfolio-redesign .case-visual::before,
.portfolio-redesign .cover-shot::before,
.portfolio-redesign .jewelry-detail-heading::before,
.portfolio-redesign .jewelry-detail-heading::after{
  content:none!important;
  display:none!important;
}
.portfolio-redesign .cover-shot,
.portfolio-redesign .jewelry-detail-heading,
.portfolio-redesign .jewelry-detail-row{
  margin-right:0!important;
}
.portfolio-redesign .screen-shell{
  border-radius:24px!important;
  border:1px solid rgba(22,20,17,.10)!important;
  box-shadow:0 18px 55px rgba(22,20,17,.055)!important;
}
.portfolio-redesign .screen-body{
  height:500px!important;
}
.portfolio-redesign .cover-shot figcaption{
  display:block!important;
  margin:10px 0 0!important;
  padding:12px 4px 0!important;
  border:0!important;
  background:transparent!important;
  color:#6b6258!important;
  font-size:13px!important;
}
.portfolio-redesign .cover-shot figcaption::before{
  content:none!important;
  display:none!important;
}
.portfolio-redesign .thumb-row:not(.jewelry-detail-row){
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  overflow:visible!important;
  padding:0!important;
}
.portfolio-redesign .thumb{
  min-width:0!important;
  padding:12px!important;
  border-radius:22px!important;
  border:1px solid rgba(22,20,17,.10)!important;
  background:#fff!important;
}
.portfolio-redesign .thumb img{
  height:210px!important;
  object-fit:contain!important;
}
.portfolio-redesign .thumb figcaption{
  color:#6b6258!important;
  font-size:13px!important;
}
.portfolio-redesign .jewelry-detail-heading,
.portfolio-redesign .lama-video-heading{
  padding:20px!important;
  border-radius:24px!important;
  border:1px solid rgba(22,20,17,.10)!important;
  background:#fbfaf8!important;
  box-shadow:none!important;
}
.portfolio-redesign .jewelry-detail-heading span,
.portfolio-redesign .lama-video-heading span{
  display:block!important;
  color:#9b6a3d!important;
  font-size:12px!important;
  letter-spacing:0!important;
  margin-bottom:8px!important;
}
.portfolio-redesign .jewelry-detail-heading h4,
.portfolio-redesign .lama-video-heading h4{
  margin:0 0 8px!important;
  color:#171514!important;
  font-size:24px!important;
  line-height:1.35!important;
}
.portfolio-redesign .jewelry-detail-heading p,
.portfolio-redesign .lama-video-heading p{
  margin:0!important;
  color:#655d55!important;
  font-size:15px!important;
  line-height:1.8!important;
}
.portfolio-redesign .jewelry-detail-heading span,
.portfolio-redesign .jewelry-detail-heading h4,
.portfolio-redesign .jewelry-detail-heading p{
  padding-right:0!important;
}
.portfolio-redesign .jewelry-detail-row{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
  max-width:100%!important;
}
.portfolio-redesign .jewelry-detail-card{
  width:100%!important;
  border-radius:24px!important;
  border:1px solid rgba(22,20,17,.10)!important;
  box-shadow:0 18px 55px rgba(22,20,17,.05)!important;
}
.portfolio-redesign .jewelry-detail-card img{
  height:520px!important;
  padding:16px!important;
}
.portfolio-redesign .jewelry-detail-card figcaption{
  background:#fbfaf8!important;
  border-top:1px solid rgba(22,20,17,.08)!important;
  min-height:auto!important;
}
.portfolio-redesign .jewelry-detail-card figcaption strong{
  color:#171514!important;
  font-size:19px!important;
}
.portfolio-redesign .jewelry-detail-card figcaption p{
  color:#655d55!important;
  font-size:15px!important;
}
.portfolio-redesign .case-2 .case-info,
.portfolio-redesign .case-2 .case-band,
.portfolio-redesign .overview-jewelry{
  background:#fffaf5!important;
}
.portfolio-redesign .case-1 .case-info,
.portfolio-redesign .overview-system{
  background:#f7f8f8!important;
}
.portfolio-redesign .case-3 .case-info,
.portfolio-redesign .overview-travel{
  background:#f5faf9!important;
}
.portfolio-redesign .case-3 .lama-video-heading{
  background:#f2faf8!important;
  border-color:rgba(50,120,100,.16)!important;
}
.portfolio-redesign .case-3 .lama-video-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  overflow:visible!important;
  padding:18px!important;
  border:1px solid rgba(50,120,100,.16)!important;
  border-radius:26px!important;
  background:#f8fcfb!important;
}
.portfolio-redesign .case-3 .video-tile{
  min-width:0!important;
  border-radius:22px!important;
  padding:12px!important;
  background:#fff!important;
  border:1px solid rgba(22,20,17,.10)!important;
}
.portfolio-redesign .case-3 .video-tile video{
  width:100%!important;
  height:430px!important;
  border-radius:16px!important;
  object-fit:contain!important;
  background:#000!important;
}
.portfolio-redesign article.product-case{
  padding:0!important;
  max-width:100%!important;
}
.portfolio-redesign article.product-case .case-band{
  display:grid!important;
}
.portfolio-redesign article.product-case .product-head{
  min-height:auto!important;
  margin:0!important;
  padding:30px!important;
  text-align:right!important;
  border-bottom:1px solid rgba(22,20,17,.09)!important;
  background:#fff8f8!important;
}
.portfolio-redesign article.product-case .product-head > small{
  display:inline-block!important;
  margin:0 0 12px!important;
  padding:6px 13px!important;
  border-radius:999px!important;
  border:1px solid rgba(22,20,17,.10)!important;
  color:#5c5147!important;
  background:#fff!important;
}
.portfolio-redesign article.product-case .product-head h3{
  color:#171514!important;
  font-size:clamp(30px,4vw,48px)!important;
  margin:0 0 10px!important;
}
.portfolio-redesign article.product-case .product-head p{
  margin:0!important;
  max-width:760px!important;
  color:#655d55!important;
  font-size:16px!important;
}
.portfolio-redesign article.product-case .product-head .section-feature{
  max-width:760px!important;
}
.portfolio-redesign article.product-case .product-head .case-btn{
  position:static!important;
  width:auto!important;
  margin-top:20px!important;
  min-width:160px!important;
}
.portfolio-redesign article.product-case .product-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  padding:30px!important;
  background:#fff!important;
}
.portfolio-redesign article.product-case .product-card:nth-child(4){
  grid-column:auto!important;
}
.portfolio-redesign article.product-case .product-frame,
.portfolio-redesign article.product-case .product-card:nth-child(4) .product-frame{
  height:360px!important;
}
.portfolio-redesign article.product-case .product-card{
  border-radius:24px!important;
  border:1px solid rgba(22,20,17,.10)!important;
}
@media(max-width:1000px){
  .portfolio-overview{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .portfolio-redesign .case{
    grid-template-columns:1fr!important;
  }
  .portfolio-redesign .case-info{
    border-left:0!important;
    border-bottom:1px solid rgba(22,20,17,.08)!important;
  }
  .portfolio-redesign .screen-body{
    height:380px!important;
  }
  .portfolio-redesign .jewelry-detail-card img{
    height:390px!important;
  }
}
@media(max-width:640px){
  .portfolio-redesign .hero{
    padding:46px 16px 24px!important;
  }
  .portfolio-overview{
    grid-template-columns:1fr;
    padding:0 16px 34px;
  }
  .portfolio-redesign .section{
    padding:34px 16px 62px!important;
  }
  .portfolio-redesign .section-head{
    display:block!important;
  }
  .portfolio-redesign .case-band{
    grid-template-columns:1fr!important;
    padding:18px!important;
  }
  .portfolio-redesign .case-band strong{
    font-size:22px!important;
  }
  .portfolio-redesign .case-info,
  .portfolio-redesign .case-visual{
    padding:18px!important;
  }
  .portfolio-redesign .screen-body{
    height:280px!important;
  }
  .portfolio-redesign .thumb-row:not(.jewelry-detail-row),
  .portfolio-redesign .case-3 .lama-video-row,
  .portfolio-redesign article.product-case .product-grid{
    grid-template-columns:1fr!important;
  }
  .portfolio-redesign .thumb img{
    height:180px!important;
  }
  .portfolio-redesign .jewelry-detail-card img{
    height:310px!important;
    padding:8px!important;
  }
  .portfolio-redesign .case-3 .video-tile video{
    height:320px!important;
  }
  .portfolio-redesign article.product-case .product-grid,
  .portfolio-redesign article.product-case .product-head{
    padding:18px!important;
  }
  .portfolio-redesign article.product-case .product-frame,
  .portfolio-redesign article.product-case .product-card:nth-child(4) .product-frame{
    height:280px!important;
  }
}


/* ===== Final serious ordering / unified inner sections ===== */
.portfolio-overview{display:none!important;}
.portfolio-redesign .hero{padding-bottom:22px!important;}
.portfolio-redesign .hero p{max-width:760px!important;}
.portfolio-redesign .section-head{margin-bottom:22px!important;}
.portfolio-redesign .case-band .band-num,
.portfolio-redesign .case-info .case-num,
.portfolio-redesign .case-band small,
.portfolio-redesign .case-band strong::after{display:none!important;content:none!important;}
.portfolio-redesign .case-band{padding:22px 26px!important;}
.portfolio-redesign .case-band strong{font-size:28px!important;}
.portfolio-redesign .case-band em{font-size:13px!important;color:#6a6158!important;}
.portfolio-redesign .case-info{padding:26px!important;}
.portfolio-redesign .case-info h3{font-size:36px!important;margin-bottom:10px!important;}
.portfolio-redesign .case-info p{font-size:15px!important;line-height:1.9!important;}
.portfolio-redesign .case-info .case-btn{margin-top:18px!important;}
.portfolio-redesign .case-visual{padding:26px!important;gap:16px!important;}
.portfolio-redesign .visual-block-title{
  padding:14px 18px!important;
  border:1px solid rgba(22,20,17,.10)!important;
  border-radius:18px!important;
  background:#fbfaf8!important;
}
.portfolio-redesign .visual-block-title strong{
  display:block!important;
  color:#171514!important;
  font-size:17px!important;
  line-height:1.4!important;
}
.portfolio-redesign .visual-block-title p{
  margin:5px 0 0!important;
  color:#6b6258!important;
  font-size:13px!important;
  line-height:1.8!important;
}
.portfolio-redesign .cover-shot figcaption{font-size:13px!important;color:#6b6258!important;}
.portfolio-redesign .screen-body{height:460px!important;}
.portfolio-redesign .thumb-row:not(.jewelry-detail-row){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
.portfolio-redesign .thumb img{height:220px!important;}
.portfolio-redesign .jewelry-detail-heading,
.portfolio-redesign .lama-video-heading{padding:18px!important;border-radius:18px!important;box-shadow:none!important;}
.portfolio-redesign .jewelry-detail-heading h4,
.portfolio-redesign .lama-video-heading h4{font-size:22px!important;}
.portfolio-redesign .jewelry-detail-row{gap:16px!important;}
.portfolio-redesign .jewelry-detail-card img{height:500px!important;}
.portfolio-redesign .case-3 .lama-video-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
.portfolio-redesign .case-3 .lama-video-row .video-tile video{height:420px!important;}
.portfolio-redesign article.product-case .product-head{padding:26px!important;background:#fff9f7!important;}
.portfolio-redesign article.product-case .product-head h3{font-size:40px!important;}
.portfolio-redesign article.product-case .product-head p{font-size:15px!important;line-height:1.9!important;}
.portfolio-redesign article.product-case .product-grid{padding:24px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.portfolio-redesign article.product-case .product-frame,
.portfolio-redesign article.product-case .product-card:nth-child(4) .product-frame{height:330px!important;}
@media(max-width:1000px){
  .portfolio-redesign .case{grid-template-columns:1fr!important;}
  .portfolio-redesign .screen-body{height:360px!important;}
  .portfolio-redesign .jewelry-detail-card img{height:380px!important;}
  .portfolio-redesign .case-3 .lama-video-row .video-tile video{height:340px!important;}
}
@media(max-width:640px){
  .portfolio-redesign .hero{padding:42px 16px 20px!important;}
  .portfolio-redesign .case-band{padding:16px!important;}
  .portfolio-redesign .case-band strong{font-size:22px!important;}
  .portfolio-redesign .case-info,
  .portfolio-redesign .case-visual,
  .portfolio-redesign article.product-case .product-head,
  .portfolio-redesign article.product-case .product-grid{padding:16px!important;}
  .portfolio-redesign .visual-block-title{padding:12px 14px!important;}
  .portfolio-redesign .screen-body{height:260px!important;}
  .portfolio-redesign .thumb-row:not(.jewelry-detail-row),
  .portfolio-redesign .case-3 .lama-video-row,
  .portfolio-redesign article.product-case .product-grid{grid-template-columns:1fr!important;}
  .portfolio-redesign .thumb img{height:180px!important;}
  .portfolio-redesign .jewelry-detail-card img{height:300px!important;padding:10px!important;}
  .portfolio-redesign .case-3 .lama-video-row .video-tile video{height:280px!important;}
}

/* Cleanup after removing extra programmed thumbnails */
.portfolio-redesign article.case-1 .case-visual,
.portfolio-redesign article.case-3 .case-visual{
  gap:18px!important;
}
.portfolio-redesign article.case-3 .lama-video-heading{
  margin-top:0!important;
}

/* Nahj programmed form screenshot */
.portfolio-redesign .nahj-programming-title{
  margin-top:4px!important;
}
.portfolio-redesign .nahj-programming-shot{
  width:100%!important;
  min-width:0!important;
  padding:0!important;
  border-radius:24px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid rgba(22,20,17,.10)!important;
  box-shadow:0 18px 55px rgba(22,20,17,.055)!important;
}
.portfolio-redesign .nahj-programming-shot img{
  width:100%!important;
  height:520px!important;
  object-fit:contain!important;
  padding:14px!important;
  background:#fff!important;
  display:block!important;
}
.portfolio-redesign .nahj-programming-shot figcaption{
  padding:18px 20px!important;
  border-top:1px solid rgba(22,20,17,.08)!important;
  background:#fbfaf8!important;
  color:#171514!important;
}
.portfolio-redesign .nahj-programming-shot figcaption strong{
  display:block!important;
  margin-bottom:8px!important;
  color:#171514!important;
  font-size:19px!important;
  line-height:1.4!important;
}
.portfolio-redesign .nahj-programming-shot figcaption p{
  margin:0!important;
  color:#655d55!important;
  font-size:15px!important;
  line-height:1.85!important;
}
@media(max-width:1000px){
  .portfolio-redesign .nahj-programming-shot img{
    height:400px!important;
  }
}
@media(max-width:640px){
  .portfolio-redesign .nahj-programming-shot img{
    height:300px!important;
    padding:8px!important;
  }
  .portfolio-redesign .nahj-programming-shot figcaption{
    padding:15px 16px!important;
  }
}


/* Extra LAMA designs inside last section */
.portfolio-redesign article.product-case .product-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.portfolio-redesign article.product-case .lama-extra-design .product-frame{
  height:390px!important;
}
.portfolio-redesign article.product-case .lama-extra-design figcaption strong{
  display:block!important;
  margin-bottom:6px!important;
  color:#171514!important;
  font-size:18px!important;
  line-height:1.4!important;
}
.portfolio-redesign article.product-case .lama-extra-design figcaption p{
  margin:0!important;
  color:#655d55!important;
  font-size:14px!important;
  line-height:1.8!important;
}
@media(max-width:1000px){
  .portfolio-redesign article.product-case .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:640px){
  .portfolio-redesign article.product-case .product-grid{
    grid-template-columns:1fr!important;
  }
  .portfolio-redesign article.product-case .lama-extra-design .product-frame{
    height:300px!important;
  }
}


/* Final end contact section */
.portfolio-redesign #contact{
  padding-top:14px!important;
  padding-bottom:72px!important;
}
.portfolio-redesign .portfolio-end-contact{
  display:grid!important;
  grid-template-columns:420px minmax(0,1fr)!important;
  align-items:center!important;
  gap:32px!important;
  padding:58px 58px!important;
  background:linear-gradient(135deg,#171311 0%,#14110f 100%)!important;
  border-radius:36px!important;
  box-shadow:0 28px 90px rgba(20,17,15,.18)!important;
  overflow:hidden!important;
}
.portfolio-redesign .end-contact-links{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
}
.portfolio-redesign .end-contact-pill{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:56px!important;
  padding:0 22px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  background:rgba(255,255,255,.02)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:18px!important;
  transition:.2s ease!important;
}
.portfolio-redesign .end-contact-pill:hover{
  transform:translateY(-1px)!important;
  background:rgba(255,255,255,.05)!important;
  border-color:rgba(255,255,255,.2)!important;
}
.portfolio-redesign .end-contact-copy{
  text-align:right!important;
}
.portfolio-redesign .end-contact-copy span{
  display:block!important;
  margin-bottom:18px!important;
  color:#cdb590!important;
  font-size:12px!important;
  letter-spacing:.28em!important;
}
.portfolio-redesign .end-contact-copy h2{
  margin:0 0 18px!important;
  color:#f7f3ef!important;
  font-size:clamp(42px,5vw,76px)!important;
  line-height:1.2!important;
  font-weight:500!important;
}
.portfolio-redesign .end-contact-copy p{
  margin:0!important;
  color:#e5d8ca!important;
  font-size:20px!important;
  line-height:1.9!important;
}
@media(max-width:1000px){
  .portfolio-redesign .portfolio-end-contact{
    grid-template-columns:1fr!important;
    padding:34px 28px!important;
  }
  .portfolio-redesign .end-contact-copy h2{
    font-size:clamp(34px,7vw,56px)!important;
  }
  .portfolio-redesign .end-contact-copy p{
    font-size:17px!important;
  }
}
@media(max-width:640px){
  .portfolio-redesign #contact{
    padding-bottom:54px!important;
  }
  .portfolio-redesign .portfolio-end-contact{
    gap:24px!important;
    padding:22px 18px!important;
    border-radius:26px!important;
  }
  .portfolio-redesign .end-contact-pill{
    min-height:52px!important;
    font-size:16px!important;
  }
  .portfolio-redesign .end-contact-copy span{
    margin-bottom:12px!important;
    font-size:11px!important;
  }
  .portfolio-redesign .end-contact-copy h2{
    margin-bottom:12px!important;
    font-size:clamp(28px,9vw,42px)!important;
  }
  .portfolio-redesign .end-contact-copy p{
    font-size:15px!important;
    line-height:1.8!important;
  }
}


/* Exact final contact block based on provided reference */
.footer-hidden-exact{
  display:none!important;
}
body.portfolio-redesign{
  background:#f7f3ed!important;
}
.portfolio-redesign .exact-contact-section{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:64px 24px 72px!important;
  background:#f7f3ed!important;
}
.portfolio-redesign .exact-contact-card{
  direction:ltr!important;
  width:min(1136px, calc(100vw - 48px))!important;
  min-height:357px!important;
  margin:0 auto!important;
  padding:64px 58px 58px!important;
  display:grid!important;
  grid-template-columns:442px 1fr!important;
  gap:34px!important;
  align-items:center!important;
  background:#171614!important;
  border-radius:34px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.portfolio-redesign .exact-contact-links{
  grid-column:1!important;
  display:flex!important;
  flex-direction:column!important;
  gap:13px!important;
  width:442px!important;
}
.portfolio-redesign .exact-contact-pill{
  width:442px!important;
  height:60px!important;
  min-height:60px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(255,255,255,.15)!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#ffffff!important;
  text-decoration:none!important;
  font-size:15px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:0!important;
}
.portfolio-redesign .exact-contact-copy{
  grid-column:2!important;
  direction:rtl!important;
  text-align:right!important;
  align-self:center!important;
  padding-right:0!important;
  padding-top:0!important;
}
.portfolio-redesign .exact-contact-copy span{
  direction:ltr!important;
  display:block!important;
  margin:0 0 30px!important;
  color:#cdbb99!important;
  font-size:12px!important;
  line-height:1!important;
  letter-spacing:.38em!important;
  font-weight:500!important;
}
.portfolio-redesign .exact-contact-copy h2{
  margin:0 0 22px!important;
  color:#f6f2ed!important;
  font-size:58px!important;
  line-height:1.35!important;
  letter-spacing:-.02em!important;
  font-weight:400!important;
}
.portfolio-redesign .exact-contact-copy p{
  margin:0!important;
  color:#ddd2c6!important;
  font-size:15px!important;
  line-height:1.9!important;
  font-weight:400!important;
}
@media(max-width:980px){
  .portfolio-redesign .exact-contact-section{
    padding:42px 16px 56px!important;
  }
  .portfolio-redesign .exact-contact-card{
    width:100%!important;
    min-height:auto!important;
    grid-template-columns:1fr!important;
    gap:32px!important;
    padding:34px 22px!important;
    border-radius:28px!important;
  }
  .portfolio-redesign .exact-contact-copy{
    grid-column:1!important;
    grid-row:1!important;
  }
  .portfolio-redesign .exact-contact-links{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
  }
  .portfolio-redesign .exact-contact-pill{
    width:100%!important;
  }
  .portfolio-redesign .exact-contact-copy h2{
    font-size:clamp(34px,8vw,54px)!important;
    line-height:1.3!important;
  }
}
@media(max-width:520px){
  .portfolio-redesign .exact-contact-card{
    padding:28px 18px!important;
    border-radius:24px!important;
  }
  .portfolio-redesign .exact-contact-copy span{
    margin-bottom:18px!important;
    font-size:11px!important;
  }
  .portfolio-redesign .exact-contact-copy h2{
    font-size:32px!important;
    margin-bottom:14px!important;
  }
  .portfolio-redesign .exact-contact-copy p{
    font-size:14px!important;
  }
  .portfolio-redesign .exact-contact-pill{
    height:54px!important;
    min-height:54px!important;
    font-size:14px!important;
  }
}

/* Professional concise copy cleanup */
.copy-service-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  max-width:1240px;
  margin:0 auto 34px;
  padding:0 24px;
}
.copy-service-strip div{
  border:1px solid rgba(22,20,17,.10);
  border-radius:18px;
  padding:15px 16px;
  background:#fff;
  color:#171514;
  font-size:15px;
  box-shadow:0 12px 34px rgba(22,20,17,.035);
}
@media(max-width:760px){
  .copy-service-strip{
    grid-template-columns:1fr;
    padding:0 16px;
  }
}


/* Timeline + reduced copy */
.portfolio-redesign .case-info h3{
  display:none!important;
}
.portfolio-redesign .case-info p{
  margin-top:8px!important;
}
.portfolio-redesign .case-band{
  align-items:center!important;
}
.portfolio-redesign .case-band strong{
  font-size:24px!important;
}
.portfolio-redesign .case-band em{
  font-size:13px!important;
  padding:7px 13px!important;
}
.portfolio-redesign .case-visual{
  position:relative!important;
  padding-right:54px!important;
}
.portfolio-redesign .case-visual::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:34px!important;
  bottom:34px!important;
  right:27px!important;
  width:1px!important;
  background:linear-gradient(180deg,rgba(22,20,17,.06),rgba(22,20,17,.34),rgba(22,20,17,.06))!important;
}
.portfolio-redesign .timeline-step{
  position:relative!important;
  margin-right:0!important;
}
.portfolio-redesign .timeline-step::before{
  content:attr(data-step)!important;
  position:absolute!important;
  right:-42px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:30px!important;
  height:30px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:#171411!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:600!important;
  z-index:2!important;
  box-shadow:0 0 0 7px #fffaf5!important;
}
.portfolio-redesign .visual-block-title{
  padding:13px 16px!important;
  border-radius:18px!important;
  background:#fbfaf8!important;
}
.portfolio-redesign .visual-block-title strong{
  font-size:16px!important;
}
.portfolio-redesign .jewelry-detail-heading,
.portfolio-redesign .lama-video-heading,
.portfolio-redesign .nahj-programming-title{
  padding:14px 16px!important;
  border-radius:18px!important;
}
.portfolio-redesign .jewelry-detail-heading span,
.portfolio-redesign .lama-video-heading span{
  margin-bottom:4px!important;
  font-size:12px!important;
}
.portfolio-redesign .jewelry-detail-heading h4,
.portfolio-redesign .lama-video-heading h4{
  font-size:20px!important;
  margin:0 0 4px!important;
}
.portfolio-redesign .jewelry-detail-heading p,
.portfolio-redesign .lama-video-heading p,
.portfolio-redesign .nahj-programming-title p{
  font-size:14px!important;
  line-height:1.75!important;
}
.portfolio-redesign .cover-shot figcaption{
  padding-top:8px!important;
  font-size:13px!important;
}
.portfolio-redesign .jewelry-detail-card figcaption strong,
.portfolio-redesign .nahj-programming-shot figcaption strong,
.portfolio-redesign .product-card figcaption strong{
  font-size:17px!important;
}
.portfolio-redesign .jewelry-detail-card figcaption p,
.portfolio-redesign .nahj-programming-shot figcaption p,
.portfolio-redesign .product-card figcaption p{
  font-size:14px!important;
}
.portfolio-redesign article.product-case.product-timeline-section{
  position:relative!important;
}
.portfolio-redesign article.product-case.product-timeline-section .product-head{
  position:relative!important;
}
.portfolio-redesign article.product-case.product-timeline-section .product-head::before{
  content:"01"!important;
  position:absolute!important;
  right:22px!important;
  top:28px!important;
  width:30px!important;
  height:30px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:#171411!important;
  color:#fff!important;
  font-size:11px!important;
  z-index:2!important;
}
.portfolio-redesign article.product-case.product-timeline-section .product-grid{
  position:relative!important;
  padding-right:54px!important;
}
.portfolio-redesign article.product-case.product-timeline-section .product-grid::before{
  content:"02"!important;
  position:absolute!important;
  right:16px!important;
  top:24px!important;
  width:30px!important;
  height:30px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:#171411!important;
  color:#fff!important;
  font-size:11px!important;
  z-index:2!important;
}
@media(max-width:950px){
  .portfolio-redesign .case-visual{
    padding-right:44px!important;
  }
  .portfolio-redesign .case-visual::before{
    right:22px!important;
  }
  .portfolio-redesign .timeline-step::before{
    right:-36px!important;
    width:26px!important;
    height:26px!important;
    box-shadow:0 0 0 6px #fffaf5!important;
  }
}
@media(max-width:520px){
  .portfolio-redesign .case-band strong{
    font-size:20px!important;
  }
  .portfolio-redesign .case-visual{
    padding-right:38px!important;
  }
  .portfolio-redesign .case-visual::before{
    right:19px!important;
  }
  .portfolio-redesign .timeline-step::before{
    right:-31px!important;
    width:24px!important;
    height:24px!important;
    font-size:10px!important;
  }
  .portfolio-redesign article.product-case.product-timeline-section .product-grid{
    padding-right:40px!important;
  }
}


/* ===== Hero rework only ===== */
.portfolio-redesign .copy-service-strip{display:none!important;}
.portfolio-redesign .hero.hero-showcase{
  max-width:1240px!important;
  min-height:calc(100vh - 74px)!important;
  padding:74px 24px 64px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 440px!important;
  gap:46px!important;
  align-items:center!important;
}
.portfolio-redesign .hero-showcase .hero-copy{max-width:780px!important;}
.portfolio-redesign .hero-showcase .hero-kicker{
  margin-bottom:18px!important;
  color:#9b6a3d!important;
  letter-spacing:.22em!important;
  font-size:12px!important;
}
.portfolio-redesign .hero-showcase h1{
  margin:0 0 22px!important;
  color:#171411!important;
  font-size:clamp(58px,9vw,128px)!important;
  line-height:.88!important;
  letter-spacing:.10em!important;
  font-weight:300!important;
}
.portfolio-redesign .hero-showcase h2{
  margin:0!important;
  max-width:800px!important;
  color:#171411!important;
  font-size:clamp(36px,5vw,74px)!important;
  line-height:1.12!important;
  letter-spacing:-.03em!important;
  font-weight:600!important;
}
.portfolio-redesign .hero-showcase p{
  margin:22px 0 0!important;
  max-width:640px!important;
  color:#62594f!important;
  font-size:18px!important;
  line-height:1.9!important;
}
.portfolio-redesign .hero-mini-flow{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:28px!important;
}
.portfolio-redesign .hero-mini-flow span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:0 16px!important;
  border:1px solid rgba(22,20,17,.12)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#171411!important;
  font-size:14px!important;
  box-shadow:0 12px 30px rgba(22,20,17,.035)!important;
}
.portfolio-redesign .hero-mini-flow i{
  width:30px!important;
  height:1px!important;
  background:rgba(22,20,17,.22)!important;
}
.portfolio-redesign .hero-showcase .hero-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  margin-top:30px!important;
}
.portfolio-redesign .hero-showcase .btn{
  min-height:48px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 22px!important;
  border-radius:999px!important;
  background:#171411!important;
  border:1px solid #171411!important;
  color:#fff!important;
  font-size:14px!important;
}
.portfolio-redesign .hero-showcase .btn.ghost{
  background:#fff!important;
  color:#171411!important;
  border-color:rgba(22,20,17,.14)!important;
}
.portfolio-redesign .hero-feature-card{
  background:#171411!important;
  color:#fff!important;
  border-radius:34px!important;
  padding:18px!important;
  box-shadow:0 30px 90px rgba(22,20,17,.16)!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.portfolio-redesign .hero-feature-top,
.portfolio-redesign .hero-feature-bottom{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:12px!important;
}
.portfolio-redesign .hero-feature-top{padding:10px 8px 16px!important;}
.portfolio-redesign .hero-feature-top span{
  direction:ltr!important;
  color:#cdbb99!important;
  letter-spacing:.20em!important;
  font-size:11px!important;
}
.portfolio-redesign .hero-feature-top strong{
  color:#fff!important;
  font-size:18px!important;
  font-weight:500!important;
}
.portfolio-redesign .hero-feature-frame{
  height:430px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border-radius:24px!important;
  background:#fff!important;
}
.portfolio-redesign .hero-feature-frame img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  background:#fff!important;
}
.portfolio-redesign .hero-feature-bottom{padding:16px 8px 6px!important;}
.portfolio-redesign .hero-feature-bottom span{
  color:#e7ded2!important;
  font-size:13px!important;
}
@media(max-width:980px){
  .portfolio-redesign .hero.hero-showcase{
    min-height:auto!important;
    grid-template-columns:1fr!important;
    gap:28px!important;
    padding:54px 18px 44px!important;
  }
  .portfolio-redesign .hero-feature-card{
    max-width:620px!important;
    width:100%!important;
    margin:0 auto!important;
  }
  .portfolio-redesign .hero-feature-frame{height:360px!important;}
}
@media(max-width:560px){
  .portfolio-redesign .hero.hero-showcase{padding:42px 16px 36px!important;}
  .portfolio-redesign .hero-showcase h1{font-size:clamp(48px,17vw,72px)!important;}
  .portfolio-redesign .hero-showcase h2{font-size:clamp(31px,9vw,44px)!important;}
  .portfolio-redesign .hero-showcase p{font-size:15px!important;}
  .portfolio-redesign .hero-mini-flow{gap:8px!important;}
  .portfolio-redesign .hero-mini-flow span{
    min-height:36px!important;
    padding:0 12px!important;
    font-size:13px!important;
  }
  .portfolio-redesign .hero-mini-flow i{width:18px!important;}
  .portfolio-redesign .hero-feature-frame{height:280px!important;}
  .portfolio-redesign .hero-feature-bottom{
    display:grid!important;
    gap:6px!important;
  }
}


/* ===== Compact hero: no image card ===== */
.portfolio-redesign .hero.hero-compact{
  max-width:1040px!important;
  min-height:44vh!important;
  padding:46px 24px 38px!important;
  display:block!important;
  grid-template-columns:1fr!important;
}
.portfolio-redesign .hero.hero-compact .hero-copy{
  max-width:880px!important;
}
.portfolio-redesign .hero.hero-compact .hero-kicker{
  margin-bottom:14px!important;
  font-size:11px!important;
  letter-spacing:.22em!important;
  color:#9b6a3d!important;
}
.portfolio-redesign .hero.hero-compact h1{
  margin:0 0 16px!important;
  font-size:clamp(46px,8vw,96px)!important;
  line-height:.9!important;
  letter-spacing:.10em!important;
}
.portfolio-redesign .hero.hero-compact h2{
  margin:0!important;
  max-width:780px!important;
  font-size:clamp(30px,4.2vw,58px)!important;
  line-height:1.16!important;
  color:#171411!important;
}
.portfolio-redesign .hero.hero-compact p{
  margin:16px 0 0!important;
  max-width:620px!important;
  color:#62594f!important;
  font-size:16px!important;
  line-height:1.85!important;
}
.portfolio-redesign .hero.hero-compact .hero-mini-flow{
  margin-top:20px!important;
}
.portfolio-redesign .hero.hero-compact .hero-mini-flow span{
  min-height:36px!important;
  padding:0 14px!important;
  font-size:13px!important;
  box-shadow:none!important;
}
.portfolio-redesign .hero.hero-compact .hero-mini-flow i{
  width:26px!important;
}
.portfolio-redesign .hero.hero-compact .hero-actions{
  margin-top:22px!important;
}
.portfolio-redesign .hero.hero-compact .btn{
  min-height:44px!important;
  padding:0 19px!important;
}
.portfolio-redesign .hero-feature-card{
  display:none!important;
}
@media(max-width:760px){
  .portfolio-redesign .hero.hero-compact{
    min-height:auto!important;
    padding:34px 16px 30px!important;
  }
  .portfolio-redesign .hero.hero-compact h1{
    font-size:clamp(42px,16vw,66px)!important;
  }
  .portfolio-redesign .hero.hero-compact h2{
    font-size:clamp(27px,8.2vw,38px)!important;
  }
  .portfolio-redesign .hero.hero-compact p{
    font-size:15px!important;
  }
}


/* Remove extra buttons and chips */
.portfolio-redesign .hero-actions,
.portfolio-redesign .case-label,
.portfolio-redesign .case-info .case-btn,
.portfolio-redesign article.product-case .case-btn,
.portfolio-redesign .product-head > small,
.portfolio-redesign .product-head > span,
.portfolio-redesign .project-actions,
.portfolio-redesign [data-open-case]{
  display:none!important;
}
.portfolio-redesign .case-info{
  justify-content:center!important;
}
.portfolio-redesign article.product-case .product-head{
  min-height:auto!important;
}


/* Remove remaining top badges */
.portfolio-redesign .case-band em,
.portfolio-redesign .project-mark span,
.portfolio-redesign .project-label span{
  display:none!important;
}


/* Hero business development copy */
.portfolio-redesign .hero.hero-compact h2{
  max-width:850px!important;
}
.portfolio-redesign .hero.hero-compact p{
  max-width:790px!important;
}
.portfolio-redesign .hero.hero-compact .hero-mini-flow{
  gap:8px!important;
}
.portfolio-redesign .hero.hero-compact .hero-mini-flow span{
  white-space:nowrap!important;
}
@media(max-width:560px){
  .portfolio-redesign .hero.hero-compact .hero-mini-flow{
    align-items:flex-start!important;
  }
  .portfolio-redesign .hero.hero-compact .hero-mini-flow i{
    display:none!important;
  }
}


/* ===== Final hero logo + copy ===== */
.portfolio-redesign .hero.hero-compact{
  max-width:1040px!important;
  min-height:44vh!important;
  padding:42px 24px 38px!important;
  display:block!important;
  text-align:right!important;
}
.portfolio-redesign .hero.hero-compact .hero-copy{
  max-width:900px!important;
  margin:0 auto!important;
}
.portfolio-redesign .hero-logo-wrap{
  width:min(420px,72vw)!important;
  height:auto!important;
  margin:0 auto 18px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
}
.portfolio-redesign .hero-logo-img{
  width:100%!important;
  height:auto!important;
  display:block!important;
  object-fit:contain!important;
  border-radius:0!important;
  mix-blend-mode:multiply!important;
}
.portfolio-redesign .hero.hero-compact h2{
  max-width:850px!important;
  margin:0 auto!important;
  text-align:center!important;
  font-size:clamp(34px,4.8vw,66px)!important;
  line-height:1.16!important;
  letter-spacing:-.035em!important;
  color:#171411!important;
  font-weight:700!important;
}
.portfolio-redesign .hero.hero-compact p{
  max-width:820px!important;
  margin:18px auto 0!important;
  text-align:center!important;
  color:#5f574f!important;
  font-size:17px!important;
  line-height:1.9!important;
}
.portfolio-redesign .hero.hero-compact .hero-mini-flow{
  margin:24px auto 0!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:9px!important;
}
.portfolio-redesign .hero.hero-compact .hero-mini-flow span{
  min-height:36px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid rgba(22,20,17,.13)!important;
  color:#171411!important;
  font-size:13px!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.portfolio-redesign .hero.hero-compact .hero-mini-flow i{
  width:24px!important;
  height:1px!important;
  background:rgba(22,20,17,.22)!important;
}
@media(max-width:760px){
  .portfolio-redesign .hero.hero-compact{
    padding:32px 16px 30px!important;
  }
  .portfolio-redesign .hero-logo-wrap{
    width:min(330px,82vw)!important;
    margin-bottom:14px!important;
  }
  .portfolio-redesign .hero.hero-compact h2{
    font-size:clamp(28px,8vw,40px)!important;
    line-height:1.2!important;
  }
  .portfolio-redesign .hero.hero-compact p{
    font-size:15px!important;
    line-height:1.85!important;
  }
  .portfolio-redesign .hero.hero-compact .hero-mini-flow{
    gap:8px!important;
  }
  .portfolio-redesign .hero.hero-compact .hero-mini-flow i{
    display:none!important;
  }
}


/* ===== Hero spacing refinement ===== */
.portfolio-redesign .hero.hero-compact{
  padding:28px 24px 26px !important;
  min-height:auto !important;
}
.portfolio-redesign .hero.hero-compact .hero-copy{
  max-width:900px !important;
}
.portfolio-redesign .hero-logo-wrap{
  width:min(360px, 64vw) !important;
  margin:0 auto 10px !important;
}
.portfolio-redesign .hero-logo-img{
  width:100% !important;
  height:auto !important;
}
.portfolio-redesign .hero.hero-compact h2{
  margin:0 auto !important;
  max-width:760px !important;
  font-size:clamp(29px, 4.1vw, 54px) !important;
  line-height:1.14 !important;
}
.portfolio-redesign .hero.hero-compact p{
  margin:14px auto 0 !important;
  max-width:760px !important;
  font-size:15.5px !important;
  line-height:1.8 !important;
}
.portfolio-redesign .hero.hero-compact .hero-mini-flow{
  margin:18px auto 0 !important;
}
.portfolio-redesign .hero.hero-compact .hero-mini-flow span{
  min-height:34px !important;
  padding:0 13px !important;
  font-size:12.5px !important;
}

/* Mobile-specific tightening */
@media(max-width:760px){
  .portfolio-redesign .hero.hero-compact{
    padding:18px 16px 20px !important;
  }
  .portfolio-redesign .hero-logo-wrap{
    width:min(250px, 68vw) !important;
    margin:0 auto 6px !important;
  }
  .portfolio-redesign .hero.hero-compact h2{
    max-width:100% !important;
    font-size:clamp(24px, 7vw, 34px) !important;
    line-height:1.18 !important;
    margin-top:0 !important;
  }
  .portfolio-redesign .hero.hero-compact p{
    margin-top:10px !important;
    font-size:14px !important;
    line-height:1.75 !important;
  }
  .portfolio-redesign .hero.hero-compact .hero-mini-flow{
    margin-top:14px !important;
    gap:7px !important;
  }
  .portfolio-redesign .hero.hero-compact .hero-mini-flow span{
    min-height:32px !important;
    padding:0 12px !important;
    font-size:12px !important;
  }
}


/* Smaller hero logo */
.portfolio-redesign .hero-logo-wrap{
  width:min(300px, 54vw) !important;
  margin:0 auto 10px !important;
}
@media(max-width:760px){
  .portfolio-redesign .hero-logo-wrap{
    width:min(210px, 58vw) !important;
    margin:0 auto 8px !important;
  }
}


/* Refine logo size and spacing */
.portfolio-redesign .hero-logo-wrap{
  width:min(240px, 44vw) !important;
  margin:0 auto 4px !important;
}
.portfolio-redesign .hero.hero-compact h2{
  margin-top:0 !important;
}
.portfolio-redesign .hero.hero-compact p{
  margin-top:12px !important;
}
@media(max-width:760px){
  .portfolio-redesign .hero-logo-wrap{
    width:min(165px, 48vw) !important;
    margin:0 auto 3px !important;
  }
}


/* Removed requested programming text block */
.jewelry-detail-heading:has(h4),
.visual-head:has(strong),
.system-copy:has(h4),
.programmed-intro:has(h4){
  /* fallback handled by HTML removal */
}


/* ===== Clean AI visual content section ===== */
.portfolio-redesign article.product-case{
  margin-top:0 !important;
}
.portfolio-redesign article.product-case .case-band,
.portfolio-redesign article.product-case .product-head > span,
.portfolio-redesign article.product-case .product-head > small,
.portfolio-redesign article.product-case .product-head .case-btn{
  display:none !important;
}
.portfolio-redesign article.product-case .product-head{
  min-height:auto !important;
  padding:34px 28px 26px !important;
  margin:0 !important;
  text-align:center !important;
  background:#fff !important;
  border-bottom:1px solid rgba(22,20,17,.10) !important;
}
.portfolio-redesign article.product-case .product-head h3{
  margin:0 !important;
  color:#171411 !important;
  font-size:clamp(34px,4.5vw,58px) !important;
  line-height:1.18 !important;
  font-weight:700 !important;
  letter-spacing:-.025em !important;
}
.portfolio-redesign article.product-case .product-head h3::before,
.portfolio-redesign article.product-case .product-head h3::after{
  content:none !important;
  display:none !important;
}
.portfolio-redesign article.product-case .product-head p{
  max-width:720px !important;
  margin:12px auto 0 !important;
  color:#62594f !important;
  font-size:16px !important;
  line-height:1.85 !important;
}
.portfolio-redesign article.product-case .product-grid{
  padding:24px !important;
}
.portfolio-redesign article.product-case .product-card:first-child::before,
.portfolio-redesign article.product-case .product-card::before,
.portfolio-redesign article.product-case .product-head::before,
.portfolio-redesign article.product-case .product-head::after{
  content:none !important;
  display:none !important;
}
@media(max-width:760px){
  .portfolio-redesign article.product-case .product-head{
    padding:24px 16px 20px !important;
    text-align:right !important;
  }
  .portfolio-redesign article.product-case .product-head h3{
    font-size:30px !important;
  }
  .portfolio-redesign article.product-case .product-head p{
    font-size:14px !important;
    margin-top:10px !important;
  }
  .portfolio-redesign article.product-case .product-grid{
    padding:14px !important;
  }
}


/* ===== Mobile fix for AI section ===== */
@media (max-width: 760px) {
  .portfolio-redesign article.product-case {
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  .portfolio-redesign article.product-case .product-head {
    padding: 20px 16px 18px !important;
    text-align: right !important;
    border-bottom: 1px solid rgba(22,20,17,.10) !important;
  }

  .portfolio-redesign article.product-case .product-head h3 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
    max-width: calc(100% - 8px) !important;
    word-break: break-word !important;
  }

  .portfolio-redesign article.product-case .product-head p {
    font-size: 14px !important;
    line-height: 1.85 !important;
    margin: 10px 0 0 !important;
    max-width: 100% !important;
  }

  .portfolio-redesign article.product-case .visual-block-title,
  .portfolio-redesign article.product-case .project-part-head,
  .portfolio-redesign article.product-case .story-head,
  .portfolio-redesign article.product-case .story-title {
    padding: 14px 16px !important;
    min-height: auto !important;
  }

  .portfolio-redesign article.product-case .visual-block-title strong,
  .portfolio-redesign article.product-case .project-part-head strong,
  .portfolio-redesign article.product-case .story-head strong,
  .portfolio-redesign article.product-case .story-title strong {
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  .portfolio-redesign article.product-case .product-grid {
    padding: 12px !important;
    gap: 12px !important;
  }

  .portfolio-redesign article.product-case .product-card,
  .portfolio-redesign article.product-case .visual-card {
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .portfolio-redesign article.product-case .product-frame,
  .portfolio-redesign article.product-case .visual-frame {
    height: auto !important;
    min-height: 0 !important;
  }

  .portfolio-redesign article.product-case .product-frame img,
  .portfolio-redesign article.product-case .visual-frame img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
  }

  .portfolio-redesign article.product-case .product-card figcaption,
  .portfolio-redesign article.product-case .visual-card figcaption {
    padding: 14px 14px 16px !important;
  }

  .portfolio-redesign article.product-case .product-card figcaption strong,
  .portfolio-redesign article.product-case .visual-card figcaption strong {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .portfolio-redesign article.product-case .product-card figcaption p,
  .portfolio-redesign article.product-case .visual-card figcaption p {
    font-size: 13px !important;
    line-height: 1.8 !important;
    margin-top: 4px !important;
  }

  /* Hide black numbered circles on mobile in this section */
  .portfolio-redesign article.product-case .product-head::before,
  .portfolio-redesign article.product-case .product-head::after,
  .portfolio-redesign article.product-case .product-card::before,
  .portfolio-redesign article.product-case .product-card::after,
  .portfolio-redesign article.product-case .visual-card::before,
  .portfolio-redesign article.product-case .visual-card::after,
  .portfolio-redesign article.product-case [data-step]::before,
  .portfolio-redesign article.product-case [data-step]::after {
    content: none !important;
    display: none !important;
  }
}


/* ===== Mobile number badges fix for AI section ===== */
@media (max-width: 760px) {
  /* keep containers ready for positioned badges */
  .portfolio-redesign article.product-case .product-head,
  .portfolio-redesign article.product-case .product-grid,
  .portfolio-redesign article.product-case .visual-block-title,
  .portfolio-redesign article.product-case .project-part-head,
  .portfolio-redesign article.product-case .story-head,
  .portfolio-redesign article.product-case .story-title,
  .portfolio-redesign article.product-case .product-card,
  .portfolio-redesign article.product-case .visual-card {
    position: relative !important;
  }

  /* section number 01 */
  .portfolio-redesign article.product-case .product-head::before {
    content: '01' !important;
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #171411 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    z-index: 3 !important;
    box-shadow: 0 0 0 4px #fff !important;
  }

  /* subsection number 02 */
  .portfolio-redesign article.product-case .product-grid::before,
  .portfolio-redesign article.product-case .visual-grid::before {
    content: '02' !important;
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #171411 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    z-index: 3 !important;
    box-shadow: 0 0 0 4px #fff !important;
  }

  /* add breathing room so badges don't overlap headings/images */
  .portfolio-redesign article.product-case .product-head {
    padding-top: 28px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .portfolio-redesign article.product-case .product-grid,
  .portfolio-redesign article.product-case .visual-grid {
    padding-top: 44px !important;
  }

  /* kill any old duplicate numbered pseudo-elements that may exist deeper */
  .portfolio-redesign article.product-case .product-card::before,
  .portfolio-redesign article.product-case .product-card::after,
  .portfolio-redesign article.product-case .visual-card::before,
  .portfolio-redesign article.product-case .visual-card::after,
  .portfolio-redesign article.product-case [data-step]::before,
  .portfolio-redesign article.product-case [data-step]::after,
  .portfolio-redesign article.product-case .project-part-head::before,
  .portfolio-redesign article.product-case .project-part-head::after,
  .portfolio-redesign article.product-case .story-head::before,
  .portfolio-redesign article.product-case .story-head::after,
  .portfolio-redesign article.product-case .story-title::before,
  .portfolio-redesign article.product-case .story-title::after,
  .portfolio-redesign article.product-case .visual-block-title::before,
  .portfolio-redesign article.product-case .visual-block-title::after,
  .portfolio-redesign article.product-case .product-head::after {
    content: none !important;
    display: none !important;
  }
}


/* ===== Remove ::before / ::after from AI section completely ===== */
.portfolio-redesign article.product-case::before,
.portfolio-redesign article.product-case::after,
.portfolio-redesign article.product-case *::before,
.portfolio-redesign article.product-case *::after{
  content:none !important;
  display:none !important;
}
.portfolio-redesign article.product-case .product-head{
  padding-top:22px !important;
}
.portfolio-redesign article.product-case .product-grid{
  padding-top:16px !important;
}
@media(max-width:760px){
  .portfolio-redesign article.product-case .product-head{
    padding-top:20px !important;
  }
  .portfolio-redesign article.product-case .product-grid{
    padding-top:12px !important;
  }
}


/* ===== Last section numbering fix: no black circles ===== */
body.portfolio-redesign article.product-case.product-timeline-section::before,
body.portfolio-redesign article.product-case.product-timeline-section::after,
body.portfolio-redesign article.product-case.product-timeline-section *::before,
body.portfolio-redesign article.product-case.product-timeline-section *::after{
  content:none !important;
  display:none !important;
}

body.portfolio-redesign article.product-case.product-timeline-section .product-head,
body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title{
  position:relative !important;
}

body.portfolio-redesign article.product-case.product-timeline-section .ai-step-label{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:max-content !important;
  max-width:100% !important;
  margin:0 0 10px !important;
  padding:5px 12px !important;
  border:1px solid rgba(22,20,17,.12) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#7a7066 !important;
  font-size:12px !important;
  line-height:1.4 !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
}

body.portfolio-redesign article.product-case.product-timeline-section .product-head{
  padding:28px 24px 24px !important;
  text-align:center !important;
}

body.portfolio-redesign article.product-case.product-timeline-section .product-head .ai-step-label{
  margin-left:auto !important;
  margin-right:auto !important;
}

body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title{
  display:block !important;
  padding:18px 22px !important;
  background:#fff !important;
  border-top:1px solid rgba(22,20,17,.09) !important;
  border-bottom:1px solid rgba(22,20,17,.09) !important;
  border-radius:0 !important;
}

body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title strong{
  display:block !important;
  font-size:22px !important;
  line-height:1.4 !important;
  color:#171411 !important;
}

/* Mobile */
@media(max-width:760px){
  body.portfolio-redesign article.product-case.product-timeline-section .product-head{
    padding:20px 16px 18px !important;
    text-align:right !important;
  }
  body.portfolio-redesign article.product-case.product-timeline-section .product-head .ai-step-label{
    margin-left:0 !important;
    margin-right:0 !important;
  }
  body.portfolio-redesign article.product-case.product-timeline-section .ai-step-label{
    font-size:11px !important;
    padding:4px 10px !important;
    margin-bottom:8px !important;
  }
  body.portfolio-redesign article.product-case.product-timeline-section .product-head h3{
    font-size:25px !important;
    line-height:1.35 !important;
    margin:0 !important;
  }
  body.portfolio-redesign article.product-case.product-timeline-section .product-head p{
    font-size:13.5px !important;
    line-height:1.85 !important;
    margin:8px 0 0 !important;
  }
  body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title{
    padding:14px 16px !important;
  }
  body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title strong{
    font-size:18px !important;
  }
  body.portfolio-redesign article.product-case.product-timeline-section .product-grid{
    padding-top:12px !important;
  }
}


/* ===== Space numbering away from text in last section ===== */
body.portfolio-redesign article.product-case.product-timeline-section .product-head,
body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
}

body.portfolio-redesign article.product-case.product-timeline-section .product-head .ai-step-label,
body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title .ai-step-label{
  position:static !important;
  margin:0 0 14px !important;
  align-self:flex-start !important;
}

body.portfolio-redesign article.product-case.product-timeline-section .product-head h3,
body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title strong{
  margin-top:0 !important;
  clear:both !important;
}

body.portfolio-redesign article.product-case.product-timeline-section .product-head{
  padding:30px 24px 24px !important;
}

body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title{
  padding:20px 22px !important;
}

@media(max-width:760px){
  body.portfolio-redesign article.product-case.product-timeline-section .product-head{
    padding:18px 16px 18px !important;
    align-items:flex-start !important;
    text-align:right !important;
  }

  body.portfolio-redesign article.product-case.product-timeline-section .product-head .ai-step-label,
  body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title .ai-step-label{
    margin:0 0 12px !important;
    font-size:11px !important;
  }

  body.portfolio-redesign article.product-case.product-timeline-section .product-head h3{
    width:100% !important;
    font-size:24px !important;
    line-height:1.35 !important;
  }

  body.portfolio-redesign article.product-case.product-timeline-section .product-head p{
    width:100% !important;
    margin-top:10px !important;
  }

  body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title{
    padding:16px !important;
  }

  body.portfolio-redesign article.product-case.product-timeline-section .visual-block-title strong{
    width:100% !important;
    margin-top:0 !important;
  }
}


/* Remove AI section labels completely */
.ai-step-label{
  display:none !important;
}


/* ===== Final fix for last section ===== */

/* remove all old numbering circles/decorations from the last section */
body.portfolio-redesign article.product-case::before,
body.portfolio-redesign article.product-case::after,
body.portfolio-redesign article.product-case .product-head::before,
body.portfolio-redesign article.product-case .product-head::after,
body.portfolio-redesign article.product-case .visual-block-title::before,
body.portfolio-redesign article.product-case .visual-block-title::after,
body.portfolio-redesign article.product-case .product-grid::before,
body.portfolio-redesign article.product-case .product-grid::after,
body.portfolio-redesign article.product-case .product-card::before,
body.portfolio-redesign article.product-case .product-card::after,
body.portfolio-redesign article.product-case .visual-card::before,
body.portfolio-redesign article.product-case .visual-card::after,
body.portfolio-redesign article.product-case *::before,
body.portfolio-redesign article.product-case *::after{
  content:none !important;
  display:none !important;
}

/* desktop/tablet cleanup */
body.portfolio-redesign article.product-case{
  overflow:hidden !important;
  border-radius:28px !important;
}
body.portfolio-redesign article.product-case .product-head{
  padding:28px 24px 22px !important;
  text-align:center !important;
  background:#fff !important;
  border-bottom:1px solid rgba(22,20,17,.10) !important;
}
body.portfolio-redesign article.product-case .product-head h3{
  margin:0 !important;
  font-size:clamp(28px,4vw,52px) !important;
  line-height:1.2 !important;
  letter-spacing:-.02em !important;
}
body.portfolio-redesign article.product-case .product-head p{
  max-width:760px !important;
  margin:10px auto 0 !important;
  font-size:15px !important;
  line-height:1.9 !important;
  color:#62594f !important;
}
body.portfolio-redesign article.product-case .visual-block-title{
  padding:16px 20px !important;
  background:#fff !important;
  border-bottom:1px solid rgba(22,20,17,.10) !important;
}
body.portfolio-redesign article.product-case .visual-block-title strong{
  font-size:20px !important;
  line-height:1.5 !important;
}
body.portfolio-redesign article.product-case .product-grid{
  padding:16px !important;
  gap:14px !important;
}
body.portfolio-redesign article.product-case .product-card,
body.portfolio-redesign article.product-case .visual-card{
  border-radius:18px !important;
  overflow:hidden !important;
}

/* mobile cleanup */
@media(max-width:760px){
  body.portfolio-redesign article.product-case{
    border-radius:24px !important;
  }
  body.portfolio-redesign article.product-case .product-head{
    padding:18px 16px 16px !important;
    text-align:right !important;
  }
  body.portfolio-redesign article.product-case .product-head h3{
    font-size:22px !important;
    line-height:1.35 !important;
    word-break:break-word !important;
  }
  body.portfolio-redesign article.product-case .product-head p{
    max-width:100% !important;
    margin:8px 0 0 !important;
    font-size:13.5px !important;
    line-height:1.85 !important;
  }
  body.portfolio-redesign article.product-case .visual-block-title{
    padding:14px 16px !important;
  }
  body.portfolio-redesign article.product-case .visual-block-title strong{
    font-size:17px !important;
    line-height:1.45 !important;
  }
  body.portfolio-redesign article.product-case .product-grid{
    padding:12px !important;
    gap:10px !important;
  }
  body.portfolio-redesign article.product-case .product-card figcaption,
  body.portfolio-redesign article.product-case .visual-card figcaption{
    padding:12px !important;
  }
  body.portfolio-redesign article.product-case .product-card figcaption strong,
  body.portfolio-redesign article.product-case .visual-card figcaption strong{
    font-size:15px !important;
  }
  body.portfolio-redesign article.product-case .product-card figcaption p,
  body.portfolio-redesign article.product-case .visual-card figcaption p{
    font-size:12.5px !important;
    line-height:1.75 !important;
  }
}


/* ===== Rebuild final visual section from scratch ===== */
body.portfolio-redesign article.visual-suite-section,
body.portfolio-redesign article.visual-suite-section *{
  box-sizing:border-box !important;
}

body.portfolio-redesign article.visual-suite-section::before,
body.portfolio-redesign article.visual-suite-section::after,
body.portfolio-redesign article.visual-suite-section *::before,
body.portfolio-redesign article.visual-suite-section *::after{
  content:none !important;
  display:none !important;
}

body.portfolio-redesign article.visual-suite-section{
  max-width:1180px !important;
  margin:0 auto !important;
  padding:0 !important;
  border:1px solid rgba(22,20,17,.11) !important;
  border-radius:32px !important;
  background:#fff !important;
  overflow:hidden !important;
  box-shadow:0 24px 70px rgba(22,20,17,.055) !important;
}

/* top intro */
body.portfolio-redesign article.visual-suite-section .visual-suite-head{
  padding:34px 34px 28px !important;
  text-align:right !important;
  background:linear-gradient(180deg,#fff,#fbfaf8) !important;
  border-bottom:1px solid rgba(22,20,17,.09) !important;
}

body.portfolio-redesign article.visual-suite-section .visual-suite-head span{
  display:block !important;
  direction:ltr !important;
  color:#9b6a3d !important;
  font-size:12px !important;
  letter-spacing:.18em !important;
  margin-bottom:10px !important;
}

body.portfolio-redesign article.visual-suite-section .visual-suite-head h3{
  margin:0 !important;
  max-width:760px !important;
  color:#171411 !important;
  font-size:clamp(32px,4.8vw,58px) !important;
  line-height:1.16 !important;
  font-weight:700 !important;
  letter-spacing:-.035em !important;
}

body.portfolio-redesign article.visual-suite-section .visual-suite-head p{
  margin:14px 0 0 !important;
  max-width:760px !important;
  color:#62594f !important;
  font-size:16px !important;
  line-height:1.9 !important;
}

/* service cards */
body.portfolio-redesign article.visual-suite-section .visual-suite-services{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
  padding:22px 24px !important;
  background:#fff !important;
  border-bottom:1px solid rgba(22,20,17,.09) !important;
}

body.portfolio-redesign article.visual-suite-section .visual-service-card{
  padding:18px 18px 16px !important;
  border:1px solid rgba(22,20,17,.10) !important;
  border-radius:20px !important;
  background:#fbfaf8 !important;
}

body.portfolio-redesign article.visual-suite-section .visual-service-card strong{
  display:block !important;
  color:#171411 !important;
  font-size:18px !important;
  line-height:1.4 !important;
  margin:0 0 7px !important;
}

body.portfolio-redesign article.visual-suite-section .visual-service-card p{
  margin:0 !important;
  color:#655d55 !important;
  font-size:14px !important;
  line-height:1.75 !important;
}

/* gallery head */
body.portfolio-redesign article.visual-suite-section .visual-suite-gallery-head{
  display:flex !important;
  align-items:end !important;
  justify-content:space-between !important;
  gap:18px !important;
  padding:22px 24px 16px !important;
  background:#fff !important;
}

body.portfolio-redesign article.visual-suite-section .visual-suite-gallery-head strong{
  color:#171411 !important;
  font-size:24px !important;
  line-height:1.4 !important;
}

body.portfolio-redesign article.visual-suite-section .visual-suite-gallery-head p{
  margin:0 !important;
  max-width:460px !important;
  color:#6b6258 !important;
  font-size:14px !important;
  line-height:1.75 !important;
}

/* gallery grid */
body.portfolio-redesign article.visual-suite-section .visual-suite-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
  padding:0 24px 26px !important;
  background:#fff !important;
  margin:0 !important;
}

body.portfolio-redesign article.visual-suite-section .product-card{
  margin:0 !important;
  border:1px solid rgba(22,20,17,.10) !important;
  border-radius:22px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-shadow:0 14px 38px rgba(22,20,17,.05) !important;
}

body.portfolio-redesign article.visual-suite-section .product-card:nth-child(4){
  grid-column:auto !important;
}

body.portfolio-redesign article.visual-suite-section .product-frame,
body.portfolio-redesign article.visual-suite-section .product-card:nth-child(4) .product-frame{
  height:360px !important;
  background:#f8f6f2 !important;
  display:grid !important;
  place-items:center !important;
  overflow:hidden !important;
}

body.portfolio-redesign article.visual-suite-section .product-frame img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  background:#f8f6f2 !important;
}

body.portfolio-redesign article.visual-suite-section .product-card figcaption{
  display:flex !important;
  align-items:center !important;
  min-height:54px !important;
  padding:13px 15px !important;
  border-top:1px solid rgba(22,20,17,.09) !important;
  color:#5f574f !important;
  font-size:14px !important;
  line-height:1.6 !important;
  background:#fff !important;
}

/* Mobile rebuild */
@media(max-width:760px){
  body.portfolio-redesign article.visual-suite-section{
    border-radius:24px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-suite-head{
    padding:22px 16px 18px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-suite-head span{
    font-size:10px !important;
    letter-spacing:.14em !important;
    margin-bottom:8px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-suite-head h3{
    font-size:27px !important;
    line-height:1.25 !important;
    max-width:100% !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-suite-head p{
    font-size:14px !important;
    line-height:1.8 !important;
    margin-top:10px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-suite-services{
    grid-template-columns:1fr !important;
    gap:10px !important;
    padding:14px 14px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-service-card{
    padding:14px 14px 13px !important;
    border-radius:18px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-service-card strong{
    font-size:16px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-service-card p{
    font-size:13px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-suite-gallery-head{
    display:block !important;
    padding:18px 16px 12px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-suite-gallery-head strong{
    display:block !important;
    font-size:20px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-suite-gallery-head p{
    margin-top:6px !important;
    font-size:13px !important;
  }

  body.portfolio-redesign article.visual-suite-section .visual-suite-grid{
    grid-template-columns:1fr !important;
    gap:12px !important;
    padding:0 14px 16px !important;
  }

  body.portfolio-redesign article.visual-suite-section .product-card{
    border-radius:18px !important;
  }

  body.portfolio-redesign article.visual-suite-section .product-frame,
  body.portfolio-redesign article.visual-suite-section .product-card:nth-child(4) .product-frame{
    height:260px !important;
  }

  body.portfolio-redesign article.visual-suite-section .product-card figcaption{
    min-height:auto !important;
    padding:11px 12px !important;
    font-size:13px !important;
  }
}


/* ===== Selected work + start badges ===== */
body.portfolio-redesign #work .section-head h3,
body.portfolio-redesign #work .section-head h2{
  letter-spacing:-.02em !important;
}

body.portfolio-redesign .section-start-badge{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:max-content !important;
  max-width:100% !important;
  min-height:38px !important;
  padding:0 16px !important;
  margin:0 0 12px !important;
  border:1px solid rgba(22,20,17,.12) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#7a6a58 !important;
  font-size:13px !important;
  line-height:1.4 !important;
  font-weight:500 !important;
  box-shadow:0 10px 24px rgba(22,20,17,.03) !important;
}

body.portfolio-redesign article.case .case-info,
body.portfolio-redesign article.visual-suite-section .visual-suite-head{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
}

body.portfolio-redesign article.case .case-info h3,
body.portfolio-redesign article.visual-suite-section .visual-suite-head h3{
  margin-top:0 !important;
}

@media(max-width:760px){
  body.portfolio-redesign .section-start-badge{
    min-height:34px !important;
    padding:0 13px !important;
    margin:0 0 10px !important;
    font-size:12px !important;
  }
}


/* ===== Structured ecommerce copy ===== */
body.portfolio-redesign article.case-2 .case-band strong{
  font-size:24px !important;
  line-height:1.35 !important;
}
body.portfolio-redesign article.case-2 .section-start-badge{
  color:#7a6a58 !important;
  background:#fff !important;
}
body.portfolio-redesign article.case-2 .visual-block-title strong,
body.portfolio-redesign article.case-2 .jewelry-detail-heading h4{
  font-size:22px !important;
  line-height:1.45 !important;
}
body.portfolio-redesign article.case-2 .jewelry-detail-card figcaption strong{
  font-size:18px !important;
  line-height:1.45 !important;
}
body.portfolio-redesign article.case-2 .jewelry-detail-card figcaption p{
  font-size:14px !important;
  line-height:1.8 !important;
}
@media(max-width:760px){
  body.portfolio-redesign article.case-2 .case-band strong{
    font-size:20px !important;
  }
  body.portfolio-redesign article.case-2 .visual-block-title strong,
  body.portfolio-redesign article.case-2 .jewelry-detail-heading h4{
    font-size:18px !important;
  }
  body.portfolio-redesign article.case-2 .case-info h3{
    font-size:24px !important;
    line-height:1.35 !important;
  }
}


/* ===== Numbering colors only — distinguish each section ===== */

/* متجر إلكتروني: ذهبي دافئ */
body.portfolio-redesign article.case-2 .timeline-step::before,
body.portfolio-redesign article.case-2 [data-step]::before,
body.portfolio-redesign article.case-2 .cover-shot figcaption::before,
body.portfolio-redesign article.case-2 .jewelry-detail-heading::after{
  background:#b88954 !important;
  color:#fff !important;
  border-color:#fff !important;
  box-shadow:0 0 0 5px #fffaf5, 0 10px 22px rgba(184,137,84,.20) !important;
}

/* موقع تعريفي: أزرق رمادي */
body.portfolio-redesign article.case-1 .timeline-step::before,
body.portfolio-redesign article.case-1 [data-step]::before{
  background:#6f8194 !important;
  color:#fff !important;
  border-color:#fff !important;
  box-shadow:0 0 0 5px #f7f8f8, 0 10px 22px rgba(111,129,148,.18) !important;
}

/* موقع رحلات: أخضر هادئ */
body.portfolio-redesign article.case-3 .timeline-step::before,
body.portfolio-redesign article.case-3 [data-step]::before{
  background:#6f8d7a !important;
  color:#fff !important;
  border-color:#fff !important;
  box-shadow:0 0 0 5px #f5faf9, 0 10px 22px rgba(111,141,122,.18) !important;
}

/* محتوى بصري / AI: بنفسجي ناعم */
body.portfolio-redesign article.product-case .timeline-step::before,
body.portfolio-redesign article.product-case [data-step]::before,
body.portfolio-redesign article.product-case .product-head::before,
body.portfolio-redesign article.product-case .product-grid::before,
body.portfolio-redesign article.product-case .product-card::before{
  background:#8b789d !important;
  color:#fff !important;
  border-color:#fff !important;
  box-shadow:0 0 0 5px #fbfaf8, 0 10px 22px rgba(139,120,157,.18) !important;
}

/* ثبات حجم ومكان الترقيم */
body.portfolio-redesign .timeline-step::before,
body.portfolio-redesign [data-step]::before{
  width:34px !important;
  height:34px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1 !important;
}

@media(max-width:760px){
  body.portfolio-redesign .timeline-step::before,
  body.portfolio-redesign [data-step]::before{
    width:30px !important;
    height:30px !important;
    font-size:11px !important;
  }
}


/* ===== Travel section numbering: burgundy ===== */
body.portfolio-redesign article.case-3 .timeline-step::before,
body.portfolio-redesign article.case-3 [data-step]::before{
  background:#7a2736 !important;
  color:#fff !important;
  border-color:#fff !important;
  box-shadow:0 0 0 5px #fbf4f5, 0 10px 22px rgba(122,39,54,.20) !important;
}


/* Remove last section service cards */
body.portfolio-redesign article.visual-suite-section .visual-suite-services,
body.portfolio-redesign article.product-case .visual-suite-services{
  display:none !important;
}
body.portfolio-redesign article.visual-suite-section .visual-suite-gallery-head{
  padding-top:24px !important;
  border-top:0 !important;
}
@media(max-width:760px){
  body.portfolio-redesign article.visual-suite-section .visual-suite-gallery-head{
    padding-top:16px !important;
  }
}


/* ===== First section grouped gallery: one visible image, hidden images inside lightbox ===== */
body.portfolio-redesign article.case-2 .case-visual{
  padding:24px !important;
  border-right:1px solid rgba(22,20,17,.10) !important;
  gap:20px !important;
}

body.portfolio-redesign article.case-2 .first-section-title{
  margin:0 !important;
  padding:20px 22px !important;
  border:1px solid rgba(22,20,17,.10) !important;
  border-radius:22px !important;
  background:#fbfaf8 !important;
}

body.portfolio-redesign article.case-2 .first-section-title strong,
body.portfolio-redesign article.case-2 .first-section-title h4{
  display:block !important;
  margin:0 !important;
  color:#171411 !important;
  font-size:clamp(22px,3vw,34px) !important;
  line-height:1.35 !important;
  font-weight:700 !important;
}

body.portfolio-redesign article.case-2 .first-section-title p{
  margin:8px 0 0 !important;
  color:#675f56 !important;
  font-size:14px !important;
  line-height:1.85 !important;
}

body.portfolio-redesign article.case-2 .first-section-gallery-system{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:16px !important;
}

body.portfolio-redesign article.case-2 .first-section-gallery-system.two-groups{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

body.portfolio-redesign article.case-2 .grouped-gallery-card{
  position:relative !important;
  display:grid !important;
  gap:12px !important;
  padding:16px !important;
  border:1px solid rgba(22,20,17,.12) !important;
  border-radius:26px !important;
  background:#fff !important;
  box-shadow:0 18px 46px rgba(22,20,17,.055) !important;
  overflow:hidden !important;
}

body.portfolio-redesign article.case-2 .grouped-gallery-copy{
  display:grid !important;
  gap:5px !important;
  padding:0 2px !important;
}

body.portfolio-redesign article.case-2 .grouped-gallery-copy span{
  direction:ltr !important;
  width:max-content !important;
  min-width:34px !important;
  height:28px !important;
  display:inline-grid !important;
  place-items:center !important;
  border-radius:999px !important;
  background:#161411 !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:700 !important;
}

body.portfolio-redesign article.case-2 .grouped-gallery-copy strong{
  display:block !important;
  color:#171411 !important;
  font-size:21px !important;
  line-height:1.45 !important;
}

body.portfolio-redesign article.case-2 .grouped-gallery-copy p{
  margin:0 !important;
  color:#655d55 !important;
  font-size:14px !important;
  line-height:1.75 !important;
}

body.portfolio-redesign article.case-2 .grouped-gallery-preview{
  margin:0 !important;
  cursor:zoom-in !important;
  border:1px solid rgba(22,20,17,.10) !important;
  border-radius:22px !important;
  overflow:hidden !important;
  background:#fff !important;
}

body.portfolio-redesign article.case-2 .grouped-gallery-frame{
  height:440px !important;
  background:#fff !important;
  overflow:hidden !important;
}

body.portfolio-redesign article.case-2 .two-groups .grouped-gallery-frame{
  height:320px !important;
}

body.portfolio-redesign article.case-2 .grouped-gallery-frame img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center top !important;
  background:#fff !important;
}

body.portfolio-redesign article.case-2 .grouped-view-more{
  width:max-content !important;
  justify-self:center !important;
  border:1px solid rgba(22,20,17,.18) !important;
  background:#161411 !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:11px 24px !important;
  font-size:14px !important;
  font-weight:600 !important;
  cursor:pointer !important;
  transition:.22s ease !important;
}

body.portfolio-redesign article.case-2 .grouped-view-more:hover{
  transform:translateY(-2px) !important;
  background:#000 !important;
}

body.portfolio-redesign article.case-2 .grouped-gallery-bank{
  display:none !important;
}

@media(max-width:950px){
  body.portfolio-redesign article.case-2 .case-visual{
    padding:0 14px 16px !important;
    border-right:0 !important;
  }
  body.portfolio-redesign article.case-2 .first-section-gallery-system.two-groups{
    grid-template-columns:1fr !important;
  }
  body.portfolio-redesign article.case-2 .grouped-gallery-frame,
  body.portfolio-redesign article.case-2 .two-groups .grouped-gallery-frame{
    height:270px !important;
  }
  body.portfolio-redesign article.case-2 .grouped-view-more{
    width:100% !important;
    justify-self:stretch !important;
  }
}

@media(max-width:430px){
  body.portfolio-redesign article.case-2 .grouped-gallery-frame,
  body.portfolio-redesign article.case-2 .two-groups .grouped-gallery-frame{
    height:225px !important;
  }
}


/* Gallery group fix: ترتيب ثابت ومنع تداخل الجاليري */
body.portfolio-redesign article.case-2 .grouped-gallery-bank{
  display:none !important;
}
body.portfolio-redesign article.case-2 [data-gallery-open]{
  cursor:zoom-in !important;
}


/* إخفاء السهم اليمين داخل سلايدر المعاينة لأول قسم فقط */
body.first-section-gallery-open .light-arrow.prev{
  display:none !important;
  pointer-events:none !important;
}


/* قسم الرحلات: إظهار السهم اليسار فقط داخل السلايدر */
.lightbox.hide-next .light-arrow.prev{
  display:none !important;
  pointer-events:none !important;
}
.lightbox.hide-next .light-arrow.next{
  display:grid !important;
  pointer-events:auto !important;
}


/* Section 2 slider: left arrow only */
.lightbox.hide-next .light-arrow.prev{
  display:none !important;
  pointer-events:none !important;
}
.lightbox.hide-next .light-arrow.next{
  display:grid !important;
  pointer-events:auto !important;
}


/* عرض صور سلايدر الرحلات كاملة بدون قص */
.lightbox .light-stage img{
  object-fit:contain !important;
  max-width:100% !important;
  max-height:100% !important;
  width:auto !important;
  height:auto !important;
}


/* Section 2 slider: keep screenshots complete without cropping */
.lightbox .light-stage img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
}

/* Section 2 slider: left arrow only */
.lightbox.hide-next .light-arrow.prev{
  display:none !important;
  pointer-events:none !important;
}
.lightbox.hide-next .light-arrow.next{
  display:grid !important;
  pointer-events:auto !important;
}


/* ===== Flexible lightbox for section 2 travel slider ===== */
.lightbox.flex-travel{
  align-items:flex-start !important;
  justify-content:center !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding:34px 78px !important;
}

.lightbox.flex-travel .light-window{
  width:min(1240px,96vw) !important;
  height:auto !important;
  max-height:none !important;
  min-height:auto !important;
  grid-template-rows:48px auto 54px !important;
  overflow:visible !important;
}

.lightbox.flex-travel .light-stage{
  min-height:auto !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  padding:20px !important;
}

.lightbox.flex-travel .light-stage img,
.lightbox.flex-travel .light-stage img[data-flex-image="true"]{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center top !important;
  border-radius:16px !important;
}

/* في الجوال يخليها مرنة بدون قص */
@media(max-width:760px){
  .lightbox.flex-travel{
    padding:68px 10px 22px !important;
  }
  .lightbox.flex-travel .light-window{
    width:100% !important;
    border-radius:20px !important;
  }
  .lightbox.flex-travel .light-stage{
    padding:10px !important;
  }
}

/* Section 2 slider: left arrow only */
.lightbox.hide-next .light-arrow.prev{
  display:none !important;
  pointer-events:none !important;
}
.lightbox.hide-next .light-arrow.next{
  display:grid !important;
  pointer-events:auto !important;
}


/* Section 3: keep first and last website screenshot clean */
body.portfolio-redesign article.case-1 .section3-final-shot{
  margin:0 !important;
  padding:12px !important;
  border:1px solid rgba(22,20,17,.10) !important;
  border-radius:22px !important;
  background:#fff !important;
  box-shadow:0 16px 48px rgba(22,20,17,.055) !important;
  cursor:zoom-in !important;
}
body.portfolio-redesign article.case-1 .section3-final-shot img{
  width:100% !important;
  height:260px !important;
  object-fit:contain !important;
  object-position:center top !important;
  background:#fff !important;
  border-radius:14px !important;
}
body.portfolio-redesign article.case-1 .section3-final-shot figcaption{
  color:#6b6258 !important;
  font-size:13px !important;
  padding:10px 4px 0 !important;
}
@media(max-width:950px){
  body.portfolio-redesign article.case-1 .section3-final-shot img{
    height:220px !important;
  }
}


/* Section 3: dashboard/control panel stays visible but not part of slider */
body.portfolio-redesign article.case-1 .nahj-programming-shot{
  cursor:default !important;
}
body.portfolio-redesign article.case-1 .nahj-programming-shot img{
  cursor:default !important;
}


/* Section 3: remove slider arrows */
.lightbox.hide-arrows .light-arrow{
  display:none !important;
  pointer-events:none !important;
}


/* ===== Compact redesign for fourth / last visual section ===== */
body.portfolio-redesign article.product-case.compact-visual-section{
  max-width:1080px !important;
  margin:0 auto !important;
  padding:34px 28px 32px !important;
  border-radius:30px !important;
  background:#fff !important;
  border:1px solid rgba(22,20,17,.10) !important;
  box-shadow:0 24px 70px rgba(22,20,17,.045) !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-head{
  display:grid !important;
  grid-template-columns:1fr auto !important;
  align-items:end !important;
  gap:16px !important;
  padding:0 0 18px !important;
  margin:0 0 16px !important;
  border-bottom:1px solid rgba(22,20,17,.09) !important;
  text-align:right !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-head .section-start-badge{
  grid-column:1/-1 !important;
  justify-self:start !important;
  width:max-content !important;
  display:inline-flex !important;
  align-items:center !important;
  min-height:auto !important;
  padding:7px 13px !important;
  border-radius:999px !important;
  background:#fbfaf8 !important;
  border:1px solid rgba(22,20,17,.10) !important;
  color:#6b6258 !important;
  font-size:12px !important;
  letter-spacing:0 !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-head > span:not(.section-start-badge){
  display:none !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-head h3{
  margin:0 !important;
  color:#171514 !important;
  font-size:clamp(28px,3.2vw,42px) !important;
  line-height:1.25 !important;
  font-weight:700 !important;
  letter-spacing:-.02em !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-head p{
  margin:0 !important;
  max-width:430px !important;
  color:#6b6258 !important;
  font-size:14px !important;
  line-height:1.8 !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-gallery-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  padding:12px 14px !important;
  margin:0 0 14px !important;
  border:1px solid rgba(22,20,17,.09) !important;
  border-radius:18px !important;
  background:#fbfaf8 !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-gallery-head strong{
  color:#171514 !important;
  font-size:17px !important;
  line-height:1.4 !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-gallery-head p{
  margin:0 !important;
  color:#756d64 !important;
  font-size:13px !important;
  line-height:1.6 !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-grid.visual-suite-grid{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:12px !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-card{
  margin:0 !important;
  border-radius:18px !important;
  border:1px solid rgba(22,20,17,.10) !important;
  background:#fff !important;
  overflow:hidden !important;
  box-shadow:0 12px 30px rgba(22,20,17,.04) !important;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-card:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 18px 42px rgba(22,20,17,.075) !important;
  border-color:rgba(22,20,17,.18) !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(4){
  grid-column:auto !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-frame,
body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(4) .product-frame{
  height:178px !important;
  background:#fff !important;
  display:grid !important;
  place-items:center !important;
  overflow:hidden !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-frame img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  background:#fff !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-card figcaption{
  min-height:auto !important;
  padding:10px 12px !important;
  border-top:1px solid rgba(22,20,17,.08) !important;
  background:#fff !important;
  color:#5f574f !important;
  font-size:12.5px !important;
  line-height:1.5 !important;
  font-weight:600 !important;
}

/* ترتيب ألطف للصف الأخير */
body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(5),
body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(6),
body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(7){
  transform:none !important;
}

@media(max-width:980px){
  body.portfolio-redesign article.product-case.compact-visual-section{
    padding:24px 16px !important;
    border-radius:24px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-head{
    display:block !important;
    padding-bottom:16px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-head .section-start-badge{
    margin-bottom:10px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-head h3{
    font-size:30px !important;
    margin-bottom:8px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-head p{
    max-width:100% !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-gallery-head{
    display:block !important;
    padding:12px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .visual-suite-gallery-head p{
    margin-top:4px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .product-grid.visual-suite-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:10px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .product-frame,
  body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(4) .product-frame{
    height:150px !important;
  }
}

@media(max-width:430px){
  body.portfolio-redesign article.product-case.compact-visual-section{
    padding:20px 12px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .product-grid.visual-suite-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:9px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .product-frame,
  body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(4) .product-frame{
    height:126px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .product-card{
    border-radius:15px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .product-card figcaption{
    padding:8px 9px !important;
    font-size:11.5px !important;
  }
}


/* ===== Last section: vertical compact cards ===== */
body.portfolio-redesign article.product-case.compact-visual-section{
  max-width:1040px !important;
  padding:32px 26px 30px !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-grid.visual-suite-grid{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap:12px !important;
  align-items:start !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-card{
  border-radius:18px !important;
  overflow:hidden !important;
  cursor:zoom-in !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-frame,
body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(4) .product-frame{
  height:auto !important;
  aspect-ratio:3 / 4 !important;
  background:#fff !important;
  overflow:hidden !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-frame img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  background:#fff !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-card figcaption{
  padding:8px 10px !important;
  min-height:38px !important;
  font-size:12px !important;
  line-height:1.45 !important;
  display:flex !important;
  align-items:center !important;
}

/* عند الضغط تظهر الصورة كاملة بدون قص */
.lightbox .light-stage img{
  max-width:100% !important;
  max-height:100% !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:center !important;
}

/* إزالة فراغ أزرار التواصل بعد حذف البريد و LinkedIn */
.exact-contact-links{
  gap:10px !important;
}

@media(max-width:980px){
  body.portfolio-redesign article.product-case.compact-visual-section .product-grid.visual-suite-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:10px !important;
  }
}

@media(max-width:560px){
  body.portfolio-redesign article.product-case.compact-visual-section{
    padding:20px 12px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .product-grid.visual-suite-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:9px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .product-card{
    border-radius:15px !important;
  }

  body.portfolio-redesign article.product-case.compact-visual-section .product-card figcaption{
    min-height:34px !important;
    padding:7px 8px !important;
    font-size:11px !important;
  }
}


/* Fix: enable opening images in fourth section */
body.portfolio-redesign article.product-case.compact-visual-section .product-card{
  cursor:zoom-in !important;
}
body.portfolio-redesign article.product-case.compact-visual-section .product-frame img{
  cursor:zoom-in !important;
}


/* ===== Section 4: smaller cards, no forced crop ===== */
body.portfolio-redesign article.product-case.compact-visual-section{
  max-width:980px !important;
  padding:28px 24px 28px !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-grid.visual-suite-grid{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap:10px !important;
  align-items:start !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-card{
  border-radius:16px !important;
  cursor:zoom-in !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-frame,
body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(4) .product-frame{
  height:138px !important;
  aspect-ratio:auto !important;
  background:#fff !important;
  display:grid !important;
  place-items:center !important;
  overflow:hidden !important;
  padding:6px !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-frame img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
  cursor:zoom-in !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-card figcaption{
  min-height:30px !important;
  padding:7px 9px !important;
  font-size:11.5px !important;
  line-height:1.35 !important;
}

/* ===== When section 4 image opens: fit fully in screen, no scroll, no crop ===== */
.lightbox.fit-visual{
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  padding:24px !important;
}

.lightbox.fit-visual .light-window{
  width:min(760px, 94vw) !important;
  height:min(88vh, 760px) !important;
  max-height:88vh !important;
  grid-template-rows:44px minmax(0,1fr) 46px !important;
  overflow:hidden !important;
  border-radius:24px !important;
}

.lightbox.fit-visual .light-stage{
  min-height:0 !important;
  height:100% !important;
  max-height:none !important;
  overflow:hidden !important;
  display:grid !important;
  place-items:center !important;
  padding:12px !important;
  background:#090909 !important;
}

.lightbox.fit-visual .light-stage img{
  display:block !important;
  max-width:100% !important;
  max-height:100% !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
  border-radius:12px !important;
}

/* no arrows needed for section 4 if there is a single opened image view feel */
.lightbox.fit-visual .light-arrow{
  width:46px !important;
  height:46px !important;
  font-size:30px !important;
}

@media(max-width:980px){
  body.portfolio-redesign article.product-case.compact-visual-section{
    max-width:100% !important;
    padding:22px 14px !important;
  }
  body.portfolio-redesign article.product-case.compact-visual-section .product-grid.visual-suite-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:9px !important;
  }
  body.portfolio-redesign article.product-case.compact-visual-section .product-frame,
  body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(4) .product-frame{
    height:125px !important;
  }
  .lightbox.fit-visual{
    padding:66px 10px 18px !important;
  }
  .lightbox.fit-visual .light-window{
    width:100% !important;
    height:min(78vh, 680px) !important;
    max-height:78vh !important;
    border-radius:20px !important;
  }
}

@media(max-width:520px){
  body.portfolio-redesign article.product-case.compact-visual-section .product-grid.visual-suite-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
  body.portfolio-redesign article.product-case.compact-visual-section .product-frame,
  body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(4) .product-frame{
    height:112px !important;
  }
}


/* ===== Section 4 thumbnails: small, full preview, no crop ===== */
body.portfolio-redesign article.product-case.compact-visual-section .product-card,
body.portfolio-redesign article.product-case.visual-suite-section .product-card{
  cursor:zoom-in !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-frame,
body.portfolio-redesign article.product-case.visual-suite-section .product-frame,
body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(4) .product-frame,
body.portfolio-redesign article.product-case.visual-suite-section .product-card:nth-child(4) .product-frame{
  height:132px !important;
  padding:6px !important;
  background:#fff !important;
  overflow:hidden !important;
  display:grid !important;
  place-items:center !important;
}

body.portfolio-redesign article.product-case.compact-visual-section .product-frame img,
body.portfolio-redesign article.product-case.visual-suite-section .product-frame img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
  cursor:zoom-in !important;
}

/* ===== Custom viewer for section 4 only: not the slider ===== */
.section4-viewer{
  position:fixed !important;
  inset:0 !important;
  z-index:10050 !important;
  display:none !important;
  align-items:center !important;
  justify-content:center !important;
  padding:22px !important;
  background:rgba(8,9,8,.88) !important;
  backdrop-filter:blur(16px) !important;
  overflow:hidden !important;
}

.section4-viewer.open{
  display:flex !important;
}

.section4-viewer-stage{
  width:calc(100vw - 44px) !important;
  height:calc(100vh - 44px) !important;
  display:grid !important;
  place-items:center !important;
  overflow:hidden !important;
}

.section4-viewer-stage img{
  display:block !important;
  max-width:100% !important;
  max-height:100% !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
  border-radius:14px !important;
  box-shadow:0 26px 90px rgba(0,0,0,.45) !important;
}

.section4-viewer-close{
  position:fixed !important;
  top:18px !important;
  left:18px !important;
  z-index:10060 !important;
  width:44px !important;
  height:44px !important;
  border-radius:50% !important;
  border:1px solid rgba(255,255,255,.22) !important;
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  display:grid !important;
  place-items:center !important;
  font-size:30px !important;
  line-height:1 !important;
  cursor:pointer !important;
  backdrop-filter:blur(12px) !important;
}

@media(max-width:520px){
  body.portfolio-redesign article.product-case.compact-visual-section .product-frame,
  body.portfolio-redesign article.product-case.visual-suite-section .product-frame,
  body.portfolio-redesign article.product-case.compact-visual-section .product-card:nth-child(4) .product-frame,
  body.portfolio-redesign article.product-case.visual-suite-section .product-card:nth-child(4) .product-frame{
    height:110px !important;
    padding:5px !important;
  }

  .section4-viewer{
    padding:12px !important;
  }

  .section4-viewer-stage{
    width:calc(100vw - 24px) !important;
    height:calc(100vh - 24px) !important;
  }

  .section4-viewer-stage img{
    border-radius:10px !important;
  }
}


/* ===== HARD FIX SECTION 4 DESKTOP: no crop anywhere ===== */

/* الشبكة أصغر ومرتبة */
body.portfolio-redesign article.product-case[data-section4-viewer="true"]{
  max-width:1000px !important;
  padding:28px 24px 30px !important;
}

/* كروت طولية مو مربعة */
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid.visual-suite-grid{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap:12px !important;
  align-items:start !important;
  padding:0 !important;
}

/* نلغي أي امتداد قديم للعنصر الرابع */
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4),
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5),
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6),
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7){
  grid-column:auto !important;
  width:auto !important;
  max-width:none !important;
  border-radius:16px !important;
  cursor:zoom-in !important;
  overflow:hidden !important;
}

/* أهم تعديل: لا قص داخل الكرت — الصورة كاملة */
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame{
  height:190px !important;
  min-height:190px !important;
  max-height:190px !important;
  aspect-ratio:auto !important;
  padding:8px !important;
  background:#fff !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* إلغاء cover نهائيًا */
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame img,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame img,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame img,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame img,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
  cursor:zoom-in !important;
}

/* النص تحت الكروت أخف */
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card figcaption{
  min-height:34px !important;
  padding:8px 10px !important;
  font-size:11.5px !important;
  line-height:1.4 !important;
}

/* العارض الخاص بالقسم الرابع: الصورة كاملة داخل الشاشة */
.section4-viewer{
  position:fixed !important;
  inset:0 !important;
  z-index:10050 !important;
  display:none !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px !important;
  background:rgba(8,9,8,.88) !important;
  backdrop-filter:blur(16px) !important;
  overflow:hidden !important;
}

.section4-viewer.open{
  display:flex !important;
}

.section4-viewer-stage{
  width:96vw !important;
  height:92vh !important;
  max-width:96vw !important;
  max-height:92vh !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}

/* أهم تعديل عند الضغط: لا width 100 ولا height 100، فقط contain */
.section4-viewer-stage img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:96vw !important;
  max-height:92vh !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
  border-radius:12px !important;
  box-shadow:0 26px 90px rgba(0,0,0,.45) !important;
}

/* زر الإغلاق */
.section4-viewer-close{
  position:fixed !important;
  top:18px !important;
  left:18px !important;
  z-index:10060 !important;
}

/* منع أي لايت بوكس عام من التأثير على القسم الرابع */
.lightbox.fit-visual{
  display:none !important;
}

@media(max-width:980px){
  body.portfolio-redesign article.product-case[data-section4-viewer="true"]{
    max-width:100% !important;
    padding:22px 14px !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid.visual-suite-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:10px !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame{
    height:150px !important;
    min-height:150px !important;
    max-height:150px !important;
  }

  .section4-viewer-stage{
    width:96vw !important;
    height:86vh !important;
    max-height:86vh !important;
  }

  .section4-viewer-stage img{
    max-width:96vw !important;
    max-height:86vh !important;
  }
}

@media(max-width:520px){
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid.visual-suite-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame{
    height:128px !important;
    min-height:128px !important;
    max-height:128px !important;
  }
}


/* Floating WhatsApp button */
.whatsapp-floating-btn{
  position:fixed !important;
  right:24px !important;
  bottom:24px !important;
  z-index:10080 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:9px !important;
  min-width:58px !important;
  height:58px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  background:#25D366 !important;
  color:#fff !important;
  text-decoration:none !important;
  box-shadow:0 18px 45px rgba(37,211,102,.35), 0 8px 22px rgba(0,0,0,.18) !important;
  border:1px solid rgba(255,255,255,.28) !important;
  font-family:'IBM Plex Sans Arabic','Tajawal',system-ui,sans-serif !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1 !important;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease !important;
}
.whatsapp-floating-btn:hover{
  transform:translateY(-3px) !important;
  background:#1ebe5d !important;
  box-shadow:0 22px 55px rgba(37,211,102,.42), 0 10px 26px rgba(0,0,0,.2) !important;
}
.whatsapp-floating-icon{
  width:30px !important;
  height:30px !important;
  display:grid !important;
  place-items:center !important;
  flex:0 0 auto !important;
  font-size:28px !important;
  line-height:1 !important;
}
@media(max-width:560px){
  .whatsapp-floating-btn{
    right:16px !important;
    bottom:16px !important;
    width:56px !important;
    min-width:56px !important;
    height:56px !important;
    padding:0 !important;
    border-radius:50% !important;
  }
  .whatsapp-floating-text{
    display:none !important;
  }
}


/* WhatsApp floating circle button */
.whatsapp-floating-btn{
  position:fixed !important;
  right:24px !important;
  bottom:24px !important;
  z-index:10080 !important;
  width:64px !important;
  height:64px !important;
  min-width:64px !important;
  padding:0 !important;
  border-radius:50% !important;
  background:#22c55e !important;
  color:#fff !important;
  display:grid !important;
  place-items:center !important;
  text-decoration:none !important;
  border:0 !important;
  box-shadow:0 16px 38px rgba(34,197,94,.34), 0 8px 18px rgba(0,0,0,.16) !important;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease !important;
}
.whatsapp-floating-btn:hover{
  transform:translateY(-3px) scale(1.03) !important;
  background:#20bf5a !important;
  box-shadow:0 20px 46px rgba(34,197,94,.42), 0 10px 22px rgba(0,0,0,.18) !important;
}
.whatsapp-floating-svg{
  width:35px !important;
  height:35px !important;
  display:block !important;
}
@media(max-width:560px){
  .whatsapp-floating-btn{
    right:16px !important;
    bottom:16px !important;
    width:58px !important;
    height:58px !important;
    min-width:58px !important;
  }
  .whatsapp-floating-svg{
    width:32px !important;
    height:32px !important;
  }
}


/* WhatsApp button color adjusted to match the portfolio identity */
.whatsapp-floating-btn{
  background:#6f4b5f !important;
  color:#fff !important;
  box-shadow:0 16px 38px rgba(111,75,95,.28), 0 8px 18px rgba(0,0,0,.16) !important;
  border:1px solid rgba(255,255,255,.22) !important;
}
.whatsapp-floating-btn:hover{
  background:#5b3d4e !important;
  box-shadow:0 20px 46px rgba(111,75,95,.36), 0 10px 22px rgba(0,0,0,.18) !important;
}


/* Move floating WhatsApp button to the left */
.whatsapp-floating-btn{
  left:24px !important;
  right:auto !important;
}
@media(max-width:560px){
  .whatsapp-floating-btn{
    left:16px !important;
    right:auto !important;
  }
}


/* Business card showcase inside section 4 */
.business-card-showcase{
  margin:18px 0 24px !important;
  padding:20px !important;
  border-radius:24px !important;
  background:#fbfaf8 !important;
  border:1px solid rgba(22,20,17,.10) !important;
  box-shadow:0 18px 50px rgba(22,20,17,.045) !important;
}
.business-card-showcase-head{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:22px !important;
  padding-bottom:16px !important;
  margin-bottom:16px !important;
  border-bottom:1px solid rgba(22,20,17,.09) !important;
}
.business-card-showcase-head span{display:block !important;color:#8f8174 !important;font-size:12px !important;margin-bottom:7px !important;}
.business-card-showcase-head h4{margin:0 0 8px !important;color:#171514 !important;font-size:clamp(24px,2.5vw,34px) !important;line-height:1.3 !important;}
.business-card-showcase-head p{margin:0 !important;max-width:760px !important;color:#625b53 !important;font-size:14px !important;line-height:1.85 !important;}
.business-card-demo-btn{
  flex:0 0 auto !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;
  min-width:118px !important;height:44px !important;padding:0 18px !important;border-radius:999px !important;
  border:1px solid rgba(22,20,17,.16) !important;background:#fff !important;color:#171514 !important;
  font-size:13px !important;font-weight:700 !important;box-shadow:0 10px 24px rgba(22,20,17,.04) !important;
}
.business-card-demo-btn:hover{transform:translateY(-2px) !important;background:#171514 !important;color:#fff !important;}
.business-card-grid{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:16px !important;}
.business-card-item{
  margin:0 !important;overflow:hidden !important;border-radius:22px !important;background:#fff !important;
  border:1px solid rgba(22,20,17,.10) !important;box-shadow:0 14px 38px rgba(22,20,17,.045) !important;cursor:zoom-in !important;
}
.business-card-frame{height:260px !important;padding:10px !important;background:#fff !important;display:grid !important;place-items:center !important;overflow:hidden !important;}
.business-card-frame img{width:100% !important;height:100% !important;object-fit:contain !important;object-position:center center !important;border-radius:14px !important;background:#fff !important;}
.business-card-item figcaption{padding:14px 16px 16px !important;border-top:1px solid rgba(22,20,17,.08) !important;background:#fff !important;}
.business-card-item figcaption strong{display:block !important;color:#171514 !important;font-size:15px !important;margin-bottom:5px !important;}
.business-card-item figcaption p{margin:0 !important;color:#655d55 !important;font-size:13px !important;line-height:1.75 !important;}
.section4-viewer{
  position:fixed !important;inset:0 !important;z-index:10050 !important;display:none !important;align-items:center !important;justify-content:center !important;
  padding:22px !important;background:rgba(8,9,8,.88) !important;backdrop-filter:blur(16px) !important;overflow:hidden !important;
}
.section4-viewer.open{display:flex !important;}
.section4-viewer-stage{width:96vw !important;height:90vh !important;display:flex !important;align-items:center !important;justify-content:center !important;overflow:hidden !important;}
.section4-viewer-stage img{
  display:block !important;width:auto !important;height:auto !important;max-width:96vw !important;max-height:90vh !important;
  object-fit:contain !important;object-position:center center !important;background:#fff !important;border-radius:14px !important;
  box-shadow:0 26px 90px rgba(0,0,0,.45) !important;
}
.section4-viewer-close{
  position:fixed !important;top:18px !important;left:18px !important;z-index:10060 !important;width:44px !important;height:44px !important;border-radius:50% !important;
  border:1px solid rgba(255,255,255,.22) !important;background:rgba(255,255,255,.12) !important;color:#fff !important;
  display:grid !important;place-items:center !important;font-size:30px !important;line-height:1 !important;cursor:pointer !important;
}
@media(max-width:860px){
  .business-card-showcase{padding:16px !important;}
  .business-card-showcase-head{display:block !important;}
  .business-card-demo-btn{margin-top:14px !important;width:100% !important;}
  .business-card-grid{grid-template-columns:1fr !important;}
  .business-card-frame{height:220px !important;}
}


/* ===== Business card single-card slider ===== */
.business-card-slider-showcase{
  margin:18px 0 24px !important;
  padding:20px !important;
  border-radius:26px !important;
  background:#fbfaf8 !important;
  border:1px solid rgba(22,20,17,.10) !important;
  box-shadow:0 18px 50px rgba(22,20,17,.045) !important;
}

.business-card-slider-showcase .business-card-showcase-head{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:22px !important;
  padding-bottom:16px !important;
  margin-bottom:16px !important;
  border-bottom:1px solid rgba(22,20,17,.09) !important;
}

.business-card-slider-showcase .business-card-showcase-head span{
  display:block !important;
  color:#8f8174 !important;
  font-size:12px !important;
  margin-bottom:7px !important;
}

.business-card-slider-showcase .business-card-showcase-head h4{
  margin:0 0 8px !important;
  color:#171514 !important;
  font-size:clamp(24px,2.5vw,34px) !important;
  line-height:1.3 !important;
}

.business-card-slider-showcase .business-card-showcase-head p{
  margin:0 !important;
  max-width:760px !important;
  color:#625b53 !important;
  font-size:14px !important;
  line-height:1.85 !important;
}

.business-card-slider-showcase .business-card-demo-btn,
.business-card-link-option{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:118px !important;
  height:44px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  border:1px solid rgba(22,20,17,.16) !important;
  background:#fff !important;
  color:#171514 !important;
  font-size:13px !important;
  font-weight:700 !important;
  box-shadow:0 10px 24px rgba(22,20,17,.04) !important;
  text-decoration:none !important;
}

.business-card-slider-showcase .business-card-demo-btn:hover,
.business-card-link-option:hover{
  transform:translateY(-2px) !important;
  background:#171514 !important;
  color:#fff !important;
}

.business-card-slider-card{
  position:relative !important;
  overflow:hidden !important;
  border-radius:24px !important;
  background:#fff !important;
  border:1px solid rgba(22,20,17,.10) !important;
  box-shadow:0 16px 44px rgba(22,20,17,.05) !important;
  padding:18px 70px 18px !important;
}

.business-card-slider-viewport{
  position:relative !important;
  min-height:410px !important;
}

.business-card-slide{
  display:none !important;
  margin:0 !important;
  animation:businessCardFade .24s ease both !important;
}

.business-card-slide.active{
  display:block !important;
}

@keyframes businessCardFade{
  from{opacity:.35; transform:translateY(6px);}
  to{opacity:1; transform:translateY(0);}
}

.business-card-slider-card .business-card-frame{
  height:330px !important;
  padding:10px !important;
  background:#fff !important;
  display:grid !important;
  place-items:center !important;
  overflow:hidden !important;
}

.business-card-slider-card .business-card-frame img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  border-radius:14px !important;
  background:#fff !important;
  cursor:zoom-in !important;
}

.business-card-slide figcaption{
  padding:14px 6px 0 !important;
  background:#fff !important;
  text-align:right !important;
}

.business-card-slide figcaption strong{
  display:block !important;
  color:#171514 !important;
  font-size:16px !important;
  margin-bottom:5px !important;
}

.business-card-slide figcaption p{
  margin:0 !important;
  color:#655d55 !important;
  font-size:13px !important;
  line-height:1.75 !important;
}

.business-card-nav{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:4 !important;
  width:48px !important;
  height:48px !important;
  border-radius:50% !important;
  border:1px solid rgba(22,20,17,.12) !important;
  background:#fbfaf8 !important;
  color:#171514 !important;
  display:grid !important;
  place-items:center !important;
  font-size:34px !important;
  line-height:1 !important;
  cursor:pointer !important;
  box-shadow:0 12px 28px rgba(22,20,17,.08) !important;
}

.business-card-nav:hover{
  background:#171514 !important;
  color:#fff !important;
}

/* اليمين يروح للبطاقة الثانية */
.business-card-nav-next{
  right:16px !important;
}

.business-card-nav-prev{
  left:16px !important;
}

.business-card-slider-footer{
  margin-top:14px !important;
  padding-top:14px !important;
  border-top:1px solid rgba(22,20,17,.08) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
}

.business-card-dots{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
}

.business-card-dots span{
  width:8px !important;
  height:8px !important;
  border-radius:999px !important;
  background:rgba(22,20,17,.18) !important;
}

.business-card-dots span.active{
  width:24px !important;
  background:#171514 !important;
}

/* viewer */
.section4-viewer{
  position:fixed !important;
  inset:0 !important;
  z-index:10050 !important;
  display:none !important;
  align-items:center !important;
  justify-content:center !important;
  padding:22px !important;
  background:rgba(8,9,8,.88) !important;
  backdrop-filter:blur(16px) !important;
  overflow:hidden !important;
}
.section4-viewer.open{display:flex !important;}
.section4-viewer-stage{
  width:96vw !important;
  height:90vh !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
.section4-viewer-stage img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:96vw !important;
  max-height:90vh !important;
  object-fit:contain !important;
  background:#fff !important;
  border-radius:14px !important;
  box-shadow:0 26px 90px rgba(0,0,0,.45) !important;
}
.section4-viewer-close{
  position:fixed !important;
  top:18px !important;
  left:18px !important;
  z-index:10060 !important;
  width:44px !important;
  height:44px !important;
  border-radius:50% !important;
  border:1px solid rgba(255,255,255,.22) !important;
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  display:grid !important;
  place-items:center !important;
  font-size:30px !important;
  cursor:pointer !important;
}

@media(max-width:860px){
  .business-card-slider-showcase{
    padding:16px !important;
  }
  .business-card-slider-showcase .business-card-showcase-head{
    display:block !important;
  }
  .business-card-slider-showcase .business-card-demo-btn{
    margin-top:14px !important;
    width:100% !important;
  }
  .business-card-slider-card{
    padding:14px 52px 16px !important;
  }
  .business-card-slider-viewport{
    min-height:330px !important;
  }
  .business-card-slider-card .business-card-frame{
    height:230px !important;
    padding:6px !important;
  }
  .business-card-nav{
    width:40px !important;
    height:40px !important;
    font-size:28px !important;
  }
  .business-card-nav-next{right:8px !important;}
  .business-card-nav-prev{left:8px !important;}
  .business-card-slider-footer{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
  .business-card-link-option{
    width:100% !important;
  }
}


/* ===== Business card compact item inside selected samples ===== */
.business-card-grid-card{
  grid-column:auto !important;
}

.business-card-grid-card .business-card-mini-slider{
  position:relative !important;
  height:138px !important;
  min-height:138px !important;
  max-height:138px !important;
  padding:8px !important;
  background:#fff !important;
  overflow:hidden !important;
  display:grid !important;
  place-items:center !important;
}

.business-card-grid-card .business-card-mini-img{
  display:none !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  border-radius:10px !important;
  background:#fff !important;
  cursor:zoom-in !important;
}

.business-card-grid-card .business-card-mini-img.active{
  display:block !important;
}

.business-card-mini-nav{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:4 !important;
  width:28px !important;
  height:28px !important;
  border-radius:50% !important;
  border:1px solid rgba(22,20,17,.14) !important;
  background:rgba(255,255,255,.88) !important;
  color:#171514 !important;
  display:grid !important;
  place-items:center !important;
  font-size:21px !important;
  line-height:1 !important;
  cursor:pointer !important;
  box-shadow:0 8px 18px rgba(22,20,17,.10) !important;
}

/* اليمين ينتقل للبطاقة الثانية */
.business-card-mini-next{
  right:8px !important;
}

.business-card-mini-prev{
  left:8px !important;
}

.business-card-mini-nav:hover{
  background:#171514 !important;
  color:#fff !important;
}

.business-card-grid-card .business-card-mini-caption{
  min-height:44px !important;
  padding:8px 10px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
  font-size:11.5px !important;
  line-height:1.4 !important;
}

.business-card-mini-caption span{
  color:#5f574f !important;
  font-weight:700 !important;
}

.business-card-mini-caption a{
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:26px !important;
  padding:0 9px !important;
  border-radius:999px !important;
  border:1px solid rgba(22,20,17,.12) !important;
  background:#fbfaf8 !important;
  color:#171514 !important;
  font-size:10.5px !important;
  font-weight:700 !important;
  text-decoration:none !important;
}

.business-card-mini-caption a:hover{
  background:#171514 !important;
  color:#fff !important;
}

/* override any previous bigger business card slider styles */
.business-card-slider-showcase,
.business-card-showcase{
  display:none !important;
}

/* keep section 4 viewer for image click */
.section4-viewer{
  position:fixed !important;
  inset:0 !important;
  z-index:10050 !important;
  display:none !important;
  align-items:center !important;
  justify-content:center !important;
  padding:22px !important;
  background:rgba(8,9,8,.88) !important;
  backdrop-filter:blur(16px) !important;
  overflow:hidden !important;
}
.section4-viewer.open{display:flex !important;}
.section4-viewer-stage{
  width:96vw !important;
  height:90vh !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
.section4-viewer-stage img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:96vw !important;
  max-height:90vh !important;
  object-fit:contain !important;
  background:#fff !important;
  border-radius:14px !important;
  box-shadow:0 26px 90px rgba(0,0,0,.45) !important;
}
.section4-viewer-close{
  position:fixed !important;
  top:18px !important;
  left:18px !important;
  z-index:10060 !important;
  width:44px !important;
  height:44px !important;
  border-radius:50% !important;
  border:1px solid rgba(255,255,255,.22) !important;
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  display:grid !important;
  place-items:center !important;
  font-size:30px !important;
  cursor:pointer !important;
}

@media(max-width:980px){
  .business-card-grid-card .business-card-mini-slider{
    height:125px !important;
    min-height:125px !important;
    max-height:125px !important;
  }
}

@media(max-width:520px){
  .business-card-grid-card .business-card-mini-slider{
    height:112px !important;
    min-height:112px !important;
    max-height:112px !important;
  }

  .business-card-grid-card .business-card-mini-caption{
    display:grid !important;
    gap:6px !important;
  }

  .business-card-mini-caption a{
    width:100% !important;
  }
}


/* Final adjustment: reduce first-section numbered headings to match other sections */
body.portfolio-redesign article.case-2 .first-section-title strong,
body.portfolio-redesign article.case-2 .first-section-title h4,
body.portfolio-redesign article.case-2 .visual-block-title.first-section-title strong,
body.portfolio-redesign article.case-2 .jewelry-detail-heading.first-section-title h4{
  font-size:20px !important;
  line-height:1.45 !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
}

body.portfolio-redesign article.case-2 .grouped-gallery-copy strong{
  font-size:18px !important;
  line-height:1.45 !important;
  font-weight:600 !important;
}

@media(max-width:760px){
  body.portfolio-redesign article.case-2 .first-section-title strong,
  body.portfolio-redesign article.case-2 .first-section-title h4,
  body.portfolio-redesign article.case-2 .visual-block-title.first-section-title strong,
  body.portfolio-redesign article.case-2 .jewelry-detail-heading.first-section-title h4{
    font-size:18px !important;
    line-height:1.45 !important;
  }

  body.portfolio-redesign article.case-2 .grouped-gallery-copy strong{
    font-size:17px !important;
  }
}



/* ===== Fix: first section numbering was protruding/cropped ===== */
body.portfolio-redesign article.case-2 .case-visual{
  overflow:visible !important;
  padding:24px !important;
}

body.portfolio-redesign article.case-2 .first-section-title.timeline-step{
  position:relative !important;
  overflow:visible !important;
  padding:16px 58px 16px 18px !important;
  min-height:auto !important;
}

body.portfolio-redesign article.case-2 .first-section-title.timeline-step::before{
  right:18px !important;
  top:18px !important;
  transform:none !important;
  width:28px !important;
  height:28px !important;
  min-width:28px !important;
  min-height:28px !important;
  font-size:10.5px !important;
  line-height:1 !important;
  box-shadow:none !important;
}

body.portfolio-redesign article.case-2 .first-section-title strong,
body.portfolio-redesign article.case-2 .first-section-title h4{
  font-size:clamp(18px,2.15vw,26px) !important;
  line-height:1.4 !important;
}

body.portfolio-redesign article.case-2 .first-section-title p{
  font-size:13.5px !important;
  line-height:1.75 !important;
}

@media(max-width:950px){
  body.portfolio-redesign article.case-2 .case-visual{
    padding:0 14px 16px !important;
  }
  body.portfolio-redesign article.case-2 .first-section-title.timeline-step{
    padding:15px 52px 15px 14px !important;
  }
  body.portfolio-redesign article.case-2 .first-section-title.timeline-step::before{
    right:14px !important;
    top:16px !important;
    width:26px !important;
    height:26px !important;
    min-width:26px !important;
    min-height:26px !important;
    font-size:10px !important;
  }
  body.portfolio-redesign article.case-2 .first-section-title strong,
  body.portfolio-redesign article.case-2 .first-section-title h4{
    font-size:18px !important;
  }
}

/* #section4-polish-update */
body.portfolio-redesign article.product-case[data-section4-viewer="true"]{
  max-width:1120px !important;
  padding:34px 28px 32px !important;
}

body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid.visual-suite-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:14px !important;
}

body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4),
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5),
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6),
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7){
  cursor:pointer !important;
}

body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame{
  aspect-ratio:3 / 4 !important;
  min-height:210px !important;
  max-height:none !important;
}

body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card figcaption{
  min-height:48px !important;
  padding:10px 12px !important;
  font-size:12.5px !important;
}

.business-card-grid-card .business-card-mini-slider{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:3 / 4 !important;
  padding:10px !important;
}

.business-card-grid-card .business-card-mini-img{
  object-fit:contain !important;
}

.business-card-mini-nav{
  display:none !important;
}

.business-card-grid-card .business-card-mini-caption{
  min-height:52px !important;
  padding:10px 12px !important;
  gap:10px !important;
}

.business-card-mini-hint{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:28px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(22,20,17,.12) !important;
  background:#fbfaf8 !important;
  color:#171514 !important;
  font-size:10.5px !important;
  font-weight:700 !important;
  white-space:nowrap !important;
}

.section4-viewer{
  padding:20px !important;
}

.section4-viewer-stage{
  width:min(92vw, 1200px) !important;
  height:min(82vh, 900px) !important;
  max-width:min(92vw, 1200px) !important;
  max-height:min(82vh, 900px) !important;
}

.section4-viewer-stage img{
  max-width:min(92vw, 1200px) !important;
  max-height:min(82vh, 900px) !important;
  border-radius:16px !important;
}

.section4-viewer-nav{
  position:fixed !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:10065 !important;
  width:52px !important;
  height:52px !important;
  border-radius:50% !important;
  border:1px solid rgba(255,255,255,.18) !important;
  background:rgba(255,255,255,.14) !important;
  color:#fff !important;
  display:grid !important;
  place-items:center !important;
  font-size:34px !important;
  line-height:1 !important;
  cursor:pointer !important;
  box-shadow:0 12px 30px rgba(0,0,0,.22) !important;
  backdrop-filter:blur(10px) !important;
}

.section4-viewer-prev{
  right:24px !important;
}

.section4-viewer-next{
  left:24px !important;
}

.section4-viewer-nav:disabled,
.section4-viewer.is-single .section4-viewer-nav{
  display:none !important;
}

.section4-viewer-caption{
  position:fixed !important;
  right:50% !important;
  bottom:24px !important;
  transform:translateX(50%) !important;
  z-index:10062 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  max-width:min(90vw, 780px) !important;
  min-height:42px !important;
  padding:10px 16px !important;
  border-radius:999px !important;
  background:rgba(16,18,16,.68) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.5 !important;
  backdrop-filter:blur(10px) !important;
  text-align:center !important;
}

@media(max-width:980px){
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid.visual-suite-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:12px !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame{
    min-height:185px !important;
  }
}

@media(max-width:560px){
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid.visual-suite-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:10px !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame{
    min-height:150px !important;
  }

  .section4-viewer-nav{
    width:44px !important;
    height:44px !important;
    font-size:28px !important;
  }

  .section4-viewer-prev{
    right:12px !important;
  }

  .section4-viewer-next{
    left:12px !important;
  }

  .section4-viewer-caption{
    bottom:14px !important;
    min-height:38px !important;
    padding:8px 12px !important;
    font-size:12px !important;
    max-width:88vw !important;
  }
}

/* #section4-final-fix-link-tall */
body.portfolio-redesign article.product-case[data-section4-viewer="true"]{
  max-width:1180px !important;
  padding:34px 28px 36px !important;
}

body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid.visual-suite-grid{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:16px !important;
  align-items:stretch !important;
}

body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4),
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5),
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6),
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7){
  display:flex !important;
  flex-direction:column !important;
  min-height:390px !important;
  border-radius:20px !important;
}

body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame{
  flex:1 1 auto !important;
  height:330px !important;
  min-height:330px !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  padding:10px !important;
  background:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}

body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame img,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame img,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame img,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame img,
body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
}

body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card figcaption{
  flex:0 0 auto !important;
  min-height:52px !important;
  padding:11px 13px !important;
  font-size:12.5px !important;
}

.business-card-grid-card .business-card-mini-slider{
  height:330px !important;
  min-height:330px !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  padding:10px !important;
}

.business-card-grid-card .business-card-mini-img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
}

.business-card-grid-card .business-card-mini-caption{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
  min-height:52px !important;
}

.business-card-mini-caption .business-card-mini-link{
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:28px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(22,20,17,.12) !important;
  background:#fbfaf8 !important;
  color:#171514 !important;
  font-size:10.5px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  cursor:pointer !important;
}

.business-card-mini-caption .business-card-mini-link:hover{
  background:#171514 !important;
  color:#fff !important;
}

@media(max-width:980px){
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid.visual-suite-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:13px !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4),
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5),
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6),
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7){
    min-height:360px !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame,
  .business-card-grid-card .business-card-mini-slider{
    height:300px !important;
    min-height:300px !important;
  }
}

@media(max-width:560px){
  body.portfolio-redesign article.product-case[data-section4-viewer="true"]{
    padding:22px 12px 26px !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-grid.visual-suite-grid{
    grid-template-columns:1fr !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4),
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5),
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6),
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7){
    min-height:390px !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(4) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(5) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(6) .product-frame,
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card:nth-child(7) .product-frame,
  .business-card-grid-card .business-card-mini-slider{
    height:330px !important;
    min-height:330px !important;
  }
}

/* #hero-digital-marketing-whatsapp-fix */
.hero-mini-flow{
  flex-wrap:wrap !important;
  justify-content:center !important;
}
.exact-contact-pill{
  cursor:pointer !important;
}

/* #section4-black-arrows-update */
.section4-viewer-nav,
.light-arrow,
.business-card-mini-nav,
.business-card-nav,
.grouped-gallery-nav,
button[aria-label="الصورة السابقة"],
button[aria-label="الصورة التالية"]{
  background:#000 !important;
  color:#fff !important;
  border:1px solid #000 !important;
  opacity:1 !important;
  box-shadow:0 14px 30px rgba(0,0,0,.28) !important;
  backdrop-filter:none !important;
}
.section4-viewer-nav:hover,
.light-arrow:hover,
.business-card-mini-nav:hover,
.business-card-nav:hover,
.grouped-gallery-nav:hover,
button[aria-label="الصورة السابقة"]:hover,
button[aria-label="الصورة التالية"]:hover{
  background:#111 !important;
  border-color:#111 !important;
  color:#fff !important;
}
@media(max-width:760px){
  .section4-viewer-nav,
  .light-arrow,
  .business-card-mini-nav,
  .business-card-nav,
  .grouped-gallery-nav,
  button[aria-label="الصورة السابقة"],
  button[aria-label="الصورة التالية"]{
    background:#000 !important;
    opacity:1 !important;
  }
}

/* Mobile NFC card fix: full landscape image with a stacked caption and link. */
@media (max-width:760px){
  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .product-card.business-card-grid-card{
    grid-column:1 / -1 !important;
    width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    align-self:start !important;
    overflow:hidden !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .business-card-grid-card .business-card-mini-slider{
    position:relative !important;
    flex:0 0 auto !important;
    box-sizing:border-box !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    aspect-ratio:2048 / 1325 !important;
    padding:6px !important;
    overflow:hidden !important;
    display:grid !important;
    place-items:center !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .business-card-grid-card .business-card-mini-img{
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .business-card-grid-card .business-card-mini-caption{
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    padding:12px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    align-items:stretch !important;
    justify-content:stretch !important;
    gap:9px !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .business-card-grid-card .business-card-mini-caption span{
    display:block !important;
    width:100% !important;
    text-align:center !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }

  body.portfolio-redesign article.product-case[data-section4-viewer="true"] .business-card-grid-card .business-card-mini-link{
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    min-height:40px !important;
    height:auto !important;
    padding:9px 12px !important;
    font-size:12px !important;
    text-align:center !important;
  }
}
