:root {
    --ink: #0c1d32;
    --muted: #5b6b80;
    --soft: #f4f8fb;
    --soft-2: #e9f2f9;
    --card: rgba(255, 255, 255, 0.86);
    --line: rgba(17, 47, 83, 0.12);
    --blue: #2157d6;
    --blue-2: #0b77d8;
    --cyan: #34d5ff;
    --mint: #6df2c1;
    --gold: #e1b45b;
    --red: #d84545;
    --shadow: 0 24px 70px rgba(23, 58, 105, 0.16);
    --shadow-soft: 0 16px 40px rgba(23, 58, 105, 0.10);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #f8fbfe; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.site-sky { position: fixed; inset: 0; z-index: -2; background:
    radial-gradient(circle at 18% 12%, rgba(52, 213, 255, 0.24), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(109, 242, 193, 0.22), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3f8fd 48%, #edf5fb 100%); }
.site-sky::after { content: ""; position: absolute; inset: 0; opacity: 0.55; background-image: linear-gradient(rgba(33,87,214,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(33,87,214,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black 0%, transparent 70%); }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(22px); background: rgba(255,255,255,.82); border-bottom: 1px solid var(--line); }
.topline { max-width: var(--max); margin: 0 auto; padding: 8px 22px 0; display: flex; justify-content: space-between; gap: 16px; color: #41617e; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.nav-wrap { max-width: var(--max); margin: 0 auto; min-height: 74px; padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--blue), var(--cyan)); box-shadow: 0 14px 32px rgba(33,87,214,.22), inset 0 1px 0 rgba(255,255,255,.35); font-weight: 950; }
.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a, .portal-nav a { padding: 10px 12px; border-radius: 999px; color: #253d57; font-size: 14px; font-weight: 800; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active, .portal-nav a:hover, .portal-nav a.active { background: rgba(33,87,214,.08); color: var(--blue); }
.nav-toggle { display: none; background: transparent; border: 0; padding: 10px; }
.nav-toggle span { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }
main { min-height: 65vh; }
.section { max-width: var(--max); margin: 0 auto; padding: 74px 22px; }
.hero { max-width: var(--max); margin: 0 auto; padding: 86px 22px 60px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 54px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-weight: 950; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 7px rgba(109,242,193,.2); }
h1, h2, h3, h4 { margin: 0 0 16px; line-height: 1.06; letter-spacing: -0.055em; }
h1 { font-size: clamp(48px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.2vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 31px); }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: 19px; color: #344b64; max-width: 740px; }
.hero-actions, .action-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff !important; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 18px 32px rgba(33,87,214,.22); }
.btn-ghost { background: rgba(255,255,255,.78); border-color: var(--line); color: var(--ink); }
.btn-small { min-height: 38px; padding: 8px 15px !important; font-size: 13px !important; }
.btn-danger-soft { color: #9d2630 !important; background: rgba(216,69,69,.08); border-color: rgba(216,69,69,.14); }
.hero-visual { position: relative; min-height: 530px; perspective: 1100px; }
.orbit-card { position: absolute; inset: 20px 10px 60px; border-radius: 36px; background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(227,241,252,.72)); border: 1px solid rgba(33,87,214,.12); box-shadow: var(--shadow); overflow: hidden; transform: rotateX(58deg) rotateZ(-21deg); transform-style: preserve-3d; }
.orbit-card::before { content: ""; position: absolute; inset: -60px; background-image: radial-gradient(circle at center, transparent 0 19%, rgba(33,87,214,.10) 20% 20.5%, transparent 21%), linear-gradient(90deg, rgba(33,87,214,.12) 1px, transparent 1px), linear-gradient(rgba(33,87,214,.12) 1px, transparent 1px); background-size: 170px 170px, 34px 34px, 34px 34px; animation: drift 13s linear infinite; }
.orbit-card::after { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; right: 58px; top: 64px; background: radial-gradient(circle, rgba(52,213,255,.58), rgba(33,87,214,.18) 48%, transparent 70%); filter: blur(2px); }
.crystal-3d { position: absolute; left: 20%; top: 18%; width: 270px; height: 270px; transform-style: preserve-3d; animation: float3d 6s ease-in-out infinite; }
.crystal-3d span { position: absolute; inset: 0; clip-path: polygon(50% 0%, 100% 42%, 78% 100%, 22% 100%, 0% 42%); background: linear-gradient(145deg, rgba(52,213,255,.9), rgba(109,242,193,.46)); border: 1px solid rgba(255,255,255,.75); box-shadow: inset 0 0 35px rgba(255,255,255,.55), 0 26px 54px rgba(33,87,214,.22); }
.crystal-3d span:nth-child(2) { transform: translateZ(-44px) rotate(12deg); opacity: .55; }
.crystal-3d span:nth-child(3) { transform: translate3d(36px, 54px, -90px) scale(.58); opacity: .45; }
.metric-chip { position: absolute; background: rgba(255,255,255,.86); border: 1px solid rgba(33,87,214,.13); box-shadow: var(--shadow-soft); padding: 16px 18px; border-radius: 20px; min-width: 190px; backdrop-filter: blur(12px); }
.metric-chip strong { display: block; font-size: 28px; letter-spacing: -.04em; }
.metric-chip span { color: var(--muted); font-weight: 750; font-size: 13px; }
.chip-a { left: 0; bottom: 86px; }
.chip-b { right: 0; top: 85px; }
.chip-c { right: 42px; bottom: 0; }
@keyframes drift { to { transform: translate3d(34px, 34px, 0); } }
@keyframes float3d { 0%,100% { transform: translateY(0) rotateX(12deg) rotateY(-18deg) rotateZ(7deg); } 50% { transform: translateY(-22px) rotateX(18deg) rotateY(18deg) rotateZ(-3deg); } }
.logo-strip { max-width: var(--max); margin: 0 auto; padding: 0 22px 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-strip div, .stat-card, .card, .glass-panel, .feature-card, .project-card, .subdivision-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); }
.logo-strip div { padding: 18px; font-weight: 900; color: #44617e; text-align: center; }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 30px; }
.section-head p { max-width: 650px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card, .feature-card, .subdivision-card { padding: 28px; position: relative; overflow: hidden; }
.card::after, .feature-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 120px; height: 120px; border-radius: 36px; background: linear-gradient(135deg, rgba(52,213,255,.22), rgba(109,242,193,.14)); transform: rotate(30deg); }
.card h3, .feature-card h3, .subdivision-card h3 { position: relative; z-index: 1; }
.card p, .feature-card p, .subdivision-card p { position: relative; z-index: 1; }
.stat-card { padding: 24px; }
.stat-card strong { display: block; font-size: 42px; letter-spacing: -.06em; }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid rgba(33,87,214,.14); background: linear-gradient(145deg, #eef7ff, #ffffff); box-shadow: var(--shadow); }
.media-wide { aspect-ratio: 16 / 9; }
.media-square { aspect-ratio: 1 / 1; }
.media-portrait { aspect-ratio: 4 / 5; }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.fallback-3d { display: grid; place-items: center; min-height: 240px; }
.fallback-grid { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(33,87,214,.08) 1px, transparent 1px), linear-gradient(rgba(33,87,214,.08) 1px, transparent 1px), radial-gradient(circle at 62% 35%, rgba(52,213,255,.34), transparent 26%); background-size: 28px 28px, 28px 28px, auto; }
.fallback-crystal { width: 34%; max-width: 220px; aspect-ratio: 1; clip-path: polygon(50% 0, 96% 35%, 78% 96%, 22% 96%, 4% 35%); background: linear-gradient(145deg, rgba(52,213,255,.8), rgba(109,242,193,.46)); box-shadow: inset 0 0 50px rgba(255,255,255,.65), 0 22px 60px rgba(33,87,214,.22); transform: rotate(-14deg); animation: float3d 7s ease-in-out infinite; }
.fallback-label { position: absolute; left: 22px; bottom: 22px; background: rgba(255,255,255,.82); border: 1px solid rgba(33,87,214,.14); padding: 14px 16px; border-radius: 18px; backdrop-filter: blur(16px); }
.fallback-label strong { display:block; }
.fallback-label span { display:block; color: var(--muted); font-size: 13px; }
.page-hero { max-width: var(--max); margin: 0 auto; padding: 70px 22px 34px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; align-items: center; }
.page-hero h1 { font-size: clamp(42px, 5.4vw, 78px); }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.pill { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); color: #35516d; font-weight: 850; font-size: 13px; }
.project-card { padding: 0; overflow: hidden; transform-style: preserve-3d; transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-6px) rotateX(1.5deg); box-shadow: 0 28px 80px rgba(23, 58, 105, 0.18); }
.project-cover { height: 210px; background: linear-gradient(145deg, rgba(52,213,255,.2), rgba(33,87,214,.08)); }
.project-cover .media-frame { height: 100%; border-radius: 0; box-shadow: none; border: 0; }
.project-body { padding: 24px; }
.meta-row { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 13px; font-weight: 800; margin-bottom: 13px; }
.status { padding: 5px 10px; border-radius: 999px; background: rgba(33,87,214,.08); color: var(--blue); }
.progress-track { height: 9px; border-radius: 999px; background: #dfeaf5; overflow: hidden; }
.progress-track span { display:block; height:100%; border-radius:inherit; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint)); }
.timeline { position: relative; display: grid; gap: 18px; margin-top: 26px; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--cyan), var(--blue)); }
.timeline-item { position: relative; padding-left: 56px; }
.timeline-dot { position: absolute; left: 7px; top: 5px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--blue); box-shadow: 0 0 0 8px rgba(33,87,214,.08); }
.timeline-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-soft); }
.reference-panel { border-radius: var(--radius-xl); padding: 28px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(233,242,249,.8)); border: 1px solid var(--line); }
.reference-panel a { color: var(--blue); font-weight: 900; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.form-grid { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
label { display: grid; gap: 7px; font-weight: 850; color: #24425f; }
input, textarea, select { width: 100%; border: 1px solid rgba(17,47,83,.18); border-radius: 16px; padding: 13px 14px; color: var(--ink); background: rgba(255,255,255,.86); outline: none; }
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(33,87,214,.48); box-shadow: 0 0 0 4px rgba(33,87,214,.10); }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.86); box-shadow: var(--shadow-soft); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f3f8fd; color: #34516c; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
tr:last-child td { border-bottom: 0; }
.flash-stack { max-width: var(--max); margin: 18px auto 0; padding: 0 22px; }
.flash { padding: 14px 16px; border-radius: 16px; margin-bottom: 10px; font-weight: 850; border: 1px solid var(--line); background: #fff; }
.flash-success { color: #0d6f50; background: #ecfff7; }
.flash-error { color: #9d2630; background: #fff0f0; }
.flash-info { color: #2157d6; background: #edf5ff; }
.site-footer { margin-top: 60px; background: #07182b; color: #fff; padding: 54px 22px 24px; }
.site-footer p, .site-footer a { color: #c5d4e2; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer-grid a { display: block; margin: 8px 0; }
.footer-bottom { max-width: var(--max); margin: 34px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; gap: 20px; color: #91a9bd; font-size: 13px; }
.footer-brand { color: #fff; margin-bottom: 14px; }
.fineprint { font-size: 12px; }
.cookie-panel { position: fixed; right: 22px; bottom: 22px; width: min(380px, calc(100vw - 44px)); z-index: 80; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); display: none; }
.cookie-panel.show { display: block; }
.cookie-panel p { font-size: 13px; margin: 6px 0 14px; }
/* Admin + portal */
.admin-body, .portal-body { background: linear-gradient(135deg, #f8fbfe, #eaf4fb); min-height: 100vh; }
.admin-layout { display: grid; grid-template-columns: 290px 1fr; min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 22px; background: rgba(255,255,255,.9); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.admin-user { padding: 16px; border-radius: 18px; background: linear-gradient(145deg, rgba(33,87,214,.08), rgba(52,213,255,.08)); border: 1px solid var(--line); }
.admin-user span { display:block; color: var(--muted); font-size: 13px; }
.admin-nav { display: grid; gap: 6px; }
.admin-nav a { padding: 12px 14px; border-radius: 14px; color: #284863; font-weight: 850; }
.admin-nav a.active, .admin-nav a:hover { background: rgba(33,87,214,.10); color: var(--blue); }
.admin-main { padding: 26px; min-width: 0; }
.admin-topbar { margin-bottom: 22px; display:flex; align-items:center; justify-content: space-between; }
.admin-topbar h1 { font-size: clamp(30px, 3.4vw, 46px); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { padding: 20px; border-radius: 22px; background: rgba(255,255,255,.86); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.kpi strong { display:block; font-size: 34px; letter-spacing: -.05em; }
.admin-card { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-soft); margin-bottom: 22px; }
.inline-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-actions form { display: inline-flex; gap: 8px; align-items: center; }
.mini-input { max-width: 160px; padding: 9px 10px; border-radius: 12px; }
.badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: rgba(33,87,214,.08); color: var(--blue); font-weight: 900; font-size: 12px; }
.badge.green { background: rgba(15,153,110,.10); color: #0d6f50; }
.badge.red { background: rgba(216,69,69,.10); color: #9d2630; }
.portal-header { max-width: var(--max); margin: 0 auto; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.portal-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.portal-main { max-width: var(--max); margin: 0 auto; padding: 26px 22px 72px; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at 20% 10%, rgba(52,213,255,.30), transparent 28%), linear-gradient(135deg, #ffffff, #eaf4fb); }
.login-card { width: min(960px, 100%); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
.login-visual { min-height: 540px; padding: 34px; background: linear-gradient(145deg, rgba(33,87,214,.10), rgba(52,213,255,.12)); display:flex; flex-direction:column; justify-content:space-between; }
.login-form { padding: 38px; display:grid; align-content:center; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.calendar-day { min-height: 126px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.86); border: 1px solid var(--line); }
.calendar-day strong { display:block; margin-bottom: 8px; }
.calendar-event { display:block; padding: 6px 8px; border-radius: 10px; background: rgba(33,87,214,.09); color: var(--blue); font-size: 12px; margin-bottom: 5px; font-weight: 850; }
.empty { color: #7d8da0; font-style: italic; }
@media (max-width: 980px) {
    .topline { display:none; }
    .nav-toggle { display: block; }
    .nav-links { display:none; position:absolute; left:22px; right:22px; top:74px; padding:14px; background:#fff; border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); }
    .nav-links.open { display:grid; }
    .hero, .page-hero, .grid-2 { grid-template-columns: 1fr; }
    .hero-visual { min-height: 430px; }
    .grid-3, .grid-4, .logo-strip, .footer-grid, .kpi-grid { grid-template-columns: 1fr 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; }
    .login-card { grid-template-columns: 1fr; }
    .login-visual { min-height: 340px; }
}
@media (max-width: 640px) {
    h1 { font-size: 44px; }
    .hero { padding-top: 54px; }
    .grid-3, .grid-4, .logo-strip, .footer-grid, .kpi-grid, .form-row { grid-template-columns: 1fr; }
    .footer-bottom, .section-head, .portal-header { flex-direction: column; align-items: flex-start; }
    .calendar-grid { grid-template-columns: 1fr; }
    .metric-chip { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 12px 0; }
    .orbit-card { inset: 15px; }
}

/* Research, analytics and profile enhancements */
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.research-card, .research-admin-card, .event-card, .session-card { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.research-card::after, .event-card::after, .profile-block-card::after { content: ""; position: absolute; width: 110px; height: 110px; right: -44px; top: -42px; border-radius: 28px; background: linear-gradient(135deg, rgba(33,87,214,.12), rgba(109,242,193,.15)); transform: rotate(18deg); }
.research-card h3, .research-card p, .research-card .meta-row, .research-card a, .event-card h3, .event-card p, .event-card .meta-row { position: relative; z-index: 1; }
.research-source { margin: 18px 0; padding: 14px 16px; border-radius: 16px; background: rgba(33,87,214,.06); border: 1px solid rgba(33,87,214,.10); }
.research-source strong, .research-source span { display: block; }
.research-source span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.research-admin-list { display: grid; gap: 16px; }
.delete-row { margin: -10px 0 18px; }
.filter-grid { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 14px; align-items: end; }
.filter-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.analytics-kpis { margin: 0 0 22px; }
.analytics-panels { align-items: stretch; }
.insight-list { display: grid; gap: 10px; margin-top: 18px; }
.insight-row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 15px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid var(--line); }
.geo-map { position: relative; min-height: 310px; border-radius: 26px; border: 1px solid rgba(17,47,83,.12); background: radial-gradient(circle at 30% 30%, rgba(52,213,255,.24), transparent 26%), radial-gradient(circle at 72% 45%, rgba(109,242,193,.20), transparent 28%), linear-gradient(145deg, #eef7ff, #ffffff); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.geo-map::before { content: ""; position: absolute; inset: 28px; border-radius: 52% 48% 47% 53%; border: 2px dashed rgba(33,87,214,.18); transform: rotate(-12deg); }
.geo-point { position: absolute; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 12px 30px rgba(33,87,214,.25), 0 0 0 8px rgba(33,87,214,.08); font-size: 12px; }
.location-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.session-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0 24px; }
.session-card { color: var(--ink); display: grid; gap: 5px; }
.session-card strong { overflow-wrap: anywhere; }
.session-card span { color: var(--blue); font-weight: 900; }
.session-card small { color: var(--muted); }
.session-card.active { outline: 3px solid rgba(33,87,214,.18); background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(233,242,249,.88)); }
.journey-title { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-top: 18px; }
.journey-card h3 { overflow-wrap: anywhere; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.event-card h3 { font-size: 22px; overflow-wrap: anywhere; }
.user-cell { display: flex; gap: 12px; align-items: center; }
.profile-showcase { display: grid; gap: 18px; perspective: 1200px; }
.profile-hero-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 26px; border: 1px solid rgba(33,87,214,.14); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(233,242,249,.78)); box-shadow: var(--shadow); transform-style: preserve-3d; }
.profile-hero-card:hover { transform: translateY(-2px) rotateX(1deg); }
.profile-avatar { width: 128px; height: 128px; border-radius: 32px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, var(--blue), var(--cyan)); color: #fff; box-shadow: 0 24px 50px rgba(33,87,214,.24), inset 0 1px 0 rgba(255,255,255,.4); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar span { font-size: 38px; font-weight: 950; letter-spacing: -.06em; }
.profile-avatar.tiny { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 8px 20px rgba(33,87,214,.16); }
.profile-avatar.tiny span { font-size: 16px; }
.profile-bio-card { padding: 24px; border-radius: 24px; background: rgba(255,255,255,.86); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.profile-block-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.profile-block-card { padding: 22px; border-radius: 24px; background: rgba(255,255,255,.88); border: 1px solid var(--line); box-shadow: var(--shadow-soft); position: relative; overflow: hidden; transform-style: preserve-3d; transition: transform .2s ease; }
.profile-block-card:hover { transform: translateY(-4px) rotateX(1.5deg); }
.profile-block-card h3, .profile-block-card p, .profile-block-card span { position: relative; z-index: 1; }
@media (max-width: 1100px) {
    .filter-grid { grid-template-columns: repeat(3, 1fr); }
    .session-grid, .event-grid, .profile-block-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .research-grid, .filter-grid, .session-grid, .event-grid, .profile-block-grid { grid-template-columns: 1fr; }
    .profile-hero-card { grid-template-columns: 1fr; }
    .profile-avatar { width: 108px; height: 108px; }
    .insight-row, .journey-title { flex-direction: column; align-items: flex-start; }
}
