/*
 * Nuclear Fusion Events Site System v18.2
 * Shared visual system for the NFE branded WordPress template.
 */

:root {
  --nfe-void: #0a0a0a;
  --nfe-charcoal: #222222;
  --nfe-slate: #444444;
  --nfe-white: #f0eee6;
  --nfe-text: rgba(240, 238, 230, 0.86);
  --nfe-muted: rgba(240, 238, 230, 0.66);
  --nfe-faint: rgba(240, 238, 230, 0.48);
  --nfe-magenta: #cc00cc;
  --nfe-green: #7ed321;
  --nfe-cyan: #35d7f0;
  --nfe-purple: #7b3bd6;
  --nfe-line: rgba(240, 238, 230, 0.13);
  --nfe-line-strong: rgba(240, 238, 230, 0.23);
  --nfe-shadow: 0 22px 58px rgba(0, 0, 0, 0.44);
  --nfe-radius-sm: 12px;
  --nfe-radius: 18px;
  --nfe-radius-lg: 26px;
  --nfe-container: 1180px;
  --nfe-header-height: 82px;
  --nfe-progress: 0;
}

html {
  background: var(--nfe-void);
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--nfe-header-height) + 20px);
}

body.nfe-site-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--nfe-void);
  color: var(--nfe-text);
  font-family: "Aileron", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nfe-site-page *,
body.nfe-site-page *::before,
body.nfe-site-page *::after {
  box-sizing: border-box;
}

body.nfe-site-page img,
body.nfe-site-page svg {
  display: block;
  max-width: 100%;
}

body.nfe-site-page button,
body.nfe-site-page input,
body.nfe-site-page textarea,
body.nfe-site-page select {
  font: inherit;
}

body.nfe-site-page a {
  color: inherit;
}

body.nfe-site-page ::selection {
  background: var(--nfe-magenta);
  color: var(--nfe-white);
}

.nfe-shell {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 11% 4%, rgba(204, 0, 204, 0.1), transparent 27rem),
    radial-gradient(circle at 88% 20%, rgba(126, 211, 33, 0.075), transparent 28rem),
    linear-gradient(180deg, #0a0a0a 0%, #222222 48%, #0a0a0a 100%);
  color: var(--nfe-text);
  isolation: isolate;
}

.nfe-shell::before,
.nfe-shell::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.nfe-shell::before {
  opacity: 0.24;
  background-image:
    radial-gradient(circle at 14% 22%, rgba(240, 238, 230, 0.72) 0 1px, transparent 1.4px),
    radial-gradient(circle at 77% 13%, rgba(126, 211, 33, 0.64) 0 1px, transparent 1.5px),
    radial-gradient(circle at 91% 64%, rgba(204, 0, 204, 0.58) 0 1px, transparent 1.4px),
    radial-gradient(circle at 36% 78%, rgba(240, 238, 230, 0.54) 0 1px, transparent 1.4px),
    radial-gradient(circle at 57% 44%, rgba(240, 238, 230, 0.46) 0 1px, transparent 1.3px);
  background-size: 310px 310px, 430px 430px, 370px 370px, 520px 520px, 260px 260px;
}

.nfe-shell::after {
  opacity: 0.11;
  background:
    radial-gradient(ellipse at 7% 35%, transparent 0 14rem, rgba(204, 0, 204, 0.48) 14.1rem 14.2rem, transparent 14.3rem),
    radial-gradient(ellipse at 98% 66%, transparent 0 17rem, rgba(126, 211, 33, 0.4) 17.1rem 17.2rem, transparent 17.3rem);
}

.nfe-container {
  width: min(calc(100% - 40px), var(--nfe-container));
  margin-inline: auto;
}

.nfe-main {
  position: relative;
  z-index: 1;
}

.nfe-main:focus {
  outline: none;
}

.nfe-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--nfe-white);
  color: var(--nfe-void);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.nfe-skip-link:focus {
  transform: translateY(0);
}

/* Header */
.nfe-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid var(--nfe-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow-anchor: none;
}

body.admin-bar .nfe-header {
  top: 32px;
}

.nfe-header__inner {
  width: min(calc(100% - 32px), 1320px);
  min-height: var(--nfe-header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.15vw, 17px);
}

.nfe-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
}

.nfe-brand__name {
  max-width: 148px;
  color: var(--nfe-white);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.08;
  text-transform: uppercase;
}

.nfe-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.nfe-logo--header {
  width: 60px;
  max-width: 60px;
  max-height: 60px;
}

.nfe-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 15px);
}

.nfe-desktop-nav a,
.nfe-header__contact {
  position: relative;
  padding-block: 9px;
  color: var(--nfe-text);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.nfe-desktop-nav a::after,
.nfe-header__contact::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nfe-magenta), var(--nfe-green));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nfe-desktop-nav a:hover::after,
.nfe-desktop-nav a:focus-visible::after,
.nfe-desktop-nav a[aria-current="page"]::after,
.nfe-header__contact:hover::after,
.nfe-header__contact:focus-visible::after {
  transform: scaleX(1);
}

.nfe-desktop-nav a[aria-current="page"] {
  color: var(--nfe-white);
}

.nfe-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nfe-social-icons {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.nfe-social-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid var(--nfe-line);
  border-radius: 50%;
  color: var(--nfe-text);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nfe-social-icon:hover,
.nfe-social-icon:focus-visible {
  border-color: rgba(126, 211, 33, 0.62);
  background: rgba(126, 211, 33, 0.08);
  color: var(--nfe-green);
  transform: translateY(-1px);
}

.nfe-social-svg {
  width: 16px;
  height: 16px;
}

.nfe-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

/* Mobile navigation */
.nfe-mobile-nav {
  position: relative;
  display: none;
  flex: 0 0 auto;
}

.nfe-mobile-nav > summary {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--nfe-line-strong);
  border-radius: 999px;
  color: var(--nfe-white);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.nfe-mobile-nav > summary::-webkit-details-marker {
  display: none;
}

.nfe-mobile-nav__glyph,
.nfe-mobile-nav__glyph::before,
.nfe-mobile-nav__glyph::after {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nfe-mobile-nav__glyph {
  position: relative;
}

.nfe-mobile-nav__glyph::before {
  position: absolute;
  top: -5px;
}

.nfe-mobile-nav__glyph::after {
  position: absolute;
  top: 5px;
}

.nfe-mobile-nav[open] .nfe-mobile-nav__glyph {
  background: transparent;
}

.nfe-mobile-nav[open] .nfe-mobile-nav__glyph::before {
  top: 0;
  transform: rotate(45deg);
}

.nfe-mobile-nav[open] .nfe-mobile-nav__glyph::after {
  top: 0;
  transform: rotate(-45deg);
}

.nfe-mobile-nav__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 300px;
  max-width: calc(100% + 220px);
  max-height: calc(100dvh - var(--nfe-header-height) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  border: 1px solid var(--nfe-line-strong);
  border-radius: 18px;
  background: var(--nfe-void);
  box-shadow: var(--nfe-shadow);
}

.nfe-mobile-nav__panel a:not(.nfe-button):not(.nfe-social-icon) {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--nfe-text);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.nfe-mobile-nav__panel a:not(.nfe-button):not(.nfe-social-icon):hover,
.nfe-mobile-nav__panel a:not(.nfe-button):not(.nfe-social-icon):focus-visible,
.nfe-mobile-nav__panel a[aria-current="page"] {
  background: rgba(204, 0, 204, 0.11);
  color: var(--nfe-white);
}

.nfe-social-icons--mobile {
  flex-wrap: wrap;
  margin: 8px 4px 10px;
  padding-block: 12px;
  border-block: 1px solid var(--nfe-line);
}

.nfe-mobile-nav__panel .nfe-social-icon {
  display: grid;
  padding: 0;
}

.nfe-mobile-nav__panel .nfe-button {
  width: 100%;
  margin-top: 8px;
}

/* Buttons */
.nfe-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--nfe-white);
  font-size: 0.87rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nfe-button .nfe-icon {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.nfe-button:hover,
.nfe-button:focus-visible {
  transform: translateY(-2px);
}

.nfe-button:hover .nfe-icon,
.nfe-button:focus-visible .nfe-icon {
  transform: translateX(3px);
}

.nfe-button--primary,
.nfe-button--small {
  background: linear-gradient(100deg, var(--nfe-magenta), var(--nfe-purple));
  box-shadow: 0 11px 30px rgba(204, 0, 204, 0.18);
}

.nfe-button--secondary {
  border-color: rgba(126, 211, 33, 0.54);
  background: rgba(126, 211, 33, 0.08);
}

.nfe-button--ghost {
  border-color: var(--nfe-line-strong);
  background: rgba(240, 238, 230, 0.03);
}

.nfe-button--small {
  min-height: 40px;
  padding: 8px 15px;
  font-size: 0.78rem;
}

/* Sections and type */
.nfe-section {
  position: relative;
  padding-block: clamp(34px, 3.8vw, 52px);
  scroll-margin-top: calc(var(--nfe-header-height) + 20px);
}

.nfe-section--compact {
  padding-block: clamp(24px, 2.7vw, 36px);
}

.nfe-section--surface {
  background: rgba(240, 238, 230, 0.018);
  border-block: 1px solid rgba(240, 238, 230, 0.07);
}

.nfe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--nfe-green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.3;
}

.nfe-eyebrow::before {
  width: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--nfe-magenta), var(--nfe-green));
  content: "";
}

.nfe-section-heading {
  max-width: 820px;
  margin-bottom: clamp(18px, 2.2vw, 26px);
}

.nfe-section-heading h1,
.nfe-section-heading h2,
.nfe-hero h1,
.nfe-card h3,
.nfe-reference-group h3,
.nfe-article-card h3,
.nfe-footer h2,
.nfe-footer h3 {
  margin-top: 0;
  color: var(--nfe-white);
}

.nfe-section-heading h2 {
  margin-bottom: 13px;
  font-size: clamp(1.8rem, 3.1vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

.nfe-section-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--nfe-text);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

/* Hero */
.nfe-hero {
  overflow: clip;
  min-height: min(535px, calc(100svh - var(--nfe-header-height)));
  display: flex;
  align-items: center;
  padding-block: clamp(38px, 4.6vw, 56px);
  border-bottom: 1px solid var(--nfe-line);
}

.nfe-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(24px, 3.6vw, 46px);
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
}

.nfe-hero h1 {
  max-width: 900px;
  margin-bottom: 17px;
  font-size: clamp(2.58rem, 5.2vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.99;
  text-transform: uppercase;
  text-wrap: balance;
}

.nfe-hero__lead {
  max-width: 760px;
  margin: 0;
  color: var(--nfe-text);
  font-size: clamp(1.07rem, 2vw, 1.25rem);
  line-height: 1.64;
}

.nfe-hero__actions,
.nfe-callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 17px;
}

.nfe-context-links {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--nfe-muted);
  font-size: 0.91rem;
  line-height: 1.62;
}

.nfe-hero__visual {
  position: relative;
  display: grid;
  min-height: 245px;
  place-items: center;
}

.nfe-hero__visual::before,
.nfe-hero__visual::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(204, 0, 204, 0.34);
  border-radius: 50%;
  content: "";
}

.nfe-hero__visual::before {
  width: 112%;
  aspect-ratio: 1.9 / 1;
  transform: rotate(-18deg);
  animation: nfe-orbit-a 18s linear infinite;
}

.nfe-hero__visual::after {
  width: 88%;
  aspect-ratio: 0.72 / 1;
  border-color: rgba(126, 211, 33, 0.32);
  transform: rotate(17deg);
  animation: nfe-orbit-b 22s linear infinite reverse;
}

.nfe-logo--hero {
  width: min(100%, 285px);
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.52));
}

@keyframes nfe-orbit-a {
  to { transform: rotate(342deg); }
}

@keyframes nfe-orbit-b {
  to { transform: rotate(-343deg); }
}

/* Layouts */
.nfe-grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

.nfe-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nfe-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


.nfe-grid--programs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nfe-grid--programs > :last-child {
  grid-column: 1 / -1;
}

.nfe-split,
.nfe-prose-layout {
  display: grid;
  align-items: start;
  gap: clamp(20px, 3.5vw, 42px);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.nfe-split--balanced {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.nfe-section-heading--sticky {
  position: sticky;
  top: calc(var(--nfe-header-height) + 20px);
  margin-bottom: 0;
}

/* Cards */
.nfe-card {
  --nfe-card-accent: var(--nfe-magenta);
  --nfe-card-border: rgba(204, 0, 204, 0.45);
  --nfe-card-tint: rgba(204, 0, 204, 0.095);
  position: relative;
  min-width: 0;
  padding: clamp(18px, 2vw, 24px);
  overflow: hidden;
  border: 1px solid var(--nfe-line);
  border-radius: var(--nfe-radius);
  background: linear-gradient(145deg, rgba(240, 238, 230, 0.05), rgba(240, 238, 230, 0.018));
  box-shadow: 0 15px 42px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nfe-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nfe-card-accent), transparent 82%);
  content: "";
}

.nfe-card:hover {
  border-color: var(--nfe-card-border);
  background: linear-gradient(145deg, rgba(240, 238, 230, 0.068), rgba(240, 238, 230, 0.022));
  transform: translateY(-3px);
}

.nfe-card[data-accent="green"] {
  --nfe-card-accent: var(--nfe-green);
  --nfe-card-border: rgba(126, 211, 33, 0.45);
  --nfe-card-tint: rgba(126, 211, 33, 0.09);
}

.nfe-card[data-accent="purple"] {
  --nfe-card-accent: var(--nfe-purple);
  --nfe-card-border: rgba(123, 59, 214, 0.46);
  --nfe-card-tint: rgba(123, 59, 214, 0.1);
}

.nfe-card[data-accent="cyan"] {
  --nfe-card-accent: var(--nfe-cyan);
  --nfe-card-border: rgba(53, 215, 240, 0.43);
  --nfe-card-tint: rgba(53, 215, 240, 0.085);
}

.nfe-card[data-accent="magenta"] {
  --nfe-card-accent: var(--nfe-magenta);
}

.nfe-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid var(--nfe-card-border);
  border-radius: 50%;
  background: var(--nfe-card-tint);
  color: var(--nfe-card-accent);
}

.nfe-card__icon .nfe-icon {
  width: 23px;
  height: 23px;
}

.nfe-card h3 {
  margin-bottom: 9px;
  font-size: clamp(1.17rem, 2vw, 1.42rem);
  font-weight: 800;
  line-height: 1.22;
}

.nfe-card p {
  margin: 0;
  color: var(--nfe-text);
}

.nfe-card p + p {
  margin-top: 13px;
}

.nfe-card__reference {
  color: var(--nfe-muted) !important;
  font-size: 0.9rem;
}

/* Contextual links */
.nfe-text-link,
.nfe-heading-link {
  color: var(--nfe-green);
  font-weight: 700;
  text-decoration-color: rgba(126, 211, 33, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.nfe-heading-link {
  color: inherit;
  text-underline-offset: 4px;
}

.nfe-text-link[target="_blank"]::after {
  display: inline-block;
  margin-left: 0.22em;
  content: "↗";
  font-size: 0.72em;
  line-height: 1;
  transform: translateY(-0.08em);
}

.nfe-text-link:hover,
.nfe-text-link:focus-visible,
.nfe-heading-link:hover,
.nfe-heading-link:focus-visible {
  color: var(--nfe-white);
  text-decoration-color: var(--nfe-magenta);
}

/* Mission and people */
.nfe-prose-panel {
  padding: clamp(21px, 2.8vw, 32px);
  border: 1px solid rgba(204, 0, 204, 0.27);
  border-left: 4px solid var(--nfe-magenta);
  border-radius: 0 var(--nfe-radius) var(--nfe-radius) 0;
  background: rgba(204, 0, 204, 0.04);
}

.nfe-prose-panel p {
  margin: 0;
  color: var(--nfe-text);
  font-size: clamp(1.03rem, 1.55vw, 1.14rem);
  line-height: 1.7;
}

.nfe-prose-panel p + p {
  margin-top: 1.05em;
}

.nfe-person-role {
  margin: -2px 0 11px;
  color: var(--nfe-green);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.nfe-quote {
  position: relative;
  margin: 0;
  padding: clamp(23px, 3.3vw, 36px);
  border: 1px solid rgba(126, 211, 33, 0.28);
  border-radius: var(--nfe-radius-lg);
  background:
    radial-gradient(circle at 90% 0%, rgba(126, 211, 33, 0.11), transparent 20rem),
    rgba(240, 238, 230, 0.025);
  color: var(--nfe-white);
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.35;
}

.nfe-profile-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--nfe-line);
}

.nfe-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nfe-text);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration-color: rgba(126, 211, 33, 0.45);
  text-underline-offset: 3px;
}

.nfe-profile-link .nfe-social-svg {
  width: 18px;
  height: 18px;
  color: var(--nfe-green);
}

.nfe-profile-link:hover,
.nfe-profile-link:focus-visible {
  color: var(--nfe-white);
  text-decoration-color: var(--nfe-magenta);
}

/* Reference library */
.nfe-reference-groups {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nfe-reference-group {
  scroll-margin-top: calc(var(--nfe-header-height) + 20px);
  padding: clamp(19px, 2.2vw, 25px);
  border: 1px solid var(--nfe-line);
  border-radius: var(--nfe-radius);
  background: linear-gradient(145deg, rgba(240, 238, 230, 0.048), rgba(240, 238, 230, 0.016));
}

.nfe-reference-group:nth-child(odd) {
  border-top-color: rgba(204, 0, 204, 0.45);
}

.nfe-reference-group:nth-child(even) {
  border-top-color: rgba(126, 211, 33, 0.45);
}

.nfe-reference-group h3 {
  margin-bottom: 14px;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  font-weight: 800;
  line-height: 1.25;
}


.nfe-reference-group__intro {
  margin: -3px 0 14px;
  color: var(--nfe-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.nfe-reference-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nfe-reference-list li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--nfe-text);
  line-height: 1.6;
}

.nfe-reference-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nfe-green);
  content: "";
  transform: translateY(-50%);
}

.nfe-reference-list--numbered {
  counter-reset: nfe-reference;
}

.nfe-reference-list--numbered li {
  counter-increment: nfe-reference;
  padding: 16px 18px 16px 54px;
  border: 1px solid var(--nfe-line);
  border-radius: var(--nfe-radius-sm);
  background: rgba(240, 238, 230, 0.025);
}

.nfe-reference-list--numbered li::before {
  top: 16px;
  left: 16px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: rgba(204, 0, 204, 0.11);
  border: 1px solid rgba(204, 0, 204, 0.34);
  color: var(--nfe-white);
  content: counter(nfe-reference, decimal-leading-zero);
  font-size: 0.66rem;
  font-weight: 800;
  transform: none;
}

.nfe-resource-list--standalone {
  margin-top: 18px;
}

/* Articles */
.nfe-article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


.nfe-article-groups {
  display: grid;
  gap: clamp(24px, 3vw, 34px);
}

.nfe-article-group {
  min-width: 0;
}

.nfe-article-group__title {
  margin: 0 0 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--nfe-line);
  color: var(--nfe-white);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.nfe-article-card {
  display: flex;
  min-width: 0;
  min-height: 160px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--nfe-line);
  border-radius: var(--nfe-radius-sm);
  background: rgba(240, 238, 230, 0.025);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nfe-article-card:hover {
  border-color: rgba(204, 0, 204, 0.48);
  background: rgba(204, 0, 204, 0.052);
  transform: translateY(-3px);
}

.nfe-article-card__source {
  margin: 0 0 10px;
  color: var(--nfe-green);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nfe-article-card h3 {
  margin-bottom: 9px;
  font-size: 1.04rem;
  line-height: 1.34;
}

.nfe-article-card h3 a {
  color: var(--nfe-white);
  text-decoration-color: rgba(126, 211, 33, 0.42);
  text-underline-offset: 3px;
}

.nfe-article-card h3 a:hover,
.nfe-article-card h3 a:focus-visible {
  color: var(--nfe-green);
  text-decoration-color: var(--nfe-magenta);
}

.nfe-article-card > p:last-child {
  margin: auto 0 0;
  color: var(--nfe-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Callouts and data */
.nfe-callout {
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid rgba(126, 211, 33, 0.27);
  border-radius: var(--nfe-radius-lg);
  background:
    radial-gradient(circle at 94% 10%, rgba(126, 211, 33, 0.1), transparent 22rem),
    radial-gradient(circle at 5% 100%, rgba(204, 0, 204, 0.08), transparent 24rem),
    rgba(240, 238, 230, 0.025);
}

.nfe-callout h2 {
  max-width: 900px;
  margin: 0 0 12px;
  color: var(--nfe-white);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  line-height: 1.15;
}

.nfe-callout > p:not(.nfe-eyebrow) {
  max-width: 900px;
  margin: 0;
  color: var(--nfe-text);
}

.nfe-data-list {
  margin: 0;
  border-top: 1px solid var(--nfe-line);
}

.nfe-data-list > div {
  display: grid;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--nfe-line);
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
}

.nfe-data-list dt {
  color: var(--nfe-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nfe-data-list dd {
  margin: 0;
  color: var(--nfe-white);
  font-weight: 700;
}

.nfe-data-list a {
  color: var(--nfe-green);
}

.nfe-mt-lg {
  margin-top: clamp(22px, 3.4vw, 38px);
}

.nfe-editor-content {
  min-height: 50vh;
}

.nfe-editor-content h1,
.nfe-editor-content h2,
.nfe-editor-content h3 {
  color: var(--nfe-white);
}

/* Progress rail */
.nfe-progress {
  position: fixed;
  top: 50%;
  right: clamp(4px, 0.8vw, 13px);
  z-index: 900;
  width: 14px;
  height: min(44vh, 400px);
  pointer-events: none;
  transform: translateY(-50%);
  overflow-anchor: none;
}

.nfe-progress__track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(240, 238, 230, 0.16);
  transform: translateX(-50%);
}

.nfe-progress__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--nfe-magenta), var(--nfe-green));
  transform: scaleY(var(--nfe-progress));
  transform-origin: top;
}

.nfe-progress__dot {
  position: absolute;
  top: calc(var(--nfe-progress) * 100%);
  left: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid var(--nfe-void);
  border-radius: 50%;
  background: var(--nfe-white);
  box-shadow: 0 0 13px var(--nfe-magenta), 0 0 20px rgba(126, 211, 33, 0.5);
  transform: translate(-50%, -50%);
}

.nfe-progress[hidden] {
  display: none;
}

/* Footer */
.nfe-footer {
  position: relative;
  z-index: 1;
  padding-block: 30px 18px;
  border-top: 1px solid var(--nfe-line);
  background: rgba(10, 10, 10, 0.94);
}

.nfe-footer__top {
  display: grid;
  align-items: start;
  gap: clamp(22px, 3.5vw, 42px);
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.nfe-footer__brand {
  display: grid;
  align-items: center;
  gap: 16px;
  grid-template-columns: 64px minmax(0, 1fr);
}

.nfe-logo--footer {
  width: 64px;
  max-width: 64px;
  max-height: 64px;
}

.nfe-footer h2 {
  margin-bottom: 5px;
  font-size: 1.28rem;
}

.nfe-footer h3 {
  margin-bottom: 11px;
  font-size: 0.96rem;
}

.nfe-footer p,
.nfe-footer address {
  margin: 0;
  color: var(--nfe-muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.5;
}

.nfe-footer address {
  margin-top: 4px;
}

.nfe-footer__socials {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nfe-footer__socials a {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--nfe-line);
  border-radius: 10px;
  color: var(--nfe-text);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}

.nfe-footer__socials .nfe-social-svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--nfe-green);
}

.nfe-footer__socials a:hover,
.nfe-footer__socials a:focus-visible {
  border-color: rgba(204, 0, 204, 0.48);
  color: var(--nfe-white);
}

.nfe-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--nfe-line);
  color: var(--nfe-muted);
  font-size: 0.72rem;
}

.nfe-footer__bottom a {
  color: var(--nfe-text);
  text-decoration: none;
}

.nfe-footer__bottom a:hover,
.nfe-footer__bottom a:focus-visible {
  color: var(--nfe-white);
}

/* Focus */
.nfe-site-page a:focus-visible,
.nfe-site-page summary:focus-visible,
.nfe-site-page button:focus-visible {
  outline: 3px solid var(--nfe-green);
  outline-offset: 3px;
}

@media (max-width: 1240px) {
  .nfe-brand__name { display: none; }
}

@media (max-width: 1120px) {
  :root { --nfe-header-height: 78px; }
  .nfe-logo--header { width: 52px; max-width: 52px; max-height: 52px; }
  .nfe-social-icon { width: 29px; height: 29px; flex-basis: 29px; }
  .nfe-social-svg { width: 15px; height: 15px; }
  .nfe-desktop-nav { gap: 8px; }
  .nfe-desktop-nav a,
  .nfe-header__contact { font-size: 0.73rem; }
  .nfe-button--small { padding-inline: 13px; }
  .nfe-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nfe-desktop-nav,
  .nfe-social-icons--header,
  .nfe-header__actions {
    display: none;
  }

  .nfe-mobile-nav {
    display: block;
  }

  .nfe-hero {
    min-height: auto;
  }

  .nfe-hero__grid {
    grid-template-columns: 1fr;
  }

  .nfe-hero__visual {
    min-height: 235px;
  }

  .nfe-logo--hero {
    width: min(66vw, 285px);
  }

  .nfe-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nfe-split,
  .nfe-split--balanced,
  .nfe-prose-layout {
    grid-template-columns: 1fr;
  }

  .nfe-section-heading--sticky {
    position: static;
  }


  .nfe-reference-groups {
    grid-template-columns: 1fr;
  }

  .nfe-footer__top {
    grid-template-columns: 1fr;
  }

  .nfe-footer__socials {
    max-width: 660px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .nfe-header {
    top: 46px;
  }
}

@media (max-width: 700px) {
  :root { --nfe-header-height: 72px; }

  body.nfe-site-page {
    font-size: 16px;
  }

  .nfe-container {
    width: min(calc(100% - 28px), var(--nfe-container));
  }

  .nfe-header__inner {
    width: calc(100% - 24px);
  }

  .nfe-logo--header {
    width: 48px;
    max-width: 48px;
    max-height: 48px;
  }

  .nfe-section {
    padding-block: 34px;
  }

  .nfe-section--compact {
    padding-block: 26px;
  }

  .nfe-hero {
    padding-block: 34px;
  }

  .nfe-hero h1 {
    font-size: clamp(2.42rem, 12.5vw, 3.5rem);
  }

  .nfe-grid--2,
  .nfe-grid--3,
  .nfe-grid--programs,
  .nfe-article-grid {
    grid-template-columns: 1fr;
  }

  .nfe-data-list > div {
    gap: 6px;
    grid-template-columns: 1fr;
  }


  .nfe-grid--programs > :last-child {
    grid-column: auto;
  }

  .nfe-footer__socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nfe-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .nfe-progress {
    right: 2px;
    width: 10px;
    height: 36vh;
    opacity: 0.72;
  }
}

@media (max-width: 480px) {
  .nfe-hero__actions,
  .nfe-callout__actions {
    flex-direction: column;
  }

  .nfe-hero__actions .nfe-button,
  .nfe-callout__actions .nfe-button {
    width: 100%;
  }

  .nfe-hero__visual {
    min-height: 205px;
  }

  .nfe-footer__brand {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
  }

  .nfe-logo--footer {
    width: 54px;
    max-width: 54px;
    max-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nfe-site-page *,
  .nfe-site-page *::before,
  .nfe-site-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body.nfe-site-page {
    background: #f0eee6;
    color: #0a0a0a;
  }

  .nfe-header,
  .nfe-footer,
  .nfe-progress,
  .nfe-hero__visual {
    display: none;
  }

  .nfe-shell {
    background: #f0eee6;
    color: #0a0a0a;
  }

  .nfe-shell::before,
  .nfe-shell::after {
    display: none;
  }

  .nfe-section {
    padding-block: 24px;
  }

  .nfe-card,
  .nfe-callout,
  .nfe-reference-group,
  .nfe-article-card {
    break-inside: avoid;
    border-color: #444444;
    background: #f0eee6;
    box-shadow: none;
  }

  .nfe-card h3,
  .nfe-section-heading h2,
  .nfe-hero h1,
  .nfe-quote {
    color: #0a0a0a;
  }
}
