/* =============================================================================
   net.css  -  the Earthgrid Net framework (EGN) stylesheet, v1.0 (2026-10-07)
   Home: earthgrid.net. No Bootstrap. No jQuery. One file, one set of tokens.

   WHAT IT IS
     Light, Apple-style look taken from the new search look
     (search/css/style-eg-look.css): 1px lines, white space, quiet gray text,
     one blue accent, pill controls. Earthgrid green and orange stay as small
     accents, and the triangle is the signature shape.

   HOW TO USE IT
     - Change a color or size in the :root block only. Nothing below it holds
       a raw color except the triangle gradients and the photo scrims.
     - Every class starts with nf-. Page files never need their own CSS.
     - Rule: apple-first. Reading text stays near 25em (about 50 characters),
       which keeps lines to 9 to 12 words.
     - Dark mode is not shipped. The tokens make it a 20 line job later.
   ========================================================================== */

:root {
  --nf-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
             "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --nf-text: #1d1d1f;
  --nf-text-2: #5e5e63;
  --nf-line: #d2d2d7;
  --nf-line-soft: #e8e8ed;
  --nf-fill: #f5f5f7;
  --nf-bg: #ffffff;
  --nf-accent: #0071e3;
  --nf-accent-hover: #0077ed;
  --nf-accent-soft: #e8f2fd;
  --nf-link: #0066cc;
  --nf-green: #2b8a3e;        /* text-safe green on white */
  --nf-green-fill: #5cb85c;   /* Earthgrid green, for fills */
  --nf-orange: #f0932b;       /* Earthgrid orange, for fills */
  --nf-orange-ink: #a64b00;   /* text-safe orange on white */
  --nf-dark: #1d1d1f;
  --nf-radius: 12px;
  --nf-radius-lg: 18px;
  --nf-pill: 980px;
  --nf-wrap: 1080px;
  --nf-gutter: clamp(18px, 4vw, 40px);
  --nf-measure: 25em;
  --nf-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; background: var(--nf-bg); color: var(--nf-text); font-family: var(--nf-font);
  font-size: 17px; line-height: 1.5; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--nf-link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--nf-accent); outline-offset: 3px; border-radius: 6px; }
.nf-skip { position: absolute; left: 12px; top: -60px; background: var(--nf-dark); color: #fff; padding: 10px 16px;
  border-radius: var(--nf-pill); z-index: 100; }
.nf-skip:focus { top: 12px; text-decoration: none; }
.nf-wrap { max-width: var(--nf-wrap); margin: 0 auto; padding: 0 var(--nf-gutter); }

/* ---------- header ---------- */
.nf-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--nf-line); }
.nf-header .nf-wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px;
  flex-wrap: wrap; min-height: 56px; padding-top: 6px; padding-bottom: 6px; }
.nf-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--nf-text); font-weight: 700;
  font-size: 19px; letter-spacing: -0.02em; }
.nf-brand:hover { text-decoration: none; }
.nf-brand svg { width: 28px; height: 28px; flex: none; }
.nf-wm { font-weight: 700; }
.nf-wm span { color: var(--nf-text-2); font-weight: 500; }
.nf-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.nf-nav a { color: var(--nf-text); font-size: 15px; padding: 9px 12px; border-radius: var(--nf-pill); }
.nf-nav a:hover { background: var(--nf-fill); text-decoration: none; }
.nf-nav a[aria-current="page"] { background: var(--nf-fill); font-weight: 600; }
.nf-nav .nf-nav-cta { background: var(--nf-accent); color: #fff; font-weight: 600; margin-left: 4px; }
.nf-nav .nf-nav-cta:hover { background: var(--nf-accent-hover); }

/* ---------- buttons ---------- */
.nf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 26px; border-radius: var(--nf-pill); border: 1px solid var(--nf-accent); background: var(--nf-accent);
  color: #fff; font: 600 17px/1 var(--nf-font); letter-spacing: -0.01em; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.nf-btn:hover { background: var(--nf-accent-hover); border-color: var(--nf-accent-hover); text-decoration: none; transform: translateY(-1px); }
.nf-btn-line { background: transparent; color: var(--nf-accent); }
.nf-btn-line:hover { background: var(--nf-accent-soft); color: var(--nf-accent); }
.nf-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nf-center .nf-btn-row { justify-content: center; }
.nf-more { display: inline-block; margin-top: 4px; font-weight: 600; }
.nf-more::after { content: " \203A"; }

/* ---------- type ---------- */
.nf-eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--nf-orange-ink); margin-bottom: 14px; }
.nf-h1 { font-size: clamp(38px, 6.4vw, 68px); max-width: 16em; text-wrap: balance; }
.nf-h1-md { font-size: clamp(32px, 4.8vw, 54px); }
.nf-tight { padding: clamp(14px, 2.5vw, 26px) 0; border-top: 0; }
.nf-h2 { font-size: clamp(28px, 4vw, 42px); max-width: 18em; text-wrap: balance; margin-bottom: 18px; }
.nf-h3 { font-size: 21px; letter-spacing: -0.015em; margin-bottom: 8px; }
.nf-lede { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; color: var(--nf-text-2); max-width: 22em; margin-top: 22px; }
.nf-prose p, .nf-prose li { max-width: var(--nf-measure); text-wrap: pretty; }
.nf-prose p { color: #2a2a2d; }
.nf-prose ul, .nf-prose ol { padding-left: 1.2em; margin-bottom: 1em; }
.nf-prose li { margin-bottom: .4em; }
.nf-prose strong { color: var(--nf-text); }
.nf-center { text-align: center; }
.nf-center .nf-h1, .nf-center .nf-h2, .nf-center .nf-lede, .nf-center .nf-prose p { margin-left: auto; margin-right: auto; }
.nf-fine { font-size: 14px; color: var(--nf-text-2); }

/* ---------- sections ---------- */
.nf-sec { padding: clamp(44px, 6.5vw, 76px) 0; border-top: 1px solid var(--nf-line-soft); scroll-margin-top: 70px; }
.nf-sec:first-child { border-top: 0; }
.nf-band { background: var(--nf-fill); border-top: 0; }
.nf-band + .nf-sec, .nf-sec + .nf-band { border-top: 0; }
.nf-sec-head { margin-bottom: 36px; }
.nf-center .nf-sec-head { display: flex; flex-direction: column; align-items: center; }

/* ---------- hero ---------- */
.nf-hero { padding: clamp(40px, 7vw, 84px) 0 clamp(36px, 6vw, 72px); overflow: hidden; }
.nf-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.nf-hero-art img, .nf-hero-art svg { display: block; width: 100%; height: auto; }
.nf-hero.nf-center .nf-hero-grid { grid-template-columns: 1fr; }
.nf-hero-small { padding-bottom: clamp(28px, 4vw, 48px); }

/* ---------- triangle number ---------- */
.nf-tri { display: inline-flex; align-items: flex-end; justify-content: center; width: 44px; height: 38px;
  background: var(--nf-orange); clip-path: polygon(50% 0, 100% 100%, 0 100%); color: #1d1d1f;
  font-weight: 800; font-size: 14px; padding-bottom: 5px; flex: none; }
.nf-tri-green { background: var(--nf-green-fill); }
.nf-tri-blue { background: var(--nf-accent); color: #fff; }

/* ---------- cards ---------- */
.nf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.nf-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .nf-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nf-cols-4 { grid-template-columns: 1fr; } }
.nf-card { display: flex; flex-direction: column; background: var(--nf-bg); border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-lg); padding: 26px 24px 24px; color: var(--nf-text);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.nf-band .nf-card { border-color: transparent; }
a.nf-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--nf-shadow); border-color: var(--nf-line); }
.nf-card .nf-tri { margin-bottom: 16px; }
.nf-card p { color: var(--nf-text-2); font-size: 16px; margin: 0; max-width: 22em; }
.nf-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--nf-pill); background: var(--nf-fill); color: var(--nf-text-2); margin-bottom: 14px; }
.nf-band .nf-tag { background: var(--nf-bg); }
.nf-tag-gain { background: var(--nf-accent-soft); color: #00479b; }
.nf-tag-worth { background: #e6f4e9; color: #1b5e2b; }
.nf-tag-eg { background: #fdeedc; color: #7a3800; }
.nf-today { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--nf-line-soft); font-size: 15px; color: var(--nf-text); }
.nf-today b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--nf-green); margin-bottom: 4px; }

/* ---------- split (text and figure) ---------- */
.nf-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.nf-split-flip .nf-split-fig { order: -1; }
.nf-fig { margin: 0; }
.nf-fig img, .nf-fig svg { display: block; width: 100%; height: auto; border-radius: var(--nf-radius-lg); }
.nf-fig figcaption { font-size: 14px; color: var(--nf-text-2); margin-top: 10px; max-width: 30em; }

/* ---------- timeline ---------- */
.nf-timeline { list-style: none; position: relative; margin: 0; padding: 0 0 0 34px; }
.nf-timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--nf-line); }
.nf-tl-item { position: relative; padding: 0 0 30px; }
.nf-tl-item:last-child { padding-bottom: 0; }
.nf-tl-item::before { content: ""; position: absolute; left: -34px; top: 5px; width: 20px; height: 18px;
  background: var(--nf-orange); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.nf-tl-item.nf-tl-now::before { background: var(--nf-accent); }
.nf-tl-year { display: block; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--nf-orange-ink); }
.nf-tl-item h3 { font-size: 21px; margin: 2px 0 6px; }
.nf-tl-item p { margin: 0; color: var(--nf-text-2); max-width: 28em; text-wrap: pretty; }

/* ---------- quote ---------- */
.nf-quote { margin: 0; padding: 8px 0; text-align: center; }
.nf-quote p { font-size: clamp(24px, 3.6vw, 38px); line-height: 1.22; font-weight: 700; letter-spacing: -0.02em;
  max-width: 18em; margin: 0 auto; text-wrap: balance; }
.nf-quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 15px; color: var(--nf-text-2); }

/* ---------- steps ---------- */
.nf-steps { list-style: none; counter-reset: nfstep; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.nf-steps li { counter-increment: nfstep; position: relative; padding: 22px 22px 22px 22px; border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-lg); background: var(--nf-bg); }
.nf-steps li::before { content: counter(nfstep); display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--nf-accent); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.nf-steps h3 { font-size: 19px; margin-bottom: 6px; }
.nf-steps p { margin: 0; color: var(--nf-text-2); font-size: 16px; max-width: 20em; }

/* ---------- callout / note ---------- */
.nf-note { border: 1px solid var(--nf-line); border-left: 4px solid var(--nf-orange); border-radius: var(--nf-radius);
  padding: 18px 22px; background: var(--nf-bg); }
.nf-note h3 { font-size: 18px; margin-bottom: 6px; }
.nf-note p { margin: 0; color: var(--nf-text-2); max-width: 32em; }
.nf-note-blue { border-left-color: var(--nf-accent); }
.nf-note-green { border-left-color: var(--nf-green-fill); }

/* ---------- article (long form) ---------- */
.nf-article { max-width: 720px; margin: 0 auto; }
.nf-article h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 2.2em 0 .5em; max-width: 16em; text-wrap: balance; }
.nf-article h2:first-child { margin-top: 0; }
.nf-article h3 { font-size: 21px; margin: 1.6em 0 .4em; }
.nf-article p, .nf-article li { font-size: 19px; line-height: 1.6; max-width: 26em; text-wrap: pretty; color: #2a2a2d; }
.nf-article ul, .nf-article ol { padding-left: 1.3em; margin-bottom: 1.1em; }
.nf-article blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--nf-orange);
  font-size: 22px; line-height: 1.35; font-weight: 600; max-width: 20em; }
.nf-article blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--nf-text-2); font-style: normal; }
.nf-toc { margin: 0 0 40px; padding: 18px 22px; border: 1px solid var(--nf-line); border-radius: var(--nf-radius); background: var(--nf-fill); }
.nf-toc b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--nf-text-2); margin-bottom: 8px; }
.nf-toc ol { padding-left: 1.2em; columns: 2; column-gap: 28px; }
.nf-toc li { font-size: 15px; margin-bottom: 4px; break-inside: avoid; }

/* ---------- directory ---------- */
.nf-dir-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 22px; }
.nf-search { flex: 1 1 260px; min-width: 0; height: 48px; padding: 0 18px; border: 1px solid var(--nf-line);
  border-radius: var(--nf-pill); font: 400 17px var(--nf-font); color: var(--nf-text); background: var(--nf-bg); }
.nf-search:focus { outline: none; border-color: var(--nf-accent); box-shadow: 0 0 0 3px rgba(0,113,227,.18); }
.nf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nf-chip { min-height: 40px; padding: 0 16px; border-radius: var(--nf-pill); border: 1px solid var(--nf-line); background: var(--nf-bg);
  color: var(--nf-text); font: 500 15px var(--nf-font); cursor: pointer; }
.nf-chip:hover { background: var(--nf-fill); }
.nf-chip[aria-pressed="true"] { background: var(--nf-dark); border-color: var(--nf-dark); color: #fff; }
.nf-count { font-size: 14px; color: var(--nf-text-2); margin: 0 0 14px; }
.nf-member { display: flex; flex-direction: column; gap: 14px; }
.nf-member-top { display: flex; align-items: center; gap: 14px; }
.nf-av { position: relative; flex: none; width: 60px; height: 52px; clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(160deg, var(--nf-green-fill), var(--nf-accent)); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px; letter-spacing: 0; overflow: hidden; }
.nf-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.nf-av-node { background: linear-gradient(160deg, var(--nf-orange), #e0662a); }
.nf-av-lg { width: 96px; height: 84px; font-size: 24px; padding-bottom: 11px; }
.nf-member h3 { font-size: 19px; margin: 0; }
.nf-member .nf-role { font-size: 14px; color: var(--nf-text-2); margin: 2px 0 0; }
.nf-member p.nf-bio { margin: 0; font-size: 15.5px; color: var(--nf-text-2); }
.nf-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: auto; }
.nf-tags li { font-size: 12.5px; padding: 3px 10px; border-radius: var(--nf-pill); background: var(--nf-fill); color: var(--nf-text-2); }
.nf-card-join { border-style: dashed; background: transparent; justify-content: center; }
.nf-empty { padding: 28px; text-align: center; color: var(--nf-text-2); border: 1px dashed var(--nf-line); border-radius: var(--nf-radius-lg); }
[hidden] { display: none !important; }
.nf-profile { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.nf-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0; font-size: 16px; }
.nf-facts dt { color: var(--nf-text-2); }
.nf-facts dd { margin: 0; }

/* ---------- closer / cta ---------- */
.nf-cta { text-align: center; }
.nf-cta .nf-h2 { margin-left: auto; margin-right: auto; }
.nf-cta p { margin-left: auto; margin-right: auto; color: var(--nf-text-2); max-width: 24em; }

/* ---------- footer ---------- */
.nf-footer { border-top: 1px solid var(--nf-line); background: var(--nf-fill); padding: 48px 0 30px; margin-top: 0; font-size: 15px; }
.nf-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px 32px; }
.nf-footer h2 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--nf-text-2); margin-bottom: 12px; font-weight: 700; }
.nf-footer ul { list-style: none; }
.nf-footer li { margin-bottom: 8px; }
.nf-footer a { color: var(--nf-text); }
.nf-footer a:hover { color: var(--nf-link); }
.nf-footer .nf-tagline { color: var(--nf-text-2); max-width: 20em; margin: 10px 0 0; }
.nf-legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--nf-line); display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between; color: var(--nf-text-2); font-size: 13.5px; }

/* ---------- motion ---------- */
@keyframes nf-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .nf-hero-art svg .nf-blink { animation: nf-pulse 4.5s ease-in-out infinite; }
  .nf-hero-art svg .nf-blink:nth-child(2n) { animation-delay: 1.3s; }
  .nf-hero-art svg .nf-blink:nth-child(3n) { animation-delay: 2.6s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nf-btn, .nf-card { transition: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .nf-hero-grid, .nf-split { grid-template-columns: 1fr; }
  .nf-split-flip .nf-split-fig { order: 0; }
  .nf-hero-art { max-width: 520px; }
  .nf-footer-grid { grid-template-columns: 1fr 1fr; }
  .nf-toc ol { columns: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nf-header .nf-wrap { justify-content: center; }
  .nf-nav { justify-content: center; }
  .nf-nav a { padding: 8px 10px; font-size: 14.5px; }
  .nf-btn-row .nf-btn { width: 100%; }
  .nf-footer-grid { grid-template-columns: 1fr; }
  .nf-profile { grid-template-columns: 1fr; }
  .nf-article p, .nf-article li { font-size: 18px; }
}
@media print {
  .nf-header, .nf-footer, .nf-skip { display: none; }
  .nf-sec { padding: 20px 0; }
}
