:root { color-scheme: dark; --bg: #000; --panel: #090d14; --text: #e7ebf2; --muted: #a5b0c2; --accent: #9bbdff; --line: #293241; --heading: #fafbff; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font: 17px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: #fff; }
a:focus-visible, main:focus-visible { outline: 2px solid #bcd2ff; outline-offset: 6px; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; background: #fff; color: #000; padding: 12px 20px; z-index: 5; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: grid; grid-template-columns: 38px auto; align-items: center; column-gap: 12px; color: var(--heading); text-decoration: none; font-size: 27px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; }
.brand-caption { grid-column: 2; font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand-orbit { grid-row: span 2; width: 36px; height: 36px; border: 1px solid var(--accent); border-radius: 50%; box-shadow: inset -7px 0 7px -7px #fff, 3px 0 10px -5px #7ca7ff; transform: rotate(-30deg) scaleX(.72); }
nav { display: flex; flex-wrap: wrap; gap: 6px 23px; }
nav a { color: var(--muted); text-decoration: none; font-size: 13px; padding: 10px 0; }
nav a[aria-current] { color: var(--heading); box-shadow: 0 1px var(--accent); }
h1, h2, h3 { color: var(--heading); line-height: 1.15; font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); margin: 20px 0 28px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.3em; }
.eyebrow, .feature-number { color: var(--accent); font: 500 11px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { margin-bottom: 22px; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.65; max-width: 620px; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; min-height: 610px; padding: 70px 0; gap: 32px; }
.hero h1 { font-size: clamp(3.2rem, 5.8vw, 5rem); line-height: 1.08; }
.hero h1 em { font-family: Georgia, serif; color: var(--accent); font-weight: 400; }
.hero .lead { max-width: 420px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.button { background: #b6ceff; color: #07101f; padding: 12px 20px; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid #b6ceff; }
.button:hover { background: #dbe7ff; color: #000; }
.button span { margin-left: 15px; }
.text-link { font-size: 14px; }
.lensing-art { position: relative; aspect-ratio: 1; isolation: isolate; background: radial-gradient(ellipse at center, #0d1730 0%, #03060d 45%, #000 70%); }
.binary-orbits { display: block; width: 100%; height: auto; }
.orbital-tracks { fill: none; stroke: #526782; stroke-width: 1.2; }
.star-track { stroke-dasharray: 5 5; }
.black-hole { fill: #000; stroke: #d4e2ff; stroke-width: 1.5; }
.black-hole-halo { fill: none; stroke: #99baff; stroke-width: 7; }
.star-halo { fill: #f4cb85; opacity: .45; }
.lensing-art p { position: absolute; bottom: 0; width: 100%; text-align: center; color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.intro-section { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 55px 0; border-top: 1px solid var(--line); }
.intro-section h2 { margin-top: 0; font-size: 1.8rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.feature { padding: 34px 30px; text-decoration: none; background: var(--panel); display: flex; flex-direction: column; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature:hover { background: #101722; }
.feature h2 { font-size: 1.7rem; line-height: 1.25; margin: 26px 0 18px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature .text-link { margin-top: auto; padding-top: 16px; color: var(--accent); }
.home-news { padding: 65px 0 90px; }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 25px; }
.section-title h2 { margin: 0; }
.section-title .eyebrow { margin-bottom: 10px; }
.news-row { border-top: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; align-items: baseline; gap: 24px; padding: 20px 0; }
.news-row h3 { margin: 0; line-height: 1.5; }
.news-row a { color: var(--text); text-decoration: none; }
.news-row a:hover { color: var(--accent); }
time { color: var(--muted); font-size: 13px; }
.document { max-width: 820px; margin: 0 auto; padding: 70px 0 100px; min-height: 60vh; }
.page-heading { border-bottom: 1px solid var(--line); margin-bottom: 38px; padding-bottom: 32px; }
.page-heading .lead { margin-bottom: 0; }
.prose { overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 2em; }
.prose img { display: block; max-width: 100%; height: auto; margin: 30px auto; border-radius: 3px; }
.member-profile img { max-height: 440px; width: auto; margin-inline: 0; }
.prose ul { padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose pre, .arithmatex { overflow-x: auto; max-width: 100%; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px; }
.member-list ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 0; list-style: none; }
.member-list li { background: var(--panel); border: 1px solid var(--line); padding: 16px 20px; margin: 0; font-size: 15px; }
.member-list a { display: block; }
.news-item { border-bottom: 1px solid var(--line); padding: 8px 0 36px; margin-bottom: 32px; }
.news-item h2 { margin: 12px 0 20px; }
.news-item h2 a { text-decoration: none; color: var(--heading); }
.news-item img { max-height: 240px; width: auto; margin-inline: 0; }
.site-footer { border-top: 1px solid var(--line); padding: 45px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-brand { font-size: 19px; letter-spacing: .15em; color: var(--heading); text-decoration: none; }
.site-footer p { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
@media (max-width: 1000px) { .header-inner { flex-direction: column; align-items: flex-start; gap: 15px; padding-block: 25px; } .hero { min-height: 520px; } nav { gap: 4px 22px; } }
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); } body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 5px; padding: 45px 0 30px; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); } .hero .lead { font-size: 18px; }
  .lensing-art { width: min(100%, 340px); justify-self: center; }
  .intro-section { grid-template-columns: 1fr; gap: 0; padding: 35px 0; }
  .feature-grid { grid-template-columns: 1fr; } .feature { padding: 28px 24px; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .feature h2 br { display: none; } .feature h2 { margin-top: 16px; }
  .news-row { grid-template-columns: 1fr; gap: 6px; } .news-row h3 { font-size: 1.15rem; }
  .document { padding: 42px 0 65px; } .member-list ul { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; } .home-news { padding: 45px 0 60px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
