/* OPQ for NGOs: "field notes". Its own room in the building: a ruled notebook page, a teal highlighter,
   the raspberry seal as a stamp, and numbered sections like an impact report. */
.ngo {
  --n-paper: #fcfcfa; --n-card: var(--white); --n-ink: var(--ink); --n-mute: rgba(11, 22, 21, .64); --n-line: rgba(11, 22, 21, .14);
  --n-green: var(--teal-ink); --n-sun: #7fe3d9; --n-clay: var(--rasp); --n-serif: var(--display);
  position: relative; isolation: isolate; color: var(--n-ink);
  background: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(0, 184, 169, .09) 39px 40px) var(--n-paper);
}
/* paper grain */
.ngo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .26 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }
.n-d { font-family: var(--display); font-weight: 400; letter-spacing: .005em; line-height: 1; }
.n-d em { font-family: inherit; font-size: 1em; font-style: normal; font-weight: inherit; letter-spacing: inherit; color: var(--rasp); }
.ngo mark { padding: 0 .05em; background: linear-gradient(100deg, transparent .2em, color-mix(in srgb, var(--n-sun) 88%, transparent) .3em, color-mix(in srgb, var(--n-sun) 80%, transparent) calc(100% - .3em), transparent calc(100% - .2em)) 0 62% / 0% 44% no-repeat; color: inherit; transition: background-size 1s var(--ease-out); }
.ngo mark.on { background-size: 100% 44%; }
.n-k { font-family: var(--mono); font-size: 11px; line-height: 1.55; letter-spacing: .08em; text-transform: uppercase; color: var(--n-mute); }
.n-k b { font-weight: 500; color: var(--n-clay); }
.n-btn { background: var(--teal); color: var(--ink); padding: 17px 28px; font-size: 15px; }
.n-btn:hover { box-shadow: 0 12px 30px rgba(0, 184, 169, .35); }
.n-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 15px; }
.n-link svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.n-link:hover svg { transform: translateY(3px); }
.n-n { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--n-mute); }

/* 01 the cover */
.n1 { position: relative; display: flex; flex-direction: column; min-height: max(calc(100svh - var(--header-h)), 640px); padding: 34px 48px 72px; }
.n-top { display: flex; justify-content: space-between; gap: 24px; }
.n-top .r { text-align: right; }
.n1-main { position: relative; z-index: 1; margin-top: auto; padding-top: 72px; }
.n1-h { font-size: clamp(52px, 8.2vw, 132px); line-height: .96; }
.n1-h .ln { display: block; }
.n1-p { max-width: 580px; margin-top: 34px; font-size: 20px; line-height: 1.45; color: var(--n-mute); }
.n1-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 40px; }
.n-stamp { position: absolute; right: 7vw; top: 21%; width: clamp(150px, 16vw, 236px); aspect-ratio: 1; color: var(--n-clay); transform: rotate(-8deg); }
.n-stamp svg { width: 100%; height: 100%; overflow: visible; animation: spin 40s linear infinite; }
.n-stamp text { font-family: var(--mono); font-size: 12px; font-weight: 500; fill: currentColor; }
.n-stamp::before { content: ""; position: absolute; inset: 17%; border: 1px dashed currentColor; border-radius: 50%; opacity: .55; }
.n-stamp::after { content: ""; position: absolute; inset: 0; border: 1.5px solid currentColor; border-radius: 50%; opacity: .8; }
.n-stamp img { position: absolute; left: 30%; top: 30%; width: 40%; height: 40%; border-radius: 6px; box-shadow: 0 10px 30px rgba(242, 25, 94, .3); }

/* every section: a margin note on the left, the content on the right */
.n-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; padding: 128px 48px; border-top: 1px solid var(--n-line); }
.n-label { position: sticky; top: 32px; grid-column: 1 / span 3; align-self: start; font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--n-mute); }
.n-label span { display: block; margin-bottom: 10px; font-family: var(--n-serif); font-size: 46px; font-weight: 400; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--n-ink); }
.n-body { grid-column: 4 / span 9; min-width: 0; }
.n-h2 { max-width: 900px; font-size: clamp(38px, 4.8vw, 74px); }
.n-note { max-width: 580px; margin-top: 24px; font-size: 18px; line-height: 1.5; color: var(--n-mute); }
.pre { opacity: 0; transform: translateY(16px); }
.rv { transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }

/* 02 the two doors */
.n-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.n-door { display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: var(--n-card); box-shadow: 0 1px 0 var(--n-line), 0 30px 60px -34px rgba(27, 43, 34, .3); }
.n-door .tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: rgba(0, 184, 169, .14); color: var(--n-green); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.n-door.b .tag { background: rgba(242, 25, 94, .1); color: var(--n-clay); }
.n-door h3 { margin-top: 26px; font-family: var(--n-serif); font-size: clamp(28px, 2.5vw, 38px); font-weight: 400; line-height: 1.04; }
.n-door > p { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--n-mute); }
.n-door ul { display: grid; gap: 9px; margin-top: 20px; }
.n-door li { display: flex; gap: 10px; font-size: 15px; line-height: 1.35; }
.n-door li svg { flex: none; width: 18px; height: 18px; color: var(--n-green); }
.n-door .btn { align-self: flex-start; margin-top: 28px; }
.n-vis { position: relative; height: 230px; margin-top: 22px; overflow: hidden; border-radius: 16px; background: var(--mist); }
/* the social page doing a website's job */
.n-fb { padding: 0 0 14px; font-family: "Inter Tight", Arial, sans-serif; }
.n-fb-cover { height: 70px; background: linear-gradient(120deg, #b8c9b0, #9db69a 40%, #d9c79d); }
.n-fb-id { display: flex; align-items: flex-end; gap: 12px; margin: -26px 18px 0; }
.n-fb-av { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border: 3px solid var(--mist); border-radius: 50%; background: var(--n-green); color: #fff; }
.n-fb-av svg { width: 26px; height: 26px; }
.n-fb-id b { display: block; font-size: 16px; }
.n-fb-id small { display: block; font-size: 11.5px; color: #65676b; }
.n-fb-post { margin: 14px 18px 0; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 13px; line-height: 1.35; }
.n-fb-post small { display: block; margin-bottom: 4px; font-size: 11px; color: #65676b; }
.n-fb-tag { position: absolute; right: 14px; top: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(27, 43, 34, .82); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; transform: rotate(3deg); }
/* the site stuck in 2019 */
.n-old { background: #c8c8c8; font-family: "Times New Roman", Times, serif; }
.n-old-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #dedede; font-family: Arial, sans-serif; font-size: 11px; color: #555; }
.n-old-bar i { width: 8px; height: 8px; border-radius: 50%; background: #aaa; }
.n-old-bar > span { margin-left: 8px; padding: 3px 8px; background: #fff; }
.n-old-pg { margin: 10px; padding: 12px 14px; background: #fff; border: 2px ridge #aaa; color: #000; font-size: 13px; line-height: 1.3; }
.n-old-pg .mq { margin-bottom: 8px; padding: 3px 6px; background: #000080; color: #ff0; font-family: Arial, sans-serif; font-size: 10.5px; font-weight: 700; }
.n-old-pg b { color: #c00; font-size: 17px; }
.n-old-pg .btn404 { display: inline-block; margin-top: 10px; padding: 4px 10px; border: 2px outset #ddd; background: #ececec; font-family: Arial, sans-serif; font-size: 11px; font-weight: 700; }
.n-old-pg small { display: block; margin-top: 6px; font-family: "Courier New", monospace; font-size: 11px; color: #c00; }
.n-2019 { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 96px; height: 96px; border: 2px solid var(--n-clay); border-radius: 50%; color: var(--n-clay); font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; line-height: 1.1; text-align: center; text-transform: uppercase; transform: rotate(-14deg); background: rgba(251, 247, 238, .85); }
.n-2019 b { display: block; font-family: var(--n-serif); font-size: 30px; font-weight: 400; letter-spacing: 0; }

/* 03 sounds familiar */
.n-fam { margin-top: 56px; border-top: 1px solid var(--n-ink); }
.n-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 280px; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--n-line); }
.n-line { font-size: clamp(21px, 1.9vw, 28px); font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.n-fix { display: flex; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--n-green); }
.n-fix svg { flex: none; width: 18px; height: 18px; }

/* 04 try it on, the NGO edition: the homepage board, on paper */

/* 05 what donors check */
.n-checks { margin-top: 56px; border-top: 1px solid var(--n-ink); }
.n-th, .n-tr { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: baseline; }
.n-th { padding: 14px 0; border-bottom: 1px solid var(--n-line); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--n-mute); }
.n-th span:first-child { grid-column: 2; }
.n-tr { padding: 22px 0; border-bottom: 1px solid var(--n-line); }
.n-a { font-size: 19px; font-weight: 500; line-height: 1.35; }
.n-b { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--n-mute); }
.n-b svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--n-green); }

/* 06 what we make */
.n-svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin-top: 56px; border-top: 1px solid var(--n-ink); }
.n-svc a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--n-line); }
.n-svc b { display: block; font-family: var(--n-serif); font-size: 22px; font-weight: 400; }
.n-svc small { display: block; margin-top: 4px; font-size: 14px; color: var(--n-mute); }
.n-svc svg { flex: none; width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.n-svc a:hover svg { transform: translate(3px, -3px); }
.n-svc a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* 07 how we work */
.n-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; margin-top: 56px; }
.n-way { padding-top: 20px; border-top: 2px solid var(--n-ink); }
.n-way .n-n { display: block; margin-bottom: 18px; }
.n-way b { display: block; font-family: var(--n-serif); font-size: 26px; font-weight: 400; }
.n-way p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--n-mute); }

/* 08 proof */
.n-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.n-pc { display: flex; flex-direction: column; }
.n-pc .im { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: #e6dece; }
.n-pc .im img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1s var(--ease-out); }
.n-pc .im.ph { display: grid; place-items: center; background: #dfe7dc; }
.n-pc .im.ph img { width: auto; height: 92%; border-radius: 16px; box-shadow: 0 20px 40px rgba(27, 43, 34, .25); }
.n-pc:hover .im img { transform: scale(1.04); }
.n-pc .k { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--n-green); }
.n-pc h3 { margin-top: 6px; font-family: var(--n-serif); font-size: 26px; font-weight: 400; }
.n-pc p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--n-mute); }

/* 09 questions */
.n-faq { margin-top: 56px; border-top: 1px solid var(--n-ink); }
.n-q { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 24px 0 30px; border-bottom: 1px solid var(--n-line); }
.n-q h3 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.n-q p { font-size: 15px; line-height: 1.5; color: var(--n-mute); }

@media (max-width: 1179px) {
  .n-row { grid-template-columns: 48px minmax(0, 1fr); }
  .n-fix { grid-column: 2; }
  
  .n-proof { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .n1 { padding: 22px 16px 56px; }
  .n-top .r { display: none; }
  .n1-h { font-size: clamp(42px, 12vw, 64px); }
  .n1-p { font-size: 17px; }
  .n-stamp { top: 96px; right: 14px; width: 112px; }
  .n-stamp text { font-size: 13px; }
  .n-stamp b { font-size: 42px; }
  .n-sec { display: block; padding: 88px 16px; }
  .n-label { position: static; margin-bottom: 28px; }
  .n-label span { font-size: 36px; }
  .n-doors { grid-template-columns: 1fr; }
  .n-door { padding: 22px; }
  .n-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .n-fix { grid-column: auto; }
  .n-th { display: none; }
  .n-tr, .n-q { grid-template-columns: 1fr; gap: 8px; }
  .n-svc, .n-ways, .n-proof { grid-template-columns: 1fr; }
  
  
}
@media (prefers-reduced-motion: reduce) {
  .ngo mark { background-size: 100% 44%; transition: none; }
  .pre { opacity: 1; transform: none; }
  .n-stamp svg { animation: none; }
}
