:root{
  --bg:#000;
  --white:#fff;
  --shadow: 0 20px 60px rgba(0,0,0,.55);

  --font-body:'Inter', sans-serif;
  --font-head:'Sora', sans-serif;
  --font-tech:'Orbitron', sans-serif;

  --red:#E50914;

  --lineY:50vh;
  --leftGutter:56px;
  --rightGutter:56px;
  --belowGap:18px;

  --bigPctColor: rgba(255,255,255,.06);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
button{ font:inherit; }

.screen{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
}
.is-hidden{ display:none !important; }

/* =========================
   PREMIUM ROUTE TRANSITION
   ========================= */
.route-transition{
  position:fixed;
  inset:0;
  z-index:9999;
  pointer-events:none;
  opacity:0;
  background:
    radial-gradient(1000px 600px at 50% 35%, rgba(229,9,20,.16), transparent 58%),
    radial-gradient(900px 500px at 70% 60%, rgba(255,255,255,.07), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.92));
  backdrop-filter: blur(10px);
  transform: scale(1.02);
  transition: opacity .45s ease, transform .45s ease;
}
.route-transition.is-on{
  opacity:1;
  transform: scale(1);
}

/* MOBILE BLOCK */
.mobile-block{
  position:fixed;
  inset:0;
  background:#000;
  color:#fff;
  display:none;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px;
  z-index:10000;
}
.mobile-block-card{ max-width:420px; }
.mobile-block-card h1{
  font-family: var(--font-head);
  font-size:32px;
  font-weight:600;
  margin:0 0 14px 0;
}
.mobile-block-card p{
  margin:0;
  font-size:16px;
  line-height:1.6;
  color:rgba(255,255,255,.8);
}
@media (max-width:768px){
  .mobile-block{ display:flex; }
  .screen{ display:none !important; }
  body{ overflow:hidden; }
}

/* =========================
   LOADER
   ========================= */
.screen--loader{
  background:#000;
  opacity:1;
  transition: opacity .45s ease;
}

.loader-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1100px 520px at 40% 30%, rgba(255,255,255,.07), transparent 62%),
    radial-gradient(900px 520px at 70% 60%, rgba(255,255,255,.05), transparent 62%),
    image-set(
      url("../assets/images/backgrounds/loader-bg.webp") type("image/webp"),
      url("../assets/images/backgrounds/loader-bg.jpg") type("image/jpeg")
    );
  background-size: cover;
  background-position: center;
  filter: saturate(.95) contrast(1.05);
  transform: scale(1.03);
}

/* Big background percentage */
.loader-bigpct{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family: var(--font-tech);
  font-weight:800;
  font-size: clamp(120px, 22vw, 360px);
  letter-spacing: .10em;
  color: var(--bigPctColor);
  text-transform: uppercase;
  user-select:none;
  pointer-events:none;
  text-shadow: 0 10px 40px rgba(0,0,0,.45);
}

/* Track line */
.loader-line{
  position:absolute;
  left:var(--leftGutter);
  right:var(--rightGutter);
  top:var(--lineY);
  height:1px;
  background:rgba(255,255,255,.22);
}
.loader-fill{
  height:100%;
  width:0%;
  background: var(--red);
  box-shadow: 0 0 22px rgba(229, 9, 20, .35);
  transition: width .12s linear;
}

/* Identity below line */
.loader-identity{
  position:absolute;
  left:var(--leftGutter);
  top: calc(var(--lineY) + var(--belowGap));
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.kp-mark{
  font-family: var(--font-head);
  font-weight:800;
  letter-spacing:.08em;
  font-size:58px;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  text-transform: uppercase;
  line-height:1;
  transform: translateY(-2px);
}
.loader-meta .role{
  font-weight:600;
  font-size:16px;
  opacity:.9;
}
.loader-meta .tags{
  font-size:12px;
  opacity:.72;
  margin-top:3px;
}
.kp-loaderSvg{
  width: 84px;
  height: 54px;
  display:block;
  filter: drop-shadow(0 0 18px rgba(229,9,20,.25));
}

/* =========================
   PROFILES
   ========================= */
.screen--profiles{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#000;
  opacity:0;
  transition: opacity .55s ease;
}
.profiles-visible{ opacity:1; }

.profiles-bg{
  position:absolute;
  inset:0;
  background-image: image-set(
    url("../assets/images/backgrounds/profile-bg-1.webp") type("image/webp"),
    url("../assets/images/backgrounds/profile-bg-1.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position:center;
  transform:scale(1.03);
  filter: grayscale(.20) contrast(1.05);
  transition: opacity .8s ease;
  opacity:1;
}

.profiles-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.profiles-center{
  position:relative;
  text-align:center;
  padding: 48px 16px;
  transform: translateY(159px);
}

.profiles-title{
  font-family: var(--font-head);
  font-weight:400;
  font-size: clamp(40px, 5vw, 72px);
  margin: 0 0 34px 0;
  letter-spacing: .01em;
}

.profiles-row{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap: 34px;
  flex-wrap: wrap;
}

.profile-card{
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
  color:#fff;
  text-align:center;
  outline:none;
}

.avatar{
  width:132px;
  height:132px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: var(--shadow);
  overflow:hidden;
  transition: transform .25s ease;
}

.avatar--cyan{ background:#19b1d2; }
.avatar--gray{ background:#7d7d7d; }
.avatar--red{ background:#e11b22; }
.avatar--amber{ background:#f59f0b; }

.avatar img{
  width:88px;
  height:88px;
  object-fit:contain;
  transform: translateY(2px);
}
.profile-card:hover .avatar{ transform: scale(1.06); }
.profile-card:active .avatar{ transform: scale(1.02); }

.profile-label{
  margin-top:14px;
  font-size:26px;
  color: rgba(255,255,255,.92);
}

/* Modal */
.modal{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.6);
  padding:20px;
  z-index:5;
}
.modal.is-hidden{ display:none; }
.modal-card{
  width:min(520px, 92vw);
  background: rgba(15,15,15,.9);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.modal-title{
  font-family: var(--font-head);
  margin: 0 0 10px 0;
  font-size: 28px;
  font-weight: 600;
}
.modal-text{
  margin: 0 0 18px 0;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}
.modal-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.btn{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color:#fff;
  padding: 10px 14px;
  border-radius: 12px;
  cursor:pointer;
  font-family: var(--font-body);
}
.btn--primary{
  background: var(--red);
  border-color: var(--red);
}

@media (max-width:1280px){
  :root{
    --leftGutter:28px;
    --rightGutter:28px;
  }
}

/* =========================
   RECRUITER HOME (your patches)
   ========================= */

.screen--recruiter{
  overflow:auto;
  background:
    radial-gradient(1200px 600px at 20% 15%, #171515 0%, #141414 55%, #141414 100%),
    radial-gradient(1000px 500px at 80% 65%, #171515 0%, #141414 60%, #141414 100%);
}

.r-page{
  padding: 88px 56px 0;
  padding-bottom: 0;
}

/* Top nav */
.r-nav{
  position:fixed;
  top:0; left:0; right:0;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 56px;
  z-index:60;
  background: linear-gradient(to bottom, rgba(0,0,0,.78), rgba(0,0,0,.18));
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.r-nav.is-solid{
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(60px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.r-kpMark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 55px;
  height: 55px;
 
}

.kp-svg{
  width: 55px;
  height: 55px;
  display:block;
}

/* Mini avatar */
.r-miniAvatar{
  display: block;
  width:42px;
  height:42px;
  border-radius:10px;
  padding:3px;
  background:#19b1d2;
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  

}
.r-miniAvatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:8px;
  display:block;
  background: transparent;
}

/* Center nav */
.r-nav__center{
  display:flex;
  gap:22px;
  align-items:center;
  justify-content:center;
}
.r-navlink{
  font-size:13px;
  color: rgba(255,255,255,.80);
  padding: 10px 12px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.r-navlink:hover{
  background: rgba(255,255,255,.08);
  color:#fff;
}
.r-navlink.is-active{
  background: rgba(255,255,255,.10);
  color: var(--red);
}

/* Right */
.r-nav__right{
  display:flex;
  align-items:center;
  gap:14px;
  position:relative;
}
.r-kpMark{
  font-family: var(--font-head);
  font-weight:800;
  letter-spacing:.08em;
  font-size:24px;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--red);
  text-transform: uppercase;
}

/* Menu button */
/* =========================
   NETFLIX STYLE SIDE SHEET
   ========================= */

.r-menuBtn{
  width:40px; height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
}
.r-menuBtn:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.r-menuBtn:active{ transform: scale(.98); }
.r-menuBtn svg{
  width:18px; height:18px;
  fill: rgba(255,255,255,.90);
}

/* Overlay */
.r-sheetOverlay{
  position:fixed;
  inset:0;
  z-index: 200;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  opacity:0;
  transition: opacity .22s ease;
}
.r-sheetOverlay.is-hidden{ display:none; }
.r-sheetOverlay.is-on{ opacity:1; }

/* Side sheet */
.r-sheet{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width: min(360px, 92vw);
  z-index: 220;

  background: rgba(12,12,12,.94);
  border-left: 1px solid rgba(255,255,255,.12);
  box-shadow: -30px 0 90px rgba(0,0,0,.70);
  backdrop-filter: blur(12px);

  transform: translateX(102%);
  opacity: 1;
  transition: transform .28s cubic-bezier(.2,.9,.2,1);
  display:flex;
  flex-direction:column;
}
.r-sheet.is-hidden{ display:none; }
.r-sheet.is-open{ transform: translateX(0); }

/* Header */
.r-sheetHeader{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 16px 16px 14px;
}
.r-sheetAvatar{
  width:46px;
  height:46px;
  border-radius: 14px;
  padding:3px;
  background:#19b1d2;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.50);
  flex: 0 0 auto;
}
.r-sheetAvatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius: 12px;
  display:block;
}

.r-sheetMeta{ flex:1; min-width:0; }
.r-sheetName{
  font-weight:800;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.r-sheetMode{
  margin-top:3px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}

/* Close */
.r-sheetClose{
  width:38px; height:38px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.r-sheetClose:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.r-sheetClose:active{ transform: scale(.98); }
.r-sheetClose svg{
  width:18px; height:18px;
  fill: rgba(255,255,255,.88);
}

/* Divider */
.r-sheetDivider{
  height:1px;
  background: rgba(255,255,255,.08);
}

/* Body */
.r-sheetBody{
  padding: 10px 10px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  overflow:auto;
}

.r-sheetItem{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  padding: 12px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: background .16s ease, border-color .16s ease, transform .12s ease;
}

.r-sheetItem::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  bottom:10px;
  width:3px;
  border-radius: 999px;
  background: var(--red);
  opacity:0;
  transition: opacity .16s ease;
}

.r-sheetItem:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  transform: translateY(-1px);
  color:#fff;
}
.r-sheetItem:hover::before{ opacity:1; }

.r-sheetIcon{
  width:18px; height:18px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  opacity:.92;
}
.r-sheetIcon svg{
  width:18px; height:18px;
  fill: rgba(255,255,255,.88);
}

.r-sheetText{ flex:1; min-width:0; }
.r-sheetExternal{
  width:18px; height:18px;
  display:grid;
  place-items:center;
  opacity:.6;
}
.r-sheetExternal svg{
  width:18px; height:18px;
  fill: rgba(255,255,255,.70);
}

/* Footer */
.r-sheetFooter{
  margin-top:auto;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
  font-size: 12px;
}
.r-key{
  display:inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
}

.r-menuBtn:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.r-menuBtn:active{ transform: scale(.98); }
.r-menuBtn svg{
  width:18px; height:18px;
  fill: rgba(255,255,255,.86);
}

/* dropdown */
.r-menu{
  position:absolute;
  top: 56px;
  right: 0;
  width: 220px;
  border-radius: 14px;
  overflow:hidden;
  background: rgba(10,10,10,.92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}
.r-menuItem{
  display:block;
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(255,255,255,.90);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.r-menuItem:last-child{ border-bottom: 0; }
.r-menuItem:hover{
  background: rgba(255,255,255,.08);
  color:#fff;
}

/* Hero */
.r-hero{
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  aspect-ratio: 1760 / 824;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.06);
  background: #000;
  box-shadow:
    0 30px 80px rgba(0,2,2,.75),
    0 10px 30px rgba(0,4,4,.45);
  display:flex;
  align-items:flex-end;
  position:relative;
}
.r-hero__media{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.r-heroVideo{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
  filter: contrast(1.02) saturate(1.05);
  
}

.r-hero__shade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 30% 55%, rgba(0,0,0,.38), transparent 62%),
    linear-gradient(90deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.16) 55%, rgba(0,0,0,.24) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.22));
}
.r-hero__content{
  position:relative;
  z-index:2;
  padding: 0 56px 64px;
  max-width: 720px;
}



.r-name{
  margin:0;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .02em;
  font-size: 56px;
  line-height: 1.02;
}
.r-subtitle{
  margin-top:10px;
  font-size: 13px;
  color: rgba(255,255,255,.80);
}
.r-desc{
  margin-top:16px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
  max-width: 520px;
}

/* Buttons */
.r-hero__buttons{
  display:flex;
  gap:14px;
  margin-top:22px;
}
.r-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color:#fff;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, filter .2s ease;
}
.r-btn:hover{
  transform: translateY(-1px);
  background: rgba(133, 20, 20, 0.12);
  border-color: rgba(151, 7, 7, 0.26);
}
.r-btn:active{ transform: scale(.98); }
.r-btn--primary{
  background: var(--red);
  border-color: var(--red);
  font-weight: 700;
}
.r-btn--primary:hover{ filter: brightness(1.06); }
.r-btn--ghost:hover{ background: rgba(255,255,255,.14); }
.r-btn svg{ width:18px; height:18px; fill: currentColor; display:block; }

/* Sections */
.r-section{ margin-top: 26px; }
.r-section__title{
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
  margin: 22px 0 14px;
}

/* Rails */
.r-rail{
  display:flex;
  gap:18px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  padding: 6px 6px 22px;
  cursor: grab;
  scrollbar-width: none;
}
.r-rail::-webkit-scrollbar{ height:0px; }
.r-card{
  flex: 0 0 auto;
  width: 295px;
  height: 332.34px;
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.06);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  background:#0b0b0f;
  scroll-snap-align:start;
}
.r-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.r-card:hover{
  transform: scale(1.06);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 28px 70px rgba(0,0,0,.65);
}

/* Footer */
.r-footer{
  width:100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 36px 0 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(1200px 300px at 20% 0%, rgba(229,9,20,.14), transparent 55%),
    radial-gradient(1200px 300px at 80% 0%, rgba(255,255,255,.06), transparent 55%),
    rgba(0,0,0,.85);
}

.r-footer__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  max-width:1760px;
  margin:0 auto;
  padding: 0 56px;
}
.r-footerName{
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--red);
  letter-spacing: .02em;
}
.r-footerRole{
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.r-footer__icons{
  display:flex;
  gap:12px;
  align-items:center;
}
.r-iconBtn{
  width:38px;
  height:38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.r-iconBtn svg{
  width:18px;
  height:18px;
  fill: rgba(255,255,255,.88);
}
.r-iconBtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

.r-footer__bottom{
  padding: 18px 56px 0;
  max-width:1760px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color: rgba(255,255,255,.55);
}
.r-footerMark{
  font-weight:700;
  letter-spacing:.06em;
  opacity:.35;
}

/* =========================
   PROFESSIONAL (Roadmap / Scrollytelling)
   ========================= */

/* =========================
   PROFESSIONAL — NETFLIX CHAPTERS + DETAIL PANEL
   ========================= */

.pro-body{ background:#000; overflow-x:hidden; }

.pro-page{
  min-height:100vh;
  padding-top:84px;
  background:
    radial-gradient(1200px 520px at 25% 10%, rgba(229,9,20,.14), transparent 62%),
    radial-gradient(900px 520px at 78% 55%, rgba(255,255,255,.05), transparent 62%),
    #000;
}

/* header (tight) */
.pro-header{
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 56px 10px;
}
.pro-title{
  margin:0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 46px);
  letter-spacing:.01em;
}
.pro-sub{
  margin:6px 0 0 0;
  color: rgba(255,255,255,.70);
  font-size: 13px;
  line-height: 1.55;
  max-width: 760px;
}

/* layout */
.pro-layout{
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 56px 60px;
  display:grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
  align-items: start;
}

/* LEFT list */
.pro-list{
  background: rgba(10,10,10,.42);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow:auto;
}
.pro-list::-webkit-scrollbar{ width: 10px; }
.pro-list::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.10);
  border-radius: 99px;
}
.pro-list::-webkit-scrollbar-track{ background: transparent; }

.pro-item{
  width:100%;
  display:grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items:center;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.04);
  color:#fff;
  cursor:pointer;
  text-align:left;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  margin-bottom: 10px;
}
.pro-item:last-child{ margin-bottom:0; }
.pro-item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.10);
}

.pro-itemIcon{
  width:44px;
  height:44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
}

.pro-itemTitle{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing:.01em;
  margin-bottom: 3px;
}
.pro-itemMeta{
  font-size: 12px;
  color: rgba(255,255,255,.64);
  line-height: 1.35;
}
.pro-itemYear{
  font-size: 11px;
  color: rgba(255,255,255,.55);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
}

.pro-item.is-active{
  background: rgba(229,9,20,.10);
  border-color: rgba(229,9,20,.26);
}
.pro-item.is-active .pro-itemYear{
  border-color: rgba(229,9,20,.35);
  color: rgba(229,9,20,.95);
}
.pro-item--current.is-active{
  background: rgba(229,9,20,.16);
}

/* RIGHT detail panel */
.pro-detail{
  border-radius: 20px;
  overflow:hidden;
  background:
    radial-gradient(900px 260px at 22% 0%, rgba(229,9,20,.16), transparent 60%),
    radial-gradient(900px 260px at 85% 10%, rgba(255,255,255,.05), transparent 60%),
    rgba(18,18,18,.78);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 80px rgba(0,0,0,.66);
  backdrop-filter: blur(10px);
  padding: 18px;
  min-height: 520px;
}

.pro-detailTop{
  display:flex;
  gap: 14px;
  align-items:center;
  padding: 6px 4px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pro-detailBadge{
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  font-size: 26px;
}
.pro-detailRole{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 6px;
}
.pro-detailOrg{
  font-size: 13px;
  color: rgba(255,255,255,.78);
  line-height: 1.45;
}
.pro-red{ color: rgba(229,9,20,.92); font-weight: 700; }

.pro-detailBody{
  padding: 14px 4px 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.76);
  max-width: 820px;
}

.pro-detailHint{
  margin-top: 16px;
  color: rgba(255,255,255,.50);
  font-size: 12px;
  padding: 0 4px;
}

/* tighter on smaller desktops */
@media (max-width: 1280px){
  .pro-header, .pro-layout{ padding-left: 28px; padding-right: 28px; }
  .pro-layout{ grid-template-columns: 380px 1fr; }
}

/* NOTE: your nav/back button styles still come from style.css */

/*=========================
    What-people-say SECTION
    ========================= */

.wps-body{
  background:#000;
  overflow-x:hidden;
}

.wps-page{
  min-height: 100vh;
  padding-top: 88px;
  background:
    radial-gradient(1100px 520px at 35% 18%, rgba(229,9,20,.10), transparent 62%),
    radial-gradient(900px 520px at 70% 60%, rgba(255,255,255,.06), transparent 62%),
    #000;
}

.wps-nav .r-navlink.is-active{ color: var(--red); }

/* Header */
.wps-head{
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 56px 6px;
}
.wps-title{
  margin:0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(38px, 4.5vw, 64px);
  letter-spacing: .01em;
}
.wps-sub{
  margin: 10px 0 0 0;
  color: rgba(255,255,255,.70);
  font-size: 14px;
  line-height: 1.55;
}

/* Stage */
.wps-stage{
  padding: 14px 0 56px;
}

/* Frame (arrows + viewport) */
.wps-frame{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
  display:grid;
  grid-template-columns: 60px 1fr 60px;
  gap: 14px;
  align-items:center;
}

/* Viewport */
.wps-viewport{
  overflow:hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(18,18,18,.55);
  box-shadow: 0 30px 90px rgba(0,0,0,.68);
  backdrop-filter: blur(10px);
  position:relative;
  user-select:none;
  cursor: grab;
  height: 560px;
}
.wps-viewport.is-dragging{ cursor: grabbing; }

.wps-track{
  display:flex;
  height: 100%;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.wps-track.is-animating{
  transition: transform .55s cubic-bezier(.22,.8,.25,1);
}

.wps-slide{
  flex: 0 0 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
}

.wps-slide img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* no cropping even if aspect ratios differ */
  display:block;
  filter: contrast(1.02) saturate(1.02);
}

/* Arrows */
.wps-arrow{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.wps-arrow:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}
.wps-arrow:active{ transform: scale(.98); }
.wps-arrow span{
  font-size: 30px;
  line-height: 1;
  transform: translateY(-1px);
}

/* Dots */
.wps-dots{
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 0 56px;
  display:flex;
  justify-content:center;
  gap: 10px;
}
.wps-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.10);
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.wps-dot:hover{ transform: scale(1.15); }
.wps-dot.is-active{
  background: var(--red);
  border-color: rgba(229,9,20,.55);
  box-shadow: 0 0 18px rgba(229,9,20,.28);
}

.wps-hint{
  max-width: 1200px;
  margin: 12px auto 0;
  padding: 0 56px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  text-align:center;
}

/*=========================
    credentials SECTION
    ========================= */

    /* Credentials page — Quiet Authority (left-weighted, calm) */

.cred-body{
  background:#000;
  overflow-x:hidden;
}

/* Keep your existing .mobile-block rules from style.css working */

.cred-page{
  min-height:100vh;
  background:
    radial-gradient(1100px 520px at 35% 18%, rgba(229,9,20,.10), transparent 62%),
    radial-gradient(900px 520px at 70% 60%, rgba(255,255,255,.06), transparent 62%),
    #000;
}

/* Header spacing under fixed nav */
.cred-head{
  padding: 130px 56px 0;
}

.cred-title{
  margin:0;
  font-family: var(--font-head);
  font-weight:600;
  font-size: clamp(38px, 4.5vw, 64px);
  letter-spacing: .01em;
  color: rgba(255,255,255,.95);
}

/* Left-weighted grid */
.cred-grid{
  padding: 28px 56px 56px;
  display:flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 980px;  /* keeps it left, not full width */
}

/* Card */
.cred-card{
  width: 360px;
  min-height: 132px;
  display:flex;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 16px;
  background: rgba(18,18,18,.72);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.cred-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.16);
  background: rgba(20,20,20,.80);
}

/* Icon */
.cred-icon{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
  flex: 0 0 auto;
}

.cred-icon svg{
  width: 22px;
  height: 22px;
}

/* Text */
.cred-cardTitle{
  font-family: var(--font-head);
  font-weight:600;
  font-size: 18px;
  color: rgba(255,255,255,.92);
  margin-top: 2px;
}

.cred-cardSub{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}

.cred-cardMeta{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(229,9,20,.90); /* subtle red accent */
}

/* responsive spacing */
@media (max-width: 1280px){
  .cred-head{ padding-left: 28px; padding-right: 28px; }
  .cred-grid{ padding-left: 28px; padding-right: 28px; }
}

/* =========================
   SKILLS PAGE
   ========================= */

.skills-body{
  background:#000;
  overflow-x:hidden;
}

.skills-page{
  min-height:100vh;
  padding: 110px 56px 90px;
  background:
    radial-gradient(1100px 520px at 35% 18%, rgba(229,9,20,.10), transparent 62%),
    radial-gradient(900px 520px at 70% 60%, rgba(255,255,255,.06), transparent 62%),
    #000;
}

.skills-capabilities,
.skills-stack{
  max-width: 1760px;
  margin: 0 auto;
}

.skills-title{
  margin:0 0 18px 0;
  font-family: var(--font-head);
  font-weight:600;
  font-size: clamp(38px, 4.5vw, 64px);
  letter-spacing: .01em;
  color: rgba(255,255,255,.95);
}

/* ===== Capabilities rail (Netflix-like) ===== */
.skills-railWrap{
  position: relative;
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 34px;
}

.skills-arrow{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
  user-select:none;
}
.skills-arrow:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}
.skills-arrow:active{ transform: scale(.98); }

.skills-rail{
  flex: 1 1 auto;
  display:flex;
  gap:18px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  padding: 6px 6px 18px;
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.skills-rail::-webkit-scrollbar{ display:none; }
.skills-rail.is-dragging{ cursor: grabbing; user-select:none; }

.cap-card{
  flex: 0 0 auto;
  width: 420px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(18,18,18,.72);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  padding: 18px 18px 16px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cap-card:hover{
  transform: translateY(-2px);
  border-color: rgba(229,9,20,.28);
  box-shadow: 0 28px 80px rgba(0,0,0,.65);
}
.cap-card h3{
  margin:0 0 12px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.cap-card ul{
  margin:0;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.55;
}

/* ===== Stack blocks ===== */
.skills-stack{ margin-top: 10px; }

.stack-group{ margin-top: 26px; }
.stack-group h2{
  margin: 0 0 14px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}

.stack-grid{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

/* Tool card */
.tool-card{
  --brand: var(--red);
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-align:left;
  min-height: 52px;
}

.tool-card img{
  width: 22px !important;
  height: 22px !important;
  object-fit: contain;
  display:block;
  flex: 0 0 22px;
  max-width: 22px !important;
  max-height: 22px !important;
}

.tool-card span{
  font-size: 13px;
  line-height: 1;
}

.tool-card:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05),
    0 22px 70px rgba(0,0,0,.55),
    0 0 28px color-mix(in srgb, var(--brand) 65%, transparent);
}
.tool-card:active{ transform: scale(.99); }

.stack-group--last{ margin-bottom: 10px; }

/* Responsive */
@media (max-width: 1400px){
  .stack-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px){
  .stack-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* =========================
   work-with-me
   ========================= */

   .wwm-body{
  background:#000;
  overflow-x:hidden;
}

/* page background like others */
.wwm-page{
  min-height: 100vh;
  padding: 96px 56px 72px;
  background:
    radial-gradient(1100px 520px at 35% 18%, rgba(229,9,20,.10), transparent 62%),
    radial-gradient(900px 520px at 70% 60%, rgba(255,255,255,.06), transparent 62%),
    #000;
}

.wwm-wrap{
  max-width: 1760px;
  margin: 0 auto;
  display:flex;
  gap: 26px;
  align-items:center;
  justify-content:center;
  min-height: calc(100vh - 180px);
}

/* cards */
.wwm-card{
  border-radius: 22px;
  background: rgba(18,18,18,.78);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.wwm-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 28px 90px rgba(0,0,0,.65);
}

/* left profile card */
.wwm-card--profile{
  width: 560px;
  padding: 34px 32px 30px;
  text-align:center;
}

.wwm-avatar{
  width: 160px;
  height: 160px;
  border-radius: 999px;
  margin: 0 auto 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  background: rgba(255,255,255,.06);
}
.wwm-avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.wwm-name{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: .01em;
}

.wwm-role{
  margin-top: 8px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}

/* buttons */
.wwm-actions{
  margin-top: 26px;
  display:flex;
  gap: 14px;
  justify-content:center;
  flex-wrap: wrap;
}

.wwm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color:#fff;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, filter .2s ease;
}
.wwm-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
}
.wwm-btn:active{ transform: scale(.99); }

.wwm-btn--ghost{
  background: rgba(255,255,255,.06);
}

.wwm-btn--linkedin{
  background: #0a66c2;
  border-color: rgba(10,102,194,.9);
}
.wwm-btn--linkedin:hover{ filter: brightness(1.06); }

/* right pitch card */
.wwm-card--pitch{
  width: 760px;
  padding: 28px 30px;
}

.wwm-pitch p{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.65;
}
.wwm-pitch p strong{
  color: rgba(255,255,255,.95);
  font-weight: 700;
}

/* email CTA */
.wwm-emailBtn{
  margin-top: 18px;
  display:inline-flex;
  align-items:center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--red);
  border: 1px solid var(--red);
  color:#fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 20px 55px rgba(229,9,20,.25);
  transition: transform .15s ease, filter .2s ease;
}
.wwm-emailBtn:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.wwm-emailBtn:active{ transform: scale(.99); }

.wwm-mailIcon{
  width: 20px;
  height: 20px;
  display:grid;
  place-items:center;
}
.wwm-mailIcon svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
  display:block;
}

/* responsive */
@media (max-width: 1280px){
  .wwm-wrap{ flex-direction: column; }
  .wwm-card--profile, .wwm-card--pitch{ width: min(760px, 92vw); }
  .wwm-page{ padding: 96px 28px 72px; }
}

/* =========================
   Portfolio.CSS
   ========================= */

   .pf-body{
  background:#000;
  overflow-x:hidden;
}

.pf-page{
  min-height:100vh;
  padding: 106px 56px 70px;
  background:
    radial-gradient(1100px 520px at 35% 18%, rgba(229,9,20,.10), transparent 62%),
    radial-gradient(900px 520px at 70% 60%, rgba(255,255,255,.06), transparent 62%),
    #000;
}

.pf-head{
  max-width: 980px;
}
.pf-title{
  margin:0;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: clamp(38px, 4.5vw, 58px);
  letter-spacing:.01em;
}
.pf-sub{
  margin: 10px 0 0;
  color: rgba(255,255,255,.70);
  font-size: 14px;
  line-height: 1.6;
}

.pf-rails{
  margin-top: 34px;
  display:flex;
  flex-direction:column;
  gap: 34px;
}

/* Section */
.pf-sectionTitle{
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 22px;
  margin: 0 0 14px 0;
  color: rgba(255,255,255,.92);
}

/* Rail */
.pf-rail{
  position: relative;
  display:flex;
  gap: 18px;
  overflow-x:auto;
  padding: 10px 6px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pf-rail::-webkit-scrollbar{ display:none; }

.pf-rail.is-dragging{
  cursor: grabbing;
}
.pf-rail{ cursor: grab; }

/* Card */
.pf-card{
  flex: 0 0 auto;
  width: 270px;
  height: 170px;
  border-radius: 18px;
  background: rgba(22,22,22,.75);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);

  position: relative;
  overflow:hidden;
  scroll-snap-align: start;

  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

.pf-card:hover{
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(229,9,20,.35);
  box-shadow: 0 28px 90px rgba(0,0,0,.65);
}

.pf-card.is-disabled{
  opacity:.55;
  filter: grayscale(.2);
}
.pf-card.is-disabled:hover{
  transform:none;
  border-color: rgba(255,255,255,.10);
}

.pf-cardBtn{
  width:100%;
  height:100%;
  border:0;
  background: transparent;
  color: inherit;
  text-align:left;
  padding: 16px;
  display:flex;
  flex-direction:column;
  justify-content: space-between;
  cursor:pointer;
}

.pf-card.is-disabled .pf-cardBtn{ cursor:not-allowed; }

.pf-cardTop{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.pf-badge{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.pf-live{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(229,9,20,.95);
}
.pf-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(229,9,20,.55);
}

.pf-cardTitle{
  margin-top: 10px;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 22px;
  color: rgba(255,255,255,.93);
  line-height: 1.15;
  max-width: 100%;
}

.pf-cardMeta{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  line-height: 1.4;
}

/* Thumbnail layer (optional logo/placeholder) */
.pf-thumb{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(700px 240px at 20% 20%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(600px 260px at 85% 70%, rgba(229,9,20,.10), transparent 62%);
  opacity: .8;
}
.pf-card:hover .pf-thumb{
  opacity: 1;
}

/* Modal */
.pf-modal{
  position: fixed;
  inset: 0;
  z-index: 200;
}
.pf-modal.is-hidden{ display:none; }

.pf-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}

.pf-modal__card{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1060px, calc(100vw - 120px));
  height: min(700px, calc(100vh - 140px));
  border-radius: 22px;
  background: rgba(14,14,14,.88);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 35px 120px rgba(0,0,0,.75);
  overflow:hidden;

  display:flex;            /* ✅ important */
  flex-direction:column;   /* ✅ important */
}

.pf-modal__close{
  position:absolute;
  right: 16px;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  cursor:pointer;
}

.pf-modal__top{
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.pf-modal__title{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}

.pf-modal__meta{
  font-size: 13px;
  color: rgba(255,255,255,.65);
}

.pf-modal__body{
  flex: 1 1 auto;
  min-height: 0;       /* VERY IMPORTANT */
  padding: 14px 18px;
  overflow: hidden;
  display: flex;
}


.pf-viewer{
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: #000;
  overflow: auto;          /* scroll instead of cut */
  display:flex;
  align-items:center;
  justify-content:center;
}


/* media */
.pf-viewer img,
.pf-viewer video{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0,0,0,.35);
}

.pf-modal__footer{
  height: 70px;
  padding: 10px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.pf-dots{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pf-dotBtn{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.22);
  cursor:pointer;
}
.pf-dotBtn.is-on{
  background: var(--red);
  box-shadow: 0 0 14px rgba(229,9,20,.45);
}

.pf-modal__arrows{
  display:flex;
  gap: 10px;
}
.pf-arrow{
  width: 44px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  cursor:pointer;
  font-size: 18px;
}
.pf-arrow:hover{
  border-color: rgba(229,9,20,.30);
}

/* extra breathing space bottom */
@media (max-height: 760px){
  .pf-page{ padding-bottom: 96px; }
}
/* ================================
   PORTFOLIO RAIL — smooth & premium
================================== */

/* Use this class on your portfolio rows */
.pf-rail{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: visible;

  padding: 6px 2px 18px;
  scroll-behavior: smooth;

  /* Smooth momentum on trackpads */
  -webkit-overflow-scrolling: touch;

  /* Reduce "snappy" feel */
  scroll-snap-type: none;

  /* hide scrollbar */
  scrollbar-width: none;
}
.pf-rail::-webkit-scrollbar{ display:none; }

/* Better drag feel */
.pf-rail.is-dragging{
  cursor: grabbing !important;
  user-select: none;
  scroll-behavior: auto;  /* disable snap/smooth while dragging */
}

/* Cards should NOT force snap */
.pf-card{
  flex: 0 0 auto;
}
/* ================================
   Prevent fake scrolling on short rows
================================== */
.pf-rail[data-lock="true"]{
  overflow-x: hidden !important;   /* no scroll */
  cursor: default !important;      /* no hand */
}

/* ===== Portfolio rail arrows (Netflix hint) ===== */
.pf-railWrap{
  position: relative;
}

.pf-railArrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.90);
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index: 5;

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.pf-railWrap:hover .pf-railArrow{
  opacity: 1;
  pointer-events: auto;
}

.pf-railArrow:hover{
  background: rgba(229,9,20,.18);
  border-color: rgba(229,9,20,.28);
  transform: translateY(-50%) scale(1.03);
}

.pf-railArrow--left{ left: 10px; }
.pf-railArrow--right{ right: 10px; }

.pf-railArrow.is-hidden{
  display:none !important;
}


.pf-railWrap{ position:relative; }

.pf-railArrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:64px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.35);
  color:rgba(255,255,255,.90);
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:5;

  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
  backdrop-filter: blur(10px);
}

.pf-railWrap:hover .pf-railArrow{
  opacity:1;
  pointer-events:auto;
}

.pf-railArrow:hover{
  background: rgba(229,9,20,.18);
  border-color: rgba(229,9,20,.28);
  transform: translateY(-50%) scale(1.03);
}

.pf-railArrow--left{ left:10px; }
.pf-railArrow--right{ right:10px; }

.pf-railArrow.is-hidden{ display:none !important; }

/* Optional Netflix edge fades */
.pf-railFade{
  position:absolute;
  top:0;
  bottom:0;
  width: 90px;
  pointer-events:none;
  z-index: 4;
}
.pf-railFade--left{
  left:0;
  background: linear-gradient(90deg, rgba(0,0,0,.90), rgba(0,0,0,0));
}
.pf-railFade--right{
  right:0;
  background: linear-gradient(270deg, rgba(0,0,0,.90), rgba(0,0,0,0));
}
.pf-railFade.is-hidden{ display:none; }



/*Skill card scroll fade*/

/* Motion row: horizontal scroll */
.sk-cards--scroll{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 14px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sk-cards--scroll::-webkit-scrollbar{ display:none; }

/* Better grab cursor */
.sk-cards--scroll{ cursor: grab; }
.sk-cards--scroll.is-dragging{ cursor: grabbing; user-select:none; }

/* Make sure cards don't shrink */
.sk-cards--scroll > *{ flex: 0 0 auto; }


.pf-modalLinks{
  margin-top: 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding: 0 2px;
}
.pf-modalLinkBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.88);
  font-size:13px;
  text-decoration:none;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.pf-modalLinkBtn:hover{
  background:rgba(229,9,20,.18);
  border-color:rgba(229,9,20,.35);
  transform: translateY(-1px);
}
/* ===============================
   MODAL LINKS — Netflix-like chips
================================ */
.pf-linksBlock{
  width: 100%;
  padding: 14px 14px 6px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(to bottom, rgba(0,0,0,.00), rgba(0,0,0,.18));
}

.pf-linksLabel{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
}

.pf-linksRow{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pf-linkChip{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  text-decoration:none;
  font-size: 13px;
  line-height: 1;
  max-width: 100%;
  transition: transform .16s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.pf-linkChip:hover{
  transform: translateY(-1px);
  background: rgba(229,9,20,.18);
  border-color: rgba(229,9,20,.32);
  box-shadow: 0 18px 60px rgba(0,0,0,.45), 0 0 22px rgba(229,9,20,.18);
}

.pf-linkIcon{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
  flex: 0 0 26px;
  font-size: 14px;
}

.pf-linkText{
  display:block;
  max-width: min(520px, 60vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Modal layout: Media full width + links below (Netflix style) ===== */
.pf-viewWrap{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pf-mediaBox{
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  overflow: hidden;
  display: grid;
  place-items: center;
}

/* media keeps aspect without cutting */
.pf-mediaBox img,
.pf-mediaBox video{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0,0,0,.35);
}

.pf-linksBox{
  flex: 0 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  padding: 12px;
}

.pf-linksTitle{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  margin: 0 0 10px 0;
}

.pf-linksList{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pf-linkPill{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.88);
  text-decoration: none;
  transition: transform .15s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.pf-linkPill:hover{
  transform: translateY(-1px);
  border-color: rgba(229,9,20,.26);
  background: rgba(229,9,20,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.pf-linkIcon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
  font-weight: 900;
}

.pf-linkText{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
}

/* Unified modal layout (no split) */
.pf-viewWrap{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

/* Media box: never crop */
.pf-mediaBox{
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  overflow: hidden;
  padding: 12px;
}
.pf-mediaBox img{
  width: 100%;
  height: auto;
  display:block;
}
.pf-mediaBox video{
  width: 100%;
  height: auto;
  display:block;
  max-height: 70vh;
}

/* Links area (Netflix-like horizontal cards) */
.pf-linksBox{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  padding: 12px;
}

.pf-linksTitle{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(255,255,255,.72);
  margin: 2px 0 10px;
}

.pf-linksRail{
  display:flex;
  gap: 12px;
  overflow-x:auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.pf-linksRail::-webkit-scrollbar{ display:none; }

.pf-linkCard{
  flex: 0 0 auto;
  width: 320px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  padding: 12px;
  color: rgba(255,255,255,.90);
  text-decoration:none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.pf-linkCard:hover{
  transform: translateY(-2px);
  border-color: rgba(229,9,20,.28);
  background: rgba(0,0,0,.36);
}

.pf-linkTop{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 8px;
}
.pf-linkIcon{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
}
.pf-linkTag{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.70);
}

.pf-linkLabel{
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.pf-linkUrl{
  font-size: 12px;
  color: rgba(255,255,255,.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Unified modal layout (no split) */
.pf-viewWrap{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

/* Media box: never crop */
.pf-mediaBox{
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  overflow: hidden;
  padding: 12px;
}
.pf-mediaBox img{
  width: 100%;
  height: auto;
  display:block;
}
.pf-mediaBox video{
  width: 100%;
  height: auto;
  display:block;
  max-height: 70vh;
}

/* Links area (Netflix-like horizontal cards) */
.pf-linksBox{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  padding: 12px;
}

.pf-linksTitle{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(255,255,255,.72);
  margin: 2px 0 10px;
}

.pf-linksRail{
  display:flex;
  gap: 12px;
  overflow-x:auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.pf-linksRail::-webkit-scrollbar{ display:none; }

.pf-linkCard{
  flex: 0 0 auto;
  width: 320px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  padding: 12px;
  color: rgba(255,255,255,.90);
  text-decoration:none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.pf-linkCard:hover{
  transform: translateY(-2px);
  border-color: rgba(229,9,20,.28);
  background: rgba(0,0,0,.36);
}

.pf-linkTop{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 8px;
}
.pf-linkIcon{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
}
.pf-linkTag{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.70);
}

.pf-linkLabel{
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.pf-linkUrl{
  font-size: 12px;
  color: rgba(255,255,255,.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ===========================
   Unified modal toggle (Netflix)
   =========================== */
.pf-toggle{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}
.pf-toggle.is-hidden{ display:none !important; }

.pf-toggleBtn{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.pf-toggleBtn:hover{
  border-color: rgba(229,9,20,.26);
  background: rgba(229,9,20,.12);
  transform: translateY(-1px);
}
.pf-toggleBtn.is-on{
  border-color: rgba(229,9,20,.35);
  background: rgba(229,9,20,.18);
  color: rgba(255,255,255,.92);
  box-shadow: 0 0 0 1px rgba(229,9,20,.10), 0 18px 60px rgba(229,9,20,.18);
}

/* ===========================
   SOCIAL MODE: Big clean media box
   =========================== */
.pf-mediaOnlyBox{
  width: 100%;
  height: auto;
  min-height: 560px;         /* taller box */
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  overflow: hidden;          /* no scrolling inside */
  display:grid;
  place-items:center;
  padding: 10px;
}
.pf-mediaOnlyBox img,
.pf-mediaOnlyBox video{
  width: 100%;
  height: 100%;
  max-height: 56vh;
  object-fit: contain;
  display:block;
  background: rgba(0,0,0,.35);
}
.pf-mediaOnlyBox img,
.pf-mediaOnlyBox video{
  width: 100%;
  height: 100%;
  max-height: 68vh;          /* bigger visible area */
  object-fit: contain;       /* never crop */
  display:block;
  background: rgba(0,0,0,.35);
}

/* no cropping */
.pf-mediaOnlyBox img,
.pf-mediaOnlyBox video{
  width: 100%;
  height: 100%;
  max-height: 56vh;
  object-fit: contain;
  display:block;
  background: rgba(0,0,0,.35);
}

/* ===========================
   BLOG MODE: Clean list view
   =========================== */
.pf-linksOnly{
  width:100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  padding: 14px;
  overflow: auto;
  max-height: 60vh;
}

.pf-linksOnlyHead{
  padding: 4px 4px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 12px;
}

.pf-linksOnlyTitle{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.90);
}
.pf-linksOnlySub{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.62);
}

.pf-linksOnlyList{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.pf-linkRow{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.90);
  text-decoration:none;
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
}
.pf-linkRow:hover{
  transform: translateY(-1px);
  border-color: rgba(229,9,20,.28);
  background: rgba(229,9,20,.08);
}

.pf-linkRowIcon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
}

.pf-linkRowText{ flex: 1 1 auto; min-width: 0; }
.pf-linkRowLabel{
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 4px;
}
.pf-linkRowUrl{
  font-size: 12px;
  color: rgba(255,255,255,.60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-linkRowCta{
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.80);
}
/* Bigger modal (more breathing room) */
.pf-modal__card{
  width: min(1260px, calc(100vw - 80px)) !important;
  height: min(820px, calc(100vh - 90px)) !important;
}

/* Same gutter for ALL rows */
:root{
  --pageGutter: 56px; /* match your site */
}

/* each row respects the same left/right padding */
.home-row{
  padding-left: var(--pageGutter);
  padding-right: var(--pageGutter);
}

/* titles should never have negative left */
.home-row .row-title{
  margin-left: 0 !important;
  padding-left: 0 !important;
  left: auto !important;
  transform: none !important;
}

/* rail should start exactly under the title */
.home-row .row-rail{
  margin-left: 0 !important;
  padding-left: 0 !important;
  left: auto !important;
  transform: none !important;

  /* your horizontal scrolling settings */
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.home-row .row-rail::-webkit-scrollbar{ display:none; }

/* =========================================
   HOME RAIL ALIGNMENT — FIX LEFT SHIFT BUG
   (targets your REAL classes: r-section / r-rail)
========================================= */

/* r-page already has padding: 88px 56px 0;
   so sections/rails must NOT introduce negative offsets */
.r-section{
  margin-left: 0 !important;
  padding-left: 0 !important;
  left: auto !important;
  transform: none !important;
}

/* keep rail aligned inside the r-page gutter */
.r-rail{
  margin-left: 0 !important;
  padding-left: 6px !important;   /* keep your nice breathing */
  padding-right: 6px !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* if any rule accidentally used 100vw on rails, kill it */
.r-section .r-rail{
  width: 100% !important;
}

/* Compact rail should behave the same */
.r-rail--compact{
  margin-left: 0 !important;
}

/* =========================================
   LOADER KP SVG — make it visible & aligned
========================================= */
.loader-identity{
  display:flex;
  align-items:center;        /* ✅ horizontal align */
  gap: 14px;
}

.loader-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

/* your svg class already exists, but ensure it renders */
.kp-loaderSvg{
  width: 84px;
  height: 54px;
  display:block;
  filter: drop-shadow(0 0 18px rgba(229,9,20,.25));
}

/* fallback: if svg looks too thin */
.loader-meta .role{ line-height: 1.2; }
