/* Home page. */

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: transparent; color: var(--text); padding: 52px 0 46px; }
.hero__glow { display: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--spectral); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 3.5vw, 56px); align-items: center; }
.eyebrow--light { color: var(--brand); }
.hero__title { color: var(--ink); margin: 0 0 14px; }
.hero__title-main { display: block; font-size: clamp(1.65rem, 1rem + 1.75vw, 2.7rem); line-height: 1.1; font-weight: 850; letter-spacing: -.03em; white-space: nowrap; }
.hero__title-ko { display: block; margin-top: 12px; font-size: 1.02rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.hero__tagline { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 15px; border-radius: 999px; border: 1px solid rgba(37, 99, 235, .32); background: linear-gradient(105deg, var(--surface) 0%, rgba(37, 99, 235, .08) 20%, rgba(2, 132, 199, .22) 50%, rgba(37, 99, 235, .08) 80%, var(--surface) 100%); background-size: 200% 100%; animation: tagline-slide 4.5s linear infinite, tagline-float 3.5s ease-in-out infinite; font: 650 .8rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; cursor: pointer; box-shadow: 0 2px 8px rgba(37, 99, 235, .10); transition: box-shadow .2s ease, border-color .2s ease; }
:root[data-theme="dark"] .hero__tagline { background: linear-gradient(105deg, var(--surface) 0%, rgba(30, 58, 138, .30) 20%, rgba(2, 132, 199, .40) 50%, rgba(30, 58, 138, .30) 80%, var(--surface) 100%); background-size: 200% 100%; border-color: rgba(96, 165, 250, .38); box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
@keyframes tagline-slide { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes tagline-float { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.hero__tagline:hover, .hero__tagline:focus-visible { border-color: #2563eb; color: #1d4ed8; box-shadow: 0 6px 20px -2px rgba(37, 99, 235, .32); text-decoration: none; animation-play-state: paused; transform: translateY(-2px) scale(1.02); }
:root[data-theme="dark"] .hero__tagline:hover, :root[data-theme="dark"] .hero__tagline:focus-visible { color: #eff6ff; border-color: #60a5fa; box-shadow: 0 6px 22px -2px rgba(59, 130, 246, .45); }
.hero__tagline-dot { width: 7px; height: 7px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 0 rgba(37, 99, 235, .6); animation: tagline-pulse 2s infinite; }
:root[data-theme="dark"] .hero__tagline-dot { background: #60a5fa; box-shadow: 0 0 0 0 rgba(96, 165, 250, .7); }
@keyframes tagline-pulse { 70% { box-shadow: 0 0 0 7px rgba(37, 99, 235, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } }
.hero__tagline-arrow { color: #2563eb; animation: arrow-slide 2s ease-in-out infinite; }
:root[data-theme="dark"] .hero__tagline-arrow { color: #60a5fa; }
@keyframes arrow-slide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.hero__tagline:hover .hero__tagline-arrow { animation: none; transform: translateX(5px); }
.hero__lead { max-width: clamp(560px, 46vw, 680px); color: var(--muted); font-size: 1.04rem; }
.hero__modalities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 26px; padding: 0; }
.hero__modalities li { padding: 4px 11px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font: 600 .8rem/1.4 var(--mono); color: var(--ink); }
.hero__modalities li:nth-child(1) { box-shadow: inset 0 -2px #3b82f6; }
.hero__modalities li:nth-child(2) { box-shadow: inset 0 -2px #f97316; }
.hero__modalities li:nth-child(3) { box-shadow: inset 0 -2px #65a30d; }
.hero__modalities li:nth-child(4) { box-shadow: inset 0 -2px #a855f7; }
.hero__modalities li:nth-child(5) { box-shadow: inset 0 -2px #eab308; }
.hero__modalities li:nth-child(6) { box-shadow: inset 0 -2px #14b8a6; }
.hero__modalities li:nth-child(7) { box-shadow: inset 0 -2px #ef4444; }
.hero__modalities li:nth-child(8) { box-shadow: inset 0 -2px #ec4899; }
.hero__modalities li:nth-child(9) { box-shadow: inset 0 -2px #06b6d4; }
.hero__robotics { display: flex; flex-direction: column; gap: 12px; margin: -4px 0 28px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(37, 99, 235, .06) 0%, rgba(6, 182, 212, .05) 100%); border: 1px solid rgba(37, 99, 235, .24); box-shadow: 0 4px 18px -4px rgba(37, 99, 235, .10); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
:root[data-theme="dark"] .hero__robotics { background: linear-gradient(135deg, rgba(37, 99, 235, .12) 0%, rgba(6, 182, 212, .08) 100%); border-color: rgba(96, 165, 250, .32); box-shadow: 0 6px 22px -4px rgba(0, 0, 0, .45); }
.hero__robotics:hover { transform: translateY(-2px); border-color: rgba(37, 99, 235, .48); background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 50%, #e0e7ff 100%); box-shadow: 0 10px 28px -6px rgba(37, 99, 235, .22), 0 0 0 1px rgba(37, 99, 235, .16); }
:root[data-theme="dark"] .hero__robotics:hover { border-color: rgba(96, 165, 250, .58); background: linear-gradient(135deg, rgba(30, 58, 138, .35) 0%, rgba(3, 105, 161, .30) 50%, rgba(30, 64, 175, .25) 100%); box-shadow: 0 12px 34px -6px rgba(0, 0, 0, .6), 0 0 0 1px rgba(96, 165, 250, .26); }
.hero__robotics-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hero__robotics-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%); color: #ffffff; font: 700 .76rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 2px 10px rgba(37, 99, 235, .35); }
.hero__robotics-badge .i { color: #ffffff; }
.hero__robotics-link { display: inline-flex; align-items: center; gap: 6px; font: 700 .86rem/1.3 var(--font); color: #1d4ed8; text-decoration: none; transition: transform .18s ease, color .18s ease; }
:root[data-theme="dark"] .hero__robotics-link { color: #93c5fd; }
.hero__robotics-link:hover { color: #1e40af; transform: translateX(3px); text-decoration: underline; }
:root[data-theme="dark"] .hero__robotics-link:hover { color: #dbeafe; }
.hero__robotics-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 2px 0 0; padding: 0; }
.hero__robotics-pills a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid color-mix(in srgb, #2563eb 28%, var(--line)); color: var(--ink); font-size: .84rem; font-weight: 650; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease; }
:root[data-theme="dark"] .hero__robotics-pills a { background: var(--surface-2); border-color: rgba(96, 165, 250, .30); color: #e2e8f0; }
.hero__robotics-pills a:hover, .hero__robotics-pills a:focus-visible { transform: translateY(-2px) scale(1.02); color: #0c4a6e; border-color: #0284c7; background: linear-gradient(135deg, #ffffff 10%, #e0f2fe 55%, #bae6fd 100%); box-shadow: 0 6px 16px -2px rgba(2, 132, 199, .30); text-decoration: none; }
:root[data-theme="dark"] .hero__robotics-pills a:hover, :root[data-theme="dark"] .hero__robotics-pills a:focus-visible { color: #ffffff; border-color: #38bdf8; background: linear-gradient(135deg, #0c4a6e 10%, #0369a1 55%, #0284c7 100%); box-shadow: 0 6px 18px -2px rgba(56, 189, 248, .35); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--light { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn--light:hover { border-color: var(--brand); color: var(--brand); }

/* Band viewer: drag the divider to compare the photo with a simulated band. */
.bandview { margin: 0; }
.bandview__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #0d1a28; box-shadow: 0 24px 60px -28px rgba(11, 31, 51, .45), 0 0 0 1px var(--line); touch-action: pan-y; }
.bandview__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bandview__over { clip-path: inset(0 0 0 var(--split)); }
.bandview[data-band="thermal"] .bandview__over { filter: url(#f-thermal); }
.bandview[data-band="nir"] .bandview__over { filter: url(#f-nir) saturate(1.25); }
.bandview[data-band="hsi"] .bandview__over { filter: url(#f-hsi); }
.bandview[data-band="edge"] .bandview__over { filter: url(#f-edge); }
.bandview__line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, .8); pointer-events: none; }
.bandview__line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(11, 31, 51, .75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; border: 2px solid #fff; }
.bandview__tag { position: absolute; top: 12px; padding: 3px 9px; border-radius: 6px; background: rgba(6, 13, 22, .7); color: #fff; font: 600 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.bandview__tag--left { left: 12px; }
.bandview__tag--right { right: 12px; }
.bandview__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.bandview__range:focus-visible + * , .bandview__stage:focus-within { outline: 2px solid #8cc3f0; outline-offset: 3px; }
.bandview__bar { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.bandview__bands { display: flex; flex-wrap: wrap; gap: 6px; }
.bandview__bands button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: .84rem; font-weight: 600; }
.bandview__bands button:hover { border-color: var(--line-strong); color: var(--ink); }
.bandview__bands button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---- Stats --------------------------------------------------------------- */
.stats-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font: 700 clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem)/1.1 var(--mono); color: var(--ink); }
.stat__label { display: block; margin-top: 4px; font-size: .82rem; color: var(--muted); }

/* ---- About --------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 2.5vw, 44px); align-items: start; }
.about__body { font-size: 1.05rem; }
.about__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); margin-top: 18px; align-items: stretch; }
.about-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.about-card:hover { text-decoration: none; border-color: #2563eb; transform: translateY(-2px); box-shadow: 0 8px 24px -6px rgba(37, 99, 235, .18); }
.about-card--research { background: linear-gradient(145deg, var(--surface) 60%, rgba(37, 99, 235, .05)); border-color: color-mix(in srgb, #2563eb 24%, var(--line)); }
:root[data-theme="dark"] .about-card--research { background: linear-gradient(145deg, var(--surface) 55%, rgba(59, 130, 246, .08)); border-color: rgba(96, 165, 250, .28); }
.about-card--apps { background: linear-gradient(145deg, var(--surface) 60%, rgba(14, 165, 233, .05)); border-color: color-mix(in srgb, #0ea5e9 24%, var(--line)); }
:root[data-theme="dark"] .about-card--apps { background: linear-gradient(145deg, var(--surface) 55%, rgba(56, 189, 248, .08)); border-color: rgba(56, 189, 248, .28); }
.about-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.about-card__title-wrap { display: flex; align-items: center; gap: 8px; }
.about-card__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(37, 99, 235, .1); color: #1d4ed8; }
:root[data-theme="dark"] .about-card__icon { background: rgba(96, 165, 250, .18); color: #93c5fd; }
.about-card--apps .about-card__icon { background: rgba(14, 165, 233, .1); color: #0284c7; }
:root[data-theme="dark"] .about-card--apps .about-card__icon { background: rgba(56, 189, 248, .18); color: #7dd3fc; }
.about-card__title { margin: 0; font-size: .98rem; font-weight: 750; color: var(--ink); line-height: 1.25; }
.about-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.about-card__group { display: flex; flex-direction: column; gap: 4px; }
.about-card__group-label { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.about-card__dot { width: 5px; height: 5px; border-radius: 50%; background: #2563eb; flex-shrink: 0; }
.about-card--apps .about-card__dot { background: #0284c7; }
.about-card__chips { display: flex; flex-wrap: wrap; gap: 4px; }
.about-card__chip { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 5px; background: var(--surface-2); color: var(--text); font-size: .74rem; font-weight: 600; line-height: 1.3; border: 1px solid color-mix(in srgb, var(--line) 75%, transparent); }
:root[data-theme="dark"] .about-card__chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .08); color: #e2e8f0; }
.about-card .link-arrow { margin-top: auto; padding-top: 6px; font-size: .82rem; font-weight: 650; color: var(--brand); }
.about-card:hover .link-arrow .i { transform: translateX(3px); }
.about__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.about__lists h3 { font-size: .95rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 5px 0 5px 22px; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 3px; border-radius: 2px; background: var(--spectral); }
.about__side { display: grid; gap: 16px; }
.purpose { margin: 0; padding: 22px; }
.purpose img { width: 300px; max-width: 100%; height: auto; margin-bottom: 12px; }
.purpose blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--brand); color: var(--ink); font-size: .98rem; }
.purpose blockquote p { margin: 0 0 8px; }
.purpose figcaption { margin-top: 8px; font: 600 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about__duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); align-items: stretch; }
.rlrc-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; height: 100%; color: var(--text); background: linear-gradient(135deg, var(--surface), var(--t-rlrc-bg)); }
.rlrc-card:hover { text-decoration: none; }
.rlrc-card strong { color: var(--ink); font-size: .98rem; line-height: 1.35; }
.rlrc-card span:not(.tag):not(.link-arrow) { font-size: .84rem; line-height: 1.45; }
.rlrc-card .tag { align-self: flex-start; }
.rlrc-card .link-arrow { margin-top: auto; padding-top: 6px; }
.psi-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; height: 100%; color: var(--text); background: linear-gradient(135deg, var(--surface) 60%, rgba(37, 99, 235, .08)); border-color: color-mix(in srgb, #2563eb 32%, var(--line)); }
:root[data-theme="dark"] .psi-card { background: linear-gradient(135deg, var(--surface) 55%, rgba(59, 130, 246, .12)); border-color: rgba(96, 165, 250, .35); }
.psi-card:hover { text-decoration: none; border-color: #2563eb; box-shadow: 0 8px 24px -6px rgba(37, 99, 235, .22); }
.psi-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.psi-card strong { color: var(--ink); font-size: .98rem; line-height: 1.35; }
.psi-card > span:not(.link-arrow) { font-size: .84rem; line-height: 1.45; }
.psi-card .link-arrow { margin-top: auto; padding-top: 6px; }
.psi-card__badge { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: rgba(37, 99, 235, .12); color: #1d4ed8; border: 1px solid rgba(37, 99, 235, .28); }
:root[data-theme="dark"] .psi-card__badge { background: rgba(96, 165, 250, .18); color: #bfdbfe; border-color: rgba(96, 165, 250, .4); }

/* ---- Sensing explorer ------------------------------------------------------ */
.explorer { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.explorer__tabs { display: flex; overflow-x: auto; gap: 4px; padding: 8px; background: var(--surface); border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.explorer__tab { --c: var(--brand); display: inline-flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--muted); font-weight: 650; font-size: .9rem; }
.explorer__tab:hover { color: var(--ink); background: var(--surface-2); }
.explorer__tab[aria-selected="true"] { color: var(--ink); background: var(--surface-2); border-color: var(--line); box-shadow: inset 0 -3px var(--c); }
.explorer__tab .i { color: var(--c); }
.mod--visible { --c: #2563eb; } .mod--thermal { --c: #ea580c; } .mod--spectral { --c: #16a34a; }
.mod--radar { --c: #9333ea; } .mod--lidar { --c: #ca8a04; } .mod--polarization { --c: #0d9488; }
.explorer__panel { padding: 22px; }
.explorer__counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.explorer__counts > div { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: inset 4px 0 var(--c); }
.explorer__num { display: block; font: 700 1.6rem/1.1 var(--mono); color: var(--ink); }
.explorer__counts span:not(.explorer__num) { font-size: .8rem; color: var(--muted); }
.explorer__cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.explorer__cols h3 { font-size: .8rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.explorer__cols h3:not(:first-child) { margin-top: 18px; }
.explorer__list { list-style: none; margin: 0 0 12px; padding: 0; }
.explorer__list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.explorer__people { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.explorer__people a { display: flex; align-items: center; gap: 10px; padding: 4px; border-radius: 10px; color: var(--text); font-size: .9rem; font-weight: 600; }
.explorer__people a:hover { background: var(--surface); text-decoration: none; }
.explorer__people img { width: 36px; height: 48px; object-fit: cover; border-radius: 8px; }

/* ---- News + publications --------------------------------------------------- */
.home-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.newslist, .publist-mini { list-style: none; margin: 0; padding: 0; }
.newslist__item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.newslist__thumb img { width: 96px; height: 64px; object-fit: cover; border-radius: 9px; }
.newslist__meta { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: .8rem; color: var(--muted); }
.newslist__text { margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.45; }
.publist-mini li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.publist-mini__meta { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: .8rem; color: var(--muted); }
.publist-mini__title { margin: 0 0 2px; font-weight: 650; color: var(--ink); line-height: 1.4; }
.publist-mini__sub { margin: 0; font-size: .86rem; color: var(--muted); }
.lab-author { color: var(--ink); font-weight: 700; }

/* ---- Projects rail --------------------------------------------------------- */
.proj-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.proj-mini { display: flex; flex-direction: column; padding: 18px; }
.proj-mini__funder { margin: 0 0 6px; font: 600 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.proj-mini__title { font-size: 1rem; line-height: 1.45; flex: 1; }
.progress { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; margin-top: 10px; }
.progress__fill { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--spectral); background-size: 300px 100%; transition: width 1s ease; }
.proj-mini__period { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 0; font-size: .78rem; color: var(--muted); }

/* ---- Join ------------------------------------------------------------------ */
.join { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; padding: 32px; background: linear-gradient(120deg, var(--surface) 55%, var(--brand-soft)); }
.join h2 { margin-bottom: 10px; }
.join p:last-child { margin: 0; }
.join__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }

@media (max-width: 1080px) {
  .hero__grid, .about, .join { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .explorer__cols { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 36px; }
  .hero__title-main { white-space: normal; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0 !important; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .stat:last-child { grid-column: 1 / -1; border-right: 0 !important; }
  .explorer__counts { grid-template-columns: repeat(2, 1fr); }
  .explorer__cols { grid-template-columns: 1fr; }
  .about__lists { grid-template-columns: 1fr; }
  .about__cards { grid-template-columns: 1fr; }
  .about__duo { grid-template-columns: 1fr; }
  .join { padding: 22px; }
}

/* ---- Domain explorer: domains > sensors > papers, projects, equipment, members ---- */
.domx { display: grid; gap: 0; }
.domx__domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.domx__domain { --d: var(--brand); position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius) var(--radius) var(--radius) var(--radius); background: var(--surface); color: var(--text); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.domx__domain::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--d); opacity: .35; transition: opacity .18s; }
.domx__domain:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.domx__domain[aria-selected="true"] { border-color: var(--d); box-shadow: 0 0 0 1px var(--d), var(--shadow); background: linear-gradient(160deg, var(--surface) 55%, color-mix(in srgb, var(--d) 12%, var(--surface))); }
.domx__domain[aria-selected="true"]::before { opacity: 1; }
.domx__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--d) 14%, var(--surface)); color: var(--d); }
.domx__icon .i { width: 26px; height: 26px; }
#dtab-psi .domx__icon .i, #dtab-medical .domx__icon .i { width: 44px; height: 44px; }
#dtab-medical .domx__icon .i { border-radius: 13px; }
.domx__name { font-size: 1.15rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.domx__tagline { font-size: .84rem; color: var(--muted); line-height: 1.35; }
.domx__counts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }
.domx__counts b { font-size: 1.05rem; color: var(--ink); margin-right: 2px; }
.domx__panel { --d: var(--brand); margin-top: 14px; padding: 22px; border: 1px solid var(--line); border-top: 4px solid var(--d); border-radius: var(--radius); background: var(--bg); }
.domx__intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-bottom: 18px; }
.domx__summary { margin: 0 0 12px; color: var(--ink); font-size: 1rem; }
.domx__team { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.domx__team a { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: .82rem; font-weight: 600; }
.domx__team a:hover { border-color: var(--d); color: var(--d); text-decoration: none; }
.domx__team img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.domx__team-h { margin: 0 0 8px; font: 650 .72rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--d); }
.domx__chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--d) 45%, var(--line)); background: var(--surface); font-size: .82rem; font-weight: 600; color: var(--text); }
.domx__initial { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--d) 16%, var(--surface)); color: var(--d); font-weight: 800; font-size: .85rem; }
.domx__current { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.domx__current h3, .domx__col h3 { margin: 0 0 8px; font: 650 .72rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.domx__current ul { list-style: none; margin: 0; padding: 0; }
.domx__current li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .86rem; font-weight: 600; color: var(--ink); }
.domx__current li:last-child { border-bottom: 0; }
.domx__funder { display: block; font: 600 .66rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--d); }
.domx__sensors { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.domx__sensor { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-weight: 650; font-size: .88rem; }
.domx__sensor:hover { background: var(--surface-2); color: var(--ink); }
.domx__sensor[aria-selected="true"] { background: var(--d); color: #fff; }
.domx__n { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .72rem; text-align: center; }
.domx__sensor[aria-selected="true"] .domx__n { background: rgba(255, 255, 255, .25); color: #fff; }
.domx__sub { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; padding: 18px 4px 4px; }
.domx__h-gap { margin-top: 18px !important; }
.domx__papers, .domx__projects { list-style: none; margin: 0 0 10px; padding: 0; }
.domx__papers li, .domx__projects li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.domx__people { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.domx__people a { display: flex; align-items: center; gap: 10px; padding: 5px; border-radius: 10px; border: 1px solid transparent; color: var(--text); }
.domx__people a:hover { background: var(--surface); border-color: var(--line); text-decoration: none; }
.domx__people img { width: 36px; height: 48px; object-fit: cover; border-radius: 8px; }
.domx__people span { display: flex; flex-direction: column; font-size: .76rem; color: var(--muted); line-height: 1.3; }
.domx__people strong { font-size: .9rem; color: var(--ink); }
@media (max-width: 1000px) {
  .domx__domains { grid-template-columns: 1fr; }
  .domx__intro, .domx__sub { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .domx__panel { padding: 14px; } .domx__sensor { height: 34px; padding: 0 9px; font-size: .82rem; } }
