/*
Theme Name: NECS - NEPZA Ethical Cooperative Society
Theme URI: https://necs.com.ng
Author: NEPZA Ethical Cooperative Society Ltd
Author URI: https://necs.com.ng
Description: Informational website theme for the NEPZA Ethical Cooperative Society Ltd. Built on a clean, content-driven foundation. All page text, news, committee members, contact details and app-store links are editable from the WordPress admin dashboard without touching code. Brand palette derived from the NECS logo: forest green and champagne gold.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: necs
*/

/* ============================================================
   DESIGN SYSTEM — "Trust, made visible"
   An ethical cooperative rooted in Islamic finance. The visual
   language draws on the heritage it belongs to: the eight-point
   khatim star, gold leaf on deep green, editorial restraint.
   ============================================================ */
:root {
  --ink:          #14241C;
  --forest:       #2A4A3A;
  --green:        #47715F;
  --sage:         #7A9A88;
  --gold:         #E8A33D;
  --gold-deep:    #C07F12;
  --gold-soft:    #F5E3C4;
  --cream:        #FBF9F4;
  --cream-2:      #F4EFE6;
  --mist:         #EAF0EC;
  --line:         #E3DCCF;
  --line-cool:    #D4E0D8;
  --paper:        #FFFFFF;
  --muted:        #5E6B63;

  --serif:  "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:   "Schibsted Grotesk", "Inter", system-ui, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --sh-sm: 0 1px 3px rgba(20,36,28,.06), 0 1px 2px rgba(20,36,28,.04);
  --sh:    0 6px 24px -8px rgba(20,36,28,.14), 0 2px 8px -4px rgba(20,36,28,.08);
  --sh-lg: 0 24px 60px -16px rgba(20,36,28,.22), 0 8px 24px -12px rgba(20,36,28,.12);
  --sh-gold: 0 16px 40px -12px rgba(192,127,18,.28);

  --pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22120%22%20height%3D%22120%22%20viewBox%3D%220%200%20120%20120%22%3E%3Cdefs%3E%3Cpattern%20id%3D%22k%22%20width%3D%22120%22%20height%3D%22120%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23E8A33D%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M60%2018%20L70%2038%20L92%2038%20L77%2054%20L84%2076%20L60%2064%20L36%2076%20L43%2054%20L28%2038%20L50%2038%20Z%22/%3E%3Crect%20x%3D%2244%22%20y%3D%2244%22%20width%3D%2232%22%20height%3D%2232%22%20transform%3D%22rotate%2845%2060%2060%29%22/%3E%3Cline%20x1%3D%2260%22%20y1%3D%220%22%20x2%3D%2260%22%20y2%3D%2218%22/%3E%3Cline%20x1%3D%2260%22%20y1%3D%22102%22%20x2%3D%2260%22%20y2%3D%22120%22/%3E%3Cline%20x1%3D%220%22%20y1%3D%2260%22%20x2%3D%2218%22%20y2%3D%2260%22/%3E%3Cline%20x1%3D%22102%22%20y1%3D%2260%22%20x2%3D%22120%22%20y2%3D%2260%22/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect%20width%3D%22120%22%20height%3D%22120%22%20fill%3D%22url%28%23k%29%22/%3E%3C/svg%3E");

  /* Backward-compatible aliases (old variable names → new palette) */
  --necs-green: var(--green);
  --necs-green-dark: var(--forest);
  --necs-green-deep: var(--ink);
  --necs-gold: var(--gold);
  --necs-gold-dark: var(--gold-deep);
  --necs-tint: var(--mist);
  --necs-tint-2: var(--cream-2);
  --necs-ink: var(--ink);
  --necs-muted: var(--muted);
  --necs-line: var(--line);
  --necs-white: var(--paper);
  --necs-radius: var(--r);
  --necs-radius-lg: var(--r-lg);
  --necs-shadow: var(--sh);
  --necs-shadow-lg: var(--sh-lg);
  --necs-maxw: var(--maxw);
  --necs-gutter: var(--gutter);
  --necs-font-body: var(--sans);
  --necs-font-head: var(--serif);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; }

p { margin: 0 0 1.2em; }
a { color: var(--green); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold-soft); color: var(--ink); }

.necs-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.necs-section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.necs-section--tint   { background: var(--cream-2); }
.necs-section--tint-2 { background: var(--mist); }
.necs-section--ink    { background: var(--ink); color: var(--cream); }

.necs-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); text-transform: uppercase;
  letter-spacing: 0.22em; font-size: 0.72rem; font-weight: 600;
  color: var(--gold-deep); margin-bottom: 1.2em;
}
.necs-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.necs-section--ink .necs-eyebrow, .necs-hero .necs-eyebrow { color: var(--gold); }

/* BUTTONS */
.necs-btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 15px 30px; border-radius: 100px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
  position: relative;
}
.necs-btn:hover { transform: translateY(-2px); }
.necs-btn--primary { background: var(--forest); color: #fff; box-shadow: var(--sh); }
.necs-btn--primary:hover { background: var(--ink); color: #fff; box-shadow: var(--sh-lg); }
.necs-btn--gold { background: var(--gold); color: var(--ink); box-shadow: var(--sh-gold); }
.necs-btn--gold:hover { background: #f2b350; color: var(--ink); }
.necs-btn--ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.necs-btn--ghost:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.necs-arrow { transition: transform .25s; }
.necs-btn:hover .necs-arrow { transform: translateX(3px); }

/* HEADER */
.necs-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,249,244,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.necs-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.necs-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.necs-brand { display: flex; align-items: center; gap: 14px; }
.necs-brand img { height: 76px; width: auto; transition: transform .3s; }
.necs-brand:hover img { transform: scale(1.03); }
.necs-brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.necs-brand__name { font-family: var(--serif); font-weight: 600; color: var(--forest); font-size: 1.08rem; letter-spacing: -0.01em; }
.necs-brand__tag { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }

.necs-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.necs-nav a {
  font-family: var(--sans); font-weight: 500; font-size: 0.94rem;
  color: var(--ink); padding: 10px 16px; border-radius: 100px;
  position: relative; transition: color .2s, background .2s;
}
.necs-nav a:hover { color: var(--forest); background: rgba(42,74,58,0.06); }
.necs-nav .current-menu-item > a { color: var(--gold-deep); }
.necs-header__cta { display: flex; align-items: center; gap: 12px; }
.necs-burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.necs-burger span { display: block; width: 24px; height: 2px; background: var(--forest); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* HERO */
.necs-hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(232,163,61,0.16), transparent 60%),
    linear-gradient(165deg, var(--forest) 0%, var(--ink) 100%);
  color: var(--cream); overflow: hidden; isolation: isolate;
}
.necs-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern); background-size: 150px; opacity: 0.05; z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.necs-hero::after {
  content: ""; position: absolute; right: -180px; top: 50%; transform: translateY(-50%);
  width: 620px; height: 620px; border: 1px solid rgba(232,163,61,0.18); border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(232,163,61,0.08); z-index: -1;
}
.necs-hero__inner { padding-block: clamp(80px, 12vw, 150px); position: relative; }
.necs-hero__inner--split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.necs-hero__content { max-width: 620px; }
.necs-hero h1 { color: #fff; margin-bottom: 0.3em; }
.necs-hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.necs-hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(251,249,244,0.82); max-width: 540px; line-height: 1.6; }
.necs-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.necs-hero__media { display: flex; justify-content: center; position: relative; }
.necs-hero__trust { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(251,249,244,0.14); }
.necs-hero__trust-item { display: flex; flex-direction: column; gap: 2px; }
.necs-hero__trust-item strong { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); font-weight: 600; }
.necs-hero__trust-item span { font-size: 0.82rem; color: rgba(251,249,244,0.7); letter-spacing: 0.02em; }

/* ILLUSTRATIONS */
.necs-illus { width: 100%; position: relative; }
.necs-illus svg, .necs-illus img { width: 100%; height: auto; display: block; }
.necs-illus--hero { max-width: 480px; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.3)); }
.necs-illus--app  { max-width: 340px; margin-inline: auto; }
.necs-illus--app img, .necs-illus--hero img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); }

/* SECTION HEADINGS */
.necs-section__head { max-width: 720px; margin-bottom: 56px; }
.necs-section__head.center { margin-inline: auto; text-align: center; }
.necs-section__head .necs-lead { font-size: 1.15rem; color: var(--muted); line-height: 1.6; margin-bottom: 0; }
.necs-section--ink .necs-section__head .necs-lead { color: rgba(251,249,244,0.78); }

/* CARDS */
.necs-grid { display: grid; gap: 28px; }
.necs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.necs-grid--2 { grid-template-columns: repeat(2, 1fr); }
.necs-grid--4 { grid-template-columns: repeat(4, 1fr); }

.necs-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px 32px; box-shadow: var(--sh-sm);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.necs-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.necs-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.necs-card:hover::before { transform: scaleX(1); }
.necs-card__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--mist), var(--cream-2)); color: var(--green);
  margin-bottom: 22px; font-size: 1.6rem; border: 1px solid var(--line-cool);
  transition: background .35s, color .35s;
}
.necs-card:hover .necs-card__icon { background: linear-gradient(145deg, var(--forest), var(--green)); color: var(--gold); }
.necs-card h3 { margin-bottom: 0.4em; color: var(--forest); }
.necs-card p { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; line-height: 1.6; }
.necs-card__num { font-family: var(--serif); font-size: 0.9rem; font-weight: 600; color: var(--gold-deep); letter-spacing: 0.05em; margin-bottom: 14px; display: block; }

/* APP SECTION */
.necs-app {
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(232,163,61,0.12), transparent 60%),
    linear-gradient(155deg, var(--forest), var(--ink));
  color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden; box-shadow: var(--sh-lg);
}
.necs-app::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 130px; opacity: 0.05; }
.necs-app > * { position: relative; }
.necs-app h2 { color: #fff; }
.necs-app .necs-lead { color: rgba(251,249,244,0.8); font-size: 1.1rem; }
.necs-app__badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.necs-app__phones { display: flex; justify-content: center; }

.necs-store-badge {
  display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; padding: 11px 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.necs-store-badge:hover { transform: translateY(-2px); border-color: var(--gold); color: #fff; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5); }
.necs-store-badge__icon { display: inline-flex; align-items: center; line-height: 1; }
.necs-store-badge__icon svg { display: block; }
.necs-store-badge__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.necs-store-badge__text small { font-size: 0.62rem; opacity: 0.8; letter-spacing: 0.02em; }
.necs-store-badge__text strong { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; }
.necs-store-badge.is-placeholder { position: relative; }
.necs-store-badge.is-placeholder::after {
  content: "Coming soon"; position: absolute; top: -9px; right: -6px;
  background: var(--gold); color: var(--ink); font-size: 0.58rem; font-weight: 700;
  padding: 2px 9px; border-radius: 100px; letter-spacing: 0.02em;
}

/* MEMBER CARDS */
.necs-member-card { text-align: center; padding: 36px 24px; }
.necs-member-card__photo img {
  width: 124px; height: 124px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px;
  border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line), var(--sh);
}
.necs-member-card__avatar {
  width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--forest), var(--green)); color: var(--gold);
  font-family: var(--serif); font-weight: 600; font-size: 2.1rem;
  box-shadow: var(--sh), inset 0 2px 8px rgba(255,255,255,0.1); position: relative;
}
.necs-member-card__avatar::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--line-cool); border-radius: 50%; }
.necs-member-card__name { margin-bottom: 0.2em; font-size: 1.2rem; }
.necs-member-card__role { margin: 0; color: var(--gold-deep); font-family: var(--sans); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* FAQ */
.necs-faq { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; background: var(--paper); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.necs-faq[open] { box-shadow: var(--sh); border-color: transparent; }
.necs-faq__q {
  cursor: pointer; padding: 22px 26px; font-family: var(--serif); font-weight: 600;
  color: var(--forest); font-size: 1.12rem; list-style: none; position: relative; padding-right: 56px; transition: color .2s;
}
.necs-faq__q::-webkit-details-marker { display: none; }
.necs-faq__q::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: linear-gradient(var(--gold-deep),var(--gold-deep)) center/2px 100% no-repeat, linear-gradient(var(--gold-deep),var(--gold-deep)) center/100% 2px no-repeat;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.necs-faq[open] .necs-faq__q::after { transform: rotate(135deg); }
.necs-faq__q:hover { color: var(--gold-deep); }
.necs-faq__a { padding: 0 26px 24px; color: var(--muted); }
.necs-faq__a p:last-child { margin-bottom: 0; }

/* NEWS */
.necs-news-item { display: grid; grid-template-columns: 96px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s; align-items: start; }
.necs-news-item:hover { padding-left: 8px; }
.necs-news-item__date { text-align: center; background: linear-gradient(145deg, var(--mist), var(--cream-2)); border: 1px solid var(--line-cool); border-radius: var(--r); padding: 14px 8px; }
.necs-news-item__date .d { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--forest); line-height: 1; display: block; }
.necs-news-item__date .m { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-deep); font-weight: 600; }
.necs-news-item h3 { margin-bottom: 0.3em; }
.necs-news-item h3 a { color: var(--forest); transition: color .2s; }
.necs-news-item h3 a:hover { color: var(--gold-deep); }
.necs-news-item p { color: var(--muted); margin-bottom: 0.5em; font-size: 0.98rem; }
.necs-news-item__more { font-weight: 600; font-size: 0.9rem; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 6px; }

/* PAGE HERO */
.necs-page-hero {
  background: radial-gradient(700px 300px at 100% 0%, rgba(232,163,61,0.10), transparent 60%), linear-gradient(160deg, var(--mist), var(--cream-2));
  border-bottom: 1px solid var(--line); padding-block: clamp(64px, 9vw, 110px); position: relative; overflow: hidden;
}
.necs-page-hero::before { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; background-image: var(--pattern); background-size: 110px; opacity: 0.06; }
.necs-page-hero > .necs-container { position: relative; }
.necs-page-hero h1 { margin-bottom: 0.25em; }
.necs-page-hero p { color: var(--muted); font-size: 1.18rem; max-width: 660px; margin: 0; line-height: 1.6; }

/* PROSE */
.necs-content { max-width: 760px; font-size: 1.05rem; }
.necs-content > h2 { margin-top: 1.8em; margin-bottom: 0.6em; position: relative; padding-top: 0.6em; }
.necs-content > h2::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 2px; background: var(--gold); }
.necs-content > h2:first-child { margin-top: 0; }
.necs-content h3 { margin-top: 1.5em; }
.necs-content ul, .necs-content ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.necs-content li { margin-bottom: 0.6em; }
.necs-content li::marker { color: var(--gold-deep); }
.necs-content blockquote {
  border-left: 3px solid var(--gold); background: var(--cream-2); margin: 1.8em 0; padding: 20px 28px;
  border-radius: 0 var(--r) var(--r) 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--forest);
}
.necs-content a { border-bottom: 1px solid var(--line-cool); transition: border-color .2s; }
.necs-content a:hover { border-color: var(--gold); }

/* FOOTER */
.necs-footer { background: var(--ink); color: rgba(251,249,244,0.72); padding-block: 72px 32px; position: relative; overflow: hidden; }
.necs-footer::before { content: ""; position: absolute; left: -80px; bottom: -80px; width: 320px; height: 320px; background-image: var(--pattern); background-size: 120px; opacity: 0.04; }
.necs-footer > .necs-container { position: relative; }
.necs-footer a { color: rgba(251,249,244,0.72); }
.necs-footer a:hover { color: var(--gold); }
.necs-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 44px; }
.necs-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.74rem; margin-bottom: 1.6em; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; }
.necs-footer ul { list-style: none; margin: 0; padding: 0; }
.necs-footer li { margin-bottom: 0.85em; font-size: 0.94rem; line-height: 1.5; }
.necs-footer__col a { transition: color .2s, padding-left .25s; }
.necs-footer__col a:hover { padding-left: 5px; color: var(--gold); }
.necs-footer__brand img { height: 88px; margin-bottom: 18px; }
.necs-footer__brand p { font-size: 0.92rem; max-width: 300px; line-height: 1.7; color: rgba(251,249,244,0.62); }
.necs-footer__contact li { color: rgba(251,249,244,0.62); }
.necs-footer__app { margin-top: 24px; }
.necs-footer__app-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(251,249,244,0.5); margin-bottom: 12px; font-weight: 600; }
.necs-footer__bottom { border-top: 1px solid rgba(251,249,244,0.12); margin-top: 56px; padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.84rem; color: rgba(251,249,244,0.5); }
.necs-footer__legal { display: flex; gap: 24px; }

/* MOTION */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .necs-grid--3, .necs-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .necs-app { grid-template-columns: 1fr; gap: 36px; }
  .necs-hero__inner--split { grid-template-columns: 1fr; gap: 40px; }
  .necs-hero__media { order: -1; max-width: 380px; margin-inline: auto; }
  .necs-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .necs-nav { display: none; }
  .necs-nav.is-open { display: block; position: absolute; top: 96px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px var(--gutter); box-shadow: var(--sh); }
  .necs-nav.is-open ul { flex-direction: column; gap: 2px; align-items: stretch; }
  .necs-nav.is-open a { padding: 14px 16px; border-radius: var(--r-sm); }
  .necs-burger { display: block; }
  .necs-grid--3, .necs-grid--4, .necs-grid--2 { grid-template-columns: 1fr; }
  .necs-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .necs-hero__trust { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
