.judge-directory,
.judge-page {
  --judge-sans: 'DM Sans', var(--sans);
  font-family: var(--judge-sans);
}
.judge-directory { margin: 0 0 52px; scroll-margin-top: 90px; }
.judge-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.judge-directory-heading h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); color: var(--navy); line-height: 1.2; }
.judge-directory-heading h2 em { font-weight: 500; }
.judge-directory-heading p { max-width: 430px; color: var(--text-muted); font-size: 14px; }
.judge-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.judge-filter { font-family: var(--judge-sans); padding: 8px 15px; font-size: 12px; border: 1px solid var(--border-mid); border-radius: 30px; background: transparent; color: var(--brand); transition: background .2s, color .2s; }
.judge-filter:hover { background: rgba(255,255,255,.55); }
.judge-filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.judge-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.judge-row { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px; background: rgba(255,255,255,.8); border: 1px solid var(--border); border-radius: 18px; transition: transform .25s, box-shadow .25s, background .25s; }
.judge-row:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 10px 26px rgba(11,84,113,.09); }
.judge-portrait { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 3px solid #fff; outline: 1px solid var(--border-mid); }
.judge-row h3 { font-family: var(--serif); color: var(--brand-dark); font-size: 19px; line-height: 1.35; margin: 3px 0 5px; }
.judge-theme { color: var(--brand); text-transform: uppercase; letter-spacing: 1.3px; font-size: 9px; font-weight: 700; }
.judge-role { color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.judge-profile-link { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--border-mid); border-radius: 30px; color: var(--brand); font-size: 11px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.judge-profile-link:hover { background: var(--brand); color: #fff; }
.judge-profile-link svg { width: 13px; height: 13px; transition: transform .2s; }
.judge-profile-link:hover svg { transform: translate(2px,-2px); }
.judge-directory-note { font-size: 12px; line-height: 1.7; color: var(--text-muted); margin-top: 18px; }
.judge-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.judge-page { background: #f6f0e7; }
.judge-page button { font-family: var(--judge-sans); }
.judge-page .g-nav { font-family: var(--sans); }
.judge-skip { position: fixed; top: -80px; left: 16px; z-index: 150; background: #fff; padding: 12px 20px; border-radius: 6px; color: var(--brand); }
.judge-skip:focus { top: 12px; }
.judge-reading-progress { position: fixed; top: 56px; left: 0; width: 100%; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; z-index: 101; }
.judge-profile-main { max-width: 1180px; margin: auto; padding: 96px 5% 64px; }
.judge-back { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-size: 12px; font-weight: 600; }
.judge-back svg { width: 16px; height: 16px; transition: transform .2s; }
.judge-back:hover svg { transform: translateX(-4px); }
.judge-hero { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(240px,1fr); align-items: center; gap: 60px; padding: 54px 0 60px; border-bottom: 1px solid var(--border-mid); }
.judge-eyebrow { color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.judge-hero h1 { font-family: var(--serif); font-size: clamp(38px,5.6vw,68px); letter-spacing: -2px; line-height: 1.12; color: var(--brand-dark); margin: 18px 0 20px; overflow-wrap: anywhere; }
.judge-hero-role { color: var(--text); font-size: 19px; line-height: 1.5; max-width: 460px; }
.judge-affiliation { font-size: 13px; color: var(--text-muted); margin-top: 10px; }
.judge-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.judge-tag { font-size: 11px; padding: 5px 11px; border-radius: 20px; border: 1px solid var(--border-mid); color: var(--brand); }
.judge-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.judge-action { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--brand); border-radius: 30px; padding: 11px 19px; font-size: 12px; font-weight: 600; background: var(--brand); color: #fff; transition: transform .2s, background .2s; }
.judge-action:hover { background: var(--brand-dark); transform: translateY(-2px); }
.judge-action:disabled { opacity: .65; cursor: progress; }
.judge-action-secondary { background: transparent; color: var(--brand); border-color: var(--border-mid); }
.judge-action-secondary:hover { background: #fff; }
.judge-action svg { width: 15px; height: 15px; }
.judge-share-status { font-size: 12px; color: var(--text-muted); min-height: 22px; margin-top: 10px; overflow-wrap: anywhere; }
.judge-photo-frame { text-align: center; }
.judge-hero-photo { width: min(100%,320px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 25%; margin: 0 auto; border: 10px solid #f6f0e7; outline: 1px solid var(--border-mid); box-shadow: 0 0 0 20px rgba(194,218,234,.4), 0 20px 50px rgba(11,84,113,.12); transition: transform .5s; }
.judge-photo-frame:hover .judge-hero-photo { transform: rotate(-2deg) scale(1.02); }
.judge-photo-frame figcaption { max-width: 290px; margin: 32px auto 0; font-size: 11px; line-height: 1.6; color: var(--text-muted); }
.judge-story-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 64px; padding: 48px 0; }
.judge-story-nav { position: sticky; top: 96px; align-self: start; }
.judge-story-nav .judge-eyebrow { margin-bottom: 18px; }
.judge-story-nav a { display: block; border-left: 2px solid var(--border); padding: 9px 0 9px 14px; font-size: 12px; line-height: 1.6; color: var(--text-muted); transition: color .2s, border-color .2s; }
.judge-story-nav a:hover, .judge-story-nav a[aria-current="location"] { color: var(--brand); border-color: var(--brand); }
.judge-story { min-width: 0; }
.judge-story-section { scroll-margin-top: 94px; margin-bottom: 36px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.judge-story-section:last-child { margin-bottom: 0; }
.judge-story-section h2 { font-family: var(--serif); color: var(--brand-dark); font-size: clamp(24px,3vw,31px); font-weight: 600; line-height: 1.3; margin-bottom: 20px; }
.judge-story-section p { color: var(--text); font-size: 15px; line-height: 1.9; margin-bottom: 16px; }
.judge-story-section p:last-child { margin-bottom: 0; }
.judge-story-section strong { font-weight: 600; color: var(--brand-dark); }
.judge-context { background: var(--brand-dark); border-radius: 24px; padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff; }
.judge-context h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }
.judge-context p { max-width: 530px; font-size: 13px; color: #d1e2ec; }
.judge-context .judge-action { flex-shrink: 0; background: #f6f0e7; color: var(--brand); border-color: transparent; }
.judge-other-profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.judge-other-profile { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--border-mid); border-radius: 18px; transition: background .2s, transform .2s; }
.judge-other-profile:hover { background: #fff; transform: translateY(-3px); }
.judge-other-profile .judge-portrait { width: 54px; height: 54px; flex-shrink: 0; }
.judge-other-profile small { display: block; font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.judge-other-profile strong { display: block; font-family: var(--serif); font-size: 17px; color: var(--brand); }
.judge-other-profile svg { width: 16px; height: 16px; margin-left: auto; color: var(--brand); flex-shrink: 0; }
.judge-motion-ready [data-judge-reveal] { transition: opacity .6s, transform .6s; }
.judge-motion-ready [data-judge-reveal]:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.judge-directory [hidden], .judge-page [hidden] { display: none; }
.judge-directory :focus-visible, .judge-page :focus-visible { outline: 3px solid #4c8faf; outline-offset: 5px; }
@media (max-width: 1050px) {
  .judge-row { grid-template-columns: 56px minmax(0,1fr); padding: 18px; gap: 12px; }
  .judge-row .judge-portrait { width: 56px; height: 56px; grid-row: span 2; }
  .judge-profile-link { grid-column: 2; justify-self: start; }
}
@media (max-width: 720px) {
  .judge-directory-heading { display: block; }
  .judge-directory-heading p { margin-top: 12px; }
  .judge-list { grid-template-columns: 1fr; }
  .judge-row { grid-template-columns: 60px minmax(0,1fr) auto; }
  .judge-row .judge-portrait { width: 60px; height: 60px; grid-row: auto; }
  .judge-profile-link { grid-column: auto; }
  .judge-profile-main { padding-top: 84px; }
  .judge-hero { grid-template-columns: 1fr; gap: 38px; padding: 36px 0 44px; }
  .judge-photo-frame { grid-row: 1; }
  .judge-hero-photo { width: 210px; border-width: 7px; box-shadow: 0 0 0 13px rgba(194,218,234,.4); }
  .judge-hero h1 { letter-spacing: -1px; }
  .judge-story-layout { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .judge-story-nav { position: static; border-bottom: 1px solid var(--border-mid); padding-bottom: 20px; }
  .judge-story-nav ul { display: flex; flex-wrap: wrap; gap: 8px 14px; }
  .judge-story-nav a { padding: 4px 0 4px 10px; }
  .judge-context { display: block; padding: 26px; }
  .judge-context .judge-action { margin-top: 20px; }
  .judge-other-profiles { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .judge-row { grid-template-columns: 54px minmax(0,1fr); }
  .judge-row .judge-portrait { width: 54px; height: 54px; grid-row: span 2; }
  .judge-profile-link { grid-column: 2; }
  .judge-hero-role { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .judge-directory *, .judge-page * { transition: none !important; animation: none !important; }
  .judge-motion-ready [data-judge-reveal]:not(.is-visible) { opacity: 1; transform: none; }
  .judge-row:hover, .judge-photo-frame:hover .judge-hero-photo, .judge-action:hover, .judge-other-profile:hover { transform: none; }
}
