/* ==========================================================
   NOMAD ENERGY AMERICA — Design System
   Tokens + base + component primitives.
   Ported from the Claude Design handoff bundle
   (nomad-energy-america-design-system). Red / White / Blue,
   defense-grade. Oswald · Inter · IBM Plex Mono.
   ========================================================== */

/* ==========================================================
   COLOR TOKENS
   ========================================================== */
:root {
  /* ---------- Neutrals (paper → ink) ---------- */
  --white:      #FFFFFF;
  --bone:       #F4F6FA;  /* primary light surface */
  --fog:        #E5EAF2;  /* hairline dividers on light */
  --steel:      #C2CCDA;  /* muted borders / disabled */
  --slate:      #5A6678;  /* secondary text on light */
  --gunmetal:   #2A3344;  /* body text on light */
  --ink:        #0A1220;  /* near-black */

  /* ---------- Navy (the "blue" ground) ---------- */
  --navy-900:   #03070F;  /* deepest field — hero base */
  --navy-800:   #06122A;  /* primary dark surface */
  --navy-700:   #0A1A33;  /* dark surface, brand navy */
  --navy-600:   #102A52;  /* raised dark panel */
  --navy-500:   #163A6E;  /* dark hover / strokes */

  /* ---------- Old Glory Blue (electric) ---------- */
  --blue-700:   #16307A;
  --blue-600:   #1E47B8;  /* electric — secondary action */
  --blue-500:   #2A6DF4;  /* bright — links, data accent */
  --blue-400:   #5A8FFF;  /* sky — glints, highlights */

  /* ---------- Old Glory Red ---------- */
  --red-700:    #9E0B22;  /* pressed */
  --red-600:    #C8102E;  /* Old Glory Red — heritage */
  --red-500:    #E4002B;  /* bright — primary action */
  --red-400:    #FF2A3C;  /* fire — hover, live signal */

  /* ---------- Solar accent (use sparingly) ---------- */
  --gold-600:   #E0A015;
  --gold-500:   #FFB81C;  /* energy / solar moments only */

  /* ---------- Field status ---------- */
  --signal-go:  #1ED760;  /* operational green (data only) */

  /* Backgrounds */
  --bg-base:        var(--white);
  --bg-subtle:      var(--bone);
  --bg-inverse:     var(--navy-800);
  --bg-inverse-deep:var(--navy-900);

  /* Surfaces (cards, panels) */
  --surface-card:        var(--white);
  --surface-card-subtle: var(--bone);
  --surface-inverse:     var(--navy-700);
  --surface-glass:       rgba(255, 255, 255, 0.04);

  /* Text on light */
  --text-strong:    var(--navy-700);
  --text-body:      var(--gunmetal);
  --text-muted:     var(--slate);
  /* Text on dark */
  --text-inverse:        var(--white);
  --text-inverse-muted:  rgba(255, 255, 255, 0.68);
  --text-inverse-faint:  rgba(255, 255, 255, 0.45);
  --text-on-accent:      var(--white);

  /* Borders */
  --border-subtle:   var(--fog);
  --border-strong:   var(--steel);
  --border-inverse:  rgba(255, 255, 255, 0.12);
  --border-inverse-strong: rgba(255, 255, 255, 0.24);

  /* Actions */
  --action-primary:        var(--red-500);
  --action-primary-hover:  var(--red-400);
  --action-primary-press:  var(--red-700);
  --action-secondary:      var(--blue-600);
  --action-secondary-hover:var(--blue-500);

  /* Accents (for eyebrows, rules, data) */
  --accent-red:   var(--red-500);
  --accent-blue:  var(--blue-500);
  --accent-gold:  var(--gold-500);
  --accent-navy:  var(--navy-700);

  /* Focus */
  --focus-ring:   rgba(228, 0, 43, 0.35);
}

/* ==========================================================
   TYPOGRAPHY TOKENS
   ========================================================== */
:root {
  --font-display: 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  --type-display:  clamp(56px, 8vw, 128px);
  --type-h1:       clamp(44px, 6vw, 88px);
  --type-h2:       clamp(34px, 4.5vw, 60px);
  --type-h3:       clamp(24px, 2.6vw, 34px);
  --type-h4:       20px;
  --type-stat:     clamp(40px, 5vw, 72px);

  --type-lead:     21px;
  --type-body:     17px;
  --type-body-sm:  15px;
  --type-caption:  13px;

  --type-eyebrow:  13px;
  --type-label:    12px;
  --type-micro:    11px;

  --lh-display:  0.92;
  --lh-heading:  1.05;
  --lh-snug:     1.3;
  --lh-body:     1.6;

  --tracking-display:  -0.025em;
  --tracking-heading:  -0.01em;
  --tracking-flat:      0;
  --tracking-wide:      0.12em;
  --tracking-eyebrow:   0.22em;
  --tracking-mega:      0.35em;
}

/* ==========================================================
   SPACING / LAYOUT TOKENS
   ========================================================== */
:root {
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;
  --space-30:  120px;
  --space-36:  144px;

  --section-y:        120px;
  --section-y-tight:  80px;

  --container:   1280px;
  --container-narrow: 960px;
  --gutter:      32px;
  --header-h:    76px;

  --radius-sharp:  0px;
  --radius:        4px;
  --radius-md:     8px;
  --radius-pill:   100px;

  --border-hair:  1px;
  --border-rule:  2px;
  --border-bold:  3px;
  --border-slab:  4px;
}

/* ==========================================================
   EFFECTS: shadows, motion, textures
   ========================================================== */
:root {
  --shadow-sm:   0 4px 14px rgba(6, 18, 38, 0.06);
  --shadow-md:   0 12px 28px rgba(6, 18, 38, 0.12);
  --shadow-lg:   0 28px 60px rgba(6, 18, 38, 0.18);
  --shadow-glow-red:  0 12px 28px rgba(228, 0, 43, 0.40);
  --shadow-glow-blue: 0 12px 28px rgba(30, 71, 184, 0.35);

  --shadow-block: 4px 4px 0 rgba(255, 255, 255, 0.95);
  --inset-sheen: inset 0 1px 0 rgba(255, 255, 255, 0.2);

  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:    0.2s;
  --dur:         0.25s;
  --dur-slow:    0.4s;
  --dur-reveal:  0.8s;

  --grad-navy:   linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  --grad-red:    linear-gradient(135deg, var(--red-600) 0%, var(--red-700) 100%);
  --grad-btn-red:linear-gradient(180deg, var(--red-400) 0%, var(--red-500) 100%);
  --grad-field:  radial-gradient(ellipse 70% 50% at 75% 30%, rgba(255,130,60,.28), transparent 60%),
                 radial-gradient(ellipse 80% 60% at 25% 70%, rgba(30,71,184,.30), transparent 60%),
                 linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 45%, #1a1018 100%);

  --flag-bar: linear-gradient(90deg,
    var(--red-500) 0%, var(--red-500) 33.33%,
    var(--white) 33.33%, var(--white) 66.66%,
    var(--blue-600) 66.66%, var(--blue-600) 100%);

  --grid-overlay:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  --grid-size: 64px 64px;

  --noise-url: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ==========================================================
   BASE / RESET
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-heading);
  text-transform: uppercase;
  color: var(--text-strong);
}
h1 { font-size: var(--type-h1); letter-spacing: var(--tracking-display); line-height: var(--lh-display); }
h2 { font-size: var(--type-h2); }
h3 { font-size: var(--type-h3); }
h4 { font-size: var(--type-h4); letter-spacing: 0.04em; }
p  { font-size: var(--type-body); }

::selection { background: var(--red-500); color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================
   COMPONENT — Button
   ========================================================== */
.nea-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  text-transform: uppercase; letter-spacing: .18em; line-height: 1;
  border-radius: var(--radius-sharp); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nea-btn__sheen { position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transition: left .6s var(--ease); pointer-events: none; }
.nea-btn:hover .nea-btn__sheen { left: 160%; }
.nea-btn--sm { padding: 11px 20px; font-size: 12px; }
.nea-btn--md { padding: 16px 30px; font-size: 14px; }
.nea-btn--lg { padding: 20px 38px; font-size: 15px; letter-spacing: .2em; }
.nea-btn--full { width: 100%; }
.nea-btn--primary { background: var(--grad-btn-red); color: var(--text-on-accent);
  box-shadow: var(--shadow-glow-red), var(--inset-sheen); border-color: rgba(255,80,90,.4); }
.nea-btn--primary:hover { transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(228,0,43,.55), var(--inset-sheen); }
.nea-btn--primary:active { transform: translateY(0); background: var(--action-primary-press); }
.nea-btn--secondary { background: var(--action-secondary); color: var(--text-on-accent);
  box-shadow: var(--shadow-glow-blue); }
.nea-btn--secondary:hover { background: var(--action-secondary-hover); transform: translateY(-2px); }
.nea-btn--dark { background: var(--navy-700); color: var(--text-inverse); border-color: var(--border-inverse); }
.nea-btn--dark:hover { background: var(--navy-600); }
.nea-btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.nea-btn--ghost:hover { background: currentColor; }
.nea-btn--ghost:hover .nea-btn__label, .nea-btn--ghost:hover .nea-btn__arrow { mix-blend-mode: difference; }
.nea-btn--disabled { opacity: .45; pointer-events: none; }
.nea-btn__arrow { transition: transform var(--dur) var(--ease); flex-shrink: 0; }
.nea-btn:hover .nea-btn__arrow { transform: translateX(4px); }

/* ==========================================================
   COMPONENT — Tag
   ========================================================== */
.nea-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  text-transform: uppercase; letter-spacing: .2em; line-height: 1;
  border-radius: var(--radius-sharp); white-space: nowrap;
  padding: 7px 12px; font-size: 11px;
}
.nea-tag--sm { padding: 5px 9px; font-size: 10px; letter-spacing: .18em; }
.nea-tag--lg { padding: 9px 16px; font-size: 12px; }
.nea-tag--red { background: var(--red-500); color: #fff; }
.nea-tag--blue { background: var(--blue-600); color: #fff; }
.nea-tag--navy { background: var(--navy-700); color: #fff; }
.nea-tag--gold { background: var(--gold-500); color: var(--navy-800); }
.nea-tag--outline { background: transparent; border: 1.5px solid currentColor; color: var(--accent-red); }
.nea-tag--outline.nea-tag--blue { color: var(--accent-blue); background: transparent; }
.nea-tag--ghost { background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(8px); }
.nea-tag--sticker { box-shadow: var(--shadow-block); }
.nea-tag__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.nea-tag--live .nea-tag__dot { background: var(--red-400); box-shadow: 0 0 8px var(--red-400); animation: nea-tag-pulse 1.8s infinite; }
@keyframes nea-tag-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .55; } }

/* ==========================================================
   COMPONENT — TrustSeal
   ========================================================== */
.nea-seal { display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-strong); white-space: nowrap; }
.nea-seal--inverse { color: var(--text-inverse); }
.nea-seal__ring { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--accent-red); background: var(--white);
  display: grid; place-items: center; color: var(--accent-red);
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 9px; letter-spacing: 0; }
.nea-seal--blue .nea-seal__ring { border-color: var(--accent-blue); color: var(--accent-blue); }
.nea-seal--navy .nea-seal__ring { border-color: var(--navy-700); color: var(--navy-700); }
.nea-seal--inverse .nea-seal__ring { background: transparent; }

/* ==========================================================
   COMPONENT — Eyebrow
   ========================================================== */
.nea-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: var(--type-eyebrow); letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--accent-red); line-height: 1;
}
.nea-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; flex-shrink: 0; }
.nea-eyebrow--mono { font-family: var(--font-mono); font-weight: var(--fw-medium); letter-spacing: .18em; }
.nea-eyebrow--mono::before { content: "//"; width: auto; height: auto; background: none; }
.nea-eyebrow--light { color: var(--text-inverse); }
.nea-eyebrow--blue { color: var(--accent-blue); }
.nea-eyebrow--center { justify-content: center; }

/* ==========================================================
   COMPONENT — FlagBar
   ========================================================== */
.nea-flagbar { display: block; width: 100%; background: var(--flag-bar); }
.nea-flagbar--stitch {
  background: linear-gradient(90deg,
    var(--red-500) 0 25%, var(--white) 25% 50%,
    var(--blue-600) 50% 75%, var(--white) 75% 100%);
  background-size: var(--nea-flag-stitch, 80px) 100%;
}

/* ==========================================================
   COMPONENT — CornerFrame
   ========================================================== */
.nea-frame { position: relative; display: block; }
.nea-frame__c { position: absolute; width: var(--nea-frame-size, 22px); height: var(--nea-frame-size, 22px);
  pointer-events: none; color: var(--nea-frame-color, var(--accent-red)); }
.nea-frame__c::before, .nea-frame__c::after { content: ""; position: absolute; background: currentColor; }
.nea-frame__c::before { width: 100%; height: 2px; }
.nea-frame__c::after { width: 2px; height: 100%; }
.nea-frame__c--tl { top: 0; left: 0; }
.nea-frame__c--tr { top: 0; right: 0; }
.nea-frame__c--tr::before { right: 0; }
.nea-frame__c--tr::after { right: 0; }
.nea-frame__c--bl { bottom: 0; left: 0; }
.nea-frame__c--bl::before { bottom: 0; }
.nea-frame__c--br { bottom: 0; right: 0; }
.nea-frame__c--br::before { bottom: 0; right: 0; }
.nea-frame__c--br::after { right: 0; }

/* ==========================================================
   COMPONENT — Stat
   ========================================================== */
.nea-stat { display: flex; flex-direction: column; gap: 6px; }
.nea-stat--center { align-items: center; text-align: center; }
.nea-stat__num { font-family: var(--font-display); font-weight: var(--fw-semibold);
  line-height: .9; letter-spacing: -.02em; color: var(--text-strong);
  font-size: var(--nea-stat-size, var(--type-stat)); }
.nea-stat__num .nea-accent { color: var(--accent-red); }
.nea-stat__num .nea-unit { font-size: .5em; margin-left: .08em; color: var(--accent-red); font-weight: var(--fw-medium); }
.nea-stat__label { font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: var(--type-micro); letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.nea-stat--inverse .nea-stat__num { color: var(--text-inverse); }
.nea-stat--inverse .nea-stat__label { color: var(--text-inverse-faint); }
.nea-stat--blue .nea-stat__num .nea-accent, .nea-stat--blue .nea-stat__num .nea-unit { color: var(--accent-blue); }

/* ==========================================================
   COMPONENT — SpecGrid
   ========================================================== */
.nea-specs { border-top: 2px solid var(--accent-navy); }
.nea-specs--inverse { border-top-color: var(--border-inverse-strong); }
.nea-specs__row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
.nea-specs--inverse .nea-specs__row { border-bottom-color: var(--border-inverse); }
.nea-specs__k { font-family: var(--font-mono); font-weight: var(--fw-regular);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.nea-specs--inverse .nea-specs__k { color: var(--text-inverse-faint); }
.nea-specs__v { font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 18px; color: var(--text-strong); text-align: right; }
.nea-specs--inverse .nea-specs__v { color: var(--text-inverse); }
.nea-specs__v .nea-specs__unit { font-size: .7em; color: var(--text-muted); font-weight: var(--fw-medium); margin-left: 3px; }
.nea-specs--inline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; border-top: 1px solid var(--border-strong); padding-top: 18px; }
.nea-specs--inline.nea-specs--inverse { border-top-color: var(--border-inverse); }
.nea-specs--inline .nea-specs__cell { display: flex; flex-direction: column; gap: 5px; }
.nea-specs--inline .nea-specs__v { text-align: left; font-size: 22px; }

/* ==========================================================
   COMPONENT — CompareBar
   ========================================================== */
.nea-compare { display: flex; flex-direction: column; gap: 14px; }
.nea-compare__row { display: grid; grid-template-columns: var(--nea-compare-label, 140px) 1fr 64px; align-items: center; gap: 16px; }
.nea-compare__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-muted); text-align: right; }
.nea-compare--inverse .nea-compare__label { color: var(--text-inverse-muted); }
.nea-compare__track { height: 14px; background: var(--border-subtle); overflow: hidden; position: relative; }
.nea-compare--inverse .nea-compare__track { background: rgba(255,255,255,.07); }
.nea-compare__fill { height: 100%; width: 0; transition: width 1.4s var(--ease); position: relative; }
.nea-compare__fill--red { background: var(--red-500); }
.nea-compare__fill--blue { background: var(--blue-500); }
.nea-compare__fill--gold { background: var(--gold-500); }
.nea-compare__fill--go { background: linear-gradient(90deg, #1ED760, #0A9A45); }
.nea-compare__fill::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 7px; background: rgba(255,255,255,.45); }
.nea-compare__value { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 16px; color: var(--text-strong); }
.nea-compare--inverse .nea-compare__value { color: var(--text-inverse); }

/* ==========================================================
   COMPONENT — Card
   ========================================================== */
.nea-card { position: relative; display: flex; flex-direction: column; background: var(--surface-card);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease); }
.nea-card--interactive { cursor: pointer; }
.nea-card--interactive:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-red); }
.nea-card--accent-red { border-top: 4px solid var(--accent-red); }
.nea-card--accent-blue { border-top: 4px solid var(--accent-blue); }
.nea-card--accent-navy { border-top: 4px solid var(--accent-navy); }
.nea-card--inverse { background: var(--surface-inverse); border-color: var(--border-inverse); color: var(--text-inverse); }
.nea-card__visual { position: relative; background: var(--navy-800); overflow: hidden; }
.nea-card__visual > img, .nea-card__visual > svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.nea-card__visual::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(3,7,15,.45) 100%); }
.nea-card__tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.nea-card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.nea-card__sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-red); margin-bottom: 12px; }
.nea-card--inverse .nea-card__sub { color: var(--red-400); }
.nea-card__title { font-family: var(--font-display); font-weight: var(--fw-semibold);
  text-transform: uppercase; font-size: var(--type-h3); line-height: 1.05;
  color: var(--text-strong); margin: 0 0 12px; }
.nea-card--inverse .nea-card__title { color: var(--text-inverse); }
.nea-card__text { font-size: var(--type-body-sm); color: var(--text-body); margin: 0 0 20px; }
.nea-card--inverse .nea-card__text { color: var(--text-inverse-muted); }
.nea-card__footer { margin-top: auto; }

/* ==========================================================
   COMPONENT — Field
   ========================================================== */
.nea-field { display: flex; flex-direction: column; gap: 8px; }
.nea-field__label { font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-strong); }
.nea-field__req { color: var(--accent-red); margin-left: 4px; }
.nea-field__control { font-family: var(--font-body); font-size: 15px; color: var(--text-strong);
  padding: 14px 16px; background: var(--surface-card); border: 1px solid var(--border-strong);
  border-radius: var(--radius); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); width: 100%; }
.nea-field__control::placeholder { color: var(--text-muted); }
.nea-field__control:focus { outline: none; border-color: var(--accent-red); box-shadow: 0 0 0 3px var(--focus-ring); }
textarea.nea-field__control { min-height: 130px; resize: vertical; }
select.nea-field__control { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.nea-field--inverse .nea-field__label { color: var(--text-inverse); }
.nea-field--inverse .nea-field__control { background: rgba(255,255,255,.04); border-color: var(--border-inverse-strong); color: var(--text-inverse); }
.nea-field--inverse .nea-field__control::placeholder { color: var(--text-inverse-faint); }
.nea-field__hint { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .02em; }
