
/* Mobile menu */
.menuBtn{display:none;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:var(--text);font-weight:700;font-size:14px;letter-spacing:.01em}
.menuBtn:active{transform:translateY(1px)}

:root{
  --bg:#0b0b0d;
  --ink:#f6f2e8;
  --muted:rgba(246,242,232,.78);
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.09);
  --stroke:rgba(255,255,255,.14);
  --gold1:#d6b25e;
  --gold2:#f2e6b3;
  --shadow: 0 16px 60px rgba(0,0,0,.45);
  --radius:22px;
  --radius2:28px;
  --max:1120px;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:var(--sans);background:var(--bg);color:var(--ink);}
body.menu-open{overflow:hidden;}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:28px 18px 80px;}
/* background marble-ish */
.bg{
  position:fixed; inset:-40px; z-index:-2;
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(214,178,94,.20), transparent 55%),
    radial-gradient(1000px 600px at 80% 20%, rgba(242,230,179,.14), transparent 60%),
    radial-gradient(900px 700px at 70% 85%, rgba(214,178,94,.12), transparent 55%),
    linear-gradient(180deg, #07070a 0%, #0b0b0d 35%, #060609 100%);
  filter:saturate(1.05);
}
.noise{
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  opacity:.12;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:16px 18px; border:1px solid var(--stroke);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-radius:999px; box-shadow:var(--shadow); backdrop-filter: blur(14px);
  position:sticky; top:14px; z-index:50;
}
.brand{display:flex; align-items:center; gap:12px; min-width: 0;}
.brand .mark{
  width:40px; height:40px; border-radius:14px;
  background: radial-gradient(circle at 30% 30%, rgba(242,230,179,.9), rgba(214,178,94,.6) 45%, rgba(255,255,255,.08) 70%),
              linear-gradient(180deg, rgba(255,255,255,.10), rgba(0,0,0,.25));
  border:1px solid rgba(242,230,179,.35);
  box-shadow: 0 10px 30px rgba(214,178,94,.12);
}
.brand .t{
  line-height:1.05;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.brand .t .name{font-weight:800; letter-spacing:.2px;}
.brand .t .role{font-size:12.5px;color:var(--muted); margin-top:2px;}
.nav{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.pill{
  padding:10px 12px; border-radius:999px; border:1px solid var(--stroke);
  background:rgba(255,255,255,.04); color:var(--muted);
  font-size:13.5px;
}
.pill:hover{background:rgba(255,255,255,.08); color:var(--ink)}
.cta{
  padding:11px 14px; border-radius:999px; font-weight:700;
  background:linear-gradient(135deg, rgba(214,178,94,.95), rgba(242,230,179,.92));
  color:#141116; border:0; box-shadow: 0 18px 50px rgba(214,178,94,.18);
}
.cta:hover{filter:brightness(1.04)}

/* --- Mobile UX: prevent the header from "freezing" over content ---
   On small screens the nav wraps and the sticky topbar becomes tall.
   Make the header non-sticky on mobile and allow horizontal scrolling tabs.
*/
@media (max-width: 640px){
  /* Compact sticky header (doesn't block content) + slide-down menu */
  .topbar{position:sticky;top:10px;z-index:30;padding:12px;border-radius:20px;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px)}
  .topbar .role{display:none}
  .menuBtn{display:inline-flex}
  .nav{display:none}
    .topbar.nav-open{position:fixed;inset:0;z-index:9999;height:100vh;overflow:auto;margin:0;border-radius:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:14px;padding:16px;background:rgba(0,0,0,.86);backdrop-filter: blur(18px);-webkit-backdrop-filter: blur(18px)}
  .topbar.nav-open .nav{display:flex;flex-direction:column;gap:10px;width:100%}
  .topbar.nav-open .nav a{width:100%;justify-content:center;padding:14px 16px;border-radius:14px}
  .topbar.nav-open .book{width:100%;justify-content:center}

  /* Buttons + cards */
  .container{padding: 0 14px 30px}
  .hero h2{font-size: 40px}
  .grid-2{grid-template-columns: 1fr}
  .services{grid-template-columns: 1fr}
  .pricing{grid-template-columns: 1fr}
  .portfolio{grid-template-columns: 1fr}
  .sofh-grid{grid-template-columns: 1fr}
  .case{grid-template-columns: 1fr}
  .tableWrap{overflow-x:auto}
  table{min-width:720px}
}

.hero{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:22px;
  margin-top:28px; align-items:stretch;
}
@media(max-width:900px){.hero{grid-template-columns:1fr}}
.card{
  border:1px solid var(--stroke);
  border-radius:var(--radius2);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow:var(--shadow); backdrop-filter: blur(12px);
}
.hero .left{padding:30px 26px}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  color:rgba(242,230,179,.9);
  font-weight:700; letter-spacing:.12em; text-transform:uppercase; font-size:12px;
}
.h1{font-size:44px; line-height:1.04; margin:14px 0 12px; font-weight:900;}
.sub{color:var(--muted); font-size:16.5px; line-height:1.6; max-width: 52ch;}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.badge{
  padding:10px 12px; border-radius:999px; border:1px solid rgba(242,230,179,.24);
  background:rgba(214,178,94,.10); color:rgba(246,242,232,.92);
  font-size:13.5px;
}
.hero .right{padding:22px; display:flex; flex-direction:column; gap:14px}
.profile{
  display:flex; gap:14px; align-items:center; padding:18px;
}
.profile img{width:140px;height:140px;border-radius:28px;object-fit:cover;object-position: 50% 15%;box-shadow:0 18px 48px rgba(0,0,0,.45);}
.profile .meta .n{font-size:28px;font-weight:800;letter-spacing:.2px;}
.profile .meta .r{margin-top:4px;color:rgba(255,255,255,.78);font-weight:600;font-size:16px;}
.block{padding:18px}
.block h3{margin:0 0 10px; font-size:14px; letter-spacing:.08em; text-transform:uppercase; color:rgba(242,230,179,.92)}
.block p{margin:0;color:var(--muted); line-height:1.6}
.grid{
  margin-top:26px;
  display:grid; grid-template-columns:repeat(2, 1fr); gap:14px;
}
@media(max-width:860px){.grid{grid-template-columns:1fr}}
.item{
  padding:18px; display:flex; gap:14px; align-items:flex-start;
}
.ico{
  width:44px; height:44px; border-radius:16px; flex:0 0 auto;
  border:1px solid rgba(242,230,179,.30);
  background:linear-gradient(180deg, rgba(214,178,94,.26), rgba(255,255,255,.05));
  display:grid; place-items:center; color:rgba(242,230,179,.95);
}
.item h4{margin:0 0 6px; font-size:18px}
.item p{margin:0; color:var(--muted); line-height:1.5}
.item .action{margin-left:auto; align-self:center}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:999px; border:1px solid var(--stroke);
  background:rgba(255,255,255,.04); color:var(--ink); font-weight:700; font-size:13.5px;
}
.btn:hover{background:rgba(255,255,255,.08)}
.section{margin-top:34px}
.section h2{margin:0 0 10px; font-size:24px}
.section .lead{color:var(--muted); line-height:1.6; margin:0 0 16px}
.pricing{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:14px;
}
@media(max-width:980px){.pricing{grid-template-columns:1fr}}
.price{
  padding:18px;
}
.price .tier{font-weight:900; font-size:18px}
.price .tag{color:rgba(242,230,179,.92); font-weight:800; margin-top:8px}
.price ul{margin:12px 0 0; padding-left:18px; color:var(--muted); line-height:1.6}
.price .small{margin-top:12px; color:rgba(246,242,232,.72); font-size:12.5px; line-height:1.5}
.footer{
  margin-top:34px; padding:18px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  color:rgba(246,242,232,.72);
}

/* Some standalone sample pages use <footer class="foot"> */
.foot{
  margin-top:34px;
  padding:18px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  color:rgba(246,242,232,.72);
  border-top:1px solid rgba(246,242,232,.10);
  font-size:13px;
  line-height:1.35;
}
.foot strong{font-weight:700}
.foot a{color:rgba(246,242,232,.9)}
.socials{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.sicon{
  width:38px;height:38px;border-radius:999px; display:grid; place-items:center;
  border:1px solid var(--stroke); background:rgba(255,255,255,.04);
}
.sicon:hover{background:rgba(255,255,255,.08)}
.hr{height:1px;background:rgba(255,255,255,.12); margin:24px 0 0}
.page{
  padding:30px 26px;
}
.page h1{margin:0 0 10px; font-size:34px; line-height:1.1}
.page .meta{color:var(--muted); line-height:1.6; margin-bottom:18px}
.twoCol{display:grid; grid-template-columns:1.05fr .95fr; gap:14px}
@media(max-width:900px){.twoCol{grid-template-columns:1fr}}
.panel{padding:18px}
.panel h3{margin:0 0 10px; font-size:14px; letter-spacing:.08em; text-transform:uppercase; color:rgba(242,230,179,.92)}
.panel ul{margin:0; padding-left:18px; color:var(--muted); line-height:1.65}
.panel p{margin:0; color:var(--muted); line-height:1.65}


/* --- Executive sample doc components --- */
.exec-layout{max-width:1100px;margin:0 auto;padding:32px 20px 64px;}
.exec-hero{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px;}
.exec-hero .titleblock{flex:1;min-width:280px}
.exec-hero h1{margin:0 0 6px;font-size:36px;letter-spacing:-0.02em}
.exec-hero .subtitle{color:var(--muted);font-size:16px;line-height:1.5;margin:0 0 10px;}
.badge-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.badge{display:inline-flex;gap:8px;align-items:center;padding:8px 10px;border-radius:999px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.10);font-size:13px;color:var(--text)}
.section{margin-top:26px}
.section h2{margin:0 0 10px;font-size:18px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:900px){.grid-2{grid-template-columns:1fr}}
.card{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.10);border-radius:18px;padding:16px}
.card h3{margin:0 0 8px;font-size:18px}
.kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:900px){.kpi-row{grid-template-columns:1fr}}
.kpi{padding:14px;border-radius:16px;background:rgba(0,0,0,0.25);border:1px solid rgba(255,255,255,0.10)}
.kpi .label{font-size:12px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
.kpi .value{font-size:22px;font-weight:800;margin-top:6px}
.doc-pack{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:900px){.doc-pack{grid-template-columns:1fr}}

/* Footer sizing on small screens */
@media(max-width:700px){
  .footer,.foot{padding:14px 16px; font-size:12px}
}
.doc{border-radius:18px;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.10);overflow:hidden}
.doc .doc-top{padding:14px 14px 10px;border-bottom:1px solid rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:space-between;gap:10px}
.doc .doc-title{font-weight:800}
.doc .doc-tag{font-size:12px;color:var(--muted)}
.doc .doc-body{padding:14px}
.mini-table{width:100%;border-collapse:separate;border-spacing:0 8px;font-size:13px}
.mini-table th{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);text-align:left;padding:0 8px}
.mini-table td{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);padding:10px 8px;border-radius:12px}

/* table wrapper used by portfolio samples (enables horizontal scroll on small screens) */
.tablewrap{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-bottom:10px}
.tablewrap::-webkit-scrollbar{height:10px}
.tablewrap::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}
.tablewrap::-webkit-scrollbar-track{background:rgba(255,255,255,.06);border-radius:999px}
.tablewrap .mini-table{min-width:920px}
.muted{color:var(--muted)}
.callout{border-left:3px solid var(--gold);padding:12px 12px 12px 14px;border-radius:14px;background:rgba(212,175,55,0.08);border:1px solid rgba(212,175,55,0.16)}
.backlink{display:inline-flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;border:1px solid rgba(255,255,255,0.14);padding:10px 12px;border-radius:12px;background:rgba(0,0,0,0.25)}
.backlink:hover{transform:translateY(-1px);transition:.15s}


/* --- SoftHire section --- */
#softhire .section-head .kicker { letter-spacing: .12em; text-transform: uppercase; }
.softhire-wrap{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 980px){
  .softhire-wrap{ grid-template-columns: 1fr; }
}
.softhire-copy .card-title,
.softhire-media .card-title{ margin:0 0 10px; }
.softhire-bullets{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 720px){
  .softhire-bullets{ grid-template-columns: 1fr; }
}
.bullet{
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.bullet-title{
  font-weight: 800;
  margin-bottom: 8px;
  color: rgba(255,255,255,.92);
}
.bullet ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.82);
}
.fineprint{
  margin-top: 10px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.45;
}
.softhire-media{
  position: relative;
  overflow: hidden;
}
.softhire-media::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(600px 260px at 25% 10%, rgba(207,180,111,.16), transparent 60%),
    radial-gradient(520px 260px at 90% 18%, rgba(29,225,255,.10), transparent 62%),
    radial-gradient(720px 520px at 40% 92%, rgba(255,255,255,.06), transparent 70%);
  filter: blur(18px);
  pointer-events:none;
}
.media-head{
  position: relative;
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 12px;
}
.live-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(29,225,255,.9);
  box-shadow: 0 0 0 6px rgba(29,225,255,.10);
  flex: 0 0 auto;
}
.media-title{
  font-weight: 850;
  letter-spacing: .02em;
}
.media-tag{
  margin-left:auto;
  color: rgba(255,255,255,.68);
  font-size: 12px;
}
.softhire-gallery{
  position: relative;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.shot{
  margin:0;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(8,12,16,.55);
  box-shadow: 0 18px 60px rgba(0,0,0,.38);
  padding: 10px;
}
.shot img{
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display:block;
  border-radius: 12px;
  transition: filter .25s ease;
  filter: saturate(1.02) contrast(1.02);
}
@media (max-width: 980px){
  .shot img{ max-height: 380px; }
}
@media (max-width: 560px){
  .softhire-gallery{ grid-template-columns: 1fr; }
  .shot img{ max-height: 420px; }
}
.shot:hover img{ filter: saturate(1.08) contrast(1.03); }
.media-foot{
  position: relative;
  margin-top: 12px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.5;
}
.media-foot a{ color: rgba(207,180,111,.95); text-decoration: none; }
.media-foot a:hover{ text-decoration: underline; }


/* === Enhancements (v8) === */
.table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

/* Make wide tables scroll instead of being clipped */
.table-scroll .mini-table{
  min-width: 820px;
}

.cadence-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.cadence-table th, .cadence-table td{
  padding:12px 12px;
  border:1px solid rgba(255,255,255,.10);
  vertical-align:top;
}
.cadence-table thead th{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.04);
  letter-spacing:.06em;
  font-weight:700;
  text-transform:uppercase;
  font-size:12px;
}
.cadence-table tbody td{
  color: rgba(255,255,255,.82);
}
.cadence-table tbody tr:hover td{
  background: rgba(255,255,255,.03);
}

/* Case study readability: titles + buttons */
.case h3{
  color: var(--gold2);
}
.case .links a{
  border-color: rgba(39,216,255,.35);
  background: rgba(39,216,255,.10);
  color: rgba(255,255,255,.92);
}
.case .links a:hover{
  background: rgba(39,216,255,.16);
  border-color: rgba(39,216,255,.55);
}

/* Softhire gallery caption buttons */
.shot figcaption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
}
.shot-label{
  color: rgba(255,255,255,.7);
  font-size: 12px;
  letter-spacing: .02em;
}
.shot-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color:#e9e2d3;
  text-decoration:none;
  font-weight:700;
  font-size:12px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.shot-btn:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.3);
}
.shot-btn:focus{
  outline: 2px solid rgba(207,180,111,.8);
  outline-offset: 2px;
}



/* Sprint tiers (visible all at once) */
.sprint-tiers{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.sprint-tier{padding:14px;border:1px solid rgba(255,255,255,0.12);border-radius:16px;background:rgba(255,255,255,0.04)}
.sprint-tier-title{font-weight:700;color:rgba(255,255,255,0.92);margin-bottom:8px}
.sprint-tier-list{margin:0;padding-left:18px;color:rgba(255,255,255,0.78);line-height:1.35}
.sprint-tier-list li{margin:6px 0}
@media (max-width: 560px){
  .sprint-tier{padding:12px}
  .sprint-tier-title{font-size:15px}
}
