/* Nezaam Work Pages — Shared Stylesheet */
/* Matches nezaam.co.uk design exactly */

:root {
  --white: #ffffff;
  --off: #f7f6f3;
  --off2: #eeecea;
  --ink: #0c0b09;
  --ink2: #2d2c2a;
  --ink3: #6b6861;
  --red: #c8390a;
  --red2: #e04510;
  --green: #1a7a2e;
  --brd: rgba(12,11,9,.1);
  --brd2: rgba(12,11,9,.06);
}

*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: 'DM Sans', sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* UTILS */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 900px) { .wrap { padding: 0 24px; } }
.eyebrow { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.eyebrow::before { content: ''; display: block; width: 18px; height: 1.5px; background: var(--red); flex-shrink: 0; }
.r { color: var(--red); }
.sec { padding: 80px 0; }
@media (max-width: 900px) { .sec { padding: 52px 0; } }
.rule { border: none; border-top: 1.5px solid var(--brd); margin: 0; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 60px; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--brd); transition: box-shadow .3s; display: flex; align-items: center; justify-content: center; padding: 0 48px; }
nav .nav-inner { max-width: 1180px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
nav.scroll { box-shadow: 0 2px 20px rgba(12,11,9,.06); }
.nlogo { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.5px; display: flex; align-items: center; gap: 1px; }
.nlogo-dot { color: var(--red); }
.nlogo-tag { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--ink3); margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--brd); }
.nlinks { display: flex; gap: 28px; list-style: none; }
.nlinks a { font-size: 13px; font-weight: 500; color: var(--ink3); text-decoration: none; transition: color .15s; letter-spacing: -.1px; }
.nlinks a:hover, .nlinks a.active { color: var(--ink); }
.nlinks a.active { font-weight: 600; color: var(--red); }
.ncta { font-size: 13px; font-weight: 600; background: var(--ink); color: #fff; padding: 9px 20px; border-radius: 5px; text-decoration: none; transition: background .15s; letter-spacing: -.1px; }
.ncta:hover { background: var(--red); }
@media (max-width: 900px) { nav { padding: 0 24px; } .nlinks { display: none; } }

/* BREADCRUMB */
.breadcrumb { padding: 80px 0 0; }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink3); }
.breadcrumb-inner a { color: var(--ink3); text-decoration: none; transition: color .15s; }
.breadcrumb-inner a:hover { color: var(--red); }
.breadcrumb-inner span { color: var(--brd); }

/* PAGE HERO */
.page-hero { padding: 32px 0 64px; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-hero-label { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; }
.page-hero-tag { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--red); }
.page-hero-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(26,122,46,.4); } 60% { box-shadow: 0 0 0 5px rgba(26,122,46,0); } }
.page-hero h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(40px, 6vw, 80px); font-weight: 800; letter-spacing: -3px; line-height: .95; color: var(--ink); margin-bottom: 24px; }
.page-hero h1 .r { color: var(--red); }
.page-hero-desc { font-size: 16px; color: var(--ink3); line-height: 1.75; font-weight: 300; max-width: 680px; text-align: center; }
.page-hero-meta { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin-top: 32px; padding-top: 28px; border-top: 1.5px solid var(--brd); width: 100%; }
.meta-item { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.meta-label { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ink3); }
.meta-value { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; }

/* STAT BAR */
.stat-bar { background: var(--ink); padding: 32px 0; }
.stat-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 700px) { .stat-bar-inner { grid-template-columns: repeat(2, 1fr); } }
.stat-item { padding: 20px 32px; border-right: 1px solid rgba(255,255,255,.08); text-align: left; }
.stat-item:last-child { border-right: none; }
.stat-n { font-family: 'Bricolage Grotesque', sans-serif; font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -2px; line-height: 1; }
.stat-n .r { color: var(--red2); }
.stat-l { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 6px; }

/* CONTENT SECTIONS */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; gap: 32px; } }
.content-grid.wide { grid-template-columns: 2fr 1fr; }
@media (max-width: 900px) { .content-grid.wide { grid-template-columns: 1fr; } }

.sec-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; letter-spacing: -2px; line-height: .95; color: var(--ink); margin-bottom: 20px; }
.sec-title .r { color: var(--red); }
.sec-body { font-size: 15px; color: var(--ink3); line-height: 1.78; font-weight: 300; }
.sec-body p { margin-bottom: 16px; }
.sec-body p:last-child { margin-bottom: 0; }
.sec-body b { color: var(--ink); font-weight: 500; }

/* PIPELINE STEPS */
.pipeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.pipeline::before { content: ''; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(to bottom, var(--red), var(--brd)); }
.pipeline-step { display: flex; gap: 20px; padding: 20px 0; position: relative; }
.pipeline-step:first-child { padding-top: 0; }
.pipeline-step:last-child { padding-bottom: 0; }
.ps-num { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.ps-num.grey { background: var(--off2); color: var(--ink3); }
.ps-body { padding-top: 8px; }
.ps-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; margin-bottom: 6px; }
.ps-desc { font-size: 13.5px; color: var(--ink3); line-height: 1.65; font-weight: 300; }

/* TECH STACK TAGS */
.stack-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tag { font-size: 12px; font-weight: 500; color: var(--ink); background: var(--off); border: 1.5px solid var(--brd); border-radius: 4px; padding: 6px 12px; letter-spacing: -.1px; }
.stack-tag.highlight { background: rgba(200,57,10,.06); border-color: rgba(200,57,10,.25); color: var(--red); }

/* DECISION CARDS */
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .decision-grid { grid-template-columns: 1fr; } }
.decision-card { background: var(--off); border: 1.5px solid var(--brd); border-radius: 8px; padding: 20px; }
.dc-label { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.dc-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; margin-bottom: 8px; }
.dc-body { font-size: 13px; color: var(--ink3); line-height: 1.65; font-weight: 300; }

/* PROOF / MEDIA PLACEHOLDER */
.media-placeholder { background: var(--off); border: 2px dashed var(--brd2); border-radius: 10px; padding: 56px 32px; text-align: center; }
.mp-icon { font-size: 28px; margin-bottom: 12px; }
.mp-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; margin-bottom: 8px; }
.mp-desc { font-size: 13px; color: var(--ink3); line-height: 1.6; font-weight: 300; }

/* LESSON CARDS */
.lessons { display: flex; flex-direction: column; gap: 16px; }
.lesson { display: flex; gap: 16px; padding: 18px; background: var(--off); border: 1.5px solid var(--brd); border-radius: 8px; }
.lesson-arrow { color: var(--red); font-size: 16px; font-weight: 700; flex-shrink: 0; padding-top: 2px; }
.lesson-body { font-size: 14px; color: var(--ink3); line-height: 1.65; font-weight: 300; }
.lesson-body b { color: var(--ink); font-weight: 500; }

/* CTA BANNER */
.cta-banner { background: var(--ink); border-radius: 10px; padding: 48px; display: flex; gap: 48px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-banner h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: #fff; letter-spacing: -1.5px; line-height: 1; }
.cta-banner h2 span { color: var(--red2); }
.cta-banner p { font-size: 14px; color: rgba(255,255,255,.55); margin-top: 10px; font-weight: 300; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-red { font-size: 14px; font-weight: 600; background: var(--red); color: #fff; padding: 13px 26px; border-radius: 5px; text-decoration: none; transition: background .15s; white-space: nowrap; }
.btn-red:hover { background: var(--red2); }
.btn-outline { font-size: 14px; font-weight: 500; border: 1.5px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7); padding: 13px 26px; border-radius: 5px; text-decoration: none; transition: all .15s; white-space: nowrap; }
.btn-outline:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* NAV BETWEEN PROJECTS */
.project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .project-nav { grid-template-columns: 1fr; } }
.pn-card { display: block; background: var(--off); border: 1.5px solid var(--brd); border-radius: 8px; padding: 20px; text-decoration: none; transition: border-color .2s, transform .2s; }
.pn-card:hover { border-color: rgba(200,57,10,.3); transform: translateY(-2px); }
.pn-direction { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; }
.pn-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; }
.pn-sub { font-size: 12.5px; color: var(--ink3); margin-top: 4px; font-weight: 300; }
.pn-card.right { text-align: right; }

/* FOOTER */
footer { border-top: 1.5px solid var(--brd); padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
@media (max-width: 700px) { footer { padding: 24px; flex-direction: column; text-align: center; } }
.f-logo { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.4px; }
.f-links { display: flex; gap: 20px; flex-wrap: wrap; }
.f-links a { font-size: 12.5px; color: var(--ink3); text-decoration: none; transition: color .15s; }
.f-links a:hover { color: var(--red); }
.f-copy { font-size: 11.5px; color: rgba(12,11,9,.35); }

/* WORK INDEX SPECIFIC */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { display: block; background: var(--white); border: 1.5px solid var(--brd); border-radius: 10px; padding: 28px; text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s; }
.work-card:hover { border-color: rgba(200,57,10,.3); box-shadow: 0 8px 32px rgba(12,11,9,.07); transform: translateY(-3px); }
.wc-ico { font-size: 26px; margin-bottom: 16px; display: block; }
.wc-tag { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.wc-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.8px; margin-bottom: 8px; }
.wc-desc { font-size: 13.5px; color: var(--ink3); line-height: 1.65; font-weight: 300; margin-bottom: 20px; }
.wc-stat { border-top: 1.5px solid var(--brd2); padding-top: 16px; display: flex; justify-content: space-between; align-items: flex-end; }
.wc-stat-n { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -1px; line-height: 1; }
.wc-stat-n .r { color: var(--red); }
.wc-stat-l { font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--ink3); margin-top: 4px; }
.wc-arrow { font-size: 18px; color: var(--ink3); transition: color .2s, transform .2s; }
.work-card:hover .wc-arrow { color: var(--red); transform: translateX(3px); }
.work-card.add { border-style: dashed; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 220px; }
.wc-add-ico { font-size: 28px; color: var(--ink3); margin-bottom: 12px; opacity: .4; }
.wc-add-t { font-size: 13px; color: var(--ink3); font-weight: 300; opacity: .5; }

/* MISSION */
.mission-block { background: var(--off); border-radius: 10px; padding: 48px; max-width: 800px; margin: 0 auto; }
.mission-block blockquote { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; color: var(--ink); letter-spacing: -1px; line-height: 1.3; margin-bottom: 20px; }
.mission-block blockquote span { color: var(--red); }
.mission-block p { font-size: 14.5px; color: var(--ink3); line-height: 1.75; font-weight: 300; }
.mission-block p b { color: var(--ink); font-weight: 500; }
