/* Research Commons · shared frontpage, search, detail, and participation styles. */
:root {
  --forest: #2f5845;
  --forest-deep: #234333;
  --sage: #84a98d;
  --lime: #deed88;
  --ink: #1e352c;
  --secondary: #52645a;
  --line: #dce4dd;
  --mist: #edf3eb;
  --paper: #f7f8f5;
  --white: #fff;
  --content: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
input, select { min-width: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(40px, 5.6vw, 70px); letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 3.3vw, 42px); letter-spacing: -.035em; }
h3 { font-size: 21px; letter-spacing: -.02em; }
p { text-wrap: pretty; }
::selection { color: var(--ink); background: var(--lime); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 5px; }
.hero :focus-visible { outline-color: var(--lime); }
.discovery-card :focus-visible { outline-color: var(--forest); }
.container { width: min(var(--content), calc(100% - 96px)); margin-inline: auto; }
.icon { display: inline-block; width: 22px; height: 22px; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; transform: translateY(-160%); border-radius: 8px; padding: 12px 18px; color: var(--white); background: var(--forest); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(30,53,44,.09); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 650; letter-spacing: -.04em; white-space: nowrap; }
.brand img { width: 46px; height: 36px; object-fit: contain; }
.brand-accent { color: #4f7d5e; font-weight: 500; }
#main-navigation { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
#main-navigation > a:not(.button) { padding-block: 14px; }
#main-navigation > a:not(.button):hover, #main-navigation [aria-current] { color: #426d4c; text-decoration: underline; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.button { display: inline-flex; min-height: 50px; justify-content: center; align-items: center; gap: 20px; padding: 13px 23px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.button:hover { transform: translateY(-1px); }
.button .icon { width: 19px; height: 19px; }
.button-small { min-height: 43px; padding: 10px 18px; gap: 16px; font-size: 13px; }
.button-primary { background: var(--forest); color: var(--white); }
.button-primary:hover { background: var(--forest-deep); }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #edfaa9; }
.button-outline { border-color: #b9c9bc; background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--mist); border-color: var(--sage); }
.inline-link { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); font-size: 14px; font-weight: 600; }
.inline-link:hover { text-decoration: underline; }
.section-label { color: var(--secondary); font-size: 13px; font-weight: 500; line-height: 1.5; margin-bottom: 15px; }
.hero { overflow: hidden; background: var(--forest); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 80px; align-items: center; padding-block: 78px 86px; }
.hero-intro { display: flex; align-items: center; gap: 9px; color: #deeadf; font-size: 12px; line-height: 1.5; margin-bottom: 30px; }
.status-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; flex: 0 0 auto; }
.hero h1 { font-size: clamp(45px, 5.1vw, 66px); line-height: 1.055; letter-spacing: -.045em; }
.hero h1 span { color: var(--lime); }
.hero-description { max-width: 460px; margin-top: 25px; font-size: 17px; line-height: 1.65; color: #e0e9df; }
.hero-actions { display: flex; align-items: center; gap: 27px; flex-wrap: wrap; margin-top: 31px; }
.hero-secondary { font-size: 14px; font-weight: 500; padding-block: 12px; border-bottom: 1px solid #96b59e; }
.hero-secondary:hover { border-color: var(--lime); color: var(--lime); }
.hero-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 38px; color: #d5e3d6; font-size: 12px; }
.hero-note .icon { width: 16px; height: 16px; }
.hero-note:hover { text-decoration: underline; }
.discovery-card { position: relative; padding: 32px; background: var(--white); color: var(--ink); border-radius: 25px; box-shadow: 0 18px 55px rgba(10,32,21,.14); }
.discovery-card .section-label { margin-bottom: 9px; color: #5d7364; font-size: 12px; }
.discovery-card h2 { font-size: 31px; letter-spacing: -.04em; }
.discovery-card > p:not(.section-label) { color: var(--secondary); font-size: 14px; margin-top: 10px; }
.search-form-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; margin-top: 26px; }
.search-form-hero .keyword-field, .search-form-hero .search-submit { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { color: var(--ink); font-size: 12px; font-weight: 600; }
.field input, .field select { width: 100%; height: 48px; background: #f8faf7; color: var(--ink); border: 1px solid #d8e1d8; border-radius: 9px; padding: 10px 12px; font-size: 14px; line-height: 1.4; }
.field input::placeholder { color: #69776e; opacity: 1; }
.field select { padding-right: 30px; }
.field input:focus, .field select:focus { background: var(--white); border-color: var(--forest); }
.input-with-icon { position: relative; }
.input-with-icon > .icon { position: absolute; left: 12px; top: 14px; width: 20px; height: 20px; color: #6f8275; pointer-events: none; }
.input-with-icon input { padding-left: 40px; }
.search-submit { width: 100%; margin-top: 4px; }
.card-footer-link { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 21px; font-size: 12px; color: var(--secondary); }
.card-footer-link .icon { width: 17px; height: 17px; }
.card-footer-link:hover { color: var(--forest); text-decoration: underline; }
.format-section { border-bottom: 1px solid var(--line); background: var(--paper); }
.format-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding-block: 27px; }
.format-grid > a { min-height: 61px; display: flex; align-items: center; gap: 13px; padding: 3px 25px; border-right: 1px solid var(--line); }
.format-grid > a:first-child { padding-left: 0; }
.format-grid > a:last-child { padding-right: 0; border-right: 0; }
.format-grid > a:hover strong { text-decoration: underline; }
.format-symbol { display: inline-flex; align-items: center; justify-content: center; width: 33px; height: 40px; color: var(--forest); flex: 0 0 auto; }
.format-symbol .icon { width: 27px; height: 27px; }
.format-grid strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.format-grid small { display: block; color: var(--secondary); font-size: 11px; line-height: 1.6; margin-top: 3px; }
.format-arrow { width: 16px; height: 16px; margin-left: auto; color: var(--secondary); }
.opportunities-section { padding-block: 86px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 34px; }
.section-heading h2 + p { max-width: 650px; color: var(--secondary); font-size: 15px; line-height: 1.7; margin-top: 17px; }
.section-heading > .inline-link { flex: 0 0 auto; margin-bottom: 5px; }
.empty-state { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 48px 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 17px; }
.empty-mark { display: flex; justify-content: center; align-items: center; width: 68px; height: 68px; flex: 0 0 auto; color: var(--forest); background: #e7eedf; border-radius: 50%; }
.empty-mark .icon { width: 28px; height: 28px; }
.empty-state h3 { font-size: 23px; }
.empty-state p { max-width: 610px; color: var(--secondary); font-size: 14px; line-height: 1.7; margin-top: 11px; }
.empty-state .inline-link { margin-top: 17px; font-size: 13px; }
.opportunity-table { border-collapse: collapse; width: 100%; text-align: left; }
.opportunity-table th { padding: 0 22px 17px 0; border-bottom: 1px solid var(--line); color: var(--secondary); font-size: 12px; font-weight: 500; }
.opportunity-table th:first-child { width: 37%; }
.opportunity-table th:nth-child(2) { width: 16%; }
.opportunity-table th:nth-child(3) { width: 18%; }
.opportunity-table td { padding: 25px 22px 26px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 13px; line-height: 1.65; }
.opportunity-table td, .detail-heading h1 { overflow-wrap: anywhere; }
.opportunity-table th:last-child, .opportunity-table td:last-child { padding-right: 0; width: 36px; }
.opportunity-table tbody tr:hover { background: #fafcf8; }
.topic-line { color: var(--forest); font-size: 11px; margin-bottom: 7px; }
.topic-line:empty { display: none; }
.study-title { display: inline-block; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.study-title:hover { color: var(--forest); text-decoration: underline; }
.project-name { margin-top: 8px; color: var(--secondary); font-size: 12px; }
.organizer { margin-top: 5px; color: var(--secondary); font-size: 11px; }
.format-tag { display: inline-block; padding: 4px 11px; border: 1px solid #dce6d7; border-radius: 999px; background: #f1f6eb; font-size: 11px; color: var(--forest); }
.opportunity-table td > small { display: block; color: var(--forest); margin-top: 6px; font-size: 11px; }
.opportunity-table td[data-label="Eligibility"] { color: var(--secondary); }
.row-action a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 44px; color: var(--forest); }
.catalog-more { text-align: center; margin-top: 30px; }
.how-section { padding-block: 76px 83px; background: var(--paper); border-block: 1px solid var(--line); }
.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 46px; margin-top: 43px; }
.steps-grid article { border-top: 1px solid #c7d4c5; padding-top: 21px; }
.step-number { color: #5e7c60; font-size: 14px; font-variant-numeric: tabular-nums; }
.steps-grid h3 { margin-top: 29px; font-size: 23px; }
.steps-grid p { margin-top: 15px; color: var(--secondary); font-size: 14px; line-height: 1.8; }
.researcher-section { background: var(--mist); }
.researcher-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; padding-block: 85px; }
.researcher-copy h2 { font-size: clamp(30px,3.2vw,41px); }
.researcher-copy > p:not(.section-label) { color: var(--secondary); font-size: 15px; line-height: 1.8; margin-top: 23px; max-width: 470px; }
.researcher-copy .button { margin-top: 30px; }
.posting-checklist h3 { font-size: 20px; margin-bottom: 25px; }
.posting-checklist > div { display: flex; align-items: flex-start; gap: 15px; margin-top: 23px; }
.posting-checklist > div > .icon { color: var(--forest); width: 21px; height: 21px; margin-top: 1px; }
.posting-checklist strong { display: block; font-size: 14px; font-weight: 600; }
.posting-checklist span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--secondary); }
.participation-callout { display: flex; align-items: center; justify-content: space-between; gap: 70px; padding-block: 71px 76px; }
.participation-callout h2 { max-width: 610px; font-size: 31px; }
.participation-callout p:not(.section-label) { max-width: 610px; margin-top: 17px; color: var(--secondary); font-size: 14px; line-height: 1.7; }
.participation-callout .button { flex: 0 0 auto; }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 40px; }
.footer-brand { font-size: 19px; }
.footer-brand img { width: 40px; height: 32px; }
.footer-inner p { font-size: 12px; color: var(--secondary); margin: 11px 0 0 50px; }
.footer-inner nav { display: flex; gap: 27px; font-size: 12px; color: var(--secondary); }
.footer-inner nav a:hover { color: var(--forest); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 21px 25px; color: var(--secondary); font-size: 10px; }
.page-heading { padding-block: 64px 40px; }
.page-heading h1 { font-size: clamp(39px,4.6vw,58px); margin-top: 18px; }
.page-heading > p:not(.section-label) { max-width: 650px; color: var(--secondary); margin-top: 21px; line-height: 1.75; }
.back-link { display: inline-block; color: var(--forest); font-size: 13px; }
.back-link:hover { text-decoration: underline; }
.search-page { padding-bottom: 70px; }
.full-search-panel { border: 1px solid var(--line); background: var(--paper); border-radius: 17px; padding: 28px; }
.search-form-full { display: grid; grid-template-columns: minmax(0,1.6fr) 1fr 1fr auto; gap: 24px 18px; align-items: end; }
.search-form-full > .keyword-field { grid-column: 1 / 3; }
.search-form-full > .search-submit { grid-column: 4; grid-row: 3; width: auto; min-width: 220px; }
.search-form-full > .checkbox-field { grid-column: 1 / 4; grid-row: 3; }
.advanced-filters { grid-column: 1 / -1; padding-top: 19px; border-top: 1px solid var(--line); }
.advanced-filters summary { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 14px; font-weight: 600; list-style: none; padding-block: 5px; }
summary::-webkit-details-marker { display: none; }
.advanced-filters summary > span { font-weight: 400; font-size: 12px; color: var(--secondary); }
.advanced-filters summary > .icon { margin-left: auto; width: 19px; height: 19px; transition: transform .16s ease; }
details[open] > summary > .icon { transform: rotate(45deg); }
.criteria-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px 18px; margin-top: 24px; }
.advanced-filters > p { font-size: 12px; color: var(--secondary); margin-top: 19px; }
.checkbox-field { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.checkbox-field input { width: 18px; height: 18px; accent-color: var(--forest); flex: 0 0 auto; margin: 0; }
.results-heading { display: flex; align-items: center; gap: 18px; margin-block: 45px 27px; }
.results-heading h2 { font-size: 25px; }
.results-heading p, .results-heading a { font-size: 13px; color: var(--secondary); }
.results-heading a { margin-left: auto; text-decoration: underline; }
.results-help { display: flex; justify-content: space-between; align-items: center; gap: 40px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 35px; }
.results-help p { color: var(--secondary); font-size: 13px; max-width: 650px; }
.results-help .inline-link { flex: 0 0 auto; font-size: 13px; }
.results-note { margin-top: 20px; color: var(--secondary); font-size: 13px; }
.detail-page { padding-block: 43px 80px; }
.detail-page > .empty-state { margin-top: 35px; }
.detail-page .empty-state h1 { font-size: 32px; }
.detail-heading { padding-block: 34px 45px; max-width: 880px; }
.detail-heading h1 { font-size: clamp(36px,4.4vw,54px); }
.detail-heading > p:not(.section-label) { color: var(--secondary); margin-top: 15px; font-size: 14px; }
.detail-heading > .detail-project { font-size: 20px !important; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 75px; align-items: start; }
.study-body h2 { font-size: 25px; margin-top: 38px; }
.study-body > h2:first-child { margin-top: 0; }
.study-body .prose, .study-body > p { line-height: 1.85; margin-top: 18px; font-size: 15px; overflow-wrap: anywhere; }
.study-body .muted { color: var(--secondary); font-size: 13px; }
.eligibility-list { margin-top: 22px; }
.eligibility-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.eligibility-list dt { color: var(--secondary); }
.eligibility-list dd { margin: 0; }
.commitment-card { position: sticky; top: 120px; padding: 28px; background: var(--mist); border-radius: 17px; }
.commitment-card h2 { font-size: 24px; }
.commitment-card dl { margin-block: 25px; }
.commitment-card dl > div { border-bottom: 1px solid #d1ddcd; padding-block: 15px; }
.commitment-card dl > div:first-child { padding-top: 0; }
.commitment-card dt { color: var(--secondary); font-size: 12px; }
.commitment-card dd { margin: 5px 0 0; font-size: 14px; }
.commitment-card .button { width: 100%; gap: 10px; }
.researcher-contact { font-size: 12px; text-align: center; margin-top: 19px; overflow-wrap: anywhere; }
.researcher-contact a { text-decoration: underline; }
.closed-notice { color: var(--forest); font-size: 14px; font-weight: 600; }
.detail-privacy { border-top: 1px solid var(--line); padding-top: 27px; margin-top: 38px; }
.detail-privacy h3 { font-size: 20px; }
.detail-privacy p { font-size: 13px; color: var(--secondary); line-height: 1.8; margin-top: 12px; }
.detail-privacy .inline-link { margin-top: 18px; font-size: 13px; }
.guide-page { padding-bottom: 85px; }
.guide-page .page-heading { padding-block: 68px 55px; }
.guide-page .page-heading h1 { margin-top: 0; }
.guide-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 90px; border-top: 1px solid var(--line); padding-top: 40px; }
.guide-intro h2 { font-size: 26px; }
.guide-intro p { font-size: 14px; color: var(--secondary); line-height: 1.8; margin-top: 18px; }
.guide-intro .button { margin-top: 28px; }
.guide-questions details { border-bottom: 1px solid var(--line); }
.guide-questions summary { padding-block: 21px; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; font-size: 17px; font-weight: 500; }
.guide-questions details:first-child summary { padding-top: 0; }
.guide-questions summary > .icon { width: 19px; height: 19px; }
.guide-questions details > p { padding-bottom: 24px; font-size: 14px; color: var(--secondary); line-height: 1.8; }
@media (min-width: 1500px) {
  .hero-inner { padding-block: 94px 102px; }
}
@media (max-width: 1120px) {
  .container { width: calc(100% - 64px); }
  #main-navigation { gap: 21px; font-size: 13px; }
  .brand { font-size: 20px; }
  .hero-inner { gap: 45px; padding-block: 65px; }
  .hero h1 { font-size: clamp(43px,5.5vw,61px); }
  .hero-intro { font-size: 11px; }
  .discovery-card { padding: 26px; }
  .discovery-card h2 { font-size: 28px; }
  .hero-description { font-size: 16px; }
  .hero-actions { gap: 22px; }
  .format-grid > a { padding-inline: 18px; gap: 8px; }
  .format-grid small { font-size: 10px; }
  .format-grid strong { font-size: 13px; }
  .format-arrow { display: none; }
  .researcher-inner { gap: 60px; }
  .participation-callout { gap: 40px; }
  .participation-callout h2 { font-size: 28px; }
  .detail-layout { gap: 40px; grid-template-columns: minmax(0,1fr) 310px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 80px; flex-wrap: wrap; gap: 0; }
  .js .menu-toggle { display: inline-flex; }
  #main-navigation { flex-basis: 100%; padding-block: 0 19px; justify-content: space-between; }
  .js #main-navigation { display: none; }
  .js .menu-toggle[aria-expanded="true"] + #main-navigation { display: flex; }
  .js .menu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .hero-inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; padding-block: 58px; }
  .hero h1 { font-size: clamp(37px,5.25vw,47px); }
  .hero-intro { max-width: 260px; margin-bottom: 22px; }
  .hero-description { margin-top: 22px; font-size: 15px; }
  .hero-actions { gap: 14px 20px; margin-top: 24px; }
  .hero-note { font-size: 11px; margin-top: 25px; }
  .discovery-card { padding: 24px; }
  .discovery-card h2 { font-size: 26px; }
  .search-form-hero { gap: 15px; }
  .search-form-hero .field { grid-column: 1 / -1; }
  .format-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: 13px; }
  .format-grid > a { padding: 17px 25px; }
  .format-grid > a:nth-child(2) { padding-right: 0; border-right: 0; }
  .format-grid > a:nth-child(3) { padding-left: 0; }
  .format-grid > a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .format-grid strong { font-size: 14px; }
  .format-grid small { font-size: 12px; }
  .format-arrow { display: block; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; }
  .opportunities-section { padding-block: 64px; }
  .steps-grid { gap: 28px; }
  .steps-grid h3 { font-size: 21px; }
  .researcher-inner { grid-template-columns: 1fr 1fr; gap: 40px; padding-block: 65px; }
  .researcher-copy h2 { font-size: 32px; }
  .participation-callout { align-items: flex-start; flex-direction: column; gap: 26px; padding-block: 58px; }
  .footer-inner { align-items: flex-start; }
  .footer-inner nav { flex-direction: column; gap: 15px; }
  .search-form-full { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .search-form-full > .keyword-field { grid-column: 1; }
  .search-form-full > .search-submit { grid-column: 3; min-width: 0; }
  .search-form-full > .checkbox-field { grid-column: 1 / 3; }
  .criteria-fields { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .results-help { align-items: flex-start; flex-direction: column; gap: 18px; }
  .detail-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 32px; }
  .commitment-card { padding: 24px; }
  .guide-layout { gap: 40px; grid-template-columns: 1fr 1.5fr; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .hero-inner { grid-template-columns: 1fr; padding-block: 46px 35px; gap: 36px; }
  .hero-intro { max-width: none; font-size: 11px; }
  .hero h1 { font-size: clamp(40px,8.5vw,59px); }
  .hero-description { max-width: 510px; font-size: 16px; }
  .hero-note { margin-top: 24px; font-size: 12px; }
  .discovery-card { padding: 26px; border-radius: 20px; }
  .discovery-card h2 { font-size: 29px; }
  .search-form-hero { gap: 17px 14px; }
  .search-form-hero .field:not(.keyword-field) { grid-column: auto; }
  .field input, .field select { font-size: 16px; }
  .section-label { font-size: 12px; margin-bottom: 13px; }
  .section-heading h2 { font-size: 33px; }
  .section-heading h2 + p { font-size: 14px; }
  .empty-state { align-items: flex-start; justify-content: flex-start; gap: 18px; padding: 29px 24px; }
  .empty-mark { width: 46px; height: 46px; }
  .empty-mark .icon { width: 23px; height: 23px; }
  .empty-state h3 { font-size: 22px; line-height: 1.2; }
  .opportunity-table, .opportunity-table tbody, .opportunity-table tr, .opportunity-table td { display: block; }
  .opportunity-table thead { display: none; }
  .opportunity-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; padding-block: 24px; border-top: 1px solid var(--line); }
  .opportunity-table tr:last-child { border-bottom: 1px solid var(--line); }
  .opportunity-table td { border: 0; padding: 0; font-size: 13px; }
  .opportunity-table td:first-child, .opportunity-table td[data-label="Eligibility"] { grid-column: 1 / -1; }
  .opportunity-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--secondary); font-size: 11px; }
  .opportunity-table .row-action { grid-column: 2; justify-self: end; margin-top: -54px; }
  .opportunity-table .row-action a { height: 44px; }
  .opportunity-table td[data-label="Eligibility"] { padding-right: 50px; }
  .study-title { font-size: 21px; }
  .format-tag { font-size: 12px; }
  .steps-grid { grid-template-columns: 1fr; gap: 31px; margin-top: 33px; }
  .steps-grid article { display: grid; grid-template-columns: 32px 1fr; gap: 0 16px; padding-top: 23px; }
  .step-number { margin-top: 4px; }
  .steps-grid h3 { margin: 0; font-size: 24px; }
  .steps-grid p { grid-column: 2; margin-top: 12px; }
  .how-section { padding-block: 55px 60px; }
  .researcher-inner { grid-template-columns: 1fr; gap: 44px; padding-block: 58px; }
  .researcher-copy h2 { font-size: 35px; }
  .researcher-copy > p:not(.section-label) { font-size: 14px; }
  .posting-checklist { border-top: 1px solid #cbd9c6; padding-top: 28px; }
  .participation-callout h2 { font-size: 31px; }
  .footer-inner { padding-block: 34px; }
  .footer-brand { font-size: 17px; gap: 8px; }
  .footer-brand img { width: 35px; }
  .footer-inner p { margin-left: 0; max-width: 190px; }
  .footer-inner nav { font-size: 11px; gap: 13px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .page-heading { padding-block: 45px 30px; }
  .page-heading h1 { font-size: 40px; }
  .page-heading > p:not(.section-label) { font-size: 14px; }
  .full-search-panel { padding: 23px; }
  .search-form-full { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .search-form-full > .keyword-field { grid-column: 1 / -1; }
  .search-form-full > .search-submit, .search-form-full > .checkbox-field { grid-column: 1 / -1; grid-row: auto; }
  .search-form-full > .checkbox-field { order: 1; }
  .search-form-full > .search-submit { order: 2; }
  .criteria-fields { grid-template-columns: 1fr 1fr; }
  .results-heading { flex-wrap: wrap; gap: 8px 15px; }
  .results-heading h2 { flex-basis: 100%; font-size: 24px; margin-bottom: 5px; }
  .detail-layout { grid-template-columns: 1fr; gap: 35px; }
  .commitment-card { position: static; grid-row: 1; }
  .detail-heading { padding-bottom: 30px; }
  .detail-heading h1 { font-size: 38px; }
  .detail-page .empty-state h1 { font-size: 27px; }
  .guide-layout { grid-template-columns: 1fr; gap: 40px; }
  .guide-page .page-heading { padding-block: 45px 35px; }
  .guide-questions details:first-child { border-top: 1px solid var(--line); }
  .guide-questions details:first-child summary { padding-top: 21px; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 76px; }
  .brand { font-size: 18px; gap: 6px; }
  .brand img { width: 36px; height: 29px; }
  .menu-toggle { font-size: 12px; padding-inline: 10px; }
  .menu-toggle .icon { width: 16px; }
  #main-navigation { align-items: stretch; flex-direction: column; gap: 0; }
  #main-navigation > a:not(.button) { padding-block: 12px; }
  #main-navigation .button { margin-top: 7px; }
  .hero h1 { font-size: clamp(34px,9.8vw,41px); }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 20px; }
  .hero-actions .button { padding-inline: 18px; gap: 12px; }
  .hero-secondary { font-size: 13px; }
  .discovery-card { padding: 23px 21px; }
  .discovery-card h2 { font-size: 28px; }
  .format-grid > a { padding: 17px 0; gap: 6px; border-right: 0; }
  .format-grid > a:nth-child(odd) { padding-right: 10px; }
  .format-grid > a:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .format-symbol { width: 25px; }
  .format-symbol .icon { width: 21px; height: 21px; }
  .format-grid strong { font-size: 12px; }
  .format-grid small { font-size: 10px; }
  .format-arrow { display: none; }
  .empty-state { flex-direction: column; padding: 26px; gap: 19px; }
  .empty-state h3 { font-size: 23px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-inner p { max-width: none; margin-top: 8px; }
  .footer-inner nav { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
  .full-search-panel { padding: 20px; }
  .criteria-fields { grid-template-columns: 1fr; }
  .eligibility-list > div { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 360px) {
  .search-form-hero, .search-form-full { grid-template-columns: 1fr; }
  .search-form-hero .field, .search-form-full > .field { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
