.rd-page {
    --about-cyan: #67e8f9;
    --rd-muted: #a9b3c4;
    --rd-border: rgb(255 255 255 / 12%);
    --rd-gutter: 20px;
}

.rd-page .wrap {
    padding-inline: var(--rd-gutter);
}

.rd-page .gradient {
    background-image: linear-gradient(95deg, #67e8f9, #0ab9ec 55%, #247bff);
}

.rd-page .spot-card {
    --spot-surface: var(--bg);
}

.rd-hero {
    height: 460px;
    overflow: hidden;
    background: #030a1c;
}

.rd-hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: rd-hero-pan 22s ease-in-out infinite alternate;
}

@keyframes rd-hero-pan {
    from { transform: scale(1.04); }
    to { transform: scale(1.14) translate3d(-2%, -1.5%, 0); }
}

.rd-hero::before,
.rd-lab::before {
    opacity: .45;
    background-size: 64px 64px;
}

.rd-hero::before {
    mask-image: linear-gradient(black, transparent 85%);
}

.rd-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(0deg, var(--bg), transparent 27%),
        linear-gradient(90deg, rgb(3 7 18 / 85%), rgb(3 7 18 / 35%) 60%, rgb(3 7 18 / 20%));
    content: "";
}

.rd-hero-copy {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding-block: calc(var(--header) + 12px) 80px;
}

.rd-hero .breadcrumbs {
    gap: 12px;
    margin-bottom: 20px;
    letter-spacing: .25em;
}

.rd-hero .breadcrumbs span[aria-hidden] {
    color: var(--about-cyan);
}

.rd-hero h1 {
    font-size: clamp(3.5rem, 7.22vw, 6.5rem);
    font-weight: 600;
    line-height: 1;
}

.rd-hero .lead {
    max-width: 576px;
    margin-top: 24px;
    color: #c0c9d7;
    font-size: 1rem;
    line-height: 1.625;
}

.rd-section {
    padding-block: 96px;
}

.rd-section h2 {
    margin-top: 24px;
    font-size: clamp(2.25rem, 3.9vw, 3.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.rd-team {
    background: radial-gradient(ellipse 420px 520px at 0 33%, rgb(37 99 235 / 12%), transparent 100%), var(--bg);
}

.rd-leaders-grid,
.rd-equipment-grid {
    display: grid;
    gap: 16px;
    margin-top: 56px;
}

.rd-leaders-grid:has(.rd-leader-details[open]) {
    align-items: start;
}

.rd-leader-card {
    --rd-leader-padding: 24px;
    display: flex;
    flex-direction: column;
}

.rd-leader-card > *,
.rd-team-card > * {
    position: relative;
}

.rd-leader-profile {
    display: grid;
    grid-template-areas: "photo title" "metrics metrics";
    grid-template-columns: clamp(88px, 23vw, 120px) minmax(0, 1fr);
    flex: 1;
    align-content: center;
    align-items: center;
    gap: 20px 16px;
    padding: var(--rd-leader-padding);
}

.rd-leader-photo,
.rd-member-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    object-fit: cover;
    object-position: center 18%;
}

.rd-leader-photo {
    grid-area: photo;
}

.rd-leader-title {
    grid-area: title;
}

.rd-leader-title h3 {
    font-size: clamp(1.625rem, 2.3vw, 2rem);
    font-weight: 600;
    letter-spacing: -.03em;
}

.rd-leader-title p {
    margin-top: 6px;
    color: var(--rd-muted);
    font-size: .9375rem;
    line-height: 1.45;
}

.rd-leader-details summary {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px var(--rd-leader-padding);
    border-top: 1px solid var(--rd-border);
    color: var(--about-cyan);
    font-size: .875rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.rd-leader-details summary::-webkit-details-marker {
    display: none;
}

.rd-leader-details summary::after {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-right: 3px;
    transform: translateY(-2px) rotate(45deg);
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
}

.rd-leader-details[open] summary::after {
    transform: translateY(2px) rotate(225deg);
}

.rd-leader-details summary:hover {
    background: rgb(103 232 249 / 6%);
}

.rd-leader-details summary:focus-visible {
    outline: 2px solid var(--about-cyan);
    outline-offset: -3px;
}

.rd-leader-details:not([open]) .rd-career-hide,
.rd-leader-details[open] .rd-career-view {
    display: none;
}

.rd-image-label {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 6px;
    background: rgb(3 7 18 / 78%);
    color: #a5f3fc;
    font: 400 .625rem/1.5 var(--mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.rd-card-label,
.rd-experience-label {
    color: var(--about-cyan);
    font: 400 .6875rem/1.5 var(--mono);
    letter-spacing: .24em;
    text-transform: uppercase;
}

.rd-tenure {
    display: grid;
    grid-area: metrics;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rd-tenure > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rd-tenure dt {
    color: var(--rd-muted);
    font-size: .875rem;
    line-height: 1.4;
}

.rd-tenure dd {
    align-self: flex-start;
    order: -1;
    font: 600 clamp(2rem, 2.8vw, 2.5rem)/1 var(--display);
    letter-spacing: -.04em;
}

.rd-page .count-up-value {
    font-variant-numeric: tabular-nums;
}

.rd-experience-label {
    margin-top: 24px;
    color: var(--rd-muted);
    font-size: .625rem;
    letter-spacing: .1em;
}

.rd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    list-style: none;
}

.rd-tags li {
    padding: 4px 10px;
    border: 1px solid var(--rd-border);
    border-radius: 6px;
    background: rgb(255 255 255 / 4%);
    font: 500 .75rem/1.4 var(--display);
}

.rd-patents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid var(--rd-border);
    border-radius: 12px;
    background: var(--rd-border);
}

.rd-patents > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: var(--bg);
}

.rd-patents dt {
    color: var(--rd-muted);
    font-size: .75rem;
    line-height: 1.45;
}

.rd-patents dd {
    order: -1;
    font: 600 1.875rem/1.1 var(--display);
}

.rd-team-overview {
    margin-top: 24px;
}

.rd-team-card {
    display: grid;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgb(59 130 246 / 9%), transparent 72%), var(--bg);
}

.rd-team-summary {
    margin-top: 16px;
    font: 500 clamp(1.25rem, 1.67vw, 1.5rem)/1.42 var(--display);
}

.rd-team-description,
.rd-lab-description {
    margin-top: 16px;
    color: var(--rd-muted);
    line-height: 1.65;
}

.rd-team-description {
    font-size: .9375rem;
}

.rd-disciplines {
    margin-top: 24px;
}

.rd-disciplines li {
    border-color: rgb(103 232 249 / 26%);
    border-radius: 99px;
    background: rgb(103 232 249 / 7%);
    color: #a5f3fc;
}

.rd-team-stats {
    display: grid;
    gap: 12px;
}

.rd-team-stats > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--rd-border);
    border-radius: 12px;
    background: var(--bg);
}

.rd-team-stats dt {
    min-width: 0;
    color: var(--rd-muted);
    font-size: .875rem;
}

.rd-team-stats dd {
    flex-shrink: 0;
    font: 600 clamp(1.125rem, 2vw, 1.5rem)/1.2 var(--display);
    white-space: nowrap;
}

.rd-roster {
    margin-top: 48px;
}

.rd-career {
    padding: 8px var(--rd-leader-padding) var(--rd-leader-padding);
}

.rd-roster h3 {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 600;
}

.rd-career-list,
.rd-roster-grid {
    padding: 0;
    list-style: none;
}

.rd-career-list li {
    position: relative;
    min-width: 0;
    padding: 0 0 20px 20px;
    border-left: 1px solid var(--rd-border);
}

.rd-career-list li:last-child {
    padding-bottom: 0;
    border-color: transparent;
}

.rd-career-list li::before {
    position: absolute;
    top: 6px;
    left: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--about-cyan);
    content: "";
}

.rd-career-period {
    color: var(--about-cyan);
    font: 400 .75rem/1.5 var(--mono);
}

.rd-career-company {
    margin-top: 5px;
    font: 600 1rem/1.4 var(--display);
}

.rd-career-role,
.rd-education,
.rd-member-specialty {
    margin-top: 4px;
    color: var(--rd-muted);
    font-size: .875rem;
    line-height: 1.45;
}

.rd-education {
    margin-top: 20px;
}

.rd-roster-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.rd-member-card {
    display: grid;
    grid-template-columns: clamp(88px, min(23vw, 36%), 128px) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: clamp(14px, 1.6vw, 20px);
}

.rd-member-card > * {
    position: relative;
}

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

.rd-member-role {
    margin-top: 4px;
    font-size: .875rem;
    line-height: 1.45;
}

.rd-lab::before {
    mask-image: radial-gradient(ellipse at 50% 40%, black, transparent 70%);
}

.rd-lab-intro {
    display: grid;
    gap: 32px;
}

.rd-lab h2 {
    font-size: clamp(2.25rem, 3.48vw, 3.125rem);
}

.rd-lab-description {
    max-width: 65ch;
    margin: 0;
}

.rd-equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    list-style: none;
}

.rd-equipment-card {
    display: flex;
    flex-direction: column;
}

.rd-equipment-photo {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.rd-equipment-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--spot-ease);
}

.rd-equipment-card figcaption {
    position: relative;
    padding: 20px;
}

.rd-equipment-card h3 {
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
}

.rd-equipment-card p {
    margin-top: 4px;
    color: var(--rd-muted);
    font: 400 .6875rem/1.5 var(--mono);
    overflow-wrap: anywhere;
}

@media (max-width: 479px) {
    .rd-leader-card { --rd-leader-padding: 20px; }
    .rd-team-stats > div { padding-inline: 12px; }
    .rd-equipment-card figcaption { padding: 14px; }
}

@media (min-width: 768px) {
    .rd-page { --rd-gutter: 40px; }
    .rd-hero { height: 520px; }
    .rd-hero-copy { padding-bottom: 96px; }
    .rd-hero .lead { font-size: 1.125rem; }
    .rd-section { padding-block: 128px; }
    .rd-leaders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rd-team-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: 28px 32px; }
    .rd-roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rd-lab-intro { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
    .rd-lab-intro > div { grid-column: span 7; }
    .rd-lab-description { grid-column: span 5; }
    .rd-equipment-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rd-equipment-card h3 { font-size: 1rem; }
}

@media (min-width: 1024px) {
    .rd-leader-profile {
        grid-template-areas: "photo title" "photo metrics";
        grid-template-columns: clamp(112px, 11vw, 152px) minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        column-gap: 24px;
    }
    .rd-tenure { align-self: start; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .rd-equipment-grid .spot-card:hover img { transform: scale(1.05); }
    .rd-equipment-grid .spot-card:hover .facility-scan { transform: translateY(400px); }
}

@media (prefers-reduced-motion: reduce) {
    .rd-hero-photo { animation: none; }
    .rd-equipment-photo img { transition: none; }
}
