/* ShazzBiz v2 (tools/v2/build.js): one stylesheet for the 5 main pages. Brand: navy, white, logo teal. No orange. */
:root {
  --navy: #0E1B2A; --navy-2: #15263A; --ink: #1F2933; --muted: #5B6675; --line: #E3E8EC;
  --bg: #FFFFFF; --soft: #F5F7F8; --teal: #4DDBCB; --teal-d: #0F7C70; --teal-soft: #E7F8F5;
  --r: 14px; --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
h1, h2, h3, h4 { font-family: Sora, system-ui, sans-serif; color: var(--navy); margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--teal-d); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--teal-d); outline-offset: 2px; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--teal-d); color: #fff; }
.btn-primary:hover { background: #0B6158; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--teal-d); color: var(--teal-d); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-soft); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo img { height: 28px; width: auto; }
#nav { display: flex; align-items: center; gap: 26px; }
#nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
#nav a:not(.btn):hover { color: var(--teal-d); }
#nav a[aria-current="page"] { color: var(--teal-d); border-bottom-color: var(--teal); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 11px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--teal-soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero-in:has(> :only-child) { grid-template-columns: minmax(0, 780px); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 14px; }
.hero h1 { font-size: 46px; margin-bottom: 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin-bottom: 30px; }
.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: 0 18px 40px rgba(14,27,42,.07); }
.panel-h { display: block; font-family: Sora, sans-serif; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.hero-panel ul, .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-panel li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.hero-panel svg, .ticks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal-soft); fill: none; stroke: var(--teal-d); stroke-width: 10; margin-top: 2px; }

/* sections */
.sec { padding: 88px 0; }
.sec.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head h2 { font-size: 32px; }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 18px; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; color: inherit; text-decoration: none; }
.card-link { transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { border-color: var(--teal); box-shadow: 0 14px 30px rgba(14,27,42,.08); transform: translateY(-2px); }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 16px; }
.ic { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; margin-bottom: 4px; }
.ic svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-d); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.tag { display: inline-block; vertical-align: middle; font-family: 'IBM Plex Sans', sans-serif; font-size: 12px; font-weight: 600; color: var(--teal-d); background: var(--teal-soft); border-radius: 999px; padding: 2px 10px; margin-left: 6px; }
.pts { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pts li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink); }
.pts li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-d); }
.more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; color: var(--teal-d); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.steps .n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-family: Sora, sans-serif; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* engagement groups */
.group { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.group h3 { font-size: 19px; }
.group-sub { color: var(--teal-d); font-size: 14px; font-weight: 600; margin: 4px 0 16px; }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.group li { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.group li:first-child { border-top: 0; padding-top: 0; }
.group li b { font-size: 15.5px; color: var(--navy); }
.group li span { font-size: 15px; color: var(--muted); }
.note { margin-top: 24px; color: var(--muted); font-size: 15px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--navy); }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split .sec-head { margin-bottom: 16px; }
.split .body { color: var(--muted); margin-bottom: 24px; }
/* Home "Led by" section: photo + text in the .split grid */
.leader { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; }
.leader-photo { width: 100%; max-width: 340px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
@media (max-width: 900px) { .leader { grid-template-columns: minmax(0, 1fr); } .leader-photo { max-width: 240px; } }
.ticks li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.ticks b { display: block; color: var(--navy); }
.ticks span { color: var(--muted); font-size: 15.5px; }

/* one-line block (About Us: founder's portfolio) */
.sec-line { padding: 0 0 72px; }
.line-p { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); color: var(--ink); }
.line-p a { font-weight: 600; text-decoration: none; margin-left: 4px; }

/* call to action */
.cta { background: var(--navy); color: #fff; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
.cta h2 { color: #fff; font-size: 30px; }
.cta p { color: #C9D3DF; margin-top: 8px; }

/* footer */
.site-foot { background: #0A1420; color: #C9D3DF; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.foot-brand img { height: 26px; width: auto; margin-bottom: 14px; }
.foot-brand p { max-width: 320px; color: #9FB0C3; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.site-foot .social a { display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border-radius: 10px; background: #15263A; border: 1px solid #22344A; }
.site-foot .social a:hover { background: var(--teal-d); border-color: var(--teal-d); }
.social svg { width: 18px; height: 18px; fill: #E6EDF3; }
.site-foot h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-foot a, .site-foot span { display: block; color: #C9D3DF; text-decoration: none; margin-bottom: 8px; }
.site-foot a:hover { color: var(--teal); }
.foot-base { border-top: 1px solid #1C2B3D; padding-top: 18px; padding-bottom: 24px; color: #7E8FA3; font-size: 14px; }

/* responsive */
@media (max-width: 1000px) {
  .g4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: flex; }
  #nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  #nav.open { display: flex; }
  #nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  #nav a[aria-current="page"] { border-bottom-color: var(--line); }
  #nav .btn { margin-top: 14px; }
  .hero-in, .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .g3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero-in { padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: 32px; }
  .lead { font-size: 17px; }
  .sec { padding: 60px 0; }
  .sec-head h2 { font-size: 26px; }
  .g4, .steps, .foot-in { grid-template-columns: minmax(0, 1fr); }
  .cta h2 { font-size: 24px; }
  .btns .btn { flex: 1 1 auto; }
}

/* Portfolio / CV page (/portfolio, tools/v2/portfolio.js): one narrow column, like a personal site */
.cv { max-width: 860px; margin: 0 auto; padding: 72px 24px 24px; }
.cv-intro h1 { font-size: 44px; letter-spacing: -0.02em; }
.cv-ur { font-family: 'Noto Nastaliq Urdu', serif; font-size: 26px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.cv-role { margin-top: 14px; font-family: Sora, sans-serif; font-weight: 600; font-size: 18px; color: var(--teal-d); }
.cv-sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.cv-lead { margin-top: 18px; font-size: 18px; color: var(--ink); }
.cv-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.cv-links a:not(.btn) { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); color: var(--navy); background: #fff; }
.cv-links a:not(.btn):hover { border-color: var(--teal-d); color: var(--teal-d); }
.cv-links svg { width: 20px; height: 20px; fill: currentColor; }
.cv-links .btn { margin-left: 6px; }
.cv-sec { margin-top: 64px; }
.cv-sec h2, .cv-end h2 { font-size: 24px; margin-bottom: 20px; }
.cv-p { color: var(--muted); margin: -8px 0 18px; }
.cv-p a { font-weight: 600; text-decoration: none; }
.cv-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cv-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: #fff; }
.cv-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.cv-card p { color: var(--muted); font-size: 15px; }
.cv-who { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--teal-d); margin-bottom: 6px; }
.cv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cv-stats div { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--soft); }
.cv-stats b { display: block; font-family: Sora, sans-serif; font-size: 28px; color: var(--navy); }
.cv-stats span { font-size: 14.5px; color: var(--muted); }
.cv-time { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.cv-time li { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 0 0 26px 24px; }
.cv-time li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--teal-d); }
.cv-when { font-size: 14px; color: var(--muted); padding-top: 2px; }
.cv-time h3 { font-size: 16.5px; }
.cv-co { display: block; font-size: 14.5px; font-weight: 600; color: var(--teal-d); margin-top: 2px; }
.cv-time p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.cv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-tags span { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--navy); }
.cv-skill + .cv-skill { margin-top: 18px; }
.cv-skill h3 { font-size: 15.5px; margin-bottom: 10px; }
.cv-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.cv-plain { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink); font-size: 15.5px; }
.cv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cv-list li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; font-size: 15.5px; }
.cv-list b { color: var(--navy); }
.cv-list span { color: var(--muted); }
.cv-end { margin: 72px 0 40px; padding: 32px; border-radius: var(--r); background: var(--teal-soft); }
.cv-end p { color: var(--muted); margin: -10px 0 20px; }
@media (max-width: 700px) {
  .cv { padding-top: 44px; padding-left: 16px; padding-right: 16px; }
  .cv-intro h1 { font-size: 32px; }
  .cv-ur { display: block; margin: 8px 0 0; text-align: left; }
  .cv-cards, .cv-two { grid-template-columns: minmax(0, 1fr); }
  .cv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-time li, .cv-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cv-end { padding: 24px; }
}
