:root {
    --person-avatar-size: clamp(64px, 13vw, 108px);
    --ink: #1e2623;
    --muted: #64706b;
    --line: #dfe8e2;
    --paper: #ffffff;
    --soft: #f4f8f2;
    --green: #15803d;
    --green-dark: #0f5f30;
    --green-deep: #0b4026;
    --gold: #d7a62f;
    --blue: #315d76;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

section[id] {
    scroll-margin-top: 190px;
}

img {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(15, 95, 48, 0.12);
}

.masthead {
    min-height: 116px;
    padding: 16px 6%;
    background: #ffffff;
}

.masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1280px, 100%);
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    flex: 1 1 auto;
}

.brand-logo {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.brand-text {
    display: grid;
    gap: 4px;
    min-width: 0;
    flex: 1;
    width: 100%;
}

.university-wordmark {
    display: block;
    width: 255px;
    aspect-ratio: 382 / 58;
    background: var(--green-deep);
    -webkit-mask: url("../images/hzau-logo.png") left center / contain no-repeat;
    mask: url("../images/hzau-logo.png") left center / contain no-repeat;
}

.brand-lab-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-width: 0;
    width: 100%;
}

.brand-lab-row strong {
    color: #242927;
    flex: 0 1 auto;
    font-size: 34px;
    line-height: 1.12;
    white-space: nowrap;
}

.brand small {
    color: #78913d;
    font-size: 16px;
    font-weight: 700;
}

.site-search,
.search-panel {
    display: flex;
    align-items: center;
    width: min(300px, 32vw);
    min-height: 38px;
    border: 1px solid rgba(21, 128, 61, 0.65);
    border-radius: 999px;
    background: #ffffff;
    flex: 0 1 300px;
}

.site-search {
    min-width: 0;
    margin-left: auto;
}

.site-search input,
.search-panel input {
    min-width: 0;
    flex: 1;
    height: 36px;
    padding: 0 0 0 16px;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font: inherit;
    font-size: 14px;
}

.site-search input::placeholder,
.search-panel input::placeholder {
    color: #6d8a76;
}

.site-search button,
.search-panel button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 36px;
    border: 0;
    color: var(--green);
    background: transparent;
    cursor: pointer;
}

.site-search button:hover,
.search-panel button:hover {
    color: var(--green-dark);
}

.search-mark {
    position: relative;
    display: block;
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.search-mark::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(45deg);
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 4vw, 48px);
    min-height: 58px;
    padding: 0 6%;
    color: #ffffff;
    background: var(--green);
    font-size: 18px;
    font-weight: 700;
}

.site-nav a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 58px;
    white-space: nowrap;
    border-bottom: 4px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
    color: #fff2a8;
    border-bottom-color: var(--gold);
}

.home-banner {
    position: relative;
    width: 100%;
    background: var(--green-deep);
}

.home-banner-stage {
    height: min(650px, 50.625vw, max(0px, calc(100svh - var(--home-header-height, 220px))));
}

.home-banner-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.home-banner-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-banner-slide:has(.home-banner-caption)::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(7 29 18 / 76%), rgb(7 29 18 / 42%) 62%, rgb(7 29 18 / 10%));
    content: "";
    pointer-events: none;
}

.home-banner-caption {
    position: absolute;
    top: 50%;
    inset-inline-start: clamp(68px, 11vw, 170px);
    inset-inline-end: clamp(68px, 11vw, 170px);
    max-width: 680px;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 0 2px 8px rgb(0 0 0 / 46%);
}

.home-banner-kicker {
    margin: 0;
    color: #f5df9c;
    font-size: clamp(12px, 1.2vw, 16px);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.45;
    text-transform: uppercase;
}

.home-banner-caption h2 + .home-banner-kicker {
    margin-top: 8px;
}

.home-banner-caption h2 {
    margin: 0;
    font-size: clamp(25px, 4vw, 60px);
    line-height: 1.16;
    text-wrap: balance;
}

.home-banner-description {
    max-width: 36em;
    margin: 14px 0 0;
    font-size: clamp(14px, 1.45vw, 21px);
    line-height: 1.55;
}

.home-banner-controls {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 32%), transparent 16%);
    pointer-events: none;
}

.home-banner-controls button {
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

.home-banner-arrow,
.home-banner-toggle {
    position: absolute;
    border: 1px solid rgb(255 255 255 / 82%);
    box-shadow: 0 1px 8px rgb(0 0 0 / 22%);
}

.home-banner-arrow {
    top: 50%;
    width: clamp(44px, 4.5vw, 62px);
    aspect-ratio: 1;
    transform: translateY(-50%);
}

.home-banner-prev {
    left: clamp(12px, 2.6vw, 52px);
}

.home-banner-next {
    right: clamp(12px, 2.6vw, 52px);
}

.home-banner-arrow::before {
    content: "";
    width: 11px;
    aspect-ratio: 1;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.home-banner-prev::before {
    transform: translateX(2px) rotate(-135deg);
}

.home-banner-next::before {
    transform: translateX(-2px) rotate(45deg);
}

.home-banner-arrow:hover,
.home-banner-toggle:hover {
    background: rgb(0 0 0 / 20%);
}

.home-banner-controls button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.home-banner-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    display: flex;
    gap: 2px;
    transform: translateX(-50%);
}

.home-banner-dots button {
    width: 32px;
    height: 40px;
    border: 0;
}

.home-banner-dots button::before {
    grid-area: 1 / 1;
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(255 255 255 / 72%);
    box-shadow: 0 1px 4px rgb(0 0 0 / 28%);
}

.home-banner-dots button[aria-current="true"]::after {
    grid-area: 1 / 1;
    content: "";
    width: 24px;
    height: 24px;
    border: 1px solid #fff;
    border-radius: 50%;
}

.home-banner-dots button[aria-current="true"]::before,
.home-banner-dots button:hover::before {
    background: #fff;
}

.home-banner-toggle {
    right: clamp(12px, 2.6vw, 52px);
    bottom: 12px;
    width: 44px;
    height: 44px;
}

.home-banner-toggle::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 2px;
    border: 6px solid transparent;
    border-left: 10px solid currentColor;
    border-right: 0;
}

.home-banner-toggle[data-playing="true"]::before {
    width: 9px;
    height: 12px;
    margin: 0;
    border: 0;
    border-inline: 2px solid currentColor;
}

.eyebrow,
.section-kicker {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.24;
}

.values-panel {
    margin-bottom: clamp(24px, 4vw, 42px);
}

#team-values {
    scroll-margin-top: 210px;
}

.values-heading {
    margin-bottom: 26px;
}

.values-heading h2 {
    margin: 0 0 8px;
    color: var(--green-dark);
    font-size: clamp(24px, 3.2vw, 34px);
    line-height: 1.24;
}

.values-slogan {
    margin: 0;
    color: var(--green-deep);
    font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.27;
}

.values-title-lead {
    font-size: 0.85em;
}

.values-title-keyword {
    padding-inline: 0.06em;
    color: var(--green-dark);
    font-size: 1.25em;
    font-weight: 900;
    letter-spacing: 0.025em;
    text-shadow: 0 2px 0 rgba(15, 95, 48, 0.14);
    background: linear-gradient(rgba(215, 166, 47, 0.38), rgba(215, 166, 47, 0.38)) no-repeat left 90% / 100% 0.19em;
}

.values-title-phrase {
    display: inline-block;
    max-width: 100%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.value-item {
    min-height: 188px;
    padding: 18px 14px;
    border: 1px solid rgba(21, 128, 61, 0.18);
    border-radius: 8px;
    background: #ffffff;
}

.value-item span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--green);
    font-weight: 800;
}

.value-item h3 {
    margin: 12px 0 0;
    font-size: 19px;
}

.value-en {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
}

.value-item p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.content-band {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 78px 6%;
}

.content-band.muted {
    width: 100%;
    max-width: none;
    background: var(--soft);
}

.content-band.muted > * {
    width: min(1280px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading.stacked {
    display: block;
}

.feature-grid,
.member-grid,

.variety-grid {
    display: grid;
    gap: 18px;
}

.feature-grid,
.member-grid,

.variety-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.member-card,

.variety-card,
.empty-panel {
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.feature-number {
    flex: none;
    color: #8a6818;
    font-size: 0.78em;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.feature-card h3,
.member-card h3,

.variety-card h3,
.empty-panel h3,
.list-item h3 {
    margin: 8px 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.feature-card .feature-heading {
    display: flex;
    align-items: baseline;
    gap: 0.55em;
    margin-top: 0;
    font-size: clamp(1rem, 1.49vw, 1.25rem);
}

.feature-card p,
.member-card p,

.variety-card p,
.empty-panel p,
.list-item p,
.empty-state {
    margin: 0;
    color: var(--muted);
}

.publication-link {
    color: var(--ink);
}

.publication-link:hover,
.doi-link:hover {
    color: var(--green);
}

.doi-link {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 8px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.variety-card {
    display: grid;
    gap: 18px;
}

.variety-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    object-fit: cover;
    background: var(--soft);
}

.variety-body {
    display: grid;
    gap: 8px;
}

.variety-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.variety-heading h3 {
    margin: 0;
}

.variety-heading span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 3px 9px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--green);
    font-weight: 800;
}

.variety-meta {
    color: var(--green-dark) !important;
    font-weight: 700;
}

.trial-panel {
    display: grid;
    gap: 20px;
}

.trial-intro {
    display: grid;
    gap: 8px;
    max-width: 860px;
}

.trial-intro h3 {
    margin: 0;
    color: var(--green-deep);
    font-size: 22px;
    line-height: 1.35;
}

.trial-intro p {
    margin: 0;
    color: var(--muted);
}

.trial-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.trial-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    font-size: 15px;
}

.trial-table th,
.trial-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.trial-table th {
    color: var(--green-deep);
    background: #edf5ef;
    font-weight: 800;
    white-space: nowrap;
}

.trial-table tr:last-child td {
    border-bottom: 0;
}

.trial-table strong,
.trial-table span {
    display: block;
}

.trial-table strong {
    color: var(--ink);
}

.trial-table span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.empty-panel {
    min-height: 160px;
    background:
        linear-gradient(135deg, rgba(21, 128, 61, 0.08), rgba(215, 166, 47, 0.1)),
        #ffffff;
}

.member-card {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
}

.avatar-placeholder,
.member-thumb {
    width: 62px;
    height: 62px;
    border-radius: 50%;
}

.avatar-placeholder {
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--green), var(--gold));
    font-size: 24px;
    font-weight: 800;
}

.member-thumb {
    object-fit: cover;
}

.member-role {
    color: var(--green-dark);
    font-weight: 700;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(240px, 0.45fr) minmax(320px, 1fr);
    gap: 42px;
}

.two-column .section-heading {
    display: block;
    margin-bottom: 0;
}

.list-panel {
    display: grid;
    gap: 14px;
}

.list-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.list-item span {
    color: var(--blue);
    font-weight: 800;
}

.text-link {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: var(--green-dark);
    font-weight: 800;
}

.text-link::before,
.doi-link::before,
.search-result-link::before {
    content: "⌕";
    color: currentColor;
    font-size: 0.95em;
    line-height: 1;
}

.publication-link {
    display: inline;
}

.publication-link::after {
    content: "⌕";
    display: inline-block;
    margin-left: 7px;
    color: var(--green-dark);
    font-size: 0.85em;
    font-weight: 800;
}

.page-hero {
    padding: 92px 6% 78px;
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(11, 64, 38, 0.94), rgba(21, 128, 61, 0.75)),
        url("../images/soybean-hero.png");
    background-size: cover;
    background-position: center;
}

.page-hero.compact > div {
    max-width: 900px;
}

.page-hero h1 {
    margin: 0;
    font-size: 44px;
    line-height: 1.15;
}

.page-hero p:last-child {
    max-width: 780px;
    margin: 18px 0 0;
    color: #e7f1ec;
    font-size: 18px;
}

.page-hero .eyebrow {
    color: #f1cf74;
}

.members-band {
    padding-top: clamp(24px, 4vw, 48px);
}

.people-list {
    display: grid;
    gap: 18px;
}

.person-row {
    display: grid;
    grid-template-columns: var(--person-avatar-size) minmax(0, 1fr);
    align-items: start;
    gap: clamp(12px, 3vw, 26px);
    padding: clamp(14px, 3vw, 28px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.person-row--teacher {
    --person-avatar-size: clamp(88px, 21vw, 224px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.person-row--teacher .person-avatar {
    aspect-ratio: 4 / 5;
}

.teacher-bio {
    display: grid;
    gap: 0.55em;
}

.people-list + .values-panel {
    margin-top: clamp(24px, 4vw, 42px);
}

.current-group .section-heading {
    margin-bottom: 16px;
}

.current-group-list {
    grid-auto-rows: 1fr;
}

.person-avatar {
    width: var(--person-avatar-size);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--green), var(--gold));
}

.person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-avatar span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    font-size: clamp(25px, 6vw, 40px);
    font-weight: 800;
}

.person-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px 14px;
}

.person-heading h2,
.person-heading h3 {
    margin: 0;
    font-size: clamp(19px, 3.2vw, 25px);
    line-height: 1.2;
}

.person-heading p,
.person-main p {
    margin: 0;
    color: var(--muted);
}

.person-name-line,
.person-secondary-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
}

.person-email {
    font-size: 14px;
}

.person-email a {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.person-heading > span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    color: var(--green-dark);
    background: #edf5ef;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.person-main .person-title {
    color: var(--green-dark);
    font-weight: 700;
}

.person-main {
    display: grid;
    min-width: 0;
    gap: 6px;
    overflow-wrap: anywhere;
}

.site-footer {
    --footer-mark-height: 36px;
    padding-block: 15px;
    color: #fff;
    background: var(--green-deep);
    border-top: 2px solid var(--green);
}

.footer-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px clamp(20px, 4vw, 48px);
    width: min(900px, 88%);
    margin-inline: auto;
    padding-inline: clamp(10px, 2.5vw, 24px);
}

.footer-brand-block {
    display: grid;
    gap: 8px;
}

.footer-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.footer-lab-logo {
    flex: none;
    width: var(--footer-mark-height);
    height: var(--footer-mark-height);
    object-fit: contain;
    background: transparent;
}

.footer-identity-text {
    min-width: 0;
}

.footer-hzau-logo {
    display: block;
    flex: none;
    height: var(--footer-mark-height);
    aspect-ratio: 255 / 58;
    background: currentColor;
    -webkit-mask: url("../images/hzau-logo.png") left center / contain no-repeat;
    mask: url("../images/hzau-logo.png") left center / contain no-repeat;
}

.footer-brand-block strong {
    font-size: clamp(15px, 2.1vw, 19px);
    line-height: 1.25;
}

.site-footer p {
    margin: 1px 0 0;
    font-size: 13px;
    line-height: 1.35;
}

.footer-contact {
    min-width: 0;
    padding-inline-start: 12px;
    border-inline-start: 1px solid rgb(255 255 255 / 32%);
    font-size: 13px;
    line-height: 1.45;
}

.footer-contact h2 {
    margin: 0 0 4px;
    color: #fff2a8;
    font-size: 15px;
    line-height: 1.35;
}

.footer-contact dl {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 2px 8px;
    margin: 0;
}

.footer-contact dt {
    font-weight: 700;
}

.footer-contact dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.footer-contact a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

#news.content-band {
    padding-block: clamp(36px, 5vw, 64px);
}

.news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-list li {
    scroll-margin-top: 190px;
}

.news-list li + li {
    border-top: 1px solid var(--line);
}

.news-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(10px, 2vw, 24px);
    padding-block: clamp(16px, 3.2vw, 30px);
}

.news-row::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.news-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(16px, 2.3vw, 23px);
}

.news-row:hover .news-title,
.news-row:focus-visible .news-title {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.news-row time,
.news-detail time {
    color: var(--green);
    font-size: clamp(13px, 1.8vw, 19px);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.news-detail {
    max-width: 820px;
    margin-inline: auto;
}

.news-detail header {
    margin-block: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.news-detail h1 {
    margin: 0 0 10px;
    font-size: clamp(25px, 4vw, 38px);
    line-height: 1.35;
}

.news-detail-cover {
    max-height: 420px;
    margin: 0 auto 24px;
    object-fit: contain;
}

.news-body {
    font-size: 17px;
    line-height: 1.9;
}

.news-attachments {
    margin-top: 30px;
    padding: 18px 22px;
    background: var(--soft);
    border-radius: 8px;
}

.news-attachments h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.news-attachments ul {
    margin: 0;
    padding-inline-start: 20px;
}

.news-attachments li + li {
    margin-top: 6px;
}

.news-attachments a {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.search-hero {
    background:
        linear-gradient(120deg, rgba(11, 64, 38, 0.94), rgba(21, 128, 61, 0.75)),
        url("../images/soybean-hero.png");
    background-size: cover;
    background-position: center;
}

.search-page {
    display: grid;
    gap: 28px;
}

.search-panel {
    width: min(680px, 100%);
}

.search-results {
    display: grid;
    gap: 14px;
}

.search-result-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.search-result-item span {
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.search-result-item h2 {
    margin: 6px 0 8px;
    font-size: 22px;
    line-height: 1.35;
}

.search-result-item p {
    margin: 0;
    color: var(--muted);
}

.search-result-link {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
}

@media (max-width: 1120px) {
    .site-search {
        width: 240px;
        flex-basis: 240px;
    }

    .brand-lab-row {
        gap: 16px;
    }

    .brand-lab-row strong {
        font-size: 30px;
    }

    .site-nav {
        gap: clamp(10px, 2vw, 24px);
        font-size: 17px;
    }

    .values-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-card .feature-heading {
        font-size: 1.25rem;
    }
}

@media (max-width: 920px) {
    .masthead {
        min-height: auto;
    }

    .brand {
        align-items: flex-start;
    }

    .masthead-inner {
        align-items: center;
    }

    .brand-logo {
        width: 70px;
        height: 70px;
    }

    .university-wordmark {
        width: 218px;
    }

    .brand-lab-row strong {
        font-size: 27px;
    }

    .brand small {
        font-size: 13px;
    }

    .site-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-inline: 16px;
    }

    .site-nav a:first-child {
        margin-inline-start: auto;
    }

    .site-nav a:last-child {
        margin-inline-end: auto;
    }

    .site-search {
        width: 210px;
        flex-basis: 210px;
    }

    .two-column,
    .feature-grid,
    .member-grid,

    .variety-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .home-banner-stage {
        height: clamp(340px, 108vw, 500px);
    }

    .masthead,
    .content-band {
        padding-inline: 22px;
    }

    .brand {
        gap: 14px;
        align-items: flex-start;
    }

    .masthead-inner {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .brand-text {
        gap: 5px;
    }

    .university-wordmark {
        width: 176px;
    }

    .brand-lab-row {
        display: grid;
        gap: 8px;
    }

    .site-search {
        width: min(210px, 100%);
        min-height: 38px;
    }

    .site-search input {
        height: 36px;
    }

    .site-search button {
        height: 36px;
    }

    .brand-logo {
        width: 56px;
        height: 56px;
    }

    .brand-lab-row strong {
        font-size: 22px;
        white-space: normal;
    }

    .site-nav {
        gap: 12px;
        min-height: 44px;
        padding-inline: 12px;
        font-size: 14px;
    }

    .site-nav a {
        min-height: 44px;
    }

    .page-hero h1 {
        font-size: 33px;
    }

    .page-hero p:last-child {
        font-size: 16px;
    }

    .feature-card .feature-heading {
        font-size: clamp(1rem, 5.4vw, 1.25rem);
    }

    .section-heading {
        display: grid;
    }

    .site-footer {
        --footer-mark-height: 26px;
        padding-block: 12px;
    }

    .footer-identity {
        gap: 8px;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-contact {
        padding: 10px 0 0;
        border-inline-start: 0;
        border-top: 1px solid rgb(255 255 255 / 32%);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 27px;
    }

    .list-item {
        grid-template-columns: 1fr;
    }

}
