:root {
    --background: #0d1236;
    --foreground: #ffffff;
    --card: #171f52;
    --primary: #3b82f6;
    --muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
    --font-heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid var(--border);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--primary);
    color: #fff;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    cursor: pointer;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 100;
    padding: 0.5rem 1rem;
    background: #fff;
    color: var(--background);
    border-radius: 0.5rem;
}

.skip-link:focus {
    top: 1rem;
}

.js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--delay, 0ms);
}

.js .reveal.visible {
    opacity: 1;
    transform: none;
}

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    padding: 1.25rem 0;
    background: rgba(13, 18, 54, 0.4);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, padding 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(13, 18, 54, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: var(--border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 60;
}

.brand-logo {
    display: block;
    width: auto;
    height: 2.25rem;
    transition: transform 0.3s;
}

.brand:hover .brand-logo {
    transform: scale(1.05);
}

.brand-logo-lg {
    height: 3.5rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: #fff;
}

.nav .nav-cta {
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    background: #fff;
    color: var(--background);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.nav .nav-cta:hover {
    background: #f3f4f6;
    color: var(--background);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    position: relative;
    z-index: 60;
    padding: 0.5rem;
}

.menu-toggle .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: 12rem 0 8rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    mix-blend-mode: screen;
    opacity: 0.3;
}

.orb-a {
    top: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: rgba(37, 99, 235, 0.6);
    animation: float 14s ease-in-out infinite;
}

.orb-b {
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: rgba(99, 102, 241, 0.6);
    animation: float 18s ease-in-out infinite reverse;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(4%, 6%) scale(1.08);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 56rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #bfdbfe;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #60a5fa;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    margin-bottom: 2rem;
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.br-desktop {
    display: none;
}

.gradient-text-hero,
.gradient-text {
    background: linear-gradient(to right, #60a5fa, #c7d2fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-text {
    background-image: linear-gradient(to right, #60a5fa, #a5b4fc);
}

.hero-lead {
    max-width: 42rem;
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    line-height: 1.625;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 999px;
    transition: background 0.2s, transform 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--background);
    font-weight: 600;
}

.btn-light:hover {
    background: #f3f4f6;
}

.btn-light .icon {
    transition: transform 0.2s;
}

.btn-light:hover .icon {
    transform: translateX(4px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-weight: 500;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-pub {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary);
    font-weight: 500;
}

.btn-pub:hover {
    background: rgba(59, 130, 246, 0.2);
}

.section {
    position: relative;
    padding: 6rem 0;
}

.section-tint {
    background: rgba(23, 31, 82, 0.3);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    max-width: 48rem;
    margin-bottom: 4rem;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
}

.title-md {
    margin-bottom: 1.5rem;
    font-size: 1.875rem;
    line-height: 1.25;
}

.title-lg {
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    line-height: 1.15;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--muted);
}

.prose {
    display: grid;
    gap: 1rem;
    font-size: 1.125rem;
    line-height: 1.625;
    color: var(--muted);
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.about-cards {
    display: grid;
    gap: 1.5rem;
}

.glass-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: rgba(13, 18, 54, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: border-color 0.3s, opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.glass-card h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.glass-card p {
    line-height: 1.625;
    color: var(--muted);
}

.mission-lead {
    margin-bottom: 1rem;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
}

.icon-box .icon {
    width: 1.75rem;
    height: 1.75rem;
}

.pub-disclaimer {
    max-width: 56rem;
    margin: 2.5rem auto 0;
    padding: 1.5rem;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(23, 31, 82, 0.3);
}

.pub-disclaimer-label {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #cbd5e1;
}

.pub-disclaimer p:last-child {
    font-size: 0.75rem;
    line-height: 1.625;
    color: var(--muted);
}

.pub-filters {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: rgba(23, 31, 82, 0.4);
}

.pub-search {
    position: relative;
}

.pub-search .icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.pub-search input,
.pub-selects select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: rgba(13, 18, 54, 0.5);
    color: #fff;
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pub-search input {
    padding-left: 2.75rem;
}

.pub-search input::placeholder {
    color: var(--muted);
}

.pub-search input:focus,
.pub-selects select:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pub-selects select {
    min-width: 9rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.25rem;
}

.pub-selects select option {
    background: var(--background);
    color: #fff;
}

.pub-list {
    display: grid;
    gap: 1rem;
}

.pub-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: rgba(23, 31, 82, 0.2);
    transition: border-color 0.3s, opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.pub-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.js .pub-card.is-hidden {
    display: none;
}

.pub-main {
    flex: 1;
    min-width: 0;
}

.pub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.tag-primary {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.pub-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.2s;
}

.pub-card:hover h4 {
    color: var(--primary);
}

.pub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.pub-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pub-desc {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--muted);
}

.pub-action {
    align-self: flex-start;
}

.pub-empty {
    padding: 3rem 0;
    text-align: center;
    color: var(--muted);
}

.pub-more {
    display: none;
    justify-content: center;
    margin-top: 1.5rem;
}

.js .pub-more:not([hidden]) {
    display: flex;
}

.bullets {
    display: grid;
    gap: 0.75rem;
    color: var(--muted);
}

.bullets li {
    display: flex;
    gap: 0.75rem;
}

.bullets li > span:first-child {
    margin-top: 0.375rem;
    color: var(--primary);
}

.section-lg {
    padding: 6rem 0;
}

.activities {
    display: grid;
    gap: 1.5rem;
}

.activity {
    position: relative;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: rgba(23, 31, 82, 0.4);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, opacity 0.8s var(--ease);
}

.activity.visible:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-8px);
}

.activity h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.activity p {
    line-height: 1.625;
    color: var(--muted);
}

.activity-glow {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    opacity: 0;
    filter: blur(48px);
    transition: opacity 0.5s;
}

.activity:hover .activity-glow {
    opacity: 0.1;
}

.glow-blue {
    background: linear-gradient(135deg, #3b82f6, #22d3ee);
}

.glow-indigo {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
}

.glow-violet {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.glow-fuchsia {
    background: linear-gradient(135deg, #d946ef, #8b5cf6);
}

.activity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.activity-icon .icon {
    width: 1.75rem;
    height: 1.75rem;
}

.activity:hover .activity-icon {
    transform: scale(1.1);
}

.stats {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, var(--background), rgba(23, 37, 84, 0.2));
}

.stats-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 48rem;
    height: 300px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.3);
    filter: blur(100px);
    opacity: 0.2;
    pointer-events: none;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat h4 {
    margin-bottom: 0.75rem;
    font-size: 2.25rem;
    line-height: 1.1;
}

.stat-title {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.stat-sub {
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: -0.5rem;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 27px;
    width: 1px;
    background: var(--border);
}

.timeline-progress {
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), #818cf8);
}

.timeline-items {
    display: grid;
    gap: 3rem;
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    z-index: 1;
    width: 1rem;
    height: 1rem;
    border: 4px solid var(--background);
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
}

.timeline-item.visible .timeline-dot {
    animation: ring 2.4s ease-out 1;
}

@keyframes ring {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
    }
    100% {
        box-shadow: 0 0 0 14px rgba(59, 130, 246, 0);
    }
}

.timeline-content {
    margin-left: 2rem;
    width: 100%;
}

.timeline-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(13, 18, 54, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.3s, transform 0.3s;
}

.timeline-card:hover {
    background: rgba(23, 31, 82, 0.6);
    transform: translateY(-2px);
}

.timeline-date {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
}

.timeline-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

.team {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

.member {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: rgba(23, 31, 82, 0.4);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.member-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border-bottom: 1px solid var(--border);
}

.grad-blue-900 { background: linear-gradient(135deg, #1e3a8a, var(--background)); }
.grad-indigo-900 { background: linear-gradient(135deg, #312e81, var(--background)); }
.grad-violet-900 { background: linear-gradient(135deg, #4c1d95, var(--background)); }
.grad-blue-800 { background: linear-gradient(135deg, #1e40af, var(--background)); }
.grad-indigo-800 { background: linear-gradient(135deg, #3730a3, var(--background)); }
.grad-cyan-900 { background: linear-gradient(135deg, #164e63, var(--background)); }
.grad-violet-800 { background: linear-gradient(135deg, #5b21b6, var(--background)); }

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 10rem;
    border: 4px solid rgba(13, 18, 54, 0.5);
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.4s var(--ease);
}

.avatar img {
    border-radius: 15px;
}

.member:hover .avatar {
    transform: scale(1.06);
}

.member-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.member-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.875rem;
}

.member-role {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: var(--primary);
}

.member-info p:not(.member-role) {
    line-height: 1.625;
    color: var(--muted);
}

.member-info p:not(.member-role):not(:last-child) {
    margin-bottom: 1.5rem;
}

.footer {
    position: relative;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.footer-waves {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
}

.footer-waves svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.footer-inner {
    position: relative;
    z-index: 1;
    padding-top: 6rem!important;
    padding-bottom: 3rem!important;
}

.footer-grid {
    display: grid;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-tagline {
    max-width: 28rem;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--muted);
}

.footer-cols {
    display: grid;
    gap: 2rem;
}

.footer-cols h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-cols ul {
    display: grid;
    gap: 1rem;
}

.footer-cols li > a,
.footer-cols li.static {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted);
    transition: color 0.2s;
}

.footer-cols li > a:hover {
    color: var(--primary);
}

.footer-cols li .icon {
    margin-top: 0.15rem;
}

.stack {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(23, 31, 82, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
}

.to-top .icon {
    transform: rotate(-90deg);
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.to-top:hover {
    background: var(--primary);
}

@media (min-width: 640px) {
    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .pub-selects {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }

    .brand-logo {
        height: 2.75rem;
    }

    .brand-logo-lg {
        height: 4rem;
    }

    .hero {
        padding: 12rem 0 8rem;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .br-desktop {
        display: inline;
    }

    .hero-lead {
        font-size: 1.5rem;
    }

    .section-lg {
        padding: 8rem 0;
    }

    .section-head {
        margin-bottom: 4rem;
    }

    .section-head.center {
        margin-bottom: 6rem;
    }

    .title-md {
        font-size: 2.25rem;
    }

    .title-lg {
        font-size: 3rem;
    }

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

    .stats {
        padding: 6rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }

    .stat h4 {
        font-size: 3rem;
    }

    .timeline {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: 45%;
        margin-left: 0;
    }

    .timeline-item.left {
        justify-content: flex-start;
    }

    .timeline-item.left .timeline-content {
        padding-right: 3rem;
        text-align: right;
    }

    .timeline-item.right {
        justify-content: flex-end;
    }

    .timeline-item.right .timeline-content {
        padding-left: 3rem;
    }

    .timeline-card h4 {
        font-size: 1.25rem;
    }

    .member {
        flex-direction: row;
    }

    .member-visual {
        width: 40%;
        padding: 2rem;
        border-bottom: 0;
        border-right: 1px solid var(--border);
    }

    .avatar {
        width: 12rem;
        height: 12rem;
    }

    .member-info {
        width: 60%;
        padding: 3rem;
    }

    .footer-bottom {
        flex-direction: row;
    }

    .pub-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2rem;
    }

    .pub-card h4 {
        font-size: 1.5rem;
    }

    .pub-action {
        align-self: flex-start;
        padding-top: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 6rem;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
    }

    .activities {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat h4 {
        font-size: 3.75rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
    }

    .pub-filters {
        grid-template-columns: minmax(16rem, 1fr) auto;
        align-items: center;
    }

    .pub-selects {
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        inset: 0;
        z-index: 55;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        background: rgba(13, 18, 54, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav a {
        font-size: 1.5rem;
    }

    .nav .nav-cta {
        font-size: 1.125rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
