/* ==========================================================
   Borderless Opportunities — Visual identity
   Palette: deep navy · teal · cyan · gold · white
   Shapes: circles, rings, orbits. Font: Montserrat.
   ========================================================== */

:root {
  --navy-950: #040b1a;
  --navy-900: #071226;
  --navy-850: #0a1a33;
  --navy-800: #0e2242;
  --navy-700: #15305a;
  --teal: #0f8b8d;
  --teal-600: #12a3a5;
  --cyan: #5fd4e6;
  --soft-blue: #9cc9f0;
  --gold: #f2b84b;
  --gold-600: #e0a12c;
  --white: #f5f8fc;
  --text: #e8eef7;
  --muted: #a3b3cc;
  --faint: #6f819e;
  --line: rgba(156, 201, 240, 0.14);
  --line-strong: rgba(156, 201, 240, 0.28);
  --surface: rgba(16, 38, 74, 0.55);
  --surface-solid: #0d1f3d;
  --surface-hover: rgba(22, 50, 94, 0.7);
  --danger: #f08a7a;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --glow-gold: 0 0 40px rgba(242, 184, 75, 0.35);
  --glow-cyan: 0 0 40px rgba(95, 212, 230, 0.25);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(15, 139, 141, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(95, 212, 230, 0.08), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  background-color: var(--navy-950);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Star-dust texture */
.stardust {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 72% 12%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(156,201,240,.6), transparent 60%),
    radial-gradient(1px 1px at 88% 56%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 22% 88%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 34%, rgba(242,184,75,.45), transparent 60%),
    radial-gradient(1px 1px at 6% 52%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 94% 90%, rgba(156,201,240,.5), transparent 60%);
  background-size: 520px 520px;
}

header, main, footer { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--white); }
h1, h2, h3, h4 { color: var(--white); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: var(--pill); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--band { background: linear-gradient(180deg, rgba(14, 34, 66, 0.55), rgba(10, 26, 51, 0.2)); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 560px; }

/* ---------- Icons ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-bubble {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 35% 30%, rgba(95,212,230,.25), rgba(15,139,141,.12));
  border: 1px solid var(--line-strong); color: var(--cyan);
}
.icon-bubble .icon { width: 22px; height: 22px; }
.icon-bubble--gold { color: var(--gold); background: radial-gradient(circle at 35% 30%, rgba(242,184,75,.25), rgba(242,184,75,.06)); border-color: rgba(242,184,75,.35); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--pill); border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2; cursor: pointer; text-align: center;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: linear-gradient(135deg, #f7c96a, var(--gold) 50%, var(--gold-600)); color: var(--navy-950); box-shadow: 0 10px 30px -10px rgba(242,184,75,.6); }
.btn--gold:hover { color: var(--navy-950); box-shadow: var(--glow-gold); }
.btn--teal { background: linear-gradient(135deg, var(--teal-600), var(--teal)); color: var(--white); }
.btn--teal:hover { color: var(--white); box-shadow: var(--glow-cyan); }
.btn--ghost { border-color: var(--line-strong); color: var(--white); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--white); background: rgba(95,212,230,.08); }
.btn--sm { padding: 9px 16px; font-size: 0.86rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cyan); }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 18, 38, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); flex: none; }
.brand:hover { color: var(--white); }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand-text span { font-weight: 500; font-size: 0.82rem; color: var(--gold); letter-spacing: 0.04em; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 10px; border-radius: var(--pill);
  font-size: 0.86rem; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,.04); }
.main-nav a[aria-current="page"] { color: var(--white); background: rgba(95,212,230,.1); box-shadow: inset 0 0 0 1px rgba(95,212,230,.25); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; padding: 6px 11px; border-radius: var(--pill);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; color: var(--muted);
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--navy-950); }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); cursor: pointer; color: var(--white); place-items: center; }
.menu-toggle .icon { width: 20px; height: 20px; }

/* The header gets .is-compact (from app.js) whenever the full menu doesn't fit on one line. */
.site-header .container { max-width: 1440px; }
.site-header.is-compact .main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
  background: rgba(7, 18, 38, 0.98); border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 20px; display: none;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-header.is-compact .main-nav.is-open { display: block; }
.site-header.is-compact .main-nav ul { flex-direction: column; gap: 4px; }
.site-header.is-compact .main-nav a { padding: 12px 14px; font-size: 1rem; border-radius: var(--radius-sm); }
.site-header.is-compact .menu-toggle { display: grid; }
.site-header.is-compact .header-actions { margin-left: auto; }
.site-header.no-cta .header-cta { display: none; }
@media (max-width: 1120px) { .header-cta { display: none; } }
@media (max-width: 420px) {
  .brand-text b { font-size: 0.95rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-inner { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 90px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .accent { background: linear-gradient(90deg, var(--gold), #ffe1a0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: var(--pill);
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03);
  font-size: 0.82rem; font-weight: 500; color: var(--text);
}
a.chip:hover { border-color: var(--cyan); color: var(--white); }
.chip .icon { color: var(--cyan); width: 15px; height: 15px; }

/* Orbit system */
.orbit-system { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; }
.orbit-system .sun {
  position: absolute; inset: 37%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff1c8 0%, var(--gold) 45%, #b97a12 100%);
  box-shadow: 0 0 60px rgba(242,184,75,.55), 0 0 140px rgba(242,184,75,.25);
}
.orbit-system .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(156,201,240,.22); animation: spin linear infinite; }
.orbit-system .ring::after {
  content: ""; position: absolute; top: 50%; left: -7px; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  background: var(--planet, var(--cyan)); box-shadow: 0 0 18px var(--planet, var(--cyan));
}
.orbit-system .r1 { inset: 24%; animation-duration: 18s; --planet: var(--cyan); }
.orbit-system .r2 { inset: 12%; animation-duration: 30s; animation-direction: reverse; --planet: var(--teal-600); border-style: dashed; }
.orbit-system .r3 { inset: 0; animation-duration: 46s; --planet: var(--soft-blue); }
.orbit-system .r3::before {
  content: ""; position: absolute; bottom: 8%; right: 12%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold);
}
.orbit-system .halo { position: absolute; inset: -8%; border-radius: 50%; background: radial-gradient(circle, rgba(95,212,230,.10), transparent 65%); }
.orbit-caption {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  white-space: nowrap; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .orbit-system { width: min(70vw, 300px); }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; color: var(--text); overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
a.card:hover, .card--hover:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-hover); box-shadow: var(--shadow); color: var(--text); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Opportunity card */
.opp-card { padding: 0; }
.opp-card .opp-top {
  position: relative; padding: 20px 22px 18px; min-height: 108px;
  background:
    radial-gradient(160px 160px at 100% 0%, var(--accent-glow, rgba(242,184,75,.22)), transparent 70%),
    linear-gradient(135deg, rgba(15,139,141,.18), rgba(10,26,51,.2));
  border-bottom: 1px solid var(--line);
}
.opp-card .opp-top::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 18px rgba(255,255,255,.02);
}
.opp-card .opp-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.opp-card h3 { font-size: 1.05rem; }
.opp-org { font-size: 0.82rem; color: var(--faint); margin-bottom: 10px; }
.opp-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.opp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.opp-meta .icon { width: 14px; height: 14px; color: var(--cyan); }

.type-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--pill);
  font-size: 0.74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(7,18,38,.6); border: 1px solid var(--line-strong); color: var(--white);
}
.type-tag .icon { width: 14px; height: 14px; color: var(--tag-color, var(--gold)); }
.type-scholarship { --tag-color: var(--gold); --accent-glow: rgba(242,184,75,.26); }
.type-internship { --tag-color: var(--cyan); --accent-glow: rgba(95,212,230,.24); }
.type-training { --tag-color: var(--soft-blue); --accent-glow: rgba(156,201,240,.22); }
.type-call { --tag-color: var(--teal-600); --accent-glow: rgba(18,163,165,.28); }
.type-conference { --tag-color: #ffd98a; --accent-glow: rgba(255,217,138,.2); }

.deadline {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--pill);
  font-size: 0.76rem; font-weight: 700; white-space: nowrap;
  background: rgba(95,212,230,.1); color: var(--cyan); border: 1px solid rgba(95,212,230,.25);
}
.deadline .icon { width: 13px; height: 13px; }
.deadline--soon { background: rgba(242,184,75,.12); color: var(--gold); border-color: rgba(242,184,75,.35); }
.deadline--closed { background: rgba(255,255,255,.04); color: var(--faint); border-color: var(--line); }
.opp-top .deadline { position: absolute; right: 16px; bottom: 14px; z-index: 1; }

/* Article card */
.article-card .article-art {
  height: 120px; margin: -22px -22px 18px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--art-a, #0f8b8d), var(--art-b, #0a1a33));
  border-bottom: 1px solid var(--line);
}
.article-art::before, .article-art::after { content: ""; position: absolute; border-radius: 50%; }
.article-art::before { width: 180px; height: 180px; right: -40px; top: -60px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 22px rgba(255,255,255,.03), 0 0 0 46px rgba(255,255,255,.02); }
.article-art::after { width: 26px; height: 26px; left: 26px; bottom: 22px; background: var(--art-dot, var(--gold)); box-shadow: 0 0 22px var(--art-dot, var(--gold)); }
.art-productivity { --art-a: #12a3a5; --art-b: #0a1a33; --art-dot: var(--gold); }
.art-career { --art-a: #15305a; --art-b: #0f8b8d; --art-dot: var(--cyan); }
.art-tools { --art-a: #8a6a22; --art-b: #0a1a33; --art-dot: var(--soft-blue); }
.cat-label { font-size: 0.74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.read-time { font-size: 0.8rem; color: var(--faint); display: inline-flex; align-items: center; gap: 6px; }
.read-time .icon { width: 14px; height: 14px; }

/* Ad slot */
.ad-slot {
  border: 1px dashed rgba(242,184,75,.45); background:
    radial-gradient(300px 200px at 100% 100%, rgba(242,184,75,.12), transparent 70%),
    rgba(10, 26, 51, .5);
  justify-content: center; text-align: left;
}
.ad-slot .ad-label { font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feed-grid .ad-slot { grid-column: span 1; }
@media (max-width: 1024px) { .feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feed-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: step; }
.step { padding-top: 26px; }
.step-num {
  position: absolute; top: 18px; right: 20px; font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(156,201,240,.3);
}
.step .icon-bubble { margin-bottom: 16px; }

/* Entity mini cards */
.entity-mini { align-items: flex-start; gap: 14px; }
.planet-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--planet, var(--gold)); box-shadow: 0 0 16px var(--planet, var(--gold)); flex: none; }
.entity-mini .entity-name { line-height: 1.25; }
.entity-name b { font-weight: 800; color: var(--white); }
.entity-name span { font-weight: 500; color: var(--white); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(500px 300px at 95% 10%, rgba(242,184,75,.22), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(95,212,230,.14), transparent 70%),
    linear-gradient(135deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 40px rgba(255,255,255,.02), 0 0 0 90px rgba(255,255,255,.015);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin: 0; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */
.page-hero { padding: clamp(44px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); position: relative; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.breadcrumb:hover { color: var(--white); }
.breadcrumb .icon { width: 16px; height: 16px; }

/* ---------- Filters ---------- */
.filters {
  display: grid; grid-template-columns: 1.6fr repeat(var(--cols, 2), 1fr) auto; gap: 12px; align-items: end;
  padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  margin-bottom: 18px;
}
@media (max-width: 960px) { .filters { grid-template-columns: 1fr 1fr; } .filters .field--search { grid-column: 1 / -1; } }
@media (max-width: 520px) { .filters { grid-template-columns: 1fr; } }
.type-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.type-pills button {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 8px 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: rgba(255,255,255,.03);
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
}
.type-pills button:hover { color: var(--white); border-color: var(--cyan); }
.type-pills button[aria-pressed="true"] { background: rgba(242,184,75,.14); color: var(--gold); border-color: rgba(242,184,75,.5); }
.type-pills .icon { width: 15px; height: 15px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: 0.92rem; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.empty-state .icon-bubble { margin: 0 auto 14px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field .label { font-size: 0.8rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: rgba(4, 11, 26, .55); border: 1px solid var(--line-strong); color: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(95,212,230,.15); }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239cc9f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.select option { background: var(--navy-850); color: var(--white); }
.textarea { min-height: 130px; resize: vertical; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); width: 17px; height: 17px; }
.input-icon .input { padding-left: 40px; }

.form-card { padding: clamp(22px, 4vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--faint); margin: 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 0.92rem; }
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(15,139,141,.18); border: 1px solid rgba(95,212,230,.35); color: var(--white); }
.form-status--info { background: rgba(242,184,75,.1); border: 1px solid rgba(242,184,75,.35); color: var(--white); }
.form-status--error { background: rgba(240,138,122,.1); border: 1px solid rgba(240,138,122,.4); color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Detail pages ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 920px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-facts { list-style: none; display: grid; gap: 14px; }
.detail-facts li { display: flex; gap: 12px; align-items: flex-start; }
.detail-facts .icon-bubble { width: 40px; height: 40px; }
.detail-facts .icon-bubble .icon { width: 18px; height: 18px; }
.detail-facts small { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-weight: 600; }
.detail-facts strong { color: var(--white); font-weight: 600; font-size: 0.95rem; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(95,212,230,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fd4e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(95,212,230,.35);
}
.check-list--gold li::before {
  background-color: rgba(242,184,75,.14); border-color: rgba(242,184,75,.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2b84b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.prose { max-width: 720px; font-size: 1.04rem; }
.prose p { color: var(--text); }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose .check-list { margin: 0 0 1.4em; }

/* ---------- Services / tiers ---------- */
.tier { padding: clamp(24px, 3vw, 34px); }
.tier--featured {
  border-color: rgba(242,184,75,.5);
  background: radial-gradient(420px 260px at 100% 0%, rgba(242,184,75,.14), transparent 70%), var(--surface);
  box-shadow: var(--glow-gold);
}
.tier-label { font-size: 0.74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.tier h3 { font-size: 1.45rem; margin: 6px 0 4px; }
.tier .tier-tag { display: inline-block; font-size: 0.85rem; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.tier .badge { position: absolute; top: 20px; right: 20px; }
.badge { display: inline-block; padding: 5px 11px; border-radius: var(--pill); background: var(--gold); color: var(--navy-950); font-size: 0.72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tier .check-list { margin: 18px 0 24px; }
.tier .price-note { font-size: 0.85rem; color: var(--faint); margin-bottom: 16px; }

/* ---------- Ecosystem diagram ---------- */
.eco-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 920px) { .eco-layout { grid-template-columns: 1fr; } }
.eco-diagram { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin: 0 auto; }
.eco-diagram .eco-ring { position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(156,201,240,.25); }
.eco-diagram .eco-ring--outer { inset: 2%; border-style: dashed; border-color: rgba(156,201,240,.12); animation: spin 120s linear infinite; }
.eco-core {
  position: absolute; left: 50%; top: 50%; width: 32%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 8px;
  background: radial-gradient(circle at 38% 32%, #fff1c8 0%, var(--gold) 46%, #b97a12 100%);
  box-shadow: 0 0 60px rgba(242,184,75,.45);
  color: var(--navy-950); font-size: clamp(0.62rem, 1.7vw, 0.85rem); line-height: 1.15;
}
.eco-core b { display: block; font-weight: 800; font-size: 1.15em; }
.eco-planet {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 4px; color: var(--white);
  font-size: clamp(0.62rem, 1.6vw, 0.8rem); font-weight: 600; line-height: 1.15; text-align: center; width: 26%;
}
.eco-planet .orb {
  width: clamp(30px, 7vw, 48px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--planet) 40%, rgba(7,18,38,.9) 100%);
  box-shadow: 0 0 22px var(--planet); transition: transform .25s ease, box-shadow .25s ease;
}
.eco-planet:hover .orb, .eco-planet[aria-pressed="true"] .orb { transform: scale(1.18); box-shadow: 0 0 36px var(--planet); }
.eco-planet[aria-pressed="true"] span { color: var(--gold); }

.entity-card { scroll-margin-top: calc(var(--header-h) + 20px); }
.entity-card.is-highlight { border-color: rgba(242,184,75,.55); box-shadow: var(--glow-gold); }
.entity-card .entity-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.entity-card .flag { font-size: 0.72rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.entity-card ul { margin-top: 6px; }
.entity-card .check-list li { font-size: 0.92rem; color: var(--muted); }

.flow-list { list-style: none; display: grid; gap: 10px; }
.flow-list li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.flow-list .planet-dot { width: 14px; height: 14px; }
.flow-list strong { color: var(--white); font-weight: 700; }

.pathway { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pathway .stage { padding: 10px 16px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); font-weight: 600; color: var(--white); font-size: 0.9rem; }
.pathway .stage:last-child { border-color: rgba(242,184,75,.5); color: var(--gold); }
.pathway .icon { color: var(--faint); }

/* ---------- Contact ---------- */
.contact-links { list-style: none; display: grid; gap: 10px; }
.contact-links a {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--white); font-weight: 600;
  transition: border-color .2s ease, background .2s ease;
}
.contact-links a:hover { border-color: var(--line-strong); background: var(--surface-hover); }
.contact-links a .icon-bubble { width: 40px; height: 40px; }
.contact-links a .icon-bubble .icon { width: 18px; height: 18px; }
.contact-links small { display: block; font-weight: 500; color: var(--faint); font-size: 0.8rem; }
.contact-links .arrow { margin-left: auto; color: var(--faint); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(4, 11, 26, .7); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 340px; }
.site-footer h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer ul a { color: var(--muted); font-size: 0.92rem; }
.site-footer ul a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); }
.socials a:hover { color: var(--gold); border-color: var(--gold); }
.socials .icon { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: var(--faint); }

/* ---------- Utilities ---------- */
.stack-sm > * + * { margin-top: 12px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fade-in { animation: fadeIn .45s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.opp-funding { margin-top: 14px; font-weight: 700; font-size: 0.95rem; color: var(--white); padding-right: 110px; }
/* Keep the home feed rows even when it shows two columns */
@media (min-width: 641px) and (max-width: 1024px) { .feed-grid > :nth-child(9) { display: none; } }

/* ==========================================================
   Borderless Foundation home + Borderless Opportunities section
   ========================================================== */

.filters[hidden] { display: none; }
.btn--ghost-gold { background: rgba(242,184,75,.08); color: var(--gold); border: 1px solid rgba(242,184,75,.45); box-shadow: none; }
.btn--ghost-gold:hover { color: var(--white); background: rgba(242,184,75,.16); box-shadow: none; }

/* Search bar */
.search-bar {
  position: relative; display: flex; align-items: center; gap: 8px; max-width: 620px;
  padding: 6px 6px 6px 46px; border-radius: var(--pill);
  background: rgba(4, 11, 26, .7); border: 1px solid var(--line-strong);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-bar:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(95,212,230,.15); }
.search-bar > .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); }
.search-bar input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--white); padding: 10px 4px; outline: none; }
.search-bar input::placeholder { color: var(--faint); }
.search-bar .btn { flex: none; }
.search-bar--flat { max-width: none; }
.text-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.text-links a { color: var(--white); font-weight: 600; font-size: 0.92rem; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.text-links a:hover { color: var(--gold); }
@media (max-width: 480px) {
  .search-bar { padding-left: 40px; }
  .search-bar > .icon { left: 14px; }
  .search-bar .btn { padding: 11px 14px; }
  .filter-toggle-label { display: none; }
}

/* Foundation flagship panel */
.flagship-panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg);
  background: radial-gradient(520px 320px at 0% 0%, rgba(242,184,75,.16), transparent 70%), linear-gradient(135deg, var(--navy-800), var(--navy-850));
  border: 1px solid rgba(242,184,75,.35);
}
.flagship-motto { color: var(--gold); font-weight: 600; font-size: 1.05rem; }
.flagship-intro p:not(.flagship-motto) { color: var(--muted); }
.flagship-tiles { display: grid; gap: 12px; }
.tile {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: rgba(4,11,26,.45); border: 1px solid var(--line); color: var(--text);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.tile:hover { border-color: var(--line-strong); background: var(--surface-hover); color: var(--text); transform: translateX(2px); }
.tile strong { display: block; color: var(--white); }
.tile small { color: var(--muted); font-size: 0.85rem; }
.tile .tile-arrow { margin-left: auto; color: var(--faint); }
@media (max-width: 860px) { .flagship-panel { grid-template-columns: 1fr; } }

/* Section sub-navigation */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(10, 26, 51, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner { display: flex; align-items: center; gap: 18px; }
.subnav-brand { flex: none; font-size: 0.85rem; white-space: nowrap; }
.subnav-brand .entity-name span { color: var(--gold); }
.subnav ul { list-style: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; min-width: 0; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 7px 12px; border-radius: var(--pill); font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.subnav a:hover { color: var(--white); }
.subnav a[aria-current="page"] { background: var(--gold); color: var(--navy-950); }
@media (max-width: 760px) { .subnav-brand { display: none; } }

.hero-grid--opp { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-grid--opp > :only-child { grid-column: 1 / -1; max-width: 820px; }
.hero-grid--opp .search-bar { margin-top: 6px; }
@media (max-width: 920px) { .hero-grid--opp { grid-template-columns: 1fr; } }

/* Closing soon */
.soon-card h3 { display: flex; align-items: center; gap: 8px; }
.soon-card h3 .icon { color: var(--gold); }
.soon-list { list-style: none; display: grid; gap: 4px; margin: 6px 0 16px; }
.soon-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--white); font-weight: 600; font-size: 0.92rem; line-height: 1.35; }
.soon-list a:hover { color: var(--gold); }
.soon-list small { display: block; color: var(--faint); font-weight: 500; font-size: 0.78rem; margin-top: 3px; }

/* Stats band */
.stats-band { background: linear-gradient(90deg, rgba(242,184,75,.16), rgba(242,184,75,.06)); border-block: 1px solid rgba(242,184,75,.3); padding: 26px 0; }
.stats-band .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; }
.stat { padding: 4px 20px; border-left: 1px solid rgba(242,184,75,.3); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; color: var(--white); line-height: 1.1; }
.stat span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Guide mosaic */
.guide-mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.guide-feature {
  grid-row: span 2; padding: clamp(24px, 3vw, 34px);
  background: radial-gradient(400px 300px at 100% 0%, rgba(242,184,75,.18), transparent 70%), var(--surface);
  border-color: rgba(242,184,75,.4);
}
.guide-feature h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 6px 0 12px; }
.guide-mosaic .dest-tile:last-child { grid-column: span 2; }
.dest-tile h3 { font-size: 1.15rem; }
.dest-tile .link-arrow { margin-top: auto; padding-top: 14px; }
@media (max-width: 920px) {
  .guide-mosaic { grid-template-columns: 1fr 1fr; }
  .guide-feature { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) {
  .guide-mosaic { grid-template-columns: 1fr; }
  .guide-mosaic .dest-tile:last-child { grid-column: auto; }
}

/* Level picker */
.level-picker { padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); background: var(--navy-950); border: 1px solid var(--line-strong); }
.level-picker h2 { font-size: 1.4rem; }
.level-picker ul { list-style: none; margin: 10px 0 14px; }
.level-picker a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--white); font-size: 1.2rem; font-weight: 700; }
.level-picker a .icon { color: var(--gold); transition: transform .2s ease; }
.level-picker a:hover { color: var(--gold); }
.level-picker a:hover .icon { transform: translateX(4px); }

/* Numbered steps */
.step-index { flex: none; font-weight: 800; color: var(--gold); font-size: 0.9rem; letter-spacing: .04em; }
.step-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.step-list li { display: flex; gap: 18px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-list .step-index { font-size: 1.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.step-list h3 { margin-bottom: 4px; }
.step-list p { color: var(--muted); font-size: 0.93rem; margin-bottom: 8px; }

/* Guide cards */
.guide-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.guide-country { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--cyan); }
.guide-country .icon { width: 14px; height: 14px; }
.coverage-tag { display: inline-flex; padding: 4px 10px; border-radius: var(--pill); font-size: 0.72rem; font-weight: 700; letter-spacing: .03em; }
.coverage-full { background: rgba(242,184,75,.14); color: var(--gold); border: 1px solid rgba(242,184,75,.4); }
.coverage-partial { background: rgba(95,212,230,.1); color: var(--cyan); border: 1px solid rgba(95,212,230,.3); }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }

/* Directory search & pager */
.dir-search { margin-bottom: 18px; display: grid; gap: 12px; }
.filters--panel { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; margin-bottom: 0; }
@media (max-width: 960px) { .filters--panel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .filters--panel { grid-template-columns: 1fr; } }
.filter-toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.pager-num { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.pager-num:hover { color: var(--white); border-color: var(--cyan); }
.pager-num[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.pager .btn[disabled] { opacity: .4; cursor: default; }

.doc-list { list-style: none; display: grid; gap: 10px; }
.doc-list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--white); font-weight: 600; }
.doc-list a:hover { border-color: var(--line-strong); background: var(--surface-hover); }
.doc-list a > .icon:first-child { color: var(--gold); }
.doc-arrow { margin-left: auto; color: var(--faint); }
.doc-list--compact a { padding: 11px 12px; font-size: 0.9rem; background: rgba(4,11,26,.35); }

/* Guide page */
.glance { margin-bottom: 8px; }
.glance h2 { font-size: 1.15rem; margin: 0 0 16px; }
.glance-facts { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .glance-facts { grid-template-columns: 1fr; } }
.guide-section { scroll-margin-top: calc(var(--header-h) + 64px); }
.guide-section h2 { margin-top: 1.6em; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--teal)); opacity: .6; }
.timeline li { position: relative; padding-left: 32px; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--gold); }
.timeline-when { font-size: 0.78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.numbered-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.numbered-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.numbered-steps .step-index { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(242,184,75,.14); border: 1px solid rgba(242,184,75,.4); font-size: 0.85rem; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 600; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s ease; color: var(--gold); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--muted); }
.notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 2em; padding: 14px 16px; border-radius: 14px; background: rgba(242,184,75,.08); border: 1px solid rgba(242,184,75,.3); font-size: 0.92rem; color: var(--text); }
.notice .icon { color: var(--gold); margin-top: 3px; }
.toc { list-style: none; display: grid; gap: 2px; }
.toc button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 0.92rem; }
.toc button:hover { background: rgba(255,255,255,.04); color: var(--white); }

/* Toolkit */
.angles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.angle { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .2s ease, transform .2s ease; }
.angle:hover { border-color: rgba(242,184,75,.5); transform: translateY(-2px); color: var(--text); }
.angle strong { color: var(--white); line-height: 1.25; }
.angle small { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
@media (max-width: 1024px) { .angles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .angles { grid-template-columns: 1fr 1fr; } }
.parts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.part { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: 0.8rem; font-weight: 600; color: var(--white); }
.part b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-950); font-size: 0.72rem; }
.collection { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.collection li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.collection strong { display: block; color: var(--white); }
.collection small { color: var(--muted); font-size: 0.85rem; }
.collection li > div { flex: 1; min-width: 0; }
@media (max-width: 520px) { .collection li { flex-wrap: wrap; } }
.cross-list { list-style: none; display: grid; gap: 10px; margin: 0 0 1.4em; }
.cross-list li { display: flex; gap: 12px; align-items: flex-start; }
.cross-list li::before {
  content: "×"; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; line-height: 1;
  color: var(--danger); background: rgba(240,138,122,.12); border: 1px solid rgba(240,138,122,.4);
}

/* Laureates */
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; color: var(--navy-950);
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--av) 55%, rgba(7,18,38,.6) 130%);
  box-shadow: 0 0 22px color-mix(in srgb, var(--av) 40%, transparent);
}
.avatar--big { width: 96px; height: 96px; font-size: 1.8rem; }
.laureate-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.laureate-head h3 { margin: 0; }
.laureate-head .muted { font-size: 0.85rem; }
.laureate-scholarship { font-size: 0.74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.sample-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); font-size: 0.72rem; font-weight: 600; color: var(--muted); border: 1px dashed var(--line-strong); }
.sample-tag .icon { width: 13px; height: 13px; }
.quote-card { margin: 0; padding: 26px; }
.quote-card blockquote { margin: 0 0 18px; font-size: 1.02rem; color: var(--white); font-weight: 500; line-height: 1.55; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-top: auto; }
.quote-card figcaption .avatar { width: 40px; height: 40px; font-size: 0.85rem; }
.quote-card figcaption strong { display: block; color: var(--white); }
.quote-mark { width: 28px; height: 28px; color: var(--gold); opacity: .7; margin-bottom: 12px; }
.portrait-head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.portrait-head h1 { margin: 8px 0 4px; }
.pull-quote { margin: 0 0 1.5em; padding: 24px; border-radius: var(--radius); background: rgba(242,184,75,.08); border-left: 3px solid var(--gold); }
.pull-quote blockquote { margin: 0; font-size: 1.15rem; color: var(--white); font-weight: 500; }
.qa h3 { color: var(--gold); font-size: 1rem; margin: 1.4em 0 .4em; }

/* Insights */
.bars { display: grid; gap: 12px; margin: 14px 0; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 34%) 1fr 32px; gap: 12px; align-items: center; font-size: 0.88rem; }
.bar-label { color: var(--text); }
.bar-track { height: 12px; border-radius: var(--pill); background: rgba(255,255,255,.06); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: var(--pill); background: linear-gradient(90deg, var(--teal), var(--gold)); }
.bar-value { text-align: right; font-weight: 700; color: var(--white); }
.chart-title { font-size: 1rem; }
.insight-lead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 24px; }
.insight-lead strong { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; color: var(--gold); line-height: 1; }
.insight-lead span { color: var(--muted); max-width: 360px; }

/* Search results */
.result-group { margin-top: 28px; }
.result-group h2 { font-size: 1.2rem; }
.result-list { list-style: none; display: grid; gap: 8px; }
.result-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.result-row:hover { border-color: var(--line-strong); background: var(--surface-hover); color: var(--text); }
.result-row .icon-bubble { width: 40px; height: 40px; }
.result-row .icon-bubble .icon { width: 18px; height: 18px; }
.result-row strong { display: block; color: var(--white); }
.result-row small { color: var(--muted); }
.page-hero .search-bar { margin-top: 10px; }

/* Partners & free block */
.partner-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.partner-slot { display: grid; place-items: center; aspect-ratio: 2 / 1; border-radius: var(--radius); border: 1px dashed var(--line-strong); color: var(--faint); font-weight: 600; font-size: 0.88rem; text-align: center; padding: 10px; }
.partner-slot span { display: inline-flex; align-items: center; gap: 8px; }
.partner-slot:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 760px) { .partner-slots { grid-template-columns: 1fr 1fr; } }
.free-block { display: flex; gap: 22px; align-items: flex-start; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-strong); }
.free-block p { color: var(--muted); max-width: 720px; }
@media (max-width: 600px) { .free-block { flex-direction: column; } }
.card .card-foot { flex-wrap: wrap; row-gap: 10px; }
.link-arrow { white-space: nowrap; }

/* ---------- Translation & notarization ---------- */
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { margin-bottom: 7px; padding: 0; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; cursor: pointer; }
.check-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-chip span {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--pill);
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03);
  font-size: 0.86rem; color: var(--text); transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.check-chip .icon { width: 14px; height: 14px; display: none; }
.check-chip:hover span { border-color: var(--cyan); }
.check-chip input:checked + span { border-color: var(--gold); background: rgba(242,184,75,.12); color: var(--white); }
.check-chip input:checked + span .icon { display: inline-block; color: var(--gold); }
.check-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(95,212,230,.35); }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 28px 18px; border-radius: var(--radius); border: 1.5px dashed var(--line-strong);
  background: rgba(4, 11, 26, .45); text-align: center; transition: border-color .2s ease, background .2s ease;
}
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone:hover, .dropzone.is-over { border-color: var(--gold); background: rgba(242,184,75,.06); }
.dropzone:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(95,212,230,.15); }
.dropzone strong { color: var(--white); font-weight: 600; }
.dropzone small { color: var(--muted); font-size: 0.82rem; }

.file-list { list-style: none; display: grid; gap: 8px; margin: 10px 0 0; padding: 0; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.file-list .icon-bubble { width: 36px; height: 36px; flex: none; }
.file-name { flex: 1; min-width: 0; color: var(--white); font-size: 0.9rem; overflow-wrap: anywhere; }
.file-name small { display: block; color: var(--muted); font-size: 0.78rem; }
.file-remove { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--muted); cursor: pointer; }
.file-remove:hover { color: var(--white); border-color: #f08a7a; }
.file-remove .icon { width: 16px; height: 16px; }
.file-list .file-total { background: none; border: 0; padding: 2px 4px; justify-content: flex-end; color: var(--muted); font-size: 0.8rem; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.tr-service .price-note { margin: auto 0 14px; font-size: 0.85rem; font-weight: 600; color: var(--gold); }
.tr-service .card-foot { margin-top: 0; }
.input[type="date"] { color-scheme: dark; }

/* ---------- Logos ---------- */
img.brand-mark { object-fit: contain; }
.entity-logo { display: block; flex: none; object-fit: contain; }
.entity-logo--sm { width: 24px; height: 24px; }
.entity-logo--md { width: 52px; height: 52px; }
.entity-logo--lg { width: 60px; height: 60px; }
.entity-logo--fill { width: 100%; height: 100%; }
.eco-planet .orb--logo { background: none; box-shadow: none; filter: drop-shadow(0 0 12px var(--planet)); width: clamp(36px, 8vw, 58px); }
.eco-planet:hover .orb--logo, .eco-planet[aria-pressed="true"] .orb--logo { box-shadow: none; filter: drop-shadow(0 0 18px var(--planet)); }
.flow-list li { grid-template-columns: 24px 1fr; }
.logo-title { display: flex; align-items: center; gap: 14px; }
.subnav-brand { display: inline-flex; align-items: center; gap: 8px; }
