/* Noxfolio-style layout preview, rebuilt by hand: near-black ground with faint column lines, citron accent,
   Inter, rounded pills and cards. Content is Eslam's own. */
:root {
  --bg: #0f0f0f; --bg2: #161616; --card: #1a1a1a; --line: rgba(255,255,255,.07);
  --text: #ffffff; --muted: #a6a6a6; --lime: #c9f31d; --lime-ink: #0f0f0f;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --wrap: 1170px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.7; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
.lime { color: var(--lime); }

/* column lines, as in the template */
.lines { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.lines > div { max-width: var(--wrap); height: 100%; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: repeating-linear-gradient(to right, transparent 0 calc(20% - 1px), var(--line) calc(20% - 1px) 20%); }
main, header, footer { position: relative; z-index: 1; }

.eyebrow { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.sec-head { max-width: 620px; margin-bottom: 56px; }
.sec-head h2, .about h2, .contact h2, .story h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; }
.sec-head .sub { color: var(--muted); margin-top: 18px; }
.sec-head .btn { margin-top: 28px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--lime-ink); font-weight: 600; font-size: 15px; padding: 16px 30px; border-radius: 999px; transition: transform .2s, background .2s; }
.btn:hover { background: #d7fa4a; transform: translateY(-2px); }
.btn-sm { padding: 12px 24px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover { color: var(--lime); }
.btn-icon { width: 52px; height: 52px; padding: 0; justify-content: center; }
.btn-icon svg { width: 22px; height: 22px; flex: none; display: block; }
.btn-icon:hover { border-color: var(--lime); color: var(--lime); }
.hire-direct .btn-icon { width: 44px; height: 44px; padding: 0; }
.hire-direct .btn-icon svg { width: 20px; height: 20px; }
.chev { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }

/* header */
.nx-header { position: sticky; top: 0; z-index: 50; background: rgba(15,15,15,.85); backdrop-filter: blur(10px); }
.nx-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.mark { width: 54px; height: 32px; fill: #f1ece2; display: block; }
.mark .mk-lime { fill: var(--lime); }
.nav { display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.nav a { transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--lime); }
.burger { display: none; appearance: none; background: none; border: 0; padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; cursor: pointer; flex-direction: column; gap: 5px; -webkit-tap-highlight-color: transparent; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; }

/* hero */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: calc(100vh - 92px); }
.hello { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; color: #bdbdbd; margin: 0; line-height: 1.2; }
.hero h1 { display: grid; }
.hero h1 .lime { font-size: clamp(44px, 5.4vw, 72px); font-weight: 600; line-height: 1.1; }
.hero h1 .role { font-size: clamp(36px, 4.8vw, 64px); font-weight: 300; line-height: 1.1; color: #fff; }
.lead { color: var(--muted); max-width: 440px; margin: 28px 0 36px; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-art { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin-left: auto; }
.disc { position: absolute; inset: 0; border-radius: 50%; background: #1b1b1b; overflow: hidden; }
.slice { position: absolute; background: var(--lime); }
.slice:not(.slice-2) { right: -8%; top: 8%; width: 62%; height: 62%; border-radius: 0 50% 50% 50%; transform: rotate(-22deg); }
.slice-2 { left: -6%; bottom: -4%; width: 56%; height: 46%; border-radius: 50% 50% 0 50%; transform: rotate(-12deg); }
.disc img, .disc-top img { position: absolute; left: 50%; width: 98%; height: auto; transform: translateX(-50%); }
/* the photo's frame edges sit outside the circle, so the disc crops the shoulders instead of the frame */
.disc img { top: -22%; }
.disc-top img { top: -1.667%; } /* same spot: the disc-top box starts 20% higher and is 120% tall */
.disc-top { position: absolute; left: 0; right: 0; top: -20%; bottom: 0; clip-path: inset(0 0 41.667% 0); pointer-events: none; }

/* about */
.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-text > p:not(.eyebrow) { color: var(--muted); margin: 22px 0 28px; max-width: 540px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-weight: 500; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 5px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.about-art { position: relative; height: 420px; }
.ring { position: absolute; left: 10%; top: 10%; width: 300px; height: 300px; border-radius: 50%; background: #1b1b1b; }
.pill { position: absolute; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #111; font-size: 13px; font-weight: 600; padding: 8px 16px 8px 8px; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pill .ico { width: 28px; height: 28px; border-radius: 50%; }
.pill .ico { background: var(--lime); }
.pill.p1 { left: -6%; top: 22%; } .pill.p2 { left: 2%; top: 46%; } .pill.p3 { left: 12%; top: 72%; }
.badge { position: absolute; right: 4%; top: 18%; width: 150px; height: 150px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-content: center; text-align: center; line-height: 1.15; }
.badge strong { font-size: 36px; font-weight: 700; } .badge span { font-size: 14px; font-weight: 600; }
.sq { position: absolute; background: var(--lime); }
.sq-1 { width: 22px; height: 22px; left: 28%; top: -2%; } .sq-1::after, .sq-2::after { content: ''; position: absolute; width: 7px; height: 7px; background: var(--lime); right: -10px; bottom: -10px; }
.sq-2 { width: 22px; height: 22px; right: 12%; bottom: 4%; }

/* services */
.services { padding: 40px 0 120px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 36px 30px 30px; transition: transform .25s, border-color .25s; }
.svc:hover { transform: translateY(-6px); border-color: rgba(201,243,29,.5); }
.svc .num { display: inline-block; color: var(--lime); font-weight: 600; font-size: 14px; margin-bottom: 36px; }
.svc h3 { font-size: 20px; margin-bottom: 12px; }
.svc p { color: var(--muted); font-size: 15px; margin: 0; }
.svc-cta { display: grid; align-content: center; justify-items: start; gap: 24px; background: #141414; }
.svc-cta h3 { font-size: 24px; font-weight: 500; }

/* stats */
.stats { padding: 0 0 120px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.stat strong { display: block; font-size: 48px; font-weight: 600; color: var(--lime); letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: 14px; }

/* resume */
.resume { padding: 0 0 120px; }
.resume-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 60px; align-items: start; }
.bio p { color: #d6d6d6; font-size: 17px; max-width: 62ch; margin: 0 0 22px; }
.bio p:first-child { color: #fff; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; }
.bio-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.side { display: grid; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.card h3 { font-size: 18px; margin-bottom: 14px; }
.plain { margin: 0; padding: 0 0 0 18px; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }
.plain li::marker { color: var(--lime); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); }

/* non-profit photos */
.nonprofit { padding: 0 0 120px; }
.photos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.photos figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--card); }
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.photos figure:hover img { transform: scale(1.04); }
.photos figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 13px; font-weight: 600; background: rgba(15,15,15,.75); padding: 6px 12px; border-radius: 999px; }
.photos figure:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.photos figure:nth-child(1) img { object-position: 55% 50%; }
.photos figure:nth-child(2) { grid-column: span 6; aspect-ratio: 16 / 7; }
.photos figure:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.photos figure:nth-child(4) { grid-column: span 3; aspect-ratio: 4 / 3; }
.photos figure:nth-child(5) { grid-column: span 3; aspect-ratio: 4 / 3; }

/* story */
.story { padding: 0 0 120px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story video { width: 100%; border-radius: 16px; background: #000; }
.story p:not(.eyebrow) { color: var(--muted); margin: 22px 0 24px; }

/* contact */
.contact { padding: 0 0 120px; }
.contact-box { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contact-box p:not(.eyebrow) { color: var(--muted); margin: 18px 0 0; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* footer */
.nx-footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: 14px; color: var(--muted); }
.nx-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nx-footer .brand .mark { width: 40px; height: 24px; }
.nx-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.nx-footer nav a { padding: 10px 0; }
.nx-footer nav a:hover { color: var(--lime); }
.nx-footer p { margin: 0; }

/* hire page */
.hire-sec { padding: 72px 0 120px; }
.hire-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.hire-intro h1 { font-size: clamp(34px, 4vw, 54px); font-weight: 500; line-height: 1.1; }
.hire-intro .lead { max-width: 480px; margin: 24px 0 28px; }
.hire-facts { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 10px; font-size: 15px; color: #d6d6d6; }
.hire-facts li { position: relative; padding-left: 22px; }
.hire-facts li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.hire-direct { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hire-direct .eyebrow { width: 100%; margin-bottom: 4px; }
.hire-direct .btn-ghost:not(.btn-icon) { padding: 12px 20px; font-size: 14px; }
.hire-form { padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; }
.choices { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choices legend { padding: 0; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; font-size: 16px; }
.choice span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.choice input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.field em { font-style: normal; color: #8f8f8f; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: #fff; background: #111; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 16px; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--lime); }
.field input::placeholder, .field textarea::placeholder { color: #6f6f6f; }
.hire-form .btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.hire-form .btn:disabled { opacity: .6; transform: none; cursor: wait; }
.form-note { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.form-error { margin: 0; font-size: 14px; color: #ff8a7a; }
.form-done h2 { font-size: 26px; font-weight: 500; margin-bottom: 10px; }
.form-done p { color: #d6d6d6; margin: 0; }
.form-done a { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
[hidden] { display: none !important; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .resume-grid, .story-grid, .about-grid, .hire-grid { grid-template-columns: 1fr; }
  .about-art { height: 380px; max-width: 480px; }
}
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 92px; left: 0; right: 0; background: #0f0f0f; flex-direction: column; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .hire { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; }
  .hero-art { margin: 20px auto 0; width: min(420px, 90vw); }
  .about, .services, .stats, .resume, .nonprofit, .story, .contact { padding-bottom: 80px; }
  .about { padding-top: 80px; }
    .photos figure:nth-child(n) { grid-column: span 12; grid-row: auto; aspect-ratio: 4 / 3; }
    .photos figure.tall { aspect-ratio: 4 / 5; }
  .contact-box { grid-template-columns: 1fr; }
  .contact-links { justify-content: flex-start; }
  .pill.p1 { left: 0; } .pill.p3 { left: 4%; } .field-row { grid-template-columns: 1fr; } .hire-sec { padding-top: 40px; } .badge { right: 0; width: 120px; height: 120px; } .badge strong { font-size: 28px; }
}
@media (max-width: 480px) {
  .svc-grid { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .brand span { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
