:root {
  --navy-950: #041126;
  --navy-900: #071b35;
  --navy-800: #0b294f;
  --navy-700: #153d6d;
  --paper: #f7f2e8;
  --paper-deep: #eee4d2;
  --white: #fffdf8;
  --ink: #101828;
  --muted: #586173;
  --red: #b21e2b;
  --red-dark: #83141e;
  --gold: #c69a45;
  --gold-light: #e2c27c;
  --line: #d9d0c0;
  --success: #1f6a4b;
  --shadow-sm: 0 12px 30px rgba(4, 17, 38, .08);
  --shadow-lg: 0 28px 70px rgba(4, 17, 38, .2);
  --shell: min(1180px, calc(100% - 40px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: light; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; }
h1, h2 { font-family: var(--serif); letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(3.2rem, 7.2vw, 6.8rem); font-weight: 500; }
h2 { margin-bottom: 18px; font-size: clamp(2.1rem, 4vw, 4rem); font-weight: 500; }
h3 { margin-bottom: 12px; font-size: 1.32rem; }

.shell { width: var(--shell); margin-inline: auto; }
.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: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--gold-light);
  border-radius: 4px;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

.topline {
  padding: 7px 20px;
  color: rgba(255, 255, 255, .82);
  background: var(--navy-950);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-align: center;
  text-transform: uppercase;
}
.topline span { padding-inline: 12px; color: var(--gold); }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  color: white;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand__mark { width: 58px; height: 58px; object-fit: cover; border: 1px solid rgba(226, 194, 124, .5); box-shadow: 0 8px 18px rgba(0, 0, 0, .24); }
.brand__text { display: grid; gap: 1px; line-height: 1; }
.brand__text strong { color: var(--gold-light); font-family: var(--serif); font-size: 1.65rem; font-weight: 500; letter-spacing: .08em; }
.brand__text small { max-width: 190px; color: rgba(255, 255, 255, .82); font-size: .7rem; font-weight: 750; letter-spacing: .12em; line-height: 1.25; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 7px; }
.site-nav a {
  position: relative;
  padding: 12px 15px;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}
.site-nav a::after { content: ""; position: absolute; right: 15px; bottom: 6px; left: 15px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: white; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 48px; height: 44px; padding: 11px; color: white; background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: 3px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: currentColor; }

.eyebrow { margin-bottom: 16px; color: var(--red); font-size: .72rem; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .65fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  min-height: 710px;
  padding-block: clamp(76px, 9vw, 132px);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  right: calc((100vw - min(1180px, calc(100vw - 40px))) / -2);
  bottom: 0;
  left: calc((100vw - min(1180px, calc(100vw - 40px))) / -2);
  background:
    linear-gradient(110deg, rgba(247, 242, 232, .96) 0 55%, rgba(247, 242, 232, .72) 76%, rgba(247, 242, 232, .94) 100%),
    repeating-linear-gradient(135deg, transparent 0 34px, rgba(7, 27, 53, .045) 34px 35px);
  border-bottom: 1px solid var(--line);
}
.hero::after { content: "TEXAS"; position: absolute; z-index: -1; right: -4vw; bottom: 8px; color: rgba(7, 27, 53, .035); font-family: var(--serif); font-size: clamp(7rem, 18vw, 16rem); line-height: .72; letter-spacing: -.06em; pointer-events: none; }
.hero__lede { max-width: 760px; margin-bottom: 34px; color: #384254; font-family: var(--serif); font-size: clamp(1.2rem, 2.1vw, 1.7rem); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.my-texas-home { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 60px); align-items: center; margin-block: clamp(48px, 7vw, 86px); padding: clamp(30px, 5vw, 50px); color: white; background: var(--navy-900); border-left: 6px solid var(--gold); box-shadow: var(--shadow-lg); }
.my-texas-home .eyebrow { color: var(--gold-light); }
.my-texas-home h2 { margin-bottom: 12px; color: white; font-size: clamp(2rem, 4vw, 3.5rem); }
.my-texas-home p:last-child { max-width: 760px; margin-bottom: 0; color: rgba(255, 255, 255, .76); line-height: 1.7; }
.my-texas-home .button { justify-self: end; white-space: nowrap; }


.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 2px; font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: white; background: var(--red); box-shadow: 0 12px 24px rgba(178, 30, 43, .22); }
.button--primary:hover { background: var(--red-dark); box-shadow: 0 16px 34px rgba(178, 30, 43, .3); }
.button--ghost { color: var(--navy-900); border-color: rgba(7, 27, 53, .3); background: rgba(255, 255, 255, .35); }
.button--ghost:hover { background: white; }
.button--dark { color: white; background: var(--navy-900); }
.button--dark:hover { background: var(--navy-700); }

.hero__seal { position: relative; padding: 16px; background: var(--navy-950); border: 1px solid rgba(198, 154, 69, .7); box-shadow: var(--shadow-lg); }
.hero__seal::before, .hero__seal::after { content: ""; position: absolute; width: 52px; height: 52px; border-color: var(--gold); }
.hero__seal::before { top: -8px; left: -8px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hero__seal::after { right: -8px; bottom: -8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.hero__seal img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.hero__seal-copy { display: grid; gap: 4px; padding: 16px 4px 4px; color: white; text-align: center; }
.hero__seal-copy strong { color: var(--gold-light); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.hero__seal-copy span { color: rgba(255, 255, 255, .68); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.principles { color: white; background: var(--navy-900); }
.principles__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.principles article { position: relative; padding: 48px 42px 42px; border-left: 1px solid rgba(255, 255, 255, .12); }
.principles article:last-child { border-right: 1px solid rgba(255, 255, 255, .12); }
.principles__number { display: block; margin-bottom: 28px; color: var(--gold); font-family: var(--serif); font-size: 1.15rem; }
.principles h2 { margin-bottom: 12px; font-family: var(--sans); font-size: 1.18rem; font-weight: 750; letter-spacing: -.01em; }
.principles p { margin-bottom: 0; color: rgba(255, 255, 255, .68); font-size: .91rem; }

.section { padding-block: clamp(78px, 9vw, 126px); }
.section--paper { width: 100%; background: var(--paper); border-block: 1px solid var(--line); }
.section-heading { display: flex; gap: 30px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 0; }
.section-intro { max-width: 700px; margin-bottom: 30px; color: var(--muted); font-size: 1.04rem; }
.text-link { flex: none; padding-bottom: 4px; color: var(--navy-800); border-bottom: 1px solid var(--gold); font-size: .78rem; font-weight: 850; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.text-link--light { color: var(--gold-light); }

.data-status { margin: 26px 0; padding: 14px 18px; color: var(--muted); background: var(--paper); border-left: 3px solid var(--gold); font-size: .9rem; }
.data-status[data-state="ready"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.data-status[data-state="empty"] { padding: 40px; color: var(--navy-800); background: white; border: 1px solid var(--line); border-left: 4px solid var(--gold); font-family: var(--serif); font-size: 1.25rem; }
.data-status[data-state="error"] { color: var(--red-dark); border-left-color: var(--red); }

.directory-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 38px; background: rgba(4, 17, 38, .34); border: 1px solid rgba(226, 194, 124, .52); }
.directory-totals div { min-width: 0; padding: 22px 16px; border-right: 1px solid rgba(226, 194, 124, .26); text-align: center; }
.directory-totals div:last-child { border-right: 0; }
.directory-totals strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; line-height: 1; }
.directory-totals span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .64); font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

.directory-controls { display: grid; grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(160px, .55fr)) auto; gap: 12px; align-items: end; margin: 32px 0 18px; }
.directory-field { display: grid; gap: 7px; min-width: 0; }
.directory-field > span { color: var(--navy-800); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.directory-field input, .directory-field select { width: 100%; min-height: 50px; padding: 11px 14px; color: var(--navy-900); background: white; border: 1px solid #cbd3dc; border-radius: 0; font: inherit; }
.directory-field input:focus, .directory-field select:focus { outline: 3px solid rgba(198, 154, 69, .3); outline-offset: 1px; border-color: var(--gold); }
.directory-reset { min-height: 50px; padding: 11px 17px; color: var(--navy-800); background: var(--paper); border: 1px solid var(--line); cursor: pointer; font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.directory-reset:hover { color: white; background: var(--navy-800); border-color: var(--navy-800); }
.official-directory { display: grid; gap: 14px; }
.directory-card { position: relative; display: grid; gap: 18px; min-width: 0; padding: 25px 28px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.directory-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--navy-700); }
.directory-card[data-rating="provisional"]::before { background: var(--gold); }
.directory-card[data-rating="not-rated"] { background: #fbfaf7; box-shadow: none; }
.directory-card[data-rating="not-rated"]::before { background: #aab2bb; }
.directory-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(4, 17, 38, .1); }
.directory-card__top, .directory-card__footer { display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.directory-card__party { color: var(--muted); font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.directory-card__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, .28fr); gap: 28px; align-items: center; }
.directory-card__chamber { color: var(--red-dark); font-size: .66rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.directory-card__name { margin: 5px 0 4px; color: var(--navy-900); font-family: var(--serif); font-size: clamp(1.45rem, 2.7vw, 2rem); font-weight: 500; }
.directory-card__office { margin: 0; color: var(--muted); font-size: .81rem; }
.directory-card__score { justify-self: stretch; padding-left: 24px; border-left: 1px solid var(--line); text-align: right; }
.directory-card__score > span { display: block; color: var(--muted); font-size: .61rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.directory-card__score strong { display: block; margin: 3px 0; color: var(--navy-900); font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1; }
.directory-card__score small { color: var(--muted); font-size: .62rem; font-weight: 750; text-transform: uppercase; }
.directory-card__score[data-state="not-rated"] strong { margin-block: 8px 5px; font-family: var(--sans); font-size: .82rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.directory-card__footer { padding-top: 17px; border-top: 1px solid var(--line); }
.directory-card__actions { color: var(--muted); font-size: .72rem; }
.directory-card__link { display: inline-flex; gap: 7px; }

.scorecard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scorecard { position: relative; min-width: 0; padding: 26px; overflow: hidden; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.scorecard::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 46%, var(--paper) 46% 54%, var(--navy-800) 54%); }
.scorecard:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(4, 17, 38, .12); }
.scorecard__top { display: flex; gap: 12px; align-items: center; justify-content: space-between; min-height: 28px; margin: 5px 0 22px; }
.badge { display: inline-flex; padding: 5px 8px; color: var(--red-dark); background: #fae9e7; border: 1px solid #edc0bb; border-radius: 2px; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.scorecard__party { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.scorecard__name { margin-bottom: 7px; color: var(--navy-900); font-family: var(--serif); font-size: 1.62rem; font-weight: 500; }
.scorecard__office { min-height: 46px; margin-bottom: 28px; color: var(--muted); font-size: .83rem; }
.scorecard__measure { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 10px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.scorecard__score { color: var(--navy-900); font-family: var(--serif); font-size: 3.4rem; font-weight: 500; line-height: 1; }
.scorecard__measure > span { color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; }
.scorecard__measure .scorecard__measure-label, .scorecard__measure .scorecard__record-score { grid-column: 1 / -1; }
.scorecard__measure .scorecard__record-score { text-transform: none; }
meter { width: 100%; height: 10px; grid-column: 1 / -1; border: 0; background: var(--paper-deep); }
meter::-webkit-meter-bar { background: var(--paper-deep); border: 0; border-radius: 0; }
meter::-webkit-meter-optimum-value, meter::-moz-meter-bar { background: linear-gradient(90deg, var(--red), var(--gold), var(--navy-700)); }
.scorecard__meta { display: flex; justify-content: space-between; gap: 10px; padding-block: 16px; color: var(--muted); font-size: .68rem; }
details { border-top: 1px solid var(--line); }
summary { padding: 14px 0 2px; color: var(--navy-800); cursor: pointer; font-size: .71rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.scorecard__categories { display: grid; gap: 12px; padding-top: 18px; }
.category-row { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center; }
.category-row span { color: var(--muted); font-size: .72rem; }
.category-row strong { color: var(--navy-800); font-size: .74rem; }
.category-row meter { height: 7px; }
.category-empty { margin: 0; color: var(--muted); font-size: .78rem; }
.scorecard__link { display: inline-flex; gap: 7px; margin-top: 22px; }

.official-hero { position: relative; padding-block: clamp(34px, 5vw, 64px); overflow: hidden; color: white; background: var(--navy-900); }
.official-hero::after { content: "PUBLIC RECORD"; position: absolute; right: -2vw; bottom: -20px; color: rgba(255, 255, 255, .025); font-family: var(--serif); font-size: clamp(5rem, 13vw, 11rem); line-height: 1; pointer-events: none; }
.official-hero .shell { position: relative; z-index: 1; }
.official-back { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 25px; color: var(--gold-light); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.official-status { color: var(--navy-900); }
.official-summary { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: clamp(34px, 5vw, 72px); align-items: start; }
.official-summary__identity { min-width: 0; padding-top: 18px; }
.official-summary__labels { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; color: rgba(255, 255, 255, .76); font-size: .72rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.official-summary .eyebrow { margin-bottom: 12px; color: var(--gold-light); }
.official-summary h1 { margin-bottom: 14px; font-size: clamp(3.1rem, 5vw, 5.35rem); overflow-wrap: anywhere; }
.official-summary__office { margin-bottom: 20px; color: rgba(255, 255, 255, .72); font-family: var(--serif); font-size: 1.18rem; }
.official-summary__source { display: inline-flex; color: var(--gold-light); }
.official-evaluation { min-width: 0; padding: clamp(26px, 3.2vw, 40px); overflow: hidden; border: 1px solid rgba(226, 194, 124, .78); background: linear-gradient(145deg, rgba(4, 17, 38, .56), rgba(11, 41, 79, .3)); box-shadow: 0 24px 60px rgba(0, 0, 0, .16); }
.official-evaluation__result { display: grid; grid-template-columns: minmax(150px, .72fr) minmax(0, 1.28fr); gap: clamp(24px, 3vw, 42px); align-items: center; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.official-grade { min-width: 0; padding-right: clamp(20px, 3vw, 38px); border-right: 1px solid rgba(255, 255, 255, .22); }
.official-grade strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: clamp(5.2rem, 9vw, 8rem); font-weight: 500; line-height: .78; }
.official-grade span { display: block; margin-top: 20px; color: white; font-size: clamp(.72rem, 1.15vw, .94rem); font-weight: 850; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; }
.official-score { min-width: 0; }
.official-score > span { display: block; margin-bottom: 11px; color: rgba(255, 255, 255, .72); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.official-score__reading { display: flex; min-width: 0; gap: 15px; align-items: flex-end; }
.official-score strong { min-width: 0; color: var(--gold-light); font-family: var(--serif); font-size: clamp(4.5rem, 8vw, 7rem); font-weight: 500; letter-spacing: -.045em; line-height: .82; }
.official-score small { max-width: 54px; padding-bottom: 5px; color: rgba(255, 255, 255, .7); font-size: .68rem; font-weight: 800; letter-spacing: .06em; line-height: 1.45; text-transform: uppercase; }
.official-score meter { width: 100%; height: 9px; margin-top: 24px; accent-color: var(--gold-light); }
.official-evaluation__result[data-state="not-rated"] { display: block; }
.official-score[data-state="not-rated"] strong { display: block; margin: 8px 0 12px; font-family: var(--sans); font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 900; letter-spacing: .04em; line-height: 1.15; text-transform: uppercase; }
.official-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.official-facts div { min-width: 0; padding: 16px 6px; }
.official-facts div:nth-child(even) { padding-left: clamp(18px, 3vw, 38px); border-left: 1px solid rgba(255, 255, 255, .16); }
.official-facts dt { margin-bottom: 5px; color: rgba(255, 255, 255, .64); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.official-facts dd { margin: 0; color: white; font-size: 1.02rem; font-weight: 800; overflow-wrap: anywhere; }
.official-evaluation__cta { width: 100%; margin-top: 18px; color: var(--gold-light); border-color: var(--gold-light); background: transparent; }
.official-evaluation__cta:hover { color: var(--navy-950); background: var(--gold-light); }
.official-record { padding-bottom: clamp(84px, 10vw, 138px); }
.official-notice { margin-bottom: clamp(70px, 8vw, 110px); }
.profile-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.profile-category { padding: 24px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.profile-category > div { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; }
.profile-category h3 { margin: 0; color: var(--navy-900); font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.profile-category strong { color: var(--navy-800); font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.profile-category meter { margin-top: 18px; }
.profile-category p { margin: 12px 0 0; color: var(--muted); font-size: .74rem; }
.profile-category[data-state="unrepresented"] { background: var(--paper); box-shadow: none; }
.profile-category[data-state="unrepresented"] strong { color: var(--muted); font-family: var(--sans); font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.profile-category--leadership { grid-column: 1 / -1; border-color: rgba(180, 134, 45, .42); background: linear-gradient(135deg, #fff 0%, #fbf6e9 100%); }
.profile-category--leadership h3::before { content: "Board review"; display: block; margin-bottom: 8px; color: var(--gold-dark); font-family: var(--sans); font-size: .61rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.profile-category--leadership[data-state="not-evaluated"] { background: var(--paper); box-shadow: none; }
.profile-category--leadership[data-state="not-evaluated"] strong { color: var(--muted); font-family: var(--sans); font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.profile-movement-section { margin-top: clamp(82px, 9vw, 124px); }
.movement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.movement-card { padding: 26px; background: var(--paper); border-top: 4px solid var(--gold); }
.movement-card[data-direction="up"] { border-top-color: var(--success); }
.movement-card[data-direction="down"] { border-top-color: var(--red); }
.movement-card span { color: var(--muted); font-size: .67rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.movement-card strong { display: block; margin: 12px 0 7px; color: var(--navy-900); font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.movement-card p { margin: 0; color: var(--muted); font-size: .78rem; }
.action-ledger { display: grid; gap: 22px; margin-top: 40px; }
.action-ledger__empty { padding: 38px; color: var(--navy-800); background: white; border-left: 4px solid var(--gold); font-family: var(--serif); font-size: 1.2rem; }
.action-card { position: relative; padding: clamp(28px, 4vw, 44px); background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.action-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 5px; background: var(--gold); }
.action-card[data-alignment="aligned"]::before { background: var(--success); }
.action-card[data-alignment="opposed"]::before { background: var(--red); }
.action-card__header { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.action-card__header > div { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.action-card__date, .action-card__bill, .action-card__alignment { font-size: .65rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.action-card__date { color: var(--muted); }
.action-card__bill { color: var(--red); }
.action-card__alignment { padding: 5px 8px; color: var(--navy-800); background: var(--paper); border: 1px solid var(--line); }
.action-card__title { max-width: 920px; color: var(--navy-900); font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.3rem); font-weight: 500; }
.action-card__summary { max-width: 940px; color: var(--muted); }
.action-card__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 30px 0 0; background: var(--line); border: 1px solid var(--line); }
.action-card__facts div { min-width: 0; padding: 18px; background: var(--white); }
.action-card__facts dt { margin-bottom: 7px; color: var(--muted); font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.action-card__facts dd { margin: 0; color: var(--navy-900); font-size: .79rem; font-weight: 800; overflow-wrap: anywhere; }
.action-card__reasoning { margin-top: 28px; padding: 24px; background: var(--paper); border-left: 3px solid var(--gold); }
.action-card__reasoning > strong, .action-card__evidence > strong { color: var(--navy-800); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.action-card__explanation { margin: 12px 0 0; color: #384254; }
.action-card__anchor { margin: 14px 0 0; color: var(--red-dark); font-size: .76rem; font-weight: 750; }
.action-card__evidence { margin-top: 24px; }
.action-card__evidence ul { display: grid; gap: 10px; margin: 13px 0 0; padding: 0; list-style: none; }
.action-card__evidence li { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 12px 14px; background: #f5f8fb; border: 1px solid #dce4ec; }
.action-card__evidence a { color: var(--navy-700); font-size: .82rem; font-weight: 800; }
.action-card__evidence li > span { color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.report-card { position: relative; padding: 34px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.report-card::after { content: ""; position: absolute; top: 0; right: 0; width: 62px; height: 4px; background: var(--red); }
.report-card__meta { display: flex; gap: 20px; justify-content: space-between; margin-bottom: 26px; color: var(--red); font-size: .65rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.report-card__date { color: var(--muted); }
.report-card__headline { color: var(--navy-900); font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 500; }
.report-card__excerpt { color: var(--muted); }
.report-card__identity { margin: 18px 0; color: var(--navy-700); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.report-card details { margin-top: 22px; }
.report-card__body { padding-top: 18px; color: #323c4e; }
.report-card__disclosure { margin: 18px 0 0; padding: 14px 16px; color: var(--navy-700); background: #f1eadc; border-left: 4px solid var(--gold); font-size: .76rem; font-weight: 700; line-height: 1.6; }
.report-card__sources { margin-top: 24px; padding: 18px; background: var(--paper); }
.report-card__sources strong { color: var(--navy-800); font-size: .76rem; text-transform: uppercase; }
.report-card__sources ul { margin: 10px 0 0; padding-left: 20px; }
.report-card__sources a { color: var(--navy-700); }

.standards-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; margin-block: clamp(64px, 8vw, 110px); padding: clamp(38px, 6vw, 68px); color: var(--navy-900); background: var(--paper); border: 1px solid var(--line); border-left: 7px solid var(--red); }
.standards-cta h2 { max-width: 870px; margin-bottom: 0; font-size: clamp(1.8rem, 3.5vw, 3.15rem); }
.standards-cta p:not(.eyebrow) { max-width: 780px; margin: 20px 0 0; color: var(--muted); }

.page-hero { position: relative; overflow: hidden; color: white; background: var(--navy-900); }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 84% 20%, rgba(198, 154, 69, .18), transparent 27%), repeating-linear-gradient(135deg, transparent 0 40px, rgba(255, 255, 255, .018) 40px 41px); }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .55fr); gap: clamp(42px, 8vw, 110px); align-items: center; min-height: 480px; padding-block: clamp(72px, 9vw, 120px); }
.page-hero h1 { margin-bottom: 20px; font-size: clamp(3.2rem, 7vw, 6rem); }
.page-hero p:not(.eyebrow) { max-width: 750px; margin-bottom: 0; color: rgba(255, 255, 255, .72); font-family: var(--serif); font-size: 1.25rem; }
.page-hero .eyebrow { color: var(--gold-light); }

.score-key { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 34px; border: 1px solid rgba(226, 194, 124, .5); }
.score-key > span { color: var(--gold-light); font-family: var(--serif); font-size: 1.4rem; }
.score-key > div { height: 6px; background: linear-gradient(90deg, var(--red), var(--gold), #5fa47e); }
.score-key small { grid-column: 1 / -1; color: rgba(255, 255, 255, .68); font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.editorial-stamp { justify-self: end; padding: 27px 22px; color: var(--gold-light); border: 3px double var(--gold); transform: rotate(-4deg); text-align: center; }
.editorial-stamp strong, .editorial-stamp span { display: block; }
.editorial-stamp strong { font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: .08em; }
.editorial-stamp span { font-size: .62rem; font-weight: 850; letter-spacing: .14em; }
.about-mark { justify-self: end; width: min(320px, 100%); border: 1px solid rgba(226, 194, 124, .55); box-shadow: var(--shadow-lg); }

.notice { display: grid; grid-template-columns: minmax(180px, .4fr) 1.4fr; gap: 34px; margin-bottom: 78px; padding: 28px 32px; color: var(--navy-900); background: var(--paper); border-left: 5px solid var(--gold); }
.notice strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.notice p { margin-bottom: 0; color: var(--muted); }

.methodology-band { color: white; background: var(--navy-950); }
.methodology-band__grid { display: grid; grid-template-columns: .72fr 1.35fr auto; gap: 48px; align-items: center; padding-block: 58px; }
.methodology-band h2 { margin: 0; color: var(--gold-light); font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.methodology-band p { margin: 0; color: rgba(255, 255, 255, .66); }

.about-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); }
.about-intro h2 { max-width: 520px; }
.about-intro > div:last-child { padding-top: 30px; color: var(--muted); font-family: var(--serif); font-size: 1.18rem; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.promise-grid article { padding: 32px 27px; background: var(--white); }
.promise-grid span { color: var(--red); font-family: var(--serif); font-size: 1rem; }
.promise-grid h3 { margin-top: 26px; color: var(--navy-900); font-family: var(--serif); font-size: 1.42rem; font-weight: 500; }
.promise-grid p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.boundary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.boundary-grid article { padding: clamp(34px, 5vw, 56px); background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.boundary-grid__private { color: white; background: var(--navy-900) !important; border-color: var(--navy-900) !important; }
.boundary-grid__private .eyebrow { color: var(--gold-light); }
.check-list { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }

.questionnaire-hero { position: relative; overflow: hidden; color: white; background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); }
.questionnaire-hero::after { content: "CANDIDATE RECORD"; position: absolute; right: -1vw; bottom: -24px; color: rgba(255, 255, 255, .025); font-family: var(--serif); font-size: clamp(4rem, 11vw, 10rem); line-height: 1; white-space: nowrap; }
.questionnaire-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .45fr); gap: clamp(40px, 8vw, 110px); align-items: center; padding-block: clamp(62px, 9vw, 118px); }
.questionnaire-hero h1 { max-width: 850px; margin: 12px 0 22px; font-size: clamp(3.2rem, 7vw, 6.8rem); }
.questionnaire-hero p:not(.eyebrow) { max-width: 740px; color: rgba(255, 255, 255, .72); font-size: 1.06rem; line-height: 1.75; }
.questionnaire-hero__grid aside { display: grid; justify-items: center; padding: 34px 24px; border: 1px solid rgba(226, 194, 124, .55); background: rgba(4, 17, 38, .42); text-align: center; }
.questionnaire-hero__grid aside strong { color: var(--gold-light); font-family: var(--serif); font-size: 6rem; font-weight: 500; line-height: .9; }
.questionnaire-hero__grid aside span { margin-top: 13px; font-size: .72rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.questionnaire-hero__grid aside small { margin-top: 20px; padding-top: 18px; width: 100%; color: rgba(255, 255, 255, .62); border-top: 1px solid rgba(255, 255, 255, .14); }
.questionnaire-intro { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); gap: clamp(38px, 7vw, 100px); padding-block: clamp(58px, 8vw, 100px); }
.questionnaire-intro h2 { max-width: 480px; color: var(--navy-900); font-size: clamp(2.2rem, 5vw, 4.2rem); }
.questionnaire-intro p { margin: 0 0 16px; color: #435166; line-height: 1.8; }
.questionnaire-intro strong { color: var(--navy-900); }
.candidate-form { padding-bottom: clamp(80px, 10vw, 140px); }
.candidate-form__panel, .candidate-form__questions { margin-bottom: 34px; padding: clamp(26px, 5vw, 58px); background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.candidate-form__heading { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 34px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.candidate-form__heading > span { display: grid; width: 46px; height: 46px; place-items: center; color: white; background: var(--navy-900); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.candidate-form__heading h2 { color: var(--navy-900); font-size: clamp(1.8rem, 4vw, 3rem); }
.candidate-path { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 30px; padding: 0; border: 0; }
.candidate-path legend { grid-column: 1 / -1; margin-bottom: 10px; color: var(--navy-800); font-size: .72rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.candidate-path label { position: relative; display: grid; gap: 6px; padding: 20px 22px 20px 54px; background: var(--paper); border: 1px solid var(--line); cursor: pointer; }
.candidate-path label:has(input:checked) { border-color: var(--gold); box-shadow: inset 4px 0 var(--gold); }
.candidate-path input { position: absolute; top: 22px; left: 22px; width: 18px; height: 18px; accent-color: var(--navy-800); }
.candidate-path strong { color: var(--navy-900); font-size: .9rem; }
.candidate-path label span { color: #637084; font-size: .78rem; }
.candidate-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.candidate-fields label { display: grid; gap: 8px; }
.candidate-fields label > span { color: var(--navy-800); font-size: .68rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.candidate-fields input { width: 100%; min-height: 52px; padding: 12px 14px; color: var(--navy-900); background: white; border: 1px solid #cbd3dc; border-radius: 0; font: inherit; }
.candidate-fields input:focus, .candidate-path input:focus-visible, .answer-option input:focus-visible + strong { outline: 3px solid rgba(198, 154, 69, .35); outline-offset: 2px; }
.candidate-fields__wide { grid-column: 1 / -1; }
.questionnaire-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.scale-key { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 18px; background: var(--navy-900); }
.scale-key span { display: grid; gap: 4px; min-height: 68px; place-content: center; padding: 9px; color: rgba(255, 255, 255, .7); border-right: 1px solid rgba(255, 255, 255, .12); font-size: .61rem; text-align: center; text-transform: uppercase; }
.scale-key span:last-child { border-right: 0; }
.scale-key strong { color: var(--gold-light); font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.questionnaire-progress-card { position: sticky; z-index: 4; top: 12px; display: grid; gap: 10px; margin-bottom: 38px; padding: 16px 19px; color: white; background: rgba(4, 17, 38, .96); border-left: 4px solid var(--gold); box-shadow: var(--shadow-md); }
.questionnaire-progress-card div { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.questionnaire-progress-card strong, .questionnaire-progress-card span { font-size: .7rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.questionnaire-progress-card span { color: var(--gold-light); }
.questionnaire-progress-card progress { width: 100%; height: 8px; accent-color: var(--gold); }
.question-section { margin-bottom: 58px; scroll-margin-top: 100px; }
.question-section:last-child { margin-bottom: 0; }
.question-section__heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 15px; }
.question-section__heading h2 { color: var(--navy-900); font-size: 1.45rem; }
.question-card { margin: 0 0 12px; padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.question-card:focus-within { border-color: rgba(198, 154, 69, .75); }
.question-card legend { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; width: 100%; padding: 0 0 18px; color: var(--navy-900); font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.question-card__number { color: var(--red); font-family: var(--sans); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.answer-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-left: 52px; }
.answer-option { position: relative; display: grid; min-height: 62px; place-items: center; align-content: center; padding: 7px; color: var(--navy-700); background: white; border: 1px solid #ced5de; cursor: pointer; text-align: center; }
.answer-option:hover { border-color: var(--gold); }
.answer-option:has(input:checked) { color: white; background: var(--navy-800); border-color: var(--navy-800); box-shadow: inset 0 -4px var(--gold); }
.answer-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.answer-option strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.answer-option span { font-size: .55rem; font-weight: 850; letter-spacing: .035em; line-height: 1.25; text-transform: uppercase; }
.candidate-certification { border-top: 5px solid var(--gold); }
.certification-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 22px; color: var(--navy-900); background: var(--paper); border: 1px solid var(--line); cursor: pointer; font-weight: 750; line-height: 1.65; }
.certification-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy-800); }
.privacy-note { max-width: 800px; margin: 19px 0; color: #637084; font-size: .82rem; line-height: 1.7; }
.questionnaire-status { min-height: 24px; margin: 12px 0; font-size: .84rem; font-weight: 750; }
.questionnaire-status[data-state="error"] { color: #a5242b; }
.questionnaire-status[data-state="loading"] { color: var(--navy-700); }
.questionnaire-submit { min-width: min(100%, 330px); }
.questionnaire-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.thank-you-page { display: grid; min-height: 70vh; place-items: center; padding-block: clamp(60px, 9vw, 120px); background: linear-gradient(180deg, var(--paper), #fff); }
.thank-you-card { max-width: 860px; padding: clamp(38px, 7vw, 80px); background: white; border: 1px solid var(--line); border-top: 7px solid var(--gold); box-shadow: var(--shadow-lg); text-align: center; }
.thank-you-card__mark { display: grid; width: 68px; height: 68px; margin: 0 auto 27px; place-items: center; color: white; background: var(--navy-900); border: 4px solid var(--gold-light); border-radius: 50%; font-size: 2rem; }
.thank-you-card h1 { max-width: 730px; margin: 12px auto 22px; color: var(--navy-900); font-size: clamp(2.8rem, 6vw, 5rem); }
.thank-you-card__lead { color: var(--navy-700); font-family: var(--serif); font-size: 1.3rem; }
.thank-you-card__copy { max-width: 700px; margin: 30px auto; color: #4f5d70; line-height: 1.8; }
.confirmation-number { display: grid; gap: 5px; max-width: 430px; margin: 28px auto; padding: 17px; color: var(--navy-900); background: var(--paper); border: 1px solid var(--line); }
.confirmation-number span { font-size: .64rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.confirmation-number strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }

.site-footer { padding-block: 48px; color: rgba(255, 255, 255, .7); background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 28px 50px; align-items: start; }
.site-footer strong { color: white; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.site-footer p { margin: 5px 0 0; font-size: .78rem; }
.site-footer__links { display: grid; gap: 18px; justify-items: end; }
.site-footer__nav { display: flex; gap: 24px; }
.site-footer__nav a { color: rgba(255, 255, 255, .76); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-footer__nav a:hover { color: white; }
.site-footer__socials { display: flex; gap: 10px; }
.site-footer__socials a { display: grid; width: 40px; height: 40px; place-items: center; color: rgba(255, 255, 255, .82); border: 1px solid rgba(226, 194, 124, .32); border-radius: 50%; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.site-footer__socials a:hover { color: var(--navy-950); background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.site-footer__socials svg { width: 19px; height: 19px; fill: currentColor; }
.site-footer__socials rect, .site-footer__socials circle { fill: none; stroke: currentColor; stroke-width: 1.7; }
.site-footer__socials .site-footer__social-dot { fill: currentColor; stroke: none; }
.site-footer__legal { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; padding: 12px 15px 18px; background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 30px rgba(4, 17, 38, .22); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav a::after { display: none; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr .55fr; gap: 44px; }
  .directory-controls { grid-template-columns: minmax(250px, 1fr) repeat(3, minmax(150px, .6fr)); }
  .directory-reset { grid-column: 1 / -1; justify-self: start; }
  .scorecard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .methodology-band__grid { grid-template-columns: 1fr 1.5fr; }
  .methodology-band__grid .text-link { grid-column: 2; justify-self: start; }
  .official-summary { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .official-evaluation__result { grid-template-columns: minmax(125px, .62fr) minmax(0, 1.38fr); }
  .action-card__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .my-texas-home { grid-template-columns: 1fr; }
  .my-texas-home .button { justify-self: start; width: 100%; }
  :root { --shell: min(100% - 30px, 1180px); }
  .topline { font-size: .57rem; letter-spacing: .14em; }
  .topline span { padding-inline: 6px; }
  .site-header { min-height: 74px; padding-inline: 15px; }
  .brand__mark { width: 48px; height: 48px; }
  .brand__text small { max-width: 140px; font-size: .58rem; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; padding: 12px 15px 18px; background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 30px rgba(4, 17, 38, .22); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav a::after { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 74px; }
  .hero::after { font-size: 8rem; }
  .hero__seal { justify-self: center; width: min(350px, 90%); }
  .hero__actions { display: grid; }
  .principles__grid { grid-template-columns: 1fr; }
  .principles article, .principles article:last-child { padding: 34px 26px; border-right: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .principles__number { margin-bottom: 16px; }
  .section-heading { display: grid; align-items: start; }
  .section-heading .text-link { justify-self: start; }
  .directory-controls { grid-template-columns: 1fr 1fr; }
  .directory-field--search { grid-column: 1 / -1; }
  .directory-card__body { grid-template-columns: minmax(0, 1fr) 160px; }
  .scorecard-grid, .news-grid { grid-template-columns: 1fr; }
  .scorecard-grid--home .scorecard:nth-child(n+3) { display: none; }
  .standards-cta { grid-template-columns: 1fr; padding: 34px 25px; }
  .standards-cta .button { justify-self: start; }
  .page-hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .score-key { width: 100%; }
  .editorial-stamp, .about-mark { justify-self: start; }
  .editorial-stamp { margin-left: 12px; }
  .notice { grid-template-columns: 1fr; gap: 12px; margin-bottom: 54px; padding: 25px; }
  .methodology-band__grid { grid-template-columns: 1fr; gap: 24px; }
  .methodology-band__grid .text-link { grid-column: 1; }
  .about-intro, .boundary-grid { grid-template-columns: 1fr; }
  .about-intro { gap: 20px; }
  .about-intro > div:last-child { padding-top: 0; }
  .official-summary { grid-template-columns: 1fr; }
  .official-summary__identity { padding-top: 0; }
  .official-evaluation { width: 100%; }
  .official-score { max-width: none; }
  .official-facts { grid-template-columns: repeat(2, 1fr); }
  .profile-category-grid { grid-template-columns: 1fr; }
  .action-card__header { display: grid; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__links { justify-items: start; }
  .site-footer__nav { flex-wrap: wrap; }
  .questionnaire-hero__grid, .questionnaire-intro { grid-template-columns: 1fr; }
  .questionnaire-hero__grid aside { max-width: 300px; }
  .candidate-path, .candidate-fields { grid-template-columns: 1fr; }
  .candidate-fields__wide { grid-column: auto; }
  .scale-key span { min-height: 58px; font-size: 0; }
  .scale-key strong { font-size: 1.3rem; }
  .question-card { padding: 19px 14px; }
  .question-card legend { grid-template-columns: 28px minmax(0, 1fr); font-size: 1.05rem; }
  .answer-scale { gap: 4px; margin-left: 0; }
  .answer-option { min-height: 58px; padding: 5px 2px; }
  .answer-option span { display: none; }
  .questionnaire-progress-card { top: 6px; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(2.8rem, 15vw, 4.3rem); }
  .brand__text small { display: none; }
  .section { padding-block: 68px; }
  .directory-totals { grid-template-columns: 1fr; }
  .directory-totals div, .directory-totals div:last-child { border-right: 0; border-bottom: 1px solid rgba(226, 194, 124, .26); }
  .directory-totals div:last-child { border-bottom: 0; }
  .directory-controls { grid-template-columns: 1fr; }
  .directory-field--search, .directory-reset { grid-column: 1; }
  .directory-reset { width: 100%; }
  .directory-card { padding: 23px 21px; }
  .directory-card__body { grid-template-columns: 1fr; gap: 19px; }
  .directory-card__score { padding: 15px 0 0; border-top: 1px solid var(--line); border-left: 0; text-align: left; }
  .directory-card__top, .directory-card__footer { align-items: flex-start; }
  .directory-card__footer { display: grid; }
  .promise-grid { grid-template-columns: 1fr; }
  .scorecard, .report-card { padding: 25px 21px; }
  .scorecard__meta { display: grid; }
  .official-facts { grid-template-columns: 1fr; }
  .official-facts div, .official-facts div:nth-child(even) { padding-inline: 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .official-evaluation__result { grid-template-columns: 1fr; }
  .official-grade { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .official-grade strong { font-size: clamp(5.5rem, 30vw, 8rem); }
  .official-score__reading { justify-content: space-between; }
  .movement-grid { grid-template-columns: 1fr; }
  .action-card__facts { grid-template-columns: 1fr; }
  .page-hero__inner { padding-block: 68px; }
  .about-mark { width: 220px; }
  .candidate-form__panel, .candidate-form__questions { padding: 22px 15px; }
  .candidate-form__heading { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .candidate-form__heading > span { width: 40px; height: 40px; }
  .questionnaire-progress-card div { display: grid; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
