:root {
  --ink: #141414;
  --ink-soft: #4a4a46;
  --paper: #fafaf7;
  --white: #fff;
  --line: #deded7;
  --blue: #2b56d8;
  --blue-dark: #1d43b7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--blue); }
a, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(43,86,216,.18); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 16px; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(250,250,247,.96); }
.nav-wrap { width: min(calc(100% - 48px), var(--max)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--white); font-family: var(--serif); font-size: 18px; }
.desktop-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 650; }
.desktop-nav a { text-decoration: none; }
.desktop-nav a[aria-current="page"] { color: var(--blue); }
.nav-cta { padding: 10px 16px; background: var(--ink); color: var(--white)!important; }
.mobile-nav { display: none; }
.hero { width: min(calc(100% - 48px), var(--max)); margin: auto; display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 64px; align-items: end; padding: 92px 0 72px; }
.hero-copy { min-width: 0; max-width: 820px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font: 650 12px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
h1,h2,h3 { margin-top: 0; font-family: var(--sans); line-height: 1.08; text-wrap: balance; }
h1 { margin-bottom: 26px; font-size: clamp(3rem, 7vw, 5.8rem); letter-spacing: -.065em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; }
h3 { margin-bottom: 12px; font-size: 1.25rem; letter-spacing: -.025em; }
.hero-intro { max-width: 760px; margin: 0; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.hero-aside { min-width: 0; border-left: 1px solid var(--line); padding-left: 32px; color: var(--ink-soft); }
.portrait { margin: 0 0 24px; }
.portrait img { width: 100%; height: auto; aspect-ratio: 717/960; object-fit: cover; background: var(--ink); }
.portrait figcaption { margin-top: 12px; color: var(--blue); font: 650 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.monogram { font-family: var(--serif); color: var(--ink); font-size: 88px; line-height: .9; letter-spacing: -.08em; }
.aside-kicker { margin: 26px 0 12px; color: var(--blue); font: 650 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.breadcrumbs { width: min(calc(100% - 48px), var(--max)); margin: 22px auto -52px; color: #70706a; font-size: 13px; }
.breadcrumbs ol { display: flex; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li+li::before { content: "/"; margin-right: 8px; color: #aaa; }
.breadcrumbs a { text-decoration: none; }
main > .section, .proof-strip { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 88px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head h2 { margin-bottom: 0; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { min-height: 230px; padding: 34px; background: var(--white); }
.card h3 a { text-decoration: none; }
.card p, .case p, .prose p, .cta p { color: var(--ink-soft); }
.text-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--blue-dark); }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; }
.proof-strip div { padding: 4px 24px; border-right: 1px solid var(--line); }
.proof-strip div:first-child { padding-left: 0; }
.proof-strip div:last-child { border: 0; }
.proof-strip strong,.proof-strip span { display: block; }
.proof-strip strong { font-size: 1.25rem; }
.proof-strip span { color: var(--ink-soft); font-size: .88rem; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.case { position: relative; min-height: 310px; padding: 36px; border: 1px solid var(--line); background: var(--white); }
.case::after { content: ""; position: absolute; right: 0; top: 0; width: 72px; height: 5px; background: var(--blue); }
.project { min-height: 0; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.project-meta span { padding: 6px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-soft); font: 650 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.project-meta .status { background: #e6f4ec; color: #17663d; }
.project:first-child .project-meta .status { background: #fbf3d5; color: #765d00; }
.project-link { display: block; color: inherit; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.project-link:hover { color: inherit; border-color: var(--blue); transform: translateY(-2px); }
.project-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.project-link .text-link { pointer-events: none; }
.project h4 { margin: 28px 0 8px; font: 700 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.4fr); gap: 80px; }
.split h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.prose { max-width: 720px; font-size: 1.07rem; }
.prose p:first-child { margin-top: 0; }
.pill-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.pill-links a { display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; border: 1px solid var(--line); background: var(--white); font-weight: 700; text-decoration: none; }
.numbered { padding: 0; margin: 0; list-style: none; counter-reset: steps; border-top: 1px solid var(--line); }
.numbered li { counter-increment: steps; display: grid; grid-template-columns: 100px 1fr; padding: 34px 0; border-bottom: 1px solid var(--line); }
.numbered li::before { content: "0" counter(steps); color: var(--blue); font: 700 14px var(--mono); }
.numbered h3 { margin-bottom: 8px; }
.numbered p { margin: 0; color: var(--ink-soft); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 52px; width: min(calc(100% - 48px), var(--max))!important; margin-bottom: 88px!important; padding: 52px!important; background: var(--ink); color: var(--white); border: 0!important; }
.cta h2 { max-width: 780px; }
.cta p { max-width: 700px; margin-bottom: 0; color: #c8c8c2; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.button-light { background: var(--white); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); padding: 1px!important; }
.contact-card { min-height: 240px; padding: 32px; background: var(--white); }
.contact-card span { display: block; margin-bottom: 22px; color: var(--blue); font: 650 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.contact-card a { font-size: 1.05rem; font-weight: 750; overflow-wrap: anywhere; }
.contact-card p { margin-top: 24px; color: var(--ink-soft); }
.site-footer { background: var(--ink); color: var(--white); }
.footer-inner { width: min(calc(100% - 48px), var(--max)); margin: auto; padding: 64px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 60px; padding-bottom: 52px; }
.footer-title { max-width: 500px; font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 750; line-height: 1.1; letter-spacing: -.04em; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links p { margin: 0 0 8px; color: #8e8e88; font: 650 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { color: #ddd; text-decoration: none; }
.footer-meta { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid #333; color: #888; font-size: 12px; }
.not-found { width: min(calc(100% - 48px), 800px); min-height: 70vh; margin: auto; display: grid; place-content: center; text-align: center; }
.not-found .error-code { color: var(--blue); font: 700 14px var(--mono); letter-spacing: .15em; }
.not-found h1 { margin: 22px 0; font-size: clamp(3rem, 8vw, 6rem); }
.not-found p { color: var(--ink-soft); }
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav { flex: 0 0 auto; margin-left: auto; }
  .mobile-nav summary { cursor: pointer; font-weight: 700; list-style: none; }
  .mobile-nav summary:hover { color: var(--blue); }
  .mobile-nav summary::-webkit-details-marker { display:none; }
  .mobile-panel { position: absolute; left: 0; right: 0; top: 72px; display: grid; gap: 0; padding: 12px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .mobile-panel a { padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 72px; }
  .hero-aside { max-width: 560px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(3) { padding-left: 0; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-title { grid-column: 1/-1; }
}
@media (max-width: 620px) {
  .nav-wrap, .hero, .breadcrumbs, main > .section, .proof-strip, .footer-inner { width: min(calc(100% - 32px), var(--max)); }
  .nav-wrap { min-width: 0; gap: 12px; }
  .brand { font-size: 14px; }
  .brand span:last-child { font-size: 0; }
  .brand span:last-child::after { content: "Haris Aslam"; font-size: 14px; }
  .hero { padding: 56px 0 48px; }
  .hero > *, .hero-copy, .hero-aside { min-width: 0; max-width: 100%; }
  .breadcrumbs { margin-top: 16px; margin-bottom: -30px; }
  h1 { width: 100%; max-width: 100%; font-size: clamp(2.45rem, 11vw, 2.8rem); letter-spacing: -.05em; text-wrap: wrap; overflow-wrap: anywhere; }
  .hero-intro, .hero-aside p { overflow-wrap: anywhere; }
  main > .section { padding: 64px 0; }
  .card-grid, .case-grid, .pill-links { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip div { padding: 8px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip div:last-child { border-bottom: 0; }
  .card, .case { min-height: 0; padding: 28px; }
  .numbered li { grid-template-columns: 52px 1fr; }
  .cta { width: calc(100% - 32px)!important; align-items: flex-start; flex-direction: column; padding: 34px 26px!important; margin-bottom: 64px!important; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-title { grid-column: auto; }
  .footer-meta { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header,.site-footer,.cta { display:none; } body { background:#fff; } }
