/* Next Edge Alliance — funnel styles (built on ../colors_and_type.css)
   Covers the Entry Page in three directions + the review switcher. */

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--nea-black); font-family: var(--font-sans); color: var(--fg1); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* ---------- review switcher ---------- */
.switcher { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 200;
  display: flex; gap: 6px; padding: 6px; border-radius: var(--r-pill);
  background: rgba(17,17,47,.72); backdrop-filter: blur(16px); box-shadow: var(--sh-md), inset 0 0 0 1px var(--nea-line); }
.switcher button { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--fg2); background: transparent; border: 0; cursor: pointer; padding: 9px 18px; border-radius: var(--r-pill); transition: all .18s ease; white-space: nowrap; }
.switcher button:hover { color: var(--fg1); }
.switcher button.on { background: var(--grad-gold); color: var(--nea-navy); box-shadow: var(--sh-gold-glow); }
.switcher .num { font-family: var(--font-mono); opacity: .7; margin-right: 7px; }

/* ---------- page shell ---------- */
.page { position: relative; min-height: 100vh; width: 100%; overflow: hidden; }
.atmos { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 1; }
.page-inner { position: relative; z-index: 3; }
.scrim-top { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(140% 90% at 50% -10%, rgba(10,10,28,0) 30%, rgba(10,10,28,.55) 100%); }

/* grounds */
.ground-observatory { background:
  radial-gradient(120% 120% at 72% 4%, #3D4FBF 0%, rgba(61,79,191,0) 42%),
  radial-gradient(120% 130% at 30% 100%, #7B3FA0 0%, rgba(123,63,160,0) 46%),
  linear-gradient(180deg, #1A1A4E 0%, #14143A 55%, #0A0A1C 100%); }
.ground-wall { background:
  radial-gradient(80% 120% at 50% 0%, #2A2A6B 0%, rgba(42,42,107,0) 50%),
  linear-gradient(90deg, #15153f 0%, #1A1A4E 40%, #1A1A4E 60%, #15153f 100%),
  linear-gradient(180deg, #1A1A4E 0%, #0A0A1C 100%); background-blend-mode: screen, normal, normal; }
.ground-frontier { background:
  linear-gradient(90deg, #11112F 0%, #15153f 46%, rgba(21,21,63,0) 58%),
  radial-gradient(90% 120% at 92% 30%, #6B4FBF 0%, rgba(107,79,191,0) 48%),
  radial-gradient(70% 90% at 80% 95%, #3D4FBF 0%, rgba(61,79,191,0) 50%),
  linear-gradient(180deg, #1A1A4E 0%, #0A0A1C 100%); }

/* hex / circuit texture overlay (very subtle) */
.tex-hex { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'><path d='M14 0l14 8v16l-14 8L0 24V8z' fill='none' stroke='%23C4A84B' stroke-width='1'/><path d='M42 0l14 8v16l-14 8-14-8V8z' fill='none' stroke='%23C4A84B' stroke-width='1'/></svg>"); }

/* ---------- mini brand bar ---------- */
.fbar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 30px 56px; }
.fbar .brand { display: flex; align-items: center; gap: 12px; }
.fbar .brand img { height: 24px; }
.fbar .brand .wm { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .12em; white-space: nowrap; }
.fbar .brand .wm .sep { color: var(--nea-gold); margin: 0 3px; }
.fbar .micro { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--fg3); }

/* ---------- shared typographic pieces ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--nea-gold); }
.headline { font-family: var(--font-display); font-weight: 700; letter-spacing: -.012em; line-height: .98; color: var(--fg1); text-wrap: balance; margin: 0; }
.subhead { font-size: 19px; line-height: 1.62; color: var(--fg2); text-wrap: pretty; }
.bridge { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--nea-gold-bright); }
.tagline-foot { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; z-index: 5;
  font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--fg3); letter-spacing: .02em; }

/* ---------- path cards ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pathcard { position: relative; display: block; padding: 30px 30px 26px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(248,245,239,.07), rgba(248,245,239,.03));
  box-shadow: inset 0 0 0 1px var(--nea-line), var(--sh-md); backdrop-filter: blur(14px);
  cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; overflow: hidden; }
.pathcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-gold); opacity: 0; transition: opacity .22s ease; }
.pathcard:hover { transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--nea-gold-line), var(--sh-lg), 0 0 30px rgba(196,168,75,.16);
  background: linear-gradient(180deg, rgba(248,245,239,.10), rgba(248,245,239,.04)); }
.pathcard:hover::before { opacity: 1; }
.pathcard .role { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--nea-gold); }
.pathcard h3 { font-family: var(--font-display); font-weight: 700; font-size: 30px; margin: 12px 0 0; line-height: 1; }
.pathcard .desc { font-size: 15.5px; line-height: 1.55; color: var(--fg2); margin: 14px 0 18px; }
.pathcard .offer { font-size: 14px; line-height: 1.5; color: var(--fg1); padding-top: 16px; border-top: 1px solid var(--nea-line); }
.pathcard .offer b { color: var(--nea-gold-bright); font-weight: 600; }
.pathcard .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--fg1); }
.pathcard .go .arr { transition: transform .22s ease; }
.pathcard:hover .go .arr { transform: translateX(5px); }
.pathcard .go .arr svg { display: block; }

/* ============ DIRECTION 1 — THE WALL ============ */
.dir-wall .page-inner { display: flex; flex-direction: column; align-items: center; min-height: 100vh; padding: 130px 56px 90px; text-align: center; }
.dir-wall .headline { font-size: clamp(34px, 4.6vw, 64px); max-width: 17ch; }
.dir-wall .subhead { max-width: 60ch; margin: 26px auto 0; }
.dir-wall .bridge { font-size: 22px; margin: 30px 0 0; }
.dir-wall .paths { margin-top: 64px; width: 100%; max-width: 1040px; gap: 120px; }
.dir-wall .pathcard.left { text-align: right; }
.dir-wall .pathcard.left::before { left: auto; right: 0; }
.dir-wall .pathcard.left .go { flex-direction: row-reverse; }

/* ============ DIRECTION 2 — OBSERVATORY ============ */
.dir-observatory .page-inner { max-width: 1120px; margin: 0 auto; padding: 150px 56px 120px; text-align: center; display: flex; flex-direction: column; align-items: center; min-height: 100vh; }
.dir-observatory .headline { font-size: clamp(38px, 5.4vw, 82px); max-width: 16ch; }
.dir-observatory .subhead { max-width: 56ch; margin: 30px auto 0; font-size: 20px; }
.dir-observatory .bridge { font-size: 24px; margin: 34px 0 0; }
.dir-observatory .paths { margin-top: auto; padding-top: 70px; width: 100%; max-width: 980px; }

/* ============ DIRECTION 3 — FRONTIER ============ */
.dir-frontier .page-inner { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.dir-frontier .left { padding: 150px 40px 60px 56px; display: flex; flex-direction: column; }
.dir-frontier .headline { font-size: clamp(36px, 4.4vw, 66px); max-width: 14ch; }
.dir-frontier .subhead { max-width: 48ch; margin: 28px 0 0; }
.dir-frontier .bridge { font-size: 21px; margin: 28px 0 0; }
.dir-frontier .paths { margin-top: auto; padding-top: 56px; grid-template-columns: 1fr; gap: 16px; max-width: 520px; }
.dir-frontier .pathcard { padding: 22px 26px; }
.dir-frontier .pathcard h3 { font-size: 24px; }
.dir-frontier .pathcard .desc { margin: 8px 0 12px; font-size: 14.5px; }
.dir-frontier .right { position: relative; }
.dir-frontier .figure { position: absolute; inset: 0; }
.dir-frontier .silho { position: absolute; inset: 0; }

/* executive silhouette placeholder (CSS) */
.exec-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.exec-ph .body { width: 64%; height: 78%; align-self: flex-end;
  background: linear-gradient(180deg, rgba(10,10,28,0) 0%, rgba(10,10,28,.55) 60%, rgba(10,10,28,.92) 100%),
              radial-gradient(80% 60% at 50% 22%, rgba(26,26,78,.9), rgba(10,10,28,.95));
  clip-path: polygon(38% 0, 62% 0, 67% 16%, 78% 30%, 82% 100%, 18% 100%, 22% 30%, 33% 16%);
  filter: blur(.4px); }
.exec-ph .label { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center;
  font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(248,245,239,.4); }
.dir-frontier image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.dir-frontier .rscrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, #11112F 0%, rgba(17,17,47,0) 26%),
              linear-gradient(0deg, #0A0A1C 0%, rgba(10,10,28,0) 34%); }

@media (max-width: 1080px) {
  .dir-frontier .page-inner { grid-template-columns: 1fr; }
  .dir-frontier .right { min-height: 360px; }
  .paths { grid-template-columns: 1fr; }
  .dir-wall .paths { gap: 20px; }
  .switcher button { padding: 8px 13px; font-size: 11.5px; }
  /* keep the review switcher clear of the brand bar on narrow viewports */
  .fbar .wm, .fbar .micro { display: none; }
}
