:root {
    --nssr-blue: #072359;
    --nssr-red: #db212c;
    --nssr-dark: #102a43;
    --nssr-ink: #243b53;
    --nssr-muted: #627d98;
    --nssr-pale: #f0f4f8;
    --nssr-line: #d9e2ec;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; }
body { overflow-x: hidden; }
body { color: var(--nssr-ink); line-height: 1.65; background: #fff; display: flex; flex-direction: column; min-height: 100vh; font-family: Georgia, 'Times New Roman', serif; }
header { background: #fff; border-bottom: 1px solid var(--nssr-line); padding: .75rem max(24px, calc((100% - 1280px) / 2 + 24px)); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; }
header .logo { display: flex; align-items: center; gap: .7rem; color: var(--nssr-blue); font-family: Arial, sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: .03em; text-decoration: none; }
header .logo img { width: 48px; height: 48px; object-fit: contain; }
nav ul { list-style: none; display: flex; gap: 1.35rem; align-items: center; }
nav a { color: var(--nssr-blue); font-family: Arial, sans-serif; font-size: .88rem; text-decoration: none; font-weight: 700; }
nav a:hover, nav a.active { color: var(--nssr-red); }
.nav-toggle { display: none; }
.btn-join { background: var(--nssr-blue); color: #fff !important; padding: .6rem 1rem; border-radius: 3px; }
.btn-join:hover, .btn-join.active { background: var(--nssr-red); }
.page-header { background: var(--nssr-dark); color: #fff; text-align: center; padding: 4.5rem 5%; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.15; margin-bottom: .75rem; }
.page-header p { color: #d9e2ec; max-width: 680px; margin: auto; }
.team-header-tag { color: #93c5fd; margin-bottom: .8rem; }
.team-page { max-width: 1180px; }
.team-directory { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3.5rem; }
.team-sidebar h2 { margin-bottom: 1.5rem; }
.team-switcher { display: grid; gap: .25rem; border-left: 1px solid var(--nssr-line); }
.team-switch { border: 0; border-left: 4px solid transparent; padding: .8rem 1rem; background: transparent; color: var(--nssr-muted); text-align: left; font: 700 .85rem Arial, sans-serif; cursor: pointer; }
.team-switch:hover { background: var(--nssr-pale); color: var(--nssr-dark); }
.team-switch.is-active { border-left-color: var(--nssr-blue); background: #eaf2ff; color: var(--nssr-dark); }
.team-section-block[hidden] { display: none; }
.team-section-block + .team-section-block { margin-top: 5rem; }
.team-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.8rem; }
.team-section-heading h2 { margin: .5rem 0 0; }
.team-section-heading > p { max-width: 430px; color: var(--nssr-muted); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.team-card { display: flex; align-items: center; min-width: 0; gap: 1.25rem; padding: 1.25rem; background: #fff; border: 1px solid var(--nssr-line); border-top: 4px solid var(--nssr-blue); transition: transform .25s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px -5px rgba(16, 42, 67, .14); }
.team-card img { width: 96px; min-width: 96px; height: 96px; border: 2px solid var(--nssr-pale); border-radius: 50%; object-fit: cover; object-position: center top; }
.team-card-info { min-width: 0; padding: 0; }
.team-card h3 { color: var(--nssr-dark); margin: .55rem 0 .45rem; line-height: 1.25; }
.team-card p { color: var(--nssr-muted); font-size: .9rem; }
.team-social-links { display: flex; gap: .8rem; margin-top: .75rem; }
.team-social-links a { color: var(--nssr-muted); font: 700 .75rem Arial, sans-serif; text-decoration: none; }
.team-social-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 1.25rem; font-size: .9rem; }
.team-social-links a:hover { color: var(--nssr-blue); text-decoration: underline; }
.physics-hero { min-height: min(820px, calc(100vh - 73px)); position: relative; overflow: hidden; background: var(--nssr-dark); color: #fff; }
.hero-slides, .hero-slide, .hero-slide img, .hero-wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { object-fit: cover; object-position: center; animation: hero-zoom 12s ease-out both; }
.hero-wash { background: linear-gradient(90deg, rgba(15, 23, 42, .95) 0%, rgba(15, 23, 42, .7) 46%, rgba(15, 23, 42, .15) 100%); }
.hero-content { position: relative; z-index: 2; max-width: none; margin: 0; min-height: inherit; padding: clamp(7rem, 14vh, 10rem) 5% 8rem; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
.hero-kicker { color: #93c5fd; font: 700 .7rem/1.2 Arial, sans-serif; letter-spacing: .25em; text-transform: uppercase; }
.hero-content h1 { max-width: 850px; margin: 1.25rem 0; font: 900 clamp(2.5rem, 6vw, 5.5rem)/.98 Georgia, serif; letter-spacing: -.03em; }
.hero-content h1 em { color: #93c5fd; font-weight: 400; }
.hero-content p { max-width: 650px; color: #d9e2ec; font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.hero-link { color: #fff; font: 700 .78rem Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: .35rem; }
.hero-link-box { border: 1px solid rgba(255,255,255,.5); padding: .72rem 1rem; }
.hero-link-box:hover { background: #fff; color: var(--nssr-dark); border-color: #fff; text-decoration: none; }
.hero-controls { position: absolute; z-index: 3; left: 5%; bottom: 2.5rem; display: flex; align-items: center; gap: .8rem; }
.hero-arrow, .hero-dots button { border: 0; cursor: pointer; }
.hero-arrow { background: transparent; color: #fff; font-size: 1.4rem; padding: .25rem; }
.hero-dots { display: flex; gap: .45rem; }
.hero-dots button { width: 2.2rem; height: 3px; background: rgba(255,255,255,.35); }
.hero-dots button.is-active { width: 4rem; background: #60a5fa; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
main { flex: 1; padding: 4rem 5%; max-width: 1180px; margin: 0 auto; width: 100%; }
main h2 { color: var(--nssr-dark); margin-bottom: 1.25rem; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
main h3 { line-height: 1.25; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.35rem; margin-top: 1.8rem; }
.card { background: #fff; border: 1px solid var(--nssr-line); border-top: 4px solid var(--nssr-blue); padding: 1.6rem; }
.card h3 { color: var(--nssr-dark); margin: .55rem 0 .75rem; }
.card p { color: var(--nssr-muted); overflow-wrap: anywhere; }
.card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: -1.6rem -1.6rem 1.25rem; width: calc(100% + 3.2rem); }
.tag { display: inline-block; color: var(--nssr-blue); font-family: Arial, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.meta { color: var(--nssr-muted); font-family: Arial, sans-serif; font-size: .85rem; }
.hero-home { background: linear-gradient(110deg, rgba(16,42,67,.96), rgba(0,74,173,.78)), url('photos/events/exp.png') center/cover; text-align: left; }
.hero-home p { margin: 1rem 0 1.8rem; max-width: 720px; }
.hero-home .btn-join { display: inline-block; background: var(--nssr-red); color: #fff !important; }
.feature-image { width: 100%; max-height: 330px; object-fit: cover; margin: 1.5rem 0 2rem; }
.physics-talks { margin-top: 3rem; padding: 2.2rem; background: var(--nssr-pale); border-left: 5px solid var(--nssr-red); }
.physics-talks h2 { margin: .5rem 0 .8rem; }
.physics-talks > div:first-child p { max-width: 760px; color: var(--nssr-muted); }
.talk-topics { margin-top: 1.2rem; color: var(--nssr-muted); }
.talk-topics strong { color: var(--nssr-dark); }
.talk-format { margin-top: 1.5rem; color: var(--nssr-ink); }
.membership-tag { margin-bottom: 1rem; color: #93c5fd; }
.membership-intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: start; margin-bottom: 3.5rem; }
.membership-intro h2, .membership-tracks h2, .membership-cta h2 { margin: .5rem 0 .8rem; }
.membership-intro p, .membership-tracks p, .membership-cta p { color: var(--nssr-muted); }
.membership-note { background: var(--nssr-dark); color: #fff; padding: 1.5rem; border-top: 4px solid var(--nssr-red); }
.membership-note strong { display: block; margin-bottom: .6rem; }
.membership-note p { color: #d9e2ec; font-size: .9rem; }
.benefits-grid { margin-bottom: 3.5rem; }
.membership-tracks { padding: 2.2rem; background: var(--nssr-pale); border-left: 5px solid var(--nssr-blue); margin-bottom: 3.5rem; }
.track-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.track-list article { background: #fff; border: 1px solid var(--nssr-line); padding: 1.2rem; display: flex; gap: 1rem; }
.track-list b { color: var(--nssr-blue); font: 700 1.5rem Arial, sans-serif; }
.track-list h3 { color: var(--nssr-dark); margin-bottom: .45rem; }
.track-list p { font-size: .9rem; }
.membership-cta { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; padding: 2rem; background: #fff; border: 0; color: var(--nssr-dark); text-align: center; }
.membership-cta h2 { margin: .2rem 0 .25rem; }
.membership-cta p { color: var(--nssr-muted); max-width: 680px; margin: 0; }
.membership-cta .tag { color: var(--nssr-blue); }
.membership-cta .btn-join { flex-shrink: 0; background: var(--nssr-blue); color: #fff !important; }
.central-membership { margin-bottom: 3.5rem; padding: 2.2rem; background: var(--nssr-pale); border-top: 5px solid var(--nssr-blue); }
.central-membership h2 { margin: .5rem 0 .8rem; }
.central-membership > div:first-child p { color: var(--nssr-muted); max-width: 780px; }
.central-membership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.central-membership-grid article { background: #fff; border: 1px solid #c9dcf5; padding: 1.4rem; }
.central-membership-grid h3 { color: var(--nssr-dark); margin-bottom: .55rem; }
.central-membership-grid p { color: var(--nssr-muted); margin-bottom: 1.2rem; }
.central-membership-grid .btn-join { display: inline-block; }
.central-membership-note { margin-top: 1.5rem; color: var(--nssr-muted); font-size: .9rem; }
.site-footer { background: #1f2937; color: #f8fafc; padding: 3.5rem 5% 1.5rem; margin-top: auto; font: .88rem/1.6 Arial, sans-serif; }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer p { color: #cbd5e1; margin-bottom: .55rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #93c5fd; text-decoration: underline; }
.footer-brand::before { content: ""; display: inline-block; width: 92px; height: 78px; background: url('photos/physics_logo.png') center / contain no-repeat; vertical-align: middle; margin: -1rem .8rem .6rem -.6rem; }
.footer-brand img { width: 92px; height: 78px; object-fit: contain; object-position: center; margin: -1rem 0 .6rem 0; vertical-align: middle; }
.social-links { display: flex; flex-wrap: wrap; gap: .8rem 1rem; }
.social-links a { font-size: .78rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.newsletter-form input { min-width: 0; flex: 1 1 130px; padding: .7rem; border: 0; color: var(--nssr-ink); }
.newsletter-form button { padding: .7rem .9rem; border: 0; background: var(--nssr-blue); color: #fff; cursor: pointer; font-weight: 700; }
.newsletter-status { flex-basis: 100%; color: #86efac; font-size: .78rem; }
.footer-bottom { max-width: 1180px; border-top: 1px solid rgba(255,255,255,.12); margin: 2.5rem auto 0; padding-top: 1.3rem; text-align: center; color: #94a3b8 !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
    header { align-items: center; gap: 1rem; }
    .nav-toggle { position: relative; flex: 0 0 44px; display: block; width: 44px; height: 44px; padding: 0; border: 1px solid var(--nssr-blue); border-radius: 3px; background: #fff; cursor: pointer; }
    .nav-toggle > span:not(.sr-only) { position: absolute; left: 9px; width: 24px; height: 3px; background: var(--nssr-blue); transition: transform .2s ease, opacity .2s ease, background-color .2s ease; }
    .nav-toggle:hover { border-color: var(--nssr-red); }
    .nav-toggle:hover > span:not(.sr-only) { background: var(--nssr-red); }
    .nav-toggle > span:nth-of-type(2) { top: 12px; }
    .nav-toggle > span:nth-of-type(3) { top: 20px; }
    .nav-toggle > span:nth-of-type(4) { top: 28px; }
    .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-8px) rotate(-45deg); }
    header nav { display: none; flex-basis: 100%; }
    header nav.is-open { display: block; }
    nav ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; padding-top: .75rem; }
    nav a { display: block; padding: .5rem 0; }
    nav .btn-join { text-align: center; }
    .team-section-heading { align-items: start; flex-direction: column; gap: .75rem; }
    .team-directory { grid-template-columns: 180px minmax(0, 1fr); gap: 2rem; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    header { display: flex; flex-wrap: wrap; padding: .7rem 5%; }
    header .logo { margin-right: auto; }
    header .logo span { max-width: none; }
    .page-header { padding: 3.5rem 5%; }
    .page-header h1 { font-size: 2.1rem; }
    .hero-home { text-align: center; }
    .hero-home p { margin: 1rem auto 1.5rem; }
    main { padding: 2.5rem 5%; }
    main h2 { font-size: 1.7rem; }
    .grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .physics-talks { padding: 1.25rem; margin-top: 2rem; }
    .membership-intro, .track-list { grid-template-columns: minmax(0, 1fr); }
    .central-membership { padding: 1.25rem; }
    .central-membership-grid { grid-template-columns: minmax(0, 1fr); }
    .membership-tracks { padding: 1.25rem; }
    .membership-cta { align-items: stretch; flex-direction: column; padding: 1.25rem; }
    .membership-cta .btn-join { text-align: center; }
    .card { padding: 1.25rem; }
    .card img { margin: -1.25rem -1.25rem 1.1rem; width: calc(100% + 2.5rem); }
    .meta { line-height: 1.45; }
    .physics-hero { min-height: 650px; }
    .hero-content { padding: 6rem 7% 8rem; }
    .hero-content h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
    .hero-wash { background: linear-gradient(90deg, rgba(15, 23, 42, .9), rgba(15, 23, 42, .42)); }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 1rem; }
    .hero-actions .btn-join, .hero-link { text-align: center; width: 100%; }
    .hero-controls { left: 7%; bottom: 2rem; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .team-page { padding-top: 2.5rem; }
    .team-directory { display: block; }
    .team-sidebar { margin-bottom: 2.5rem; }
    .team-sidebar h2 { font-size: 1.7rem; }
    .team-switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; border-bottom: 1px solid var(--nssr-line); }
    .team-switch { border-left: 0; border-bottom: 4px solid transparent; padding: .7rem .5rem; text-align: center; }
    .team-switch.is-active { border-bottom-color: var(--nssr-blue); border-left-color: transparent; }
    .team-section-block + .team-section-block { margin-top: 3.5rem; }
    .team-grid { grid-template-columns: minmax(0, 1fr); }
    .team-card img { width: 88px; min-width: 88px; height: 88px; }
    .team-card { gap: 1rem; padding: 1rem; }
}