* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #082b45; --card: #12374f; --text: #eef7ff; --muted: #b6cbd9;
  --accent: #6cbff2; --accent-rgb: 108, 191, 242;
  --accent-2: #86c7f8; --accent-2-rgb: 134, 199, 248; --accent-ink: #eff8ff;
  --border: rgba(204, 231, 247, .22); --overlay: rgba(0, 0, 0, .55);
  --bg-x: 0px; --bg-y: 0px; --surface: rgba(9, 31, 49, .38);
  --site-background-filter: blur(6px) hue-rotate(8deg) saturate(.9);
  --nav-surface: rgba(7, 28, 45, .62);
}
body.light {
  --bg: #f5fafc; --card: #fff; --text: #17212b; --muted: #506778;
  --accent: #1677b3; --accent-rgb: 22, 119, 179;
  --accent-2: #3e83bd; --accent-2-rgb: 62, 131, 189; --accent-ink: #124f78;
  --border: rgba(31, 82, 112, .2); --overlay: rgba(255, 255, 255, .50);
  --surface: rgba(255, 255, 255, .4); --nav-surface: rgba(245, 250, 252, .74);
  --site-background-filter: blur(6px);
}
html, body { width: 100%; height: 100%; overflow: hidden; overscroll-behavior-y: none; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7; position: relative;
  transition: background .3s ease, color .3s ease;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: var(--site-background, url("assets/site-background.webp")) center 45% / cover no-repeat;
  filter: var(--site-background-filter); transform: translate3d(var(--bg-x), var(--bg-y), 0) scale(1.06);
}
.theme-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: clip; background: var(--overlay); transition: background .3s ease; }
@property --site-loader-radius { syntax: "<length>"; inherits: false; initial-value: 0px; }
.site-loader { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; color: inherit; overflow: hidden; }
.site-loader::backdrop { background: transparent; }
.loader-screen { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
body.light .loader-screen { background: rgba(255, 255, 255, .75); }
.site-loader[data-phase="revealing"] .loader-screen { -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent calc(var(--site-loader-radius) - 1px), #000 var(--site-loader-radius)); mask-image: radial-gradient(circle at 50% 50%, transparent calc(var(--site-loader-radius) - 1px), #000 var(--site-loader-radius)); }
.loader-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .28; cursor: default; }
img { max-width: 100%; display: block; border: 1px solid var(--border); border-radius: 12px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h2[tabindex]:focus { outline: none; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .join-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.reverse { transform: rotate(180deg); }
.icon-button {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid transparent; border-radius: 50%; flex: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.icon-button:hover:not(:disabled) { border-color: var(--border); background: rgba(var(--accent-rgb), .08); color: var(--accent); }

.theme-toggle { position: fixed; top: 20px; right: 20px; z-index: 50; border-color: var(--border); background: rgba(128, 160, 180, .12); backdrop-filter: blur(6px); }
.hero { position: fixed; top: 0; left: max(24px, calc((100vw - 1360px) / 2)); bottom: 25px; width: 340px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; translate: 0 -40px; }
.hero.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.hero.entering, .hero.leaving { pointer-events: none; }
.name { position: relative; font-size: clamp(42px, 4vw, 56px); font-weight: 800; letter-spacing: .06em; line-height: 1.4; }
.name.brand-logo { width: min(100%, 280px); aspect-ratio: 1784 / 644; flex: none; }
.name.logo-arriving { visibility: hidden; }
.brand-logo-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border: 0; border-radius: 0; }
.name.logo-fallback { display: grid; place-items: center; }
.logo-fallback .brand-logo-image { display: none; }
.name.logo-fallback::after { content: attr(aria-label); }
.tagline { color: var(--accent); font-size: 17px; margin-top: 10px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tags span { background: rgba(var(--accent-rgb), .07); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .22); padding: 2px 13px; border-radius: 999px; font-size: 12px; }
.hero-tags { margin-top: 20px; }
.social { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.social a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--text); border: 1px solid var(--border); padding: 8px 12px; border-radius: 999px; font-size: 14px; transition: transform .2s, border-color .2s, color .2s; }
.social .icon { width: 13px; height: 13px; }
.social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.layout { width: 100%; max-width: 1360px; margin: 0 auto; }
.section { position: fixed; top: 80px; left: max(376px, calc((100vw - 1360px) / 2 + 376px)); right: max(80px, calc((100vw - 1360px) / 2 + 40px)); bottom: 34px; }
.section.full-width { left: max(24px, calc((100vw - 1360px) / 2)); }
.page { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.page.active { opacity: 1; visibility: visible; pointer-events: auto; }
.page.entering, .page.leaving { opacity: 1; visibility: visible; pointer-events: none; }
.page-scroll { height: 100%; overflow-y: auto; overflow-x: hidden; padding: 12px 18px 28px 12px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(var(--accent-rgb), .18) transparent; }
.card { position: relative; min-width: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.home-poster { grid-row: auto; padding: 0; display: flex; align-items: center; }
.home-poster .carousel { width: 100%; }
.home-copy { padding: 0 0 0 74px; }
.home-copy .welcome-title { font-size: 27px; line-height: 1.5; margin-top: 10px; }
.home-copy .demo-link { padding-inline: 17px; font-size: 14px; }
.home-portals { padding: 16px 10px 16px 20px; }
.home-portals p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 10px; }
.portal-links { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; margin-top: 19px; }
.portal-links a { color: var(--accent); font-size: 13px; }
.portal-links a:hover { text-decoration: underline; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card-head h2 { font-size: 30px; font-weight: 650; color: var(--accent); border-left: 3px solid var(--accent); padding-left: 13px; line-height: 1.25; }
.section-label { font-size: 10px; letter-spacing: .15em; color: var(--muted); white-space: nowrap; }
.section-intro { color: var(--muted); font-size: 16px; margin-bottom: 22px; line-height: 1.85; }
.welcome-title { font-size: clamp(22px, 2vw, 28px); font-weight: 650; margin: 20px 0 8px; line-height: 1.55; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.demo-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 21px; min-height: 44px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.5; position: relative; overflow: hidden; transition: background .2s, border-color .2s, transform .2s; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); color: var(--text); }
.demo-actions .demo-link:first-child, .join-option .demo-link, .contact-account .demo-link { background: linear-gradient(135deg, rgba(var(--accent-rgb), .25), rgba(var(--accent-rgb), .08)); border-color: rgba(var(--accent-rgb), .55); color: var(--accent-ink); box-shadow: 0 4px 14px -2px rgba(var(--accent-rgb), .12); }
.demo-link:hover { background: rgba(var(--accent-rgb), .16); border-color: var(--accent); transform: translateY(-2px); }
.text-button { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--border); background: transparent; color: var(--accent); padding: 7px 12px; border-radius: 999px; min-height: 40px; font-size: 14px; }
.text-button:hover { background: rgba(var(--accent-rgb), .09); }
.category { display: block; font-size: 11px; letter-spacing: .05em; color: var(--accent); margin-bottom: 6px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13px; margin-top: 12px; }
.card-link .icon { width: 14px; height: 14px; }

.slides { background: transparent; overflow: hidden; }
.slide { height: clamp(240px, 23vw, 320px); display: flex; align-items: center; justify-content: center; }
.poster-link { cursor: zoom-in; }
.slide .poster-link { display: flex; align-items: center; justify-content: center; max-width: 100%; height: 100%; }
.slide img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.carousel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-left: 74px; }
.carousel-dots { display: flex; }
.carousel-dots button { border: 0; background: transparent; width: 28px; height: 40px; position: relative; }
.carousel-dots button::after { content: ""; width: 6px; height: 6px; position: absolute; top: calc(50% - 3px); left: calc(50% - 3px); border-radius: 8px; background: var(--muted); opacity: .5; transition: width .2s, background .2s; }
.carousel-dots .is-current::after { width: 20px; left: calc(50% - 10px); background: var(--accent); opacity: 1; }

.events-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 18px; }
.event { display: block; border: 0; border-radius: 0; }
.event:hover img, .project-tile[href]:hover img, .video-card:hover img { border-color: rgba(var(--accent-rgb), .7); }
.event.featured { grid-row: span 3; }
.event-image { position: relative; }
.event-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.event-copy { padding: 19px 2px; }
.event h3 { font-size: 24px; font-weight: 600; line-height: 1.6; }
.event p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.play-mark { position: absolute; bottom: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(5, 24, 40, .78); border: 1px solid rgba(255, 255, 255, .42); color: white; display: flex; align-items: center; justify-content: center; }
.play-mark .icon { width: 17px; height: 17px; }
.compact { display: grid; grid-template-columns: minmax(140px, 1fr) 1.2fr; gap: 24px; align-items: center; padding: 0; }
.compact img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; }
.compact h3 { font-size: 19px; line-height: 1.55; }
.compact .category { font-size: 12px; margin: 0 0 4px; }
.compact .card-link { font-size: 13px; margin-top: 5px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.video-card { border: 0; border-radius: 0; padding: 0 0 20px; }
.video-image { position: relative; margin-bottom: 16px; }
.video-image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; border-radius: 9px; }
.video-card h3 { font-size: 26px; margin-bottom: 9px; }
.video-card p { font-size: 15px; color: var(--muted); min-height: 2em; }

.honor-gallery { --honor-columns:4;--honor-scale:1;display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x proximity; scrollbar-width: none; }
.honor-gallery::-webkit-scrollbar { display:none; }
.honor-gallery.honor-marquee { display:block;overflow:hidden;scroll-snap-type:none;contain:paint; }
.honor-track { display:flex;gap:var(--honor-gap);width:max-content;animation:honor-flow var(--honor-duration) linear infinite;animation-play-state:paused; }
.honor-track>.honor-card { flex:0 0 var(--honor-card-width);width:var(--honor-card-width); }
.page.active .honor-track { animation-play-state:running; }
.honor-gallery:focus-within .honor-track,.fx-paused .page .honor-track,body:has(dialog[open]) .page .honor-track { animation-play-state:paused; }
.honor-gallery:not(.is-scrollable) .honor-track { animation:none; }
.honor-gallery.keyboard-browse { overflow-x:auto; }
.honor-gallery.keyboard-browse .honor-track { animation:none;animation-play-state:paused; }
.honor-gallery.keyboard-browse .honor-copy { display:none!important; }
@media (hover:hover) { .honor-gallery:hover .honor-track { animation-play-state:paused; } }
@media (prefers-reduced-motion:reduce) { .honor-gallery.honor-marquee { overflow-x:auto; } .honor-copy { display:none!important; } }
@keyframes honor-flow { to { transform:translateX(calc(-1 * var(--honor-distance))); } }
.honor-card { text-align: left; border: 0; border-radius: 0; background: transparent; scroll-snap-align: start; }
.honor-card img { width: auto; height: 350px; max-width: 100%; object-fit: contain; margin: 0 auto; }
.honor-card > span { display: block; padding: 16px 1px; }
.honor-card small { display: block; color: var(--accent); font-size: 11px; }
.honor-card strong { display: block; font-size: 17px; margin-top: 3px; }
.honor-card em { display: block; font-style: normal; color: var(--muted); font-size: 12px; margin-top: 6px; }
.member-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.member-card { border: 0; border-radius: 0; text-align: center; padding: 22px 12px 18px; min-width: 0; }
.member-portrait { display: block; width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 11px; border: 2px solid rgba(var(--accent-rgb), .36); background-color: rgba(var(--accent-rgb), .1); background-repeat: no-repeat; object-fit: cover; }
.member-card h3 { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; min-height: 2em; display: flex; align-items: center; justify-content: center; }
.member-card p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.member-card a { font-size: 13px; color: var(--accent); display: inline-block; margin-top: 10px; padding: 4px 8px; border: 1px solid rgba(var(--accent-rgb), .22); border-radius: 999px; }
.member-card .pending-label { margin-top: 14px; font-size: 11px; }
.pending-label { display: block; color: var(--muted); font-size: 12px; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.project-tile { border: 0; border-radius: 0; padding: 20px 4px; }
.project-tile img, .project-monogram { width: 54px; height: 54px; border-radius: 50%; margin-bottom: 12px; object-fit: cover; }
.project-monogram { display: grid; place-items: center; background: rgba(var(--accent-rgb), .1); border: 1px solid var(--border); font-size: 24px; color: var(--accent); }
.project-tile h3 { font-size: 21px; }
.project-tile p { font-size: 14px; color: var(--muted); min-height: 3.4em; margin-top: 8px; }
.project-tile .pending-label { margin-top: 13px; }

.about-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.about-visual { padding: 0; }
.about-copy { margin: 20px 4px 2px; }
.about-copy h3, .changelog-title h3, .partner-label { color: var(--accent); font-size: 24px; font-weight: 700; line-height: 1.4; }
.about-copy h3 { margin-bottom: 10px; }
.about-copy p { color: var(--text); font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; text-wrap: balance; }
.about-details { display: grid; align-content: start; gap: 24px; min-width: 0; }
.about-values { margin: 0; padding-left: 26px; }
.partners-card { grid-column: 1 / -1; padding: 20px 0; }

.about-poster { display: block; width: 100%; background: none; border: 0; overflow: hidden; position: relative; }
.about-poster img { width: 100%; height: auto; }
.about-poster > span { position: absolute; right: 10px; bottom: 10px; color: white; padding: 5px 10px; border-radius: 999px; background: rgba(4, 28, 48, .8); display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.about-poster .icon { width: 14px; height: 14px; }
.changelog { margin: 0; padding: 6px 0 6px 26px; border: 0; border-radius: 0; display: flex; flex-direction: column; gap: 5px; }
.changelog-title { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; padding-bottom: 12px; margin-bottom: 7px; border-bottom: 1px solid var(--border); }
.changelog p { position: relative; display: flex; gap: 12px; align-items: baseline; padding: 6px 0 6px 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.changelog p::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: rgba(var(--accent-rgb), .2); }
.changelog p::after { content: ""; position: absolute; left: 6px; top: 17px; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px var(--bg); }
.changelog p:first-of-type::before { top: 17px; }
.changelog p:last-of-type::before { bottom: calc(100% - 17px); }
.changelog .ver { flex: none; min-width: 80px; color: var(--accent); font-size: 12px; font-family: ui-monospace, Consolas, monospace; background: rgba(var(--accent-rgb), .08); border: 1px solid rgba(var(--accent-rgb), .2); border-radius: 6px; padding: 2px 7px; }
.partner-label { margin-bottom: 12px; }
.partner-list { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-list span { border: 1px solid var(--border); border-radius: 7px; color: var(--muted); font-size: 12px; padding: 5px 11px; }

.assistant-entry { display: grid; grid-template-columns: minmax(200px, .7fr) minmax(0, 1.7fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: 32px 0 16px; }
.assistant-stack { position: relative; isolation: isolate; justify-self: end; width: min(100%, 920px, max(260px, calc((100dvh - 350px) * 1.74))); aspect-ratio: 1.74; }
.assistant-shot { position: absolute; width: 84%; }
.assistant-shot-back { left: 0; top: 0; z-index: 1; }
.assistant-shot-middle { left: 16%; top: 12%; z-index: 2; }
.assistant-shot img { width: 100%; height: auto; }
.assistant-shot .assistant-image-light { display: none; }
body.light .assistant-shot .assistant-image-dark { display: none; }
body.light .assistant-shot .assistant-image-light { display: block; }
.email-address { font-size: clamp(24px, 2.6vw, 34px); color: var(--accent); font-weight: 500; letter-spacing: .015em; overflow-wrap: anywhere; }
.email-address:hover { text-decoration: underline; }
.copy-status { min-height: 1.7em; margin-top: 8px; font-size: 12px; color: var(--accent); }
.join-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.join-option { padding: 28px 2px; border: 0; border-radius: 0; }
.join-icon { display: block; width: 31px; height: 31px; color: var(--accent); stroke-width: 1.3; margin-bottom: 18px; }
.join-option > .join-icon { width: 76px; height: 76px; stroke-width: 1; margin-bottom: 16px; }
.join-option h3 { font-size: 29px; margin-bottom: 12px; }
.join-option p:not(.copy-status) { font-size: 16px; color: var(--muted); line-height: 1.9; margin-bottom: 18px; }
.join-option .demo-link, .contact-account .demo-link { font-size: 14px; padding: 10px 13px; }
.contact-accounts { display: grid; align-content: start; gap: 32px; padding: 28px 2px; }
.contact-account { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 16px; }
.contact-account > img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(var(--accent-rgb), .4); }
.contact-account h3 { font-size: 22px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.contact-account p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.contact-account .demo-link { margin-top: 14px; }
.contact-links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 16px; padding: 16px 2px; }
.contact-links a { padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 12px; }
.contact-links a:hover { color: var(--accent); }

.page-rail { position: fixed; right: 21px; top: 50%; transform: translateY(-50%); z-index: 40; width: 44px; display: flex; flex-direction: column; }
.page-rail a { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: flex-end; outline-offset: 1px; }
.rail-tick { width: var(--tick-width, 8px); height: 3px; background: var(--text); opacity: var(--tick-opacity, .23); transition: width .32s ease, opacity .32s ease; }
.page-rail [aria-current] .rail-tick { width: 38px; opacity: 1; background: #fff; }
body.light .page-rail [aria-current] .rail-tick { background: #082b45; }
.rail-label { position: absolute; right: 59px; top: 7px; padding: 5px 11px; color: var(--text); background: var(--nav-surface); border: 1px solid var(--border); border-radius: 7px; font-size: 12px; white-space: nowrap; backdrop-filter: blur(12px); pointer-events: none; opacity: 0; transform: translateX(5px); transition: opacity .16s, transform .16s; }
.page-rail a:hover .rail-label, .page-rail a:focus-visible .rail-label { opacity: 1; transform: none; }
.page-rail a:hover .rail-tick { opacity: .9; }
.page-rail .rail-welcome { display: none; }
.footer { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: flex; justify-content: center; gap: 20px; color: var(--muted); font-size: 10px; padding: 8px 20px; opacity: 0; visibility: hidden; transition: opacity .3s; }
.footer.show { opacity: 1; visibility: visible; }
.preview-tag { color: var(--accent); }

.image-lightbox { --image-padding: clamp(12px, 3vw, 32px); position: fixed; inset: 0; margin: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; padding: var(--image-padding); border: 0; background: transparent; overflow: hidden; cursor: zoom-out; }
.image-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.image-lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.image-lightbox-picture { display: flex; max-width: 100%; max-height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-out; }
.image-lightbox img { width: auto; height: auto; max-width: calc(100vw - var(--image-padding) * 2); max-height: calc(100dvh - var(--image-padding) * 2); object-fit: contain; border: 0; border-radius: 0; }

.search-field { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; color: var(--muted); }
.search-field:focus-within { border-color: var(--accent); }
.search-field input { width: 100%; min-width: 0; font-size: 14px; color: var(--text); border: 0; background: none; outline: none; }
.search-field input::placeholder { color: var(--muted); }
.search-results, .mobile-nav { display: grid; gap: 4px; margin-top: 16px; }
.search-results a, .mobile-nav a { display: flex; justify-content: space-between; align-items: center; border-radius: 10px; padding: 12px; font-size: 15px; }
.search-results small, .mobile-nav small { font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.search-results a:hover, .mobile-nav a:hover, .mobile-nav [aria-current] { color: var(--accent); background: rgba(var(--accent-rgb), .08); }

@media (max-width: 1279px) {
  .hero { width: 300px; left: 16px; padding: 20px; }
  .hero .name { font-size: 46px; }
  .hero .tagline { font-size: 15px; }
  .hero .social { gap: 6px; }
  .hero .social a { padding: 8px 10px; font-size: 13px; }
  .section { left: 330px; right: 65px; }
  .home-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-poster { padding: 0; }
  .home-copy { padding: 0 0 0 74px; }
  .home-copy .welcome-title { font-size: 27px; }
  .compact { gap: 13px; }
  .honor-gallery { --honor-columns:3;grid-auto-columns: calc((100% - 36px) / 3); }
}
@media (max-width: 1150px) { .compact { grid-template-columns: 45% 1fr; } .compact h3 { font-size: 17px; } .member-card h3 { font-size: 15px; } .about-layout { grid-template-columns: 1.2fr 1fr; } }
@media (max-width: 959px) {
  .hero { inset: 40px 50px 30px 10px; width: auto; padding: 12px; overflow-y: auto; translate: 0 -20px; }
  .hero .name { font-size: 45px; }
  .hero .tagline { font-size: 15px; }
  .hero .social { gap: 7px; }
  .hero .social a { padding: 8px 10px; font-size: 12px; }
  .theme-toggle { top: 12px; right: 12px; }
  .section.hidden { visibility: hidden; pointer-events: none; }
  .section { top: 70px; left: 18px; right: 57px; bottom: 24px; }
  .page-scroll { padding: 5px 8px 28px 3px; }
  .card { border-radius: 0; }
  .card-head { gap: 10px; align-items: flex-start; margin-bottom: 17px; }
  .card-head h2 { font-size: 25px; line-height: 1.4; padding-left: 10px; }
  .section-label { font-size: 8px; letter-spacing: .06em; padding-top: 8px; }
  .section-intro { font-size: 14px; margin-bottom: 22px; }
  .assistant-entry { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 16px 0; }
  .assistant-stack { justify-self: start; }
  .home-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-poster { grid-row: auto; padding: 0; }
  .slide { height: 195px; }
  .home-copy { padding: 18px 0; }
  .home-copy .welcome-title { font-size: 28px; }
  .home-portals { padding: 15px 0; }
  .portal-links { font-size: 12px; gap: 15px; }
  .carousel-toolbar { gap: 3px; padding-left: 0; }
  .carousel-dots button { width: 24px; }
  .demo-actions { gap: 9px; }
  .demo-link { font-size: 14px; padding: 10px 15px; }
  .page-rail { right: 4px; width: 42px; }
  .page-rail .rail-welcome { display: flex; }
  .page-rail a { width: 42px; height: 42px; }
  .rail-tick { max-width: 28px; height: 2px; }
  .page-rail [aria-current] .rail-tick { width: 30px; max-width: 30px; }
  .rail-label { right: 48px; }
  .footer { font-size: 9px; gap: 10px; padding: 4px 8px; }
  .footer > span:nth-child(2) { display: none; }
  .events-grid { grid-template-columns: 1fr; gap: 16px; }
  .event.featured { grid-row: auto; }
  .event-copy { padding: 17px 0; }
  .event h3 { font-size: 21px; }
  .compact { grid-template-columns: 40% 1fr; gap: 16px; padding: 0; }
  .compact h3 { font-size: 15px; }
  .compact .category { font-size: 10px; }
  .compact .card-link { font-size: 12px; }
  .video-grid { grid-template-columns: 1fr; gap: 18px; }
  .video-card { padding: 0 0 18px; }
  .video-card h3 { font-size: 24px; }
  .video-card p { font-size: 14px; min-height: auto; }
  .honor-gallery { --honor-columns:1;--honor-scale:.88;grid-auto-columns: 88%; gap: 14px; }
  .honor-card img { height: 340px; }
  .member-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .member-card { padding: 18px 8px; }
  .member-portrait { width: 62px; height: 62px; }
  .member-card h3 { font-size: 13px; min-height: 3.4em; }
  .member-card p { font-size: 10px; }
  .member-card a { font-size: 11px; padding: 7px 6px; min-height: 34px; }
  .member-card .pending-label { font-size: 10px; }
  .project-tile { padding: 16px 4px; }
  .project-tile h3 { font-size: 19px; }
  .project-tile p { font-size: 12px; min-height: 5.1em; }
  .project-tile .card-link { font-size: 12px; }
  .about-layout { grid-template-columns: 1fr; gap: 18px; }
  .about-visual { padding: 0; }
  .about-copy p { font-size: 16px; }
  .about-values { padding-left: 0; }
  .changelog { padding: 20px 0; }
  .changelog p { gap: 9px; font-size: 12px; padding-left: 19px; }
  .changelog .ver { min-width: 66px; font-size: 10px; }
  .partners-card { grid-column: auto; padding: 18px 0; }
  .email-address { font-size: 25px; }
  .join-options { grid-template-columns: 1fr; gap: 18px; }
  .join-option { padding: 24px 0; }
  .join-option h3 { font-size: 26px; }
  .join-option p:not(.copy-status) { font-size: 14px; }
  .contact-accounts { padding: 24px 0; gap: 28px; }
  .contact-account { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .contact-account > img { width: 56px; height: 56px; }
  .contact-account h3 { font-size: 20px; }
  .contact-account p { font-size: 13px; }
  .contact-links { padding: 16px 0; gap: 13px; }
}
@media (max-width: 359px) {
  .section { left: 12px; right: 49px; }
  .page-rail { right: 0; width: 38px; }
  .page-rail a { width: 38px; }
  .page-scroll { padding-right: 6px; }
  .card-head h2 { font-size: 23px; }
  .home-poster { padding: 0; }
  .home-copy, .home-portals { padding: 16px 0; }
  .carousel-dots button { width: 20px; }
  .member-grid, .project-grid { gap: 10px; }
  .member-card h3 { font-size: 12px; }
  .member-card p { font-size: 9px; }
  .member-card a { font-size: 10px; padding-inline: 5px; }
  .member-portrait { width: 53px; height: 53px; }
  .email-address { font-size: 22px; }
}
@media (max-width: 959px) and (max-height: 740px) { .hero .name { font-size: 38px; } .hero-tags { margin-top: 12px; } .hero .social { margin-top: 15px; } }
@media (max-width: 359px) { .hero { right: 42px; left: 6px; } .hero .name { font-size: 38px; } .hero .tagline { font-size: 13px; } .hero .social { gap: 5px; } .hero .social a { padding: 7px; font-size: 11px; } }
@media (max-height: 540px) and (max-width: 959px) { .hero { justify-content: flex-start; } }
@media (max-height: 590px) { .page-rail a { height: 33px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
