/* Fume Extraction — Forge Air design (prefix fe-) */

.fe-pg {
  --fe-accent: #00c4e8;
  --fe-accent-rgb: 0 196 232;
  --fe-accent-deep: #00a3cc;
  --fe-accent-soft: rgb(var(--fe-accent-rgb) / 15%);
  --fe-accent-muted: rgb(var(--fe-accent-rgb) / 10%);
  --fe-accent-line: rgb(var(--fe-accent-rgb) / 35%);
  --fe-accent-border: rgb(var(--fe-accent-rgb) / 25%);
  --fe-accent-border-mid: rgb(var(--fe-accent-rgb) / 30%);
  --fe-accent-border-strong: rgb(var(--fe-accent-rgb) / 35%);
  --fe-accent-border-bold: rgb(var(--fe-accent-rgb) / 45%);
  --fe-accent-surface: rgb(var(--fe-accent-rgb) / 8%);
  --fe-accent-surface-strong: rgb(var(--fe-accent-rgb) / 12%);
  --fe-accent-glow: rgb(var(--fe-accent-rgb) / 12%);
  --fe-accent-glow-soft: rgb(var(--fe-accent-rgb) / 8%);
  --fe-accent-shadow: rgb(var(--fe-accent-rgb) / 35%);
  --fe-accent-shadow-strong: rgb(var(--fe-accent-rgb) / 45%);
  --fe-accent-hero-end: #0c4a6e;
  --fe-accent-spotlight-bg: #eef6fb;
  background: #f8fafc;
  overflow-x: hidden;
}

/* ── HERO ── */
.fe-hero {
  position: relative;
  min-height: clamp(520px, 88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: clamp(100px, 12vw, 140px) 0 clamp(64px, 8vw, 96px);
  isolation: isolate;
  overflow: hidden;
}
.fe-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.fe-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fe-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(6, 18, 32, 0.94) 0%, rgba(8, 30, 52, 0.82) 42%, rgba(8, 40, 64, 0.55) 100%),
    linear-gradient(to top, rgba(6, 18, 32, 0.92) 0%, transparent 45%);
}
.fe-hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: end;
}
.fe-crumb {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 16px;
}
.fe-crumb a { color: #cbd5e1; text-decoration: none; }
.fe-crumb a:hover { color: var(--fe-accent); }
.fe-crumb span { margin: 0 6px; opacity: 0.5; }
.fe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fe-accent);
  background: var(--fe-accent-soft);
  border: 1px solid var(--fe-accent-border);
  border-radius: 100px;
  margin-bottom: 14px;
}
.fe-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #f8fafc;
  margin: 0 0 16px;
}
.fe-lead {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
  color: #cbd5e1;
  margin: 0 0 24px;
  max-width: 540px;
}
.fe-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.fe-chip {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
}
.fe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.fe-btn--glow {
  color: #061018;
  background: linear-gradient(135deg, var(--fe-accent), var(--fe-accent-deep));
  box-shadow: 0 8px 32px var(--fe-accent-shadow);
}
.fe-btn--glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--fe-accent-shadow-strong);
  color: #061018;
}
.fe-btn--wire {
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}
.fe-btn--wire:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.fe-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.fe-stat { min-width: 100px; }
.fe-stat-val {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
}
.fe-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}
.fe-hero-doc {
  position: relative;
}
.fe-doc-frame {
  position: relative;
  padding: 10px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: perspective(900px) rotateY(-4deg);
  transition: transform 0.35s ease;
}
.fe-doc-frame:hover { transform: perspective(900px) rotateY(-1deg) translateY(-4px); }
.fe-doc-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
.fe-doc-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  padding: 7px 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #061018;
  background: linear-gradient(135deg, var(--fe-accent), var(--fe-accent-deep));
  border-radius: 100px;
}
.fe-doc-cap {
  margin: 14px 0 0;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}

/* ── INTRO (white) ── */
.fe-intro {
  padding: clamp(56px, 8vw, 80px) clamp(20px, 4vw, 48px);
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.fe-intro-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.fe-intro-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fe-accent);
  margin: 0 0 10px;
}
.fe-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}
.fe-intro p {
  font-size: 15px;
  line-height: 1.8;
  color: #64748b;
  margin: 0;
}

/* ── CHAIN (navy) ── */
.fe-chain {
  padding: clamp(64px, 8vw, 88px) clamp(20px, 4vw, 48px);
  background: linear-gradient(165deg, #061220 0%, #0c2540 55%, #0a1e38 100%);
}
.fe-chain-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.fe-chain-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  color: #f8fafc;
  margin: 0 0 10px;
}
.fe-chain-head p { font-size: 14px; color: #94a3b8; margin: 0; }
.fe-chain-track {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.fe-chain-track::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fe-accent-line), transparent);
}
.fe-chain-node {
  text-align: center;
  padding: 0 8px;
}
.fe-chain-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--fe-accent);
  background: var(--fe-accent-muted);
  border: 1px solid var(--fe-accent-border);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.fe-chain-title {
  font-size: 14px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 6px;
}
.fe-chain-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* ── SPOTLIGHT (white) ── */
.fe-spotlight {
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 48px);
  background: var(--fe-accent-spotlight-bg);
}
.fe-spotlight-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.fe-spotlight-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 30, 52, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.fe-spotlight-visual img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 280px;
  object-fit: cover;
}
.fe-spotlight-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(6, 18, 32, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 6px;
}
.fe-spotlight-copy h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.fe-spotlight-copy > p {
  font-size: 14px;
  line-height: 1.75;
  color: #64748b;
  margin: 0 0 24px;
}
.fe-features {
  display: grid;
  gap: 10px;
}
.fe-feature {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fe-feature:hover {
  border-color: var(--fe-accent-border-mid);
  box-shadow: 0 8px 24px rgba(8, 30, 52, 0.06);
}
.fe-feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--fe-accent);
  background: var(--fe-accent-soft);
  border-radius: 8px;
}
.fe-feature-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 3px;
}
.fe-feature-desc {
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* ── DOCUMENTATION GALLERY ── */
.fe-doc-gallery {
  position: relative;
  padding: clamp(72px, 9vw, 108px) clamp(20px, 4vw, 48px);
  background: #060f1a;
  overflow: hidden;
}
.fe-doc-gallery-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, var(--fe-accent-muted), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 80%, var(--fe-accent-glow-soft), transparent 50%),
    linear-gradient(165deg, #060f1a 0%, #0a1a2e 45%, #071220 100%);
  pointer-events: none;
}
.fe-doc-gallery-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
}
.fe-doc-gallery-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.fe-doc-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.fe-doc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fe-accent);
  margin: 0 0 12px;
}
.fe-doc-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f8fafc;
  margin: 0 0 14px;
}
.fe-doc-lead {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.75;
  color: #94a3b8;
  margin: 0 0 18px;
  max-width: 56ch;
}
.fe-doc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fe-doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
}
.fe-doc-pill i { color: var(--fe-accent); font-size: 10px; }
.fe-doc-head-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgb(var(--fe-accent-rgb) / 20%);
  box-shadow: 0 0 40px var(--fe-accent-glow-soft);
}
.fe-doc-head-stat-val {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--fe-accent);
  letter-spacing: -0.04em;
}
.fe-doc-head-stat-lbl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  margin-top: 6px;
}

.fe-doc-shell {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 20px;
  align-items: stretch;
}
.fe-doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fe-doc-card {
  display: grid;
  grid-template-columns: 36px 72px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.fe-doc-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}
.fe-doc-card.is-active {
  background: var(--fe-accent-surface);
  border-color: var(--fe-accent-border-bold);
  box-shadow: 0 8px 32px var(--fe-accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateX(6px);
}
.fe-doc-card-num {
  font-size: 11px;
  font-weight: 900;
  color: #475569;
  letter-spacing: 0.06em;
}
.fe-doc-card.is-active .fe-doc-card-num { color: var(--fe-accent); }
.fe-doc-card-preview {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fe-doc-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.fe-doc-card-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fe-accent);
  margin-bottom: 4px;
}
.fe-doc-card-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 4px;
  line-height: 1.3;
}
.fe-doc-card-desc {
  font-size: 11px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fe-doc-viewer {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.fe-doc-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fe-doc-toolbar-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}
.fe-doc-toolbar-type i { color: var(--fe-accent); }
.fe-doc-counter {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.fe-doc-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fe-doc-nav {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.fe-doc-nav:hover {
  background: var(--fe-accent-surface-strong);
  border-color: var(--fe-accent-border-strong);
  color: var(--fe-accent);
}
.fe-doc-expand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f172a;
  background: var(--fe-accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fe-doc-expand:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--fe-accent-shadow);
}

.fe-doc-stage {
  flex: 1;
  margin: 0;
  padding: clamp(16px, 3vw, 28px);
  background: #fff;
  min-height: clamp(280px, 42vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fe-doc-stage-frame {
  width: 100%;
  max-height: min(480px, 58vh);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fe-doc-img {
  width: 100%;
  height: auto;
  max-height: min(480px, 58vh);
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.fe-doc-img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.fe-doc-caption {
  padding: 20px 22px 22px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fe-doc-caption strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #f8fafc;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.fe-doc-caption p {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0;
  max-width: 62ch;
}

.fe-doc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 15, 26, 0.92);
  backdrop-filter: blur(8px);
}
.fe-doc-lightbox[hidden] { display: none !important; }
.fe-doc-lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}
.fe-doc-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.fe-doc-lightbox-close:hover { background: rgba(255, 255, 255, 0.15); }
/* ── SPEC BAR (white) ── */
.fe-specbar {
  padding: 0;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.fe-specbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fe-spec-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}
.fe-spec-item:last-child { border-right: none; }
.fe-spec-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--fe-accent);
  background: var(--fe-accent-soft);
  border-radius: 10px;
  flex-shrink: 0;
}
.fe-spec-val {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.fe-spec-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* ── PORTALS (light) ── */
.fe-portals {
  padding: clamp(64px, 8vw, 88px) clamp(20px, 4vw, 48px);
  background: #f1f5f9;
}
.fe-portals-head {
  text-align: center;
  margin-bottom: 32px;
}
.fe-portals-head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}
.fe-portals-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fe-portal {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fe-portal:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(8, 30, 52, 0.12);
}
.fe-portal-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}
.fe-portal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fe-portal-body {
  padding: 18px 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fe-portal-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--fe-accent);
  margin-bottom: 4px;
}
.fe-portal-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.fe-portal-go {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--fe-accent);
}

/* ── CTA ── */
.fe-cta {
  position: relative;
  padding: clamp(56px, 7vw, 72px) clamp(20px, 4vw, 48px);
  background: linear-gradient(135deg, #061220 0%, #0c2540 100%);
  overflow: hidden;
}
.fe-cta-accent {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, var(--fe-accent-glow), transparent);
  pointer-events: none;
}
.fe-cta-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fe-cta-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fe-accent);
  margin: 0 0 8px;
}
.fe-cta h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 900;
  color: #f8fafc;
  margin: 0 0 8px;
  max-width: 520px;
}
.fe-cta p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  max-width: 480px;
}
.fe-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── HUB ── */
.fe-hub-hero {
  position: relative;
  min-height: clamp(480px, 78vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: clamp(100px, 12vw, 130px) 0 72px;
  background: linear-gradient(155deg, #020617 0%, #0f172a 40%, var(--fe-accent-hero-end) 100%);
  overflow: hidden;
}
.fe-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 30%, var(--fe-accent-soft), transparent),
    radial-gradient(ellipse 50% 40% at 85% 70%, var(--fe-accent-glow-soft), transparent);
}
.fe-hub-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  width: 100%;
}
.fe-hub-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #f8fafc;
  margin: 0 0 16px;
}
.fe-hub-title span { color: var(--fe-accent); }
.fe-hub-lead {
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 0 28px;
}
.fe-hub-path {
  padding: clamp(72px, 9vw, 100px) clamp(20px, 4vw, 48px);
  background: #fff;
}
.fe-hub-path-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.fe-hub-path-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px;
}
.fe-hub-path-head p { font-size: 14px; color: #64748b; margin: 0; }
.fe-hub-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.fe-hub-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  text-decoration: none;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fe-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(8, 30, 52, 0.1);
  border-color: var(--fe-accent-border-strong);
}
.fe-hub-card-img { overflow: hidden; }
.fe-hub-card-img img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}
.fe-hub-card-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
}
.fe-hub-card-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--fe-accent);
  margin-bottom: 4px;
}
.fe-hub-card-name {
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
}
.fe-hub-card-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 10px;
  flex: 1;
}
.fe-hub-card-go {
  font-size: 12px;
  font-weight: 700;
  color: var(--fe-accent);
}
.fe-reel {
  padding: clamp(56px, 7vw, 72px) 0;
  background: linear-gradient(165deg, #0a1628 0%, #0c2540 100%);
  overflow: hidden;
}
.fe-reel-head {
  text-align: center;
  padding: 0 24px 28px;
}
.fe-reel-head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: #f8fafc;
  margin: 0 0 6px;
}
.fe-reel-head p { font-size: 13px; color: #94a3b8; margin: 0; }
.fe-reel-track {
  display: flex;
  gap: 16px;
  padding: 0 clamp(20px, 4vw, 48px) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.fe-reel-slide {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.fe-reel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.fe-reel-cap {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  border-top: 3px solid var(--fe-accent);
}

/* Reveal */
.fe-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fe-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .fe-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: clamp(48px, 8vw, 72px);
  }
  .fe-hero-grid,
  .fe-spotlight-grid { grid-template-columns: 1fr; }
  .fe-hero-doc { order: -1; max-width: 100%; }
  .fe-doc-frame { transform: none; }
  .fe-chain-track { grid-template-columns: 1fr; }
  .fe-chain-track::before { display: none; }
  .fe-specbar-inner { grid-template-columns: 1fr; }
  .fe-spec-item { border-right: none; border-bottom: 1px solid rgba(15, 23, 42, 0.06); }
  .fe-portals-grid { grid-template-columns: 1fr; }
  .fe-hub-grid { grid-template-columns: 1fr; }
  .fe-hub-card { grid-template-columns: 1fr; }
  .fe-hub-card-img img { min-height: 180px; }
  .fe-hub-hero { min-height: auto; padding-bottom: 56px; }
  .fe-doc-head { grid-template-columns: 1fr; }
  .fe-doc-head-stat {
    flex-direction: row;
    gap: 12px;
    width: fit-content;
    padding: 14px 20px;
  }
  .fe-doc-shell { grid-template-columns: 1fr; }
  .fe-doc-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .fe-doc-card {
    flex: 0 0 min(280px, 82vw);
    scroll-snap-align: start;
    grid-template-columns: 28px 64px 1fr;
  }
  .fe-doc-card:hover,
  .fe-doc-card.is-active { transform: none; }
  .fe-doc-counter { margin-left: 0; }
  .fe-doc-toolbar { gap: 10px; flex-wrap: wrap; }
  .fe-doc-toolbar-actions { width: 100%; justify-content: flex-end; }
  .fe-cta-inner { flex-direction: column; align-items: flex-start; }
  .fe-cta-actions { width: 100%; }
}

@media (max-width: 767px) {
  .fe-actions { flex-direction: column; width: 100%; }
  .fe-actions .fe-btn { width: 100%; justify-content: center; }
  .fe-stats { gap: 12px; margin-top: 24px; }
  .fe-stat { min-width: 0; flex: 1 1 40%; }
  .fe-spotlight { padding-top: 48px; padding-bottom: 48px; }
  .fe-spotlight-visual img { min-height: 200px; }
  .fe-doc-stage { min-height: 220px; padding: 12px; }
  .fe-doc-viewer { border-radius: 12px; }
  .fe-reel-slide { flex: 0 0 min(280px, 85vw); }
  .fe-portals { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 575px) {
  .fe-hero { padding-top: 88px; }
  .fe-hero-doc { margin-bottom: 8px; }
  .fe-doc-frame { padding: 8px; }
  .fe-doc-badge { top: -8px; right: 10px; font-size: 8px; padding: 5px 10px; }
  .fe-doc-card { flex: 0 0 min(260px, 88vw); grid-template-columns: 24px 56px 1fr; gap: 10px; }
  .fe-doc-card-preview { width: 56px; height: 56px; }
  .fe-spec-item { padding: 20px 16px; }
  .fe-cta-actions { flex-direction: column; }
  .fe-cta-actions .fe-btn { width: 100%; justify-content: center; }
  .fe-hub-path { padding-top: 56px; padding-bottom: 56px; }
  .fe-hub-card-body { padding: 16px; }
  .fe-chips { gap: 6px; }
  .fe-chip { font-size: 10px; padding: 5px 10px; }
}
