:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --line: #d2d2d7;
  --blue: #06c;
  --blue-dark: #004f9e;
  --surface: #fff;
  --shadow: 0 20px 55px rgba(0, 0, 0, .08);
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); background: var(--ink); color: white; padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 50; top: 0; height: 64px; border-bottom: 1px solid rgba(0, 0, 0, .09); background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(20px); }
.nav-shell { width: min(1180px, calc(100% - 40px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.brand-logo { width: 40px; height: 40px; flex: none; object-fit: contain; border-radius: 11px; }
.wordmark-text { display: block; line-height: 1.2; white-space: nowrap; }
.wordmark-subtitle { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: 0; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: #424245; text-decoration: none; font-size: 12px; }
.site-header nav a:hover { color: var(--blue); }

main:focus { outline: none; }
.loading-view, .message-page { min-height: 70vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 80px 24px; }
.loading-view p { color: var(--muted); }
.loading-mark { width: 26px; height: 26px; border: 2px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.message-page h1 { max-width: 800px; margin: 12px 0 18px; font-size: clamp(44px, 7vw, 88px); line-height: .96; letter-spacing: -.055em; }
.message-page > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 19px; line-height: 1.55; }

.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--blue); color: white; font-weight: 600; text-decoration: none; cursor: pointer; }
.primary-button:hover { background: var(--blue-dark); }
.secondary-button { border: 1px solid var(--line); background: var(--surface); color: var(--blue); }
.text-link, .text-button, .source-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.text-link:hover, .source-link:hover { text-decoration: underline; }

.hero { position: relative; overflow: hidden; min-height: 720px; padding: 112px max(24px, calc((100% - 1180px) / 2)) 70px; background: radial-gradient(circle at 78% 22%, #fff 0, #f7f7f9 20%, transparent 54%), linear-gradient(150deg, #f5f5f7, #e8e9ec); }
.hero::after { content: ""; position: absolute; width: min(56vw, 760px); aspect-ratio: 1; top: -18%; right: -9%; border: 1px solid rgba(0, 102, 204, .12); border-radius: 50%; box-shadow: inset 0 0 0 90px rgba(255,255,255,.2), inset 0 0 0 180px rgba(255,255,255,.15); }
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero h1 { margin: 0 0 34px; font-size: clamp(74px, 11vw, 150px); line-height: .82; letter-spacing: -.078em; font-weight: 700; }
.hero h1 span { color: var(--blue); }
.hero-copy { max-width: 650px; margin: 0 0 34px; color: #424245; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.35; letter-spacing: -.025em; }
.hero-facts { position: relative; z-index: 1; width: min(850px, 100%); margin-top: 88px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(0,0,0,.12); }
.hero-facts div { padding: 24px 28px 4px 0; }
.hero-facts div + div { padding-left: 28px; border-left: 1px solid rgba(0,0,0,.12); }
.hero-facts strong { display: block; font-size: 35px; letter-spacing: -.04em; }
.hero-facts span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }

.directory-section, .ratings-section, .profile-page { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 112px 0 130px; }
.section-intro { max-width: 860px; margin-bottom: 50px; }
.section-intro.narrow { max-width: 720px; }
.section-intro h2, .evidence-intro h2, .cases-heading h2, .quick-heading h2 { margin: 0 0 22px; font-size: clamp(48px, 6.6vw, 86px); line-height: .98; letter-spacing: -.055em; }
.section-intro > p:last-child, .evidence-intro > p:last-child, .cases-heading > p:last-child, .quick-heading > p:last-child { max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.55; }

.filter-panel { position: sticky; z-index: 20; top: 78px; display: grid; grid-template-columns: minmax(245px, 1.7fr) repeat(5, minmax(112px, 1fr)); gap: 10px; align-items: end; padding: 14px; border: 1px solid rgba(0,0,0,.09); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 12px 35px rgba(0,0,0,.06); backdrop-filter: blur(18px); }
.search-field, .select-field { position: relative; }
.filter-panel label:not(.check-field) { position: absolute; z-index: 1; top: 8px; left: 15px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.filter-panel input[type="search"], .filter-panel select { width: 100%; height: 55px; padding: 22px 32px 7px 14px; border: 1px solid transparent; border-radius: 13px; background: var(--soft); color: var(--ink); outline: none; }
.filter-panel input:focus, .filter-panel select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,102,204,.12); }
.check-field { grid-column: 1 / span 2; min-height: 38px; display: flex; align-items: center; gap: 10px; padding: 4px 8px; color: #424245; font-size: 13px; }
.check-field input { width: 18px; height: 18px; accent-color: var(--blue); }
.reset-button { grid-column: -2 / -1; justify-self: end; padding: 8px 12px; border: 0; background: transparent; color: var(--blue); cursor: pointer; }
.results-bar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 13px; }
.results-bar p { margin: 0; }
.results-bar p:first-child { color: var(--ink); font-weight: 600; }

.member-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.member-card { min-width: 0; overflow: hidden; border: 1px solid #e4e4e7; border-radius: var(--radius); background: var(--surface); transition: transform .25s ease, box-shadow .25s ease; }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ethics-badge-group { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.ethics-badge-group-card { min-height: 46px; padding: 10px 12px; border-bottom: 1px solid #e7e7ea; background: #fafafa; }
.ethics-status-badge, .ethics-count-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 6px 10px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.25; text-align: left; text-decoration: none; }
button.ethics-status-badge, button.ethics-count-badge { cursor: pointer; }
.ethics-tone-red { border-color: #f2c4bf; background: #fff0ee; color: #95271e; }
.ethics-tone-amber { border-color: #efd99f; background: #fff7df; color: #765000; }
.ethics-tone-neutral { border-color: #cbdced; background: #eef5fc; color: #315d82; }
.ethics-count-badge { border-color: #dadadd; background: white; color: #515154; }
.ethics-badge-group a:hover { filter: brightness(.97); }
.portrait-link { position: relative; display: block; color: inherit; }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(145deg, #ececf0, #d9dbe1); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 23%; filter: saturate(.9) contrast(1.02); transition: transform .45s ease; }
.member-card:hover .portrait img { transform: scale(1.018); }
.portrait-fallback { display: grid; place-items: center; }
.portrait-fallback span { color: #929298; font-size: clamp(42px, 6vw, 72px); font-weight: 650; letter-spacing: -.06em; }
.evidence-badge, .election-badge { position: absolute; left: 12px; bottom: 12px; padding: 7px 10px; border-radius: 999px; background: rgba(29,29,31,.9); color: white; font-size: 10px; font-weight: 700; letter-spacing: .02em; backdrop-filter: blur(10px); }
.election-badge { left: auto; right: 12px; background: rgba(255,255,255,.9); color: var(--ink); }
.member-card-body { padding: 20px 20px 22px; }
.member-kicker { margin: 0 0 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.member-card h3 { margin: 0 0 7px; font-size: 23px; line-height: 1.1; letter-spacing: -.025em; }
.member-card h3 a { color: var(--ink); text-decoration: none; }
.member-office { min-height: 38px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.card-record { display: grid; gap: 10px; margin: 0 0 20px; padding: 14px 0; border-top: 1px solid #ececef; border-bottom: 1px solid #ececef; }
.card-record > div { display: grid; gap: 3px; }
.card-record dt { color: var(--muted); font-size: 10px; line-height: 1.35; }
.card-record dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.35; }
.card-record dd.unrated { color: var(--muted); font-weight: 500; }
.score-caption { display: block; color: #515154; font-size: 12px; font-weight: 500; line-height: 1.4; }
.member-card .text-link { font-size: 13px; }
.empty-state, .empty-evidence { grid-column: 1 / -1; padding: 70px 30px; border-radius: var(--radius); background: var(--soft); text-align: center; }
.empty-state h3 { margin: 0; font-size: 34px; letter-spacing: -.04em; }
.empty-state > p:not(.eyebrow) { color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 55px; }
.pagination button { min-width: 100px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--blue); cursor: pointer; }
.pagination button:disabled { color: #a1a1a6; cursor: default; }
.pagination span { color: var(--muted); font-size: 13px; }

.ratings-section { width: 100%; max-width: none; padding-inline: max(24px, calc((100% - 1180px) / 2)); background: var(--soft); }
.dimension-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dimension-grid article { min-height: 310px; padding: 30px; border: 1px solid #dedee2; border-radius: var(--radius); background: white; }
.dimension-grid article.wide { grid-column: 1 / -1; min-height: 180px; }
.topic-overview { grid-template-columns: repeat(5, 1fr); }
.topic-overview article { min-height: 340px; padding: 24px; }
.topic-overview article > span { margin-bottom: 38px; }
.topic-overview h3 { font-size: 26px; }
.dimension-grid article > span { display: block; margin-bottom: 55px; color: var(--blue); font-weight: 700; }
.dimension-grid h3 { margin: 0 0 16px; font-size: 30px; letter-spacing: -.04em; }
.dimension-grid p { color: var(--muted); line-height: 1.55; }
.dimension-source { font-size: 12px; }
.method-note { max-width: 780px; margin: 60px 0 0 auto; padding-left: 30px; border-left: 2px solid var(--blue); }
.method-note strong { font-size: 24px; letter-spacing: -.03em; }
.method-note p { color: var(--muted); line-height: 1.6; }

.profile-page { padding-top: 45px; }
.profile-back { margin-bottom: 35px; }
.profile-back a { color: var(--muted); text-decoration: none; }
.profile-hero { display: grid; grid-template-columns: minmax(260px, 390px) 1fr; gap: clamp(45px, 8vw, 110px); align-items: center; padding-bottom: 90px; }
.profile-portrait-shell { min-width: 0; }
.ethics-badge-group-profile { margin-bottom: 13px; }
.profile-portrait { position: relative; overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); }
.profile-portrait .portrait { aspect-ratio: 4 / 5; }
.profile-title h1 { margin: 0 0 20px; font-size: clamp(62px, 8vw, 112px); line-height: .88; letter-spacing: -.07em; }
.profile-title > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 20px; line-height: 1.5; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.profile-badges span { padding: 8px 12px; border-radius: 999px; background: var(--soft); color: #424245; font-size: 11px; }
.profile-tabs { position: sticky; z-index: 18; top: 76px; display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #e1e1e4; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 8px 28px rgba(0,0,0,.06); backdrop-filter: blur(18px); }
.profile-tabs button { padding: 11px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.profile-tabs button[aria-selected="true"] { background: var(--ink); color: white; }
.tab-panel { padding-top: 65px; }
.tab-panel:focus { outline: none; }
.quick-heading { max-width: 780px; margin-bottom: 45px; }
.measure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.measure { min-height: 210px; display: flex; flex-direction: column; padding: 25px; border: 1px solid #e1e1e5; border-radius: var(--radius); }
.measure > p { margin: 0 0 35px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.measure > strong { margin-top: auto; font-size: 31px; line-height: 1; letter-spacing: -.045em; }
.measure > .score-caption { margin-top: auto; margin-bottom: 7px; }
.measure > .score-caption + strong { margin-top: 0; }
.measure > strong.unrated { color: var(--muted); font-size: 25px; }
.measure > span { min-height: 36px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.topic-measure { min-height: 290px; }
.topic-measure > strong { margin-top: 8px; }
.topic-measure > span { min-height: 0; }
.topic-measure > small { margin-top: 14px; padding-top: 14px; border-top: 1px solid #ececef; color: var(--muted); font-size: 11px; line-height: 1.55; }
.quick-case { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-top: 24px; padding: 30px; border-radius: var(--radius); background: #f0f6ff; }
.quick-case h3 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.04em; }
.quick-case p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.55; }
.quick-case .text-button { flex: none; border: 0; background: transparent; cursor: pointer; }
.ethics-quick { margin: 0 0 24px; background: #f6f8fb; }
.ethics-quick + .measure-grid { margin-top: 24px; }
.priority-panel { display: grid; grid-template-columns: 1fr 1.25fr; gap: 45px; margin-top: 70px; padding: clamp(28px, 5vw, 55px); border-radius: 30px; background: var(--soft); }
.priority-panel h2 { margin: 0 0 18px; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.05em; }
.priority-panel > div:first-child > p:last-child { color: var(--muted); line-height: 1.6; }
.priority-controls { display: grid; gap: 20px; }
.priority-controls label > span { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
.priority-controls output { color: var(--blue); }
.priority-controls input { width: 100%; accent-color: var(--blue); }
.priority-controls small { color: var(--muted); }
.priority-result { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 6px 30px; align-items: end; padding-top: 30px; border-top: 1px solid var(--line); }
.priority-result span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.priority-result strong { grid-row: 1 / span 2; grid-column: 2; font-size: 62px; line-height: .9; letter-spacing: -.06em; }
.priority-result p { margin: 0; color: var(--muted); }
.priority-reset { grid-column: 1 / -1; justify-self: start; padding-left: 0; }
.plain-note { max-width: 810px; margin-top: 70px; padding: 30px; border: 1px solid #e1e1e5; border-radius: var(--radius); }
.plain-note strong { font-size: 22px; }
.plain-note p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }

.evidence-intro { max-width: 800px; margin-bottom: 50px; }
.ethics-section { scroll-margin-top: 145px; margin-bottom: 110px; }
.ethics-coverage { max-width: 850px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.ethics-data-warning { max-width: 850px; padding: 14px 16px; border: 1px solid #efd99f; border-radius: 14px; background: #fff9e9; color: #684700; font-size: 13px; line-height: 1.5; }
.ethics-history-count { display: flex; align-items: baseline; gap: 12px; margin: 38px 0 22px; }
.ethics-history-count strong { font-size: 42px; line-height: 1; letter-spacing: -.05em; }
.ethics-history-count span { color: var(--muted); font-size: 12px; }
.ethics-case-list { display: grid; gap: 24px; }
.ethics-case-card { padding: clamp(25px, 4vw, 46px); border: 1px solid #dedee2; border-left-width: 5px; border-radius: 30px; background: white; }
.ethics-case-red { border-left-color: #c54236; }
.ethics-case-amber { border-left-color: #b47b00; }
.ethics-case-neutral { border-left-color: #7398b8; }
.ethics-case-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.ethics-case-heading h3 { max-width: 730px; margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.07; letter-spacing: -.045em; }
.ethics-current-status { flex: none; display: grid; justify-items: end; gap: 8px; }
.ethics-current-status time { color: var(--muted); font-size: 11px; }
.ethics-case-summary { max-width: 820px; margin: 28px 0; color: #424245; font-size: 19px; line-height: 1.55; }
.ethics-case-body { max-width: 860px; padding-top: 4px; }
.ethics-case-body p { color: #515154; line-height: 1.7; }
.ethics-timeline, .ethics-response, .ethics-limits, .ethics-record-sources { max-width: 900px; margin-top: 32px; padding-top: 25px; border-top: 1px solid #e5e5e7; }
.ethics-timeline h4, .ethics-response h4, .ethics-limits h4, .ethics-record-sources h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.ethics-timeline ol { margin: 0; padding: 0; list-style: none; }
.ethics-timeline ol > li { position: relative; padding: 0 0 26px 25px; border-left: 1px solid #d2d2d7; }
.ethics-timeline ol > li:last-child { padding-bottom: 0; }
.ethics-timeline ol > li::before { content: ""; position: absolute; top: 4px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: #717176; }
.ethics-timeline time { color: var(--muted); font-size: 12px; font-weight: 650; }
.ethics-timeline p, .ethics-response > p, .ethics-limits li { color: #515154; line-height: 1.65; }
.ethics-response-status { display: inline-block; margin: 0 0 5px !important; padding: 5px 8px; border-radius: 999px; background: var(--soft); font-size: 11px; font-weight: 700; }
.ethics-limits ul { padding-left: 20px; }
.ethics-source-list { margin: 10px 0 0; }
.ethics-source-list li span { display: block; color: var(--muted); font-size: 11px; }
.grade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grade-detail { display: grid; align-content: start; min-height: 390px; padding: 28px; border: 1px solid #e1e1e5; border-radius: var(--radius); }
.grade-detail h3 { margin: 0; font-size: 26px; letter-spacing: -.035em; }
.grade-value { display: block; margin: 28px 0 16px; font-size: 50px; letter-spacing: -.055em; }
.grade-caption { margin-top: 25px; }
.grade-caption + .grade-value { margin-top: 7px; }
.grade-value.unrated { color: var(--muted); font-size: 28px; }
.grade-detail > p { color: var(--muted); line-height: 1.55; }
.grade-detail dl { margin: auto 0 20px; padding-top: 15px; border-top: 1px solid #e5e5e7; }
.grade-detail dl div { display: flex; justify-content: space-between; gap: 12px; margin: 7px 0; font-size: 12px; }
.grade-detail dt { color: var(--muted); }
.grade-detail dd { margin: 0; text-align: right; }
.score-meaning { padding-top: 14px; border-top: 1px solid #e5e5e7; color: #424245 !important; font-size: 13px; }
.grade-limits { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.grade-limits summary { color: var(--blue); cursor: pointer; font-weight: 600; }
.grade-limits p { line-height: 1.55; }
.constituent-section { max-width: 850px; margin-top: 80px; padding: 40px; border-radius: var(--radius); background: var(--soft); }
.constituent-section h2 { margin: 0 0 14px; font-size: 42px; letter-spacing: -.04em; }
.constituent-section > p:last-child { color: var(--muted); line-height: 1.65; }
.effects-section, .cases-section, .outside-groups { margin-top: 110px; }
.cases-heading { max-width: 780px; margin-bottom: 45px; }
.effect-list, .case-list { display: grid; gap: 24px; }
.effect-card { display: grid; grid-template-columns: .75fr 1.25fr; gap: 35px; padding: clamp(25px, 4vw, 45px); border: 1px solid #dedee2; border-radius: 30px; }
.effect-vote span { display: inline-block; padding: 7px 10px; border-radius: 999px; background: var(--ink); color: white; font-size: 11px; font-weight: 700; }
.effect-vote strong { display: block; margin: 18px 0 8px; font-size: 28px; letter-spacing: -.035em; }
.effect-vote p, .effect-card > div:last-child > p { color: var(--muted); line-height: 1.55; }
.effect-claims { margin: 25px 0; }
.effect-claims div { padding: 18px 0; border-top: 1px solid #e5e5e7; }
.effect-claims dt { margin-bottom: 6px; font-weight: 700; }
.effect-claims dd { margin: 0; color: #515154; line-height: 1.6; }
.case-card { padding: clamp(25px, 4vw, 48px); border: 1px solid #dedee2; border-radius: 30px; }
.case-heading { display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.case-heading h3 { max-width: 760px; margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.05; letter-spacing: -.045em; }
.finding { flex: none; padding: 8px 12px; border-radius: 999px; background: var(--soft); font-size: 11px; font-weight: 700; }
.finding-false, .finding-contradicted { background: #fff1ef; color: #a3261a; }
.finding-matches { background: #edfaef; color: #1c6b2d; }
.case-summary { max-width: 820px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 35px; }
.comparison-grid section { padding: 26px; border-radius: 18px; background: var(--soft); }
.comparison-grid h4, .case-context h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.comparison-grid blockquote { margin: 0 0 18px; font-size: 21px; line-height: 1.45; letter-spacing: -.02em; }
.comparison-grid p { line-height: 1.55; }
.evidence-meta, .review-date { color: var(--muted); font-size: 12px; }
.case-context { max-width: 850px; margin-top: 32px; }
.case-context p, .case-limit { color: #515154; line-height: 1.65; }
.case-card details { margin-top: 28px; }
.case-card summary { color: var(--blue); cursor: pointer; }
.source-list { padding-left: 20px; line-height: 1.8; }
.profile-sources { margin-top: 100px; padding: 35px; border-radius: var(--radius); background: var(--soft); }
.profile-sources h2 { margin-top: 0; font-size: 28px; }
.profile-sources p { color: var(--muted); font-size: 13px; }

.site-footer { min-height: 180px; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; width: min(1180px, calc(100% - 40px)); margin: auto; padding: 45px 0; border-top: 1px solid var(--line); }
.site-footer strong { font-size: 14px; }
.site-footer p { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 25px; }
.footer-links a { color: var(--muted); font-size: 12px; text-decoration: none; }
.noscript { margin: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(0,102,204,.35); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 1050px) {
  .filter-panel { position: relative; top: auto; grid-template-columns: repeat(3, 1fr); }
  .search-field { grid-column: 1 / -1; }
  .member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-hero { grid-template-columns: minmax(240px, 330px) 1fr; gap: 50px; }
  .grade-grid { grid-template-columns: 1fr; }
  .topic-overview { grid-template-columns: repeat(3, 1fr); }
  .grade-detail { min-height: 0; }
}

@media (max-width: 760px) {
  .site-header { height: 58px; }
  .nav-shell { width: min(100% - 28px, 1180px); }
  .site-header nav a:nth-child(2) { display: none; }
  .site-header nav.nav-company a:nth-child(2) { display: block; }
  .site-header nav.nav-company a:nth-child(n+3) { display: none; }
  .site-header .wordmark { font-size: 13px; gap: 8px; }
  .site-header .brand-logo { width: 34px; height: 34px; border-radius: 9px; }
  .nav-shell { gap: 14px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 11px; }
  .hero { min-height: 620px; padding-top: 82px; }
  .hero h1 { font-size: clamp(68px, 22vw, 108px); }
  .hero-copy { font-size: 20px; }
  .hero-facts { margin-top: 65px; }
  .hero-facts div { padding: 18px 12px 4px 0; }
  .hero-facts div + div { padding-left: 12px; }
  .hero-facts strong { font-size: 26px; }
  .hero-facts span { font-size: 10px; }
  .directory-section, .profile-page { width: min(100% - 28px, 1180px); padding-block: 75px 95px; }
  .ratings-section { padding: 80px 14px 95px; }
  .section-intro h2, .evidence-intro h2, .cases-heading h2, .quick-heading h2 { font-size: 48px; }
  .filter-panel { grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .search-field, .check-field { grid-column: 1 / -1; }
  .reset-button { grid-column: 2; }
  .results-bar { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding: 15px 2px; }
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .member-card { border-radius: 18px; }
  .member-card-body { padding: 14px 14px 18px; }
  .member-card h3 { font-size: 19px; }
  .member-office { min-height: 51px; font-size: 11px; }
  .evidence-badge, .election-badge { max-width: calc(100% - 24px); overflow: hidden; padding: 6px 8px; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  .evidence-badge + .election-badge { bottom: 39px; left: 12px; right: auto; }
  .dimension-grid, .measure-grid { grid-template-columns: 1fr; }
  .topic-overview { grid-template-columns: 1fr; }
  .dimension-grid article { min-height: 260px; }
  .measure { min-height: 180px; }
  .profile-hero { grid-template-columns: 1fr; gap: 35px; padding-bottom: 60px; }
  .profile-portrait { max-width: 420px; }
  .profile-portrait-shell { max-width: 420px; }
  .profile-title h1 { font-size: 64px; }
  .profile-tabs { top: 68px; }
  .priority-panel, .comparison-grid, .effect-card { grid-template-columns: 1fr; gap: 25px; }
  .quick-case { align-items: start; flex-direction: column; }
  .priority-result { grid-template-columns: 1fr; }
  .priority-result strong { grid-row: auto; grid-column: auto; }
  .case-heading { flex-direction: column; }
  .ethics-case-heading { flex-direction: column; }
  .ethics-current-status { justify-items: start; }
  .ethics-badge-group-card { align-content: center; min-height: 44px; padding: 8px; }
  .ethics-status-badge, .ethics-count-badge { min-height: 32px; padding: 6px 8px; font-size: 12px; }
  .site-footer { flex-direction: column; min-height: 0; }
}

@media (max-width: 430px) {
  .site-header nav a { font-size: 10px; }
  .site-header nav { gap: 11px; }
  .filter-panel { grid-template-columns: 1fr; }
  .search-field, .check-field, .reset-button { grid-column: 1; }
  .reset-button { justify-self: start; }
  .member-card-body { padding: 12px; }
  .member-card h3 { font-size: 17px; }
  .member-kicker { font-size: 8px; }
  .member-office { min-height: 48px; font-size: 10px; }
  .member-card .text-link { font-size: 10px; }
  .profile-tabs { width: 100%; }
  .profile-tabs button { flex: 1; padding-inline: 10px; }
}
