:root {
  color-scheme: light;
  --page: #f7f0f1;
  --paper: #fffdfc;
  --paper-soft: #fcf7f8;
  --ink: #3d2633;
  --muted: #715b67;
  --line: #e6d5dc;
  --rose: #a43f6a;
  --rose-dark: #842d53;
  --rose-wash: #f6e1e9;
  --focus: #8a2858;
  --positive: #315f50;
  --positive-wash: #e6f1ea;
  --caution: #76502c;
  --caution-wash: #f7ead6;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); min-width: 320px; }
button, input, select, textarea { font: inherit; color: inherit; }
input, textarea { caret-color: var(--rose); }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--rose-dark); }
::selection { background: #e4a9c1; color: #2e1723; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-thumb { background: #c9aab9; border: 3px solid var(--page); border-radius: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.demo-banner { padding: 7px 20px; text-align: center; background: #4e2e40; color: #fff4f8; font-size: .78rem; letter-spacing: .02em; }
.directory-page { max-width: 1600px; margin: 0 auto; padding: 0 28px 72px; }
.site-header { display: grid; gap: 22px; padding: 29px 0 31px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; color: var(--ink); font-size: 1.42rem; font-weight: 750; letter-spacing: -.035em; text-decoration: none; }
.brand:hover { color: var(--rose-dark); }
.brand-mark { display: inline-grid; place-items: center; width: 35px; height: 35px; border: 1.5px solid var(--rose); border-radius: 12px 12px 12px 4px; transform: rotate(-10deg); }
.brand-mark span { width: 11px; height: 11px; border: 1.5px solid var(--rose); border-radius: 50%; }
.directory-intro { display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: end; gap: 36px; padding: 3px 0 1px; }
.intro-main h1 { max-width: 16ch; margin: 0; font-size: 2.35rem; line-height: 1.2; letter-spacing: -.035em; }
.intro-main p { max-width: 64ch; margin: 12px 0 0; color: var(--muted); font-size: .91rem; line-height: 1.65; }
.intro-flow { display: grid; gap: 0; margin: 0 0 2px; padding: 0; list-style: none; counter-reset: intro-steps; border-top: 1px solid var(--line); }
.intro-flow li { display: grid; grid-template-columns: 31px 1fr; align-items: center; min-height: 36px; border-bottom: 1px solid var(--line); font-size: .81rem; font-weight: 650; }
.intro-flow li::before { counter-increment: intro-steps; content: "0" counter(intro-steps); color: var(--rose-dark); font-size: .72rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.header-tools { display: flex; align-items: end; gap: 15px; min-width: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 12px 30px rgba(70,36,53,.045); }
.header-tools label, .results-controls label { display: grid; gap: 5px; min-width: 0; }
.header-tools label > span, .results-controls label > span, .target-label { font-size: .73rem; font-weight: 700; letter-spacing: .03em; color: var(--muted); }
.search-field { min-width: 190px; flex: 1 1 240px; }
.target-time { display: flex; align-items: end; gap: 8px; flex: 2 1 560px; min-width: 0; padding-left: 18px; border-left: 1px solid var(--line); }
.target-label { align-self: center; white-space: nowrap; padding-right: 3px; }
.target-fields { display: flex; align-items: end; gap: 8px; flex: 1; min-width: 0; }
.target-fields label { flex: 1; }
.target-time .tz-field { flex: .95; }
.target-toggle { display: none; }
input[type="search"], input[type="text"], input[type="datetime-local"], input[type="date"], input[type="email"], select, textarea { background: var(--paper); border: 1px solid #d9bdca; border-radius: 8px; min-height: 43px; padding: 8px 11px; box-shadow: 0 1px 0 rgba(75,37,54,.035); transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
input:hover, select:hover, textarea:hover { border-color: #bf91a5; }
input:focus, select:focus, textarea:focus { border-color: var(--rose); outline: 2px solid #e9b7cb; outline-offset: 1px; }
input::placeholder { color: #806b75; }
.apply-button, .primary-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; background: var(--rose); border: 1px solid var(--rose); border-radius: 8px; padding: 10px 18px; min-height: 43px; color: white; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .18s ease-out, transform .18s ease-out, box-shadow .18s ease-out; }
.apply-button:hover, .primary-button:hover { color: white; background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-1px); box-shadow: 0 7px 15px rgba(96,39,65,.15); }
.apply-button:active, .primary-button:active { transform: translateY(1px) scale(.985); box-shadow: 0 2px 6px rgba(96,39,65,.12); }
.apply-button:disabled, .primary-button:disabled { background: #bf9daa; border-color: #bf9daa; cursor: not-allowed; transform: none; box-shadow: none; }
.language-field select { min-width: 56px; padding-right: 4px; }
.form-error { margin: 14px 0 0; padding: 10px 13px; background: #fce7e6; color: #7f2425; border-radius: 8px; font-weight: 650; }
.filter-feedback { width: max-content; max-width: 100%; margin: -13px 0 0 auto; padding: 7px 12px; border: 1px solid #dfb3c5; border-radius: 6px; background: #fff6f9; color: #71314d; font-size: .77rem; font-weight: 650; }
.filter-feedback[hidden] { display: none; }
.has-pending-filters .apply-button { box-shadow: 0 0 0 3px #efc9d9; }
.is-submitting .apply-button { cursor: progress; }
.header-tools label.is-pending > span:first-child, .filter-field.is-pending > span:first-child { color: var(--rose-dark); }
.header-tools label.is-pending input, .header-tools label.is-pending select, .filter-field.is-pending input, .filter-field.is-pending select { border-color: var(--rose); background: #fff6f9; box-shadow: inset 0 0 0 1px #d490ad; }
.check-field.is-pending { color: var(--rose-dark); }
.mobile-controls { display: none; }

.directory-shell { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 30px; align-items: start; padding-top: 36px; }
.directory-shell.panel-open { grid-template-columns: 220px minmax(0,1fr) minmax(310px,370px); gap: 23px; }
.filters { position: sticky; top: 24px; padding: 7px 22px 12px 0; border-right: 1px solid var(--line); }
.filter-backdrop { display: none; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.filters h2 { margin: 0; font-size: 1.12rem; letter-spacing: -.015em; }
.filter-close { display: none; }
.filter-field { display: grid; gap: 7px; margin-bottom: 18px; }
.filter-field > span { color: var(--ink); font-size: .82rem; font-weight: 650; }
.filter-field select, .filter-field input { min-height: 39px; width: 100%; font-size: .84rem; }
.check-field { display: flex; align-items: flex-start; gap: 9px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.45; font-weight: 650; }
.check-field input { accent-color: var(--rose); width: 16px; height: 16px; margin: 2px 0 0; }
.check-field.disabled { color: #927c87; }
.filter-hint { margin: 6px 0 0 25px; color: var(--muted); font-size: .73rem; line-height: 1.4; }
.filter-actions { display: grid; gap: 15px; margin-top: 26px; text-align: center; font-size: .81rem; }
.filter-actions .apply-button { width: 100%; }
.filter-actions a { color: var(--muted); }

.results { min-width: 0; }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.results-head h2 { margin: 0; font-size: 2.12rem; letter-spacing: -.035em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.results-head h2 span { font-size: 1.05rem; font-weight: 550; letter-spacing: 0; color: var(--muted); }
.results-head p { margin: 9px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.results-controls { display: flex; align-items: end; gap: 10px; white-space: nowrap; }
.results-controls select { min-height: 37px; font-size: .81rem; padding-block: 5px; }
.view-switch { display: flex; padding: 3px; background: #e9dbe2; border-radius: 8px; }
.view-switch button { min-height: 33px; padding: 5px 11px; border: 0; border-radius: 6px; background: transparent; font-size: .78rem; transition: background .15s ease, color .15s ease, transform .15s ease; }
.view-switch button:hover:not(.selected) { background: #f4e9ee; color: var(--rose-dark); }
.view-switch button:active { transform: scale(.96); }
.view-switch button.selected { background: var(--paper); color: var(--rose-dark); font-weight: 750; box-shadow: 0 2px 6px rgba(78,46,64,.1); }
.person-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.is-submitting .results { position: relative; }
.is-submitting .results::before { content: ""; position: absolute; z-index: 2; top: -1px; left: 0; width: 100%; height: 2px; background: var(--rose); transform-origin: left; animation: filtering-progress .7s cubic-bezier(.16,1,.3,1) infinite alternate; }
@keyframes filtering-progress { from { transform: scaleX(.18); } to { transform: scaleX(1); } }
.directory-shell.panel-open .person-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.person-card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; box-shadow: 0 10px 25px rgba(70,36,53,.05); transition: transform .18s cubic-bezier(.23,1,.32,1), box-shadow .18s ease-out, border-color .18s ease-out; }
.person-card:hover, .person-card:focus-visible, .person-card.is-active { transform: translateY(-2px); border-color: #bd879f; box-shadow: 0 16px 30px rgba(70,36,53,.11); color: var(--ink); }
.person-card.is-active { border-color: var(--rose); background: linear-gradient(135deg,var(--paper) 66%,#fbf0f4); box-shadow: 0 16px 30px rgba(70,36,53,.13); }
.person-card.is-active .card-link svg { transform: translateX(4px); }
.person-card:active { transform: translateY(0) scale(.992); box-shadow: 0 5px 13px rgba(70,36,53,.09); }
.portrait-wrap { aspect-ratio: 1.08 / 1; margin: 9px 9px 0; overflow: hidden; border-radius: 10px; background: #e4d0d9; }
.portrait-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.person-card:hover .portrait-wrap img, .person-card:focus-visible .portrait-wrap img { transform: scale(1.025); }
.person-card-content { display: flex; flex-direction: column; flex: 1; padding: 18px 19px 19px; }
.card-name-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; }
.card-name-row h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 100px; font-size: .69rem; line-height: 1.1; font-weight: 750; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-available { color: #245543; background: #dcece3; }
.status-working { color: #6f3a73; background: #f1e2f2; }
.status-resting { color: #825a26; background: #f6e9cd; }
.status-away { color: #575e71; background: #e9ecf2; }
.location { margin: 10px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.skill-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.skill-row span { border: 1px solid #e0c7d2; border-radius: 5px; padding: 5px 8px; color: #644254; background: #fcf5f8; font-size: .72rem; line-height: 1.25; }
.match-line { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; padding: 9px 0 0; border-top: 1px solid var(--line); font-size: .74rem; line-height: 1.4; font-weight: 650; }
.match-line.positive { color: var(--positive); }
.match-line.caution { color: var(--caution); }
.match-dot { flex: none; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.card-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; color: var(--rose-dark); font-size: .78rem; font-weight: 750; }
.card-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s cubic-bezier(.16,1,.3,1); }
.person-card:hover .card-link svg, .person-card:focus-visible .card-link svg { transform: translateX(4px); }
.person-card-content .photo-preview-note { display: block; margin-top: 11px; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.person-grid.as-list { grid-template-columns: 1fr; }
.person-grid.as-list .person-card { flex-direction: row; min-height: 165px; }
.person-grid.as-list .portrait-wrap { width: 148px; flex: none; aspect-ratio: auto; margin: 9px 0 9px 9px; }
.person-grid.as-list .person-card-content { padding: 18px 21px; }
.person-grid.as-list .match-line { margin-top: 9px; }
.person-grid.as-list .card-link { padding-top: 8px; }
.directory-shell.panel-open .person-grid.as-list { grid-template-columns: 1fr; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 25px; font-size: .84rem; }
.pagination a { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); background: var(--paper); border-radius: 7px; text-decoration: none; }
.pagination svg, .back-link svg, .target-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.empty-results { padding: 88px 25px; text-align: center; border: 1px dashed #d5b7c5; border-radius: 12px; background: rgba(255,250,251,.65); }
.empty-results h2 { margin: 0; font-size: 1.2rem; }
.empty-results p { color: var(--muted); font-size: .9rem; }
.outline-button { display: inline-flex; padding: 9px 16px; border: 1px solid var(--rose); border-radius: 8px; color: var(--rose-dark); background: var(--paper); font-weight: 700; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.outline-button:hover { background: var(--rose-wash); }
.outline-button:active { transform: translateY(1px) scale(.985); }

.detail-panel { display: none; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 17px 42px rgba(70,36,53,.1); }
.directory-shell.panel-open .detail-panel { display: block; border-color: #bd879f; animation: detail-reveal .28s cubic-bezier(.16,1,.3,1) both; }
.detail-panel .detail-inner { animation: detail-content-arrive .22s cubic-bezier(.16,1,.3,1) both; }
@keyframes detail-reveal { from { opacity: .85; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes detail-content-arrive { from { opacity: .75; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.panel-loading { display: grid; place-items: center; min-height: 300px; padding: 32px; text-align: center; color: var(--rose-dark); font-size: .84rem; font-weight: 700; }
.panel-loading::before { content: ""; width: 35px; height: 35px; margin-bottom: 13px; border: 1px solid var(--rose); border-radius: 12px 12px 12px 4px; transform: rotate(-10deg); animation: loading-breathe 1.2s ease-in-out infinite alternate; }
@keyframes loading-breathe { to { background: var(--rose-wash); transform: rotate(-10deg) scale(1.1); } }
.detail-inner { padding: 18px 20px 24px; }
.detail-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 28px; margin-bottom: 13px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.panel-close, .filter-close { place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); transition: background .15s ease, transform .15s ease; }
.panel-close { display: grid; }
.panel-close svg, .filter-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.panel-close:hover { background: var(--rose-wash); color: var(--ink); }
.panel-close:active, .filter-close:active { transform: scale(.9); }
.detail-portrait { aspect-ratio: 1.16 / 1; overflow: hidden; border-radius: 10px; background: #e5d0d9; }
.detail-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.detail-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 19px; }
.detail-title h1 { margin: 0; font-size: 1.57rem; line-height: 1.2; letter-spacing: -.03em; }
.detail-location { margin: 7px 0 0; color: var(--muted); font-size: .8rem; }
.detail-match { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 13px; border-radius: 8px; font-size: .8rem; }
.detail-match.positive { color: var(--positive); background: var(--positive-wash); }
.detail-match.caution { color: var(--caution); background: var(--caution-wash); }
.detail-match .match-dot { margin-top: 5px; }
.detail-match strong { font-size: .74rem; }
.detail-match p { margin: 4px 0 3px; font-weight: 700; }
.detail-match small { font-size: .7rem; line-height: 1.35; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 0; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.detail-facts div { min-width: 0; }
.detail-facts dt { color: var(--muted); font-size: .7rem; }
.detail-facts dd { margin: 4px 0 0; font-size: .83rem; font-weight: 650; overflow-wrap: anywhere; }
.detail-section { padding-top: 20px; }
.detail-section h2 { margin: 0 0 9px; font-size: .82rem; }
.detail-section p { margin: 0; font-size: .81rem; line-height: 1.65; color: #503a46; }
.detail-section .skill-row { margin-top: 0; }
.detail-action { position: sticky; bottom: -24px; margin: 23px -20px -24px; padding: 16px 20px 20px; background: var(--paper); border-top: 1px solid var(--line); }
.detail-action .primary-button { width: 100%; }
.detail-action p { margin: 9px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.35; text-align: center; }
.detail-page { width: min(760px,calc(100% - 32px)); margin: 0 auto; }
.detail-page-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--rose-dark); font-size: .86rem; font-weight: 700; text-decoration: none; }
.detail-page .detail-inner { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 25px; margin-bottom: 60px; }
.detail-page .detail-topline .panel-close { display: none; }
.detail-page .detail-portrait { aspect-ratio: 1.7 / 1; }
.detail-page .detail-action { position: static; margin: 23px -25px -25px; padding: 16px 25px 25px; border-radius: 0 0 13px 13px; }
.maintenance { max-width: 450px; margin: 17vh auto; padding: 30px; text-align: center; }
.maintenance .brand-mark { margin: 0 auto 25px; }
.maintenance h1 { font-size: 1.6rem; }
.maintenance p { color: var(--muted); line-height: 1.6; }

.intent-page { width: min(1120px,calc(100% - 40px)); margin: 0 auto 70px; }
.intent-header { display: flex; align-items: center; justify-content: space-between; padding: 25px 0; }
.intent-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); align-items: start; gap: 28px; }
.intent-person { position: sticky; top: 24px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 25px rgba(70,36,53,.06); }
.intent-person img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center 22%; }
.intent-person div { padding: 17px; }
.intent-person small, .verify-person span { color: var(--muted); font-size: .75rem; }
.intent-person h2 { margin: 6px 0; font-size: 1.25rem; }
.intent-person p { margin: 0 0 11px; color: var(--muted); font-size: .83rem; }
.intent-main, .verify-shell { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 32px 36px; box-shadow: 0 12px 30px rgba(70,36,53,.045); }
.intent-main h1, .verify-shell h1 { margin: 0; font-size: 1.7rem; letter-spacing: -.025em; }
.intent-lead { margin: 10px 0 28px; max-width: 64ch; color: var(--muted); font-size: .87rem; line-height: 1.55; }
.intent-form fieldset { margin: 0 0 25px; padding: 0; border: 0; }
.intent-form legend { margin: 0 0 12px; padding: 0; font-size: .85rem; font-weight: 750; }
.choice-row { display: flex; flex-wrap: wrap; gap: 9px; }
.choice-row label { display: inline-flex; align-items: center; gap: 8px; min-height: 43px; padding: 9px 13px; background: var(--paper-soft); border: 1px solid var(--line); border-radius: 8px; font-size: .83rem; font-weight: 650; cursor: pointer; }
.choice-row label:has(input:checked) { color: var(--rose-dark); background: var(--rose-wash); border-color: #cf9caf; }
.choice-row input { accent-color: var(--rose); }
.intent-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.intent-fields label, .note-field, .verify-step label { display: grid; gap: 7px; font-size: .83rem; font-weight: 650; }
.intent-fields input, .intent-fields select, .note-field textarea, .verify-step input { width: 100%; }
.intent-fields label[hidden] { display: none; }
.optional-fields { margin-top: 29px; padding-top: 25px; border-top: 1px solid var(--line); }
.optional-fields h2 { margin: 0 0 18px; font-size: .98rem; }
.note-field { margin-top: 15px; }
.note-field textarea { resize: vertical; min-height: 98px; }
.intent-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 28px; padding-top: 21px; border-top: 1px solid var(--line); }
.intent-footer p { max-width: 400px; margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.errorlist { margin: 5px 0; padding-left: 19px; color: #922e38; font-size: .8rem; }
.verify-shell { width: min(760px,100%); margin: 0 auto; }
.verify-person { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.verify-person img { width: 51px; height: 51px; border-radius: 8px; object-fit: cover; }
.verify-steps { display: grid; gap: 11px; }
.verify-step { padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper-soft); }
.verify-step.complete { border-color: #a3c7b2; background: #f0f7f2; }
.verify-step.ready { border-color: #d9a8bc; }
.verify-step h2 { margin: 0 0 12px; font-size: .93rem; }
.verify-step p { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.verify-step form { display: flex; align-items: end; gap: 11px; }
.verify-step form label { flex: 1; }
.verify-step button { min-width: 155px; }
.verify-step .outline-button { background: var(--paper); }
.verify-step .outline-button:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 1290px) {
  .directory-page { padding-inline: 20px; }
  .site-header { gap: 16px; padding-block: 24px; }
  .directory-intro { grid-template-columns: minmax(0,1fr) 240px; gap: 20px; }
  .intro-main h1 { font-size: 2rem; }
  .header-tools { width: 100%; }
  .directory-shell { gap: 18px; }
  .directory-shell.panel-open { grid-template-columns: 190px minmax(0,1fr) minmax(285px,330px); gap: 16px; }
  .person-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .person-grid:not(.as-list) .portrait-wrap { aspect-ratio: 1.18 / 1; }
  .directory-shell.panel-open .person-grid { grid-template-columns: 1fr; }
  .directory-shell.panel-open .person-card { flex-direction: row; min-height: 192px; }
  .directory-shell.panel-open .person-card .portrait-wrap { flex: none; width: 35%; aspect-ratio: auto; margin: 9px 0 9px 9px; }
}

@media (max-width: 1050px) {
  .directory-shell.panel-open { grid-template-columns: 220px minmax(0,1fr); }
  .directory-shell.panel-open .detail-panel { display: none; }
  .directory-shell.panel-open .person-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .directory-page { padding: 0 15px 50px; }
  .site-header { padding-block: 20px 15px; gap: 14px; border-bottom: none; }
  .brand { font-size: 1.2rem; }
  .brand-mark { width: 30px; height: 30px; }
  .directory-intro { display: block; padding: 3px 0 2px; }
  .intro-main h1 { max-width: none; font-size: 1.55rem; }
  .intro-main p { margin-top: 8px; font-size: .82rem; line-height: 1.55; }
  .intro-flow { display: none; }
  .header-tools { display: grid; grid-template-columns: 1fr auto; gap: 11px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .search-field { grid-column: 1 / -1; }
  .target-time { grid-column: 1 / -1; display: block; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-soft); }
  .target-label { display: none; }
  .target-toggle:not([hidden]) { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 34px; padding: 0 3px; border: 0; background: transparent; color: var(--rose-dark); font-weight: 700; }
  .target-toggle svg { flex: none; transition: transform .18s cubic-bezier(.16,1,.3,1); }
  .target-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .target-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 7px; }
  .target-time.collapsed .target-fields { display: none; }
  .target-fields label, .target-fields input { min-width: 0; width: 100%; }
  .target-time .tz-field { grid-column: 1 / -1; }
  .header-tools .apply-button { grid-column: 1; }
  .language-field { grid-column: 2; }
  .mobile-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 8px 0 16px; color: var(--muted); font-size: .8rem; }
  .filter-toggle { min-height: 41px; border: 1px solid var(--rose); background: var(--paper); border-radius: 8px; padding: 8px 15px; color: var(--rose-dark); font-weight: 700; transition: background .15s ease, transform .15s ease; }
  .filter-toggle:hover { background: var(--rose-wash); }
  .filter-toggle:active { transform: translateY(1px) scale(.98); }
  .directory-shell, .directory-shell.panel-open { display: block; padding-top: 0; }
  .filter-backdrop:not([hidden]) { display: block; position: fixed; z-index: 19; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(36,20,30,.42); }
  .filters { display: none; position: fixed; z-index: 20; inset: auto 0 0; top: 8vh; overflow: auto; border: 1px solid var(--line); border-bottom: 0; border-radius: 19px 19px 0 0; padding: 23px 24px 36px; background: var(--paper); box-shadow: 0 -20px 70px rgba(34,20,29,.25); }
  .filters.open { display: block; animation: filter-rise .28s cubic-bezier(.16,1,.3,1) both; }
  @keyframes filter-rise { from { transform: translateY(24px); } to { transform: translateY(0); } }
  .filter-close { display: grid; background: var(--rose-wash); color: var(--rose-dark); }
  .results-head { display: block; }
  .results-head h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .results-head p { display: none; }
  .results-controls { margin-top: 17px; justify-content: space-between; }
  .person-grid, .directory-shell.panel-open .person-grid { grid-template-columns: 1fr; gap: 15px; }
  .person-card { flex-direction: row; min-height: 177px; }
  .portrait-wrap { flex: none; width: 37%; aspect-ratio: auto; margin: 8px 0 8px 8px; }
  .person-grid:not(.as-list) .portrait-wrap { aspect-ratio: auto; }
  .person-card-content { padding: 15px 15px; }
  .card-name-row { align-items: start; }
  .card-name-row h2 { font-size: 1.1rem; }
  .person-grid.as-list .portrait-wrap { width: 32%; }
  .person-grid.as-list .person-card-content { padding: 15px; }
  .detail-page { width: 100%; padding: 0 15px; }
  .detail-page .detail-inner { padding: 0 0 18px; border: 0; background: none; }
  .detail-page .detail-portrait { aspect-ratio: 1.15 / 1; border-radius: 11px; }
  .detail-page .detail-title, .detail-page .detail-location, .detail-page .detail-match, .detail-page .detail-facts, .detail-page .detail-section { margin-left: 4px; margin-right: 4px; }
  .detail-page .detail-action { position: sticky; bottom: 0; margin: 25px -15px -18px; padding: 14px 15px calc(16px + env(safe-area-inset-bottom)); border-radius: 0; box-shadow: 0 -10px 25px rgba(70,36,53,.07); }
  .intent-page { width: min(100% - 30px,680px); }
  .intent-layout { display: block; }
  .intent-person { position: static; display: flex; align-items: center; margin-bottom: 14px; }
  .intent-person img { width: 86px; height: 86px; aspect-ratio: auto; }
  .intent-person div { padding: 10px 14px; }
  .intent-person h2 { font-size: 1.05rem; }
  .intent-main, .verify-shell { padding: 23px 20px; }
  .intent-main h1, .verify-shell h1 { font-size: 1.4rem; }
  .intent-fields { grid-template-columns: 1fr; }
  .intent-footer { display: grid; }
  .intent-footer .primary-button { width: 100%; }
  .verify-step form { display: grid; }
  .verify-step button { width: 100%; }
}

@media (max-width: 400px) {
  .target-fields { grid-template-columns: minmax(0,1fr); }
  .target-time .tz-field { grid-column: 1; }
  .person-card { min-height: 168px; }
  .portrait-wrap { width: 35%; }
  .person-card-content { padding: 12px; }
  .skill-row span:nth-child(n+3) { display: none; }
}

/* Editorial discovery: a high-contrast opening, fast search, and masked portraits. */
.home-page { width: 100%; max-width: none; }
.home-header { width: min(100% - 72px, 1530px); min-height: 84px; margin: auto; }
.home-header-actions { display: flex; align-items: center; gap: 18px; }
.home-access-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 17px; border: 1px solid var(--rose); border-radius: 100px; color: var(--rose-dark); font-size: .8rem; font-weight: 750; text-decoration: none; transition: color .18s ease, background .18s ease, transform .18s ease; }
.home-access-link:hover { color: white; background: var(--rose); transform: translateY(-1px); }
.home-access-link:active { transform: translateY(1px) scale(.98); }
.home-hero { position: relative; display: grid; grid-template-columns: 1fr; min-height: min(690px, 75vw); border: 0; border-radius: 0; isolation: isolate; background: #402535; color: white; }
.home-hero-visual { position: absolute; inset: 0; z-index: -2; background: #402535; }
.home-hero-visual img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 63% 50%; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,10,23,.88) 0%,rgba(39,16,34,.67) 40%,rgba(38,15,30,.18) 78%),linear-gradient(0deg,rgba(28,10,22,.45),transparent 40%); }
.home-hero-copy { width: min(100% - 72px,1530px); margin: auto; padding: 74px 0 104px; align-items: flex-start; }
.home-hero-note { margin: 0 0 23px !important; color: #ffdae8 !important; font-size: .92rem !important; font-weight: 600; letter-spacing: .13em; }
.home-hero h1 { max-width: 11ch; color: #fff8f7; font-family: "Iowan Old Style","Baskerville","Songti SC","STSong",serif; font-size: clamp(3.8rem,7.1vw,7rem); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; text-shadow: 0 2px 22px rgba(20,8,17,.14); }
.home-hero-lead { max-width: 42ch !important; margin-top: 24px !important; color: #fff0f3 !important; font-size: clamp(.95rem,1.45vw,1.16rem) !important; line-height: 1.8 !important; }
.home-hero-actions { margin-top: 35px; }
.home-hero-actions .primary-button { background: #ef91b7; border-color: #ef91b7; color: #422236; border-radius: 100px; min-height: 54px; padding-inline: 26px; }
.home-hero-actions .primary-button:hover { background: #ffe3ee; border-color: #ffe3ee; color: #422236; }
.home-hero-actions .home-text-link { color: #fff4f6; text-decoration-color: #f5b9cf; }
.home-hero-scroll { position: absolute; right: max(36px,calc((100vw - 1530px)/2)); bottom: 31px; display: flex; align-items: center; gap: 13px; color: #fff4f6; font-size: .7rem; letter-spacing: .13em; }
.home-hero-scroll span { display: block; width: 49px; height: 1px; background: #fff4f6; transform-origin: left; animation: home-rule 2.4s ease-in-out infinite alternate; }
@keyframes home-rule { to { transform: scaleX(.48); } }
.home-search { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(200px,.75fr) minmax(0,1.7fr); align-items: center; gap: 35px; width: min(100% - 72px,1370px); margin: -45px auto 0; padding: 30px 34px; background: #fffaf8; box-shadow: 0 22px 54px rgba(56,23,41,.13); }
.home-search-heading h2 { margin: 0; font-family: "Iowan Old Style","Baskerville","Songti SC","STSong",serif; font-size: clamp(1.65rem,2vw,2.35rem); font-weight: 650; letter-spacing: -.03em; }
.home-search-heading p { margin: 7px 0 0; max-width: 38ch; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.home-search-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.86fr) auto; align-items: end; gap: 13px; }
.home-search-form label { display: grid; gap: 7px; min-width: 0; font-size: .75rem; font-weight: 700; }
.home-search-form input,.home-search-form select { width: 100%; min-height: 49px; border-radius: 3px; background: #fff; }
.home-search-form .primary-button { min-height: 49px; border-radius: 3px; padding-inline: 18px; }
.home-people,.home-editorial,.home-process,.home-status-guide { width: min(100% - 72px,1370px); margin-right: auto; margin-left: auto; }
.home-people { padding-top: 100px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.home-section-heading h2,.home-editorial-copy h2,.home-process h2,.home-status-guide h2 { font-family: "Iowan Old Style","Baskerville","Songti SC","STSong",serif; font-size: clamp(2.35rem,3.5vw,4.15rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.17; }
.home-section-heading p { max-width: 67ch; }
.home-section-heading > a,.home-editorial-copy > a { flex: none; color: var(--rose-dark); font-size: .84rem; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.home-section-heading > a span,.home-editorial-copy > a span { display: inline-block; transition: transform .2s ease; }
.home-section-heading > a:hover span,.home-editorial-copy > a:hover span { transform: translateX(5px); }
.home-people-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-top: 32px; }
.home-person-card { min-width: 0; overflow: hidden; background: #fffcfb; color: var(--ink); text-decoration: none; box-shadow: 0 9px 24px rgba(63,27,47,.055); transition: transform .26s cubic-bezier(.16,1,.3,1),box-shadow .26s ease; }
.home-person-card:hover,.home-person-card:focus-visible { color: var(--ink); transform: translateY(-7px); box-shadow: 0 22px 43px rgba(63,27,47,.16); }
.home-person-card:active { transform: translateY(-2px) scale(.993); }
.home-person-image { position: relative; aspect-ratio: .79; overflow: hidden; background: #d5aab9; }
.home-person-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.home-person-card:hover img { transform: scale(1.055); }
.home-person-card.is-locked .home-person-image img { filter: blur(13px); transform: scale(1.13); }
.home-person-card.is-locked:hover .home-person-image img { transform: scale(1.18); }
.home-image-veil { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(68,24,47,.05),rgba(54,17,37,.48)); }
.portrait-lock { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: 85%; padding: 13px 16px; color: white; background: rgba(49,18,37,.72); border: 1px solid rgba(255,255,255,.38); border-radius: 4px; font-size: .78rem; font-weight: 700; text-align: center; transform: translate(-50%,-50%); backdrop-filter: blur(10px); }
.portrait-lock svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.home-person-caption { padding: 18px 19px 22px; }
.home-person-caption > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; }
.home-person-caption strong { font-family: "Iowan Old Style","Baskerville","Songti SC","STSong",serif; font-size: 1.5rem; line-height: 1.1; }
.home-person-caption p { margin: 10px 0 0; color: var(--muted); font-size: .8rem; }
.home-person-caption small { display: block; margin-top: 10px; color: #684a59; font-size: .75rem; }
.home-person-caption .photo-preview-note { margin-top: 9px; color: var(--muted); font-size: .7rem; }
.home-preview-note { margin-top: 19px; }
.home-editorial { display: grid; grid-template-columns: .8fr 1fr; min-height: 470px; margin-top: 115px; background: #eac9d4; }
.home-editorial-figure { position: relative; display: grid; place-items: center; overflow: hidden; background: #6d354e; color: #fff4f6; }
.home-editorial-figure::before { content: ""; position: absolute; inset: 10% 17%; border: 1px solid rgba(255,230,237,.28); }
.home-editorial-figure p { position: relative; max-width: 12ch; font-family: "Iowan Old Style","Baskerville","Songti SC","STSong",serif; font-size: clamp(2.1rem,4vw,4.4rem); line-height: 1.25; text-align: center; }
.editorial-orbit { position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,220,232,.16); border-radius: 50%; transform: rotate(-12deg); }
.editorial-orbit span { position: absolute; width: 100%; height: 100%; border: 1px solid rgba(255,220,232,.12); border-radius: 50%; transform: scaleX(.63) rotate(35deg); }
.editorial-orbit span:nth-child(2) { transform: scaleX(.63) rotate(85deg); }
.editorial-orbit span:nth-child(3) { transform: scaleX(.63) rotate(145deg); }
.home-editorial-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(35px,5vw,88px); }
.home-editorial-copy h2 { max-width: 12ch; margin: 0; }
.home-editorial-copy p { max-width: 46ch; margin: 22px 0 30px; color: #5a3b4b; font-size: .97rem; line-height: 1.8; }
.home-process { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); gap: 55px; margin-top: 115px; padding: 55px 58px; border-radius: 0; background: #f0dfe6; }
.home-process-heading p { max-width: 40ch; color: #634b58; font-size: .85rem; line-height: 1.6; }
.home-process-steps { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.home-process-steps article { display: grid; grid-template-columns: minmax(0,.45fr) minmax(0,1fr); gap: 22px; padding: 20px 0; border-top: 1px solid #bd97a9; }
.home-process-steps article:last-child { border-bottom: 1px solid #bd97a9; }
.home-process-steps h3 { font-size: 1.05rem; }
.home-process-steps p { max-width: 54ch; margin: 0; }
.home-status-guide { margin-top: 105px; margin-bottom: 90px; }
.home-status-guide h2 { max-width: 16ch; }
.home-status-columns { gap: 40px; }
.portrait-wrap,.detail-portrait { position: relative; }
.person-card.is-locked .portrait-wrap img,.detail-portrait.is-locked img { filter: blur(13px); transform: scale(1.13); }
.person-card.is-locked:hover .portrait-wrap img { transform: scale(1.18); }
.portrait-lock { gap: 5px; padding: 10px 12px; font-size: .7rem; }
.detail-portrait .portrait-lock { font-size: .82rem; padding: 14px 18px; }
.access-page { width: min(100% - 48px,1180px); margin: auto; }
.access-page header { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.access-page header > a:last-child { color: var(--rose-dark); font-size: .83rem; font-weight: 700; }
.access-shell { display: grid; grid-template-columns: .9fr 1fr; min-height: 540px; margin: 15px 0 85px; background: #f6e4eb; }
.access-art { position: relative; overflow: hidden; background: #713750; }
.access-art span { position: absolute; width: 170%; height: 100%; left: -35%; top: 30%; border: 1px solid #f5c5d7; border-radius: 50%; }
.access-art span:nth-child(2) { top: 47%; width: 130%; left: -15%; }
.access-art span:nth-child(3) { top: 64%; width: 90%; left: 5%; }
.access-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(35px,5vw,80px); }
.access-copy h1 { max-width: 12ch; margin: 0; font-family: "Iowan Old Style","Baskerville","Songti SC","STSong",serif; font-size: clamp(2.6rem,4.3vw,5rem); line-height: 1.15; }
.access-copy p { max-width: 45ch; color: #664c59; line-height: 1.8; }
.access-copy form { margin-top: 20px; }
.access-unavailable { padding: 14px; background: #fffaf8; border: 1px solid #d9beca; }
.access-reset { padding: 5px 0; border: 0; background: none; color: var(--rose-dark); font-size: .83rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.access-reset:hover { color: var(--ink); }
@media (max-width: 1050px) {
  .home-search { grid-template-columns: 1fr; gap: 18px; }
  .home-people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-editorial { min-height: 400px; }
  .home-process { gap: 28px; padding: 42px; }
}
@media (max-width: 760px) {
  .home-header { width: min(100% - 30px,600px); min-height: 75px; display: grid; grid-template-columns: 1fr auto; gap: 0; padding: 10px 0; }
  .home-header .brand { grid-column: 1; grid-row: 1; }
  .home-header-actions { grid-column: 2; grid-row: 1; gap: 8px; }
  .home-access-link { min-height: 35px; padding: 6px 10px; font-size: .72rem; }
  .home-header .home-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 20px; margin-top: 7px; }
  .home-hero { min-height: 590px; }
  .home-hero-visual img { object-position: 67% center; }
  .home-hero::before { background: linear-gradient(90deg,rgba(27,10,23,.88),rgba(39,16,34,.48)),linear-gradient(0deg,rgba(27,10,23,.57),transparent 55%); }
  .home-hero-copy { width: min(100% - 40px,600px); padding: 68px 0 90px; }
  .home-hero h1 { font-size: clamp(3.25rem,10vw,5.5rem); }
  .home-hero-scroll { right: 20px; bottom: 20px; }
  .home-search,.home-people,.home-editorial,.home-process,.home-status-guide { width: min(100% - 32px,600px); }
  .home-search { display: block; margin-top: -35px; padding: 23px; }
  .home-search-form { grid-template-columns: 1fr 1fr; margin-top: 18px; }
  .home-search-form .primary-button { grid-column: 1 / -1; }
  .home-people { padding-top: 78px; }
  .home-section-heading { display: block; }
  .home-section-heading > a { display: inline-block; margin-top: 18px; }
  .home-people-grid { gap: 12px; margin-top: 25px; }
  .home-person-caption { padding: 13px 12px 16px; }
  .home-person-caption strong { font-size: 1.22rem; }
  .home-person-caption .status-pill { font-size: .62rem; }
  .home-editorial { grid-template-columns: 1fr; margin-top: 75px; }
  .home-editorial-figure { min-height: 270px; }
  .home-editorial-copy { padding: 32px 27px 40px; }
  .home-process { display: block; margin-top: 75px; padding: 36px 28px; }
  .home-process-steps { margin-top: 25px; }
  .home-status-guide { display: block; margin-top: 74px; margin-bottom: 70px; }
  .home-status-columns { margin-top: 30px; }
  .access-shell { grid-template-columns: 1fr; }
  .access-art { min-height: 170px; }
  .access-copy { padding: 35px 28px 45px; }
}
@media (max-width: 410px) {
  .home-search-form { grid-template-columns: 1fr; }
  .home-search-form .primary-button { grid-column: 1; }
  .home-hero { min-height: 570px; }
  .home-hero h1 { font-size: 3.1rem; }
  .home-person-caption .status-pill { margin-top: 2px; }
  .home-person-caption small { line-height: 1.35; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-scroll span { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.is-submitting .person-grid, .is-submitting .empty-results { opacity: .6; transition: opacity .15s ease-out; }
.results.is-refined .results-head h2 { animation: result-confirm .45s ease-out both; }
@keyframes result-confirm { from { color: var(--rose); } to { color: var(--ink); } }
/* The privacy entry remains reachable even when a directory query has no results. */
.site-footer { padding: 28px 20px 36px; text-align: center; font-size: .76rem; }
.site-footer a { color: var(--muted); text-underline-offset: 3px; }
.review-flag { margin: 7px 0 0; color: #865f25; font-size: .73rem; font-weight: 700; }
.draft-summary { margin: 0 0 24px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-soft); }
.draft-summary strong { color: var(--rose-dark); font-size: .8rem; }
.draft-summary p { margin: 7px 0; line-height: 1.45; }
.draft-summary small { display: block; margin-top: 8px; color: var(--muted); line-height: 1.5; }

/* Public landing page shares the directory's rose-paper system. */
.home-page { width: min(100% - 56px, 1500px); margin: 0 auto; }
.home-header, .directory-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-header { min-height: 76px; }
.home-nav { display: flex; align-items: center; gap: 29px; font-size: .88rem; font-weight: 700; }
.home-nav a { position: relative; padding: 9px 0; text-decoration: none; white-space: nowrap; transition: color .18s ease; }
.home-nav a[aria-current="page"] { color: var(--rose-dark); }
.home-nav a[aria-current="page"]::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; background: var(--rose); border-radius: 2px; }
.home-language { margin: 0; }
.home-language select { min-width: 64px; min-height: 37px; padding: 5px 8px; }
.home-hero { display: grid; grid-template-columns: 46% 54%; min-height: 510px; overflow: hidden; border: 1px solid #e9d5de; border-radius: 20px; background: #f5e9ee; }
.home-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 50px clamp(34px,5vw,76px); }
.home-hero h1 { max-width: 11ch; margin: 0; font-size: clamp(2.9rem,4.35vw,4.45rem); line-height: 1.13; font-weight: 780; letter-spacing: -.04em; white-space: pre-line; text-wrap: balance; }
.home-hero p { max-width: 36ch; margin: 24px 0 0; color: #624855; font-size: 1.02rem; line-height: 1.7; }
.home-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 35px; }
.home-hero-actions .primary-button { min-height: 51px; padding-inline: 24px; font-size: .95rem; }
.home-hero-actions .primary-button span { font-size: 1.2rem; font-weight: 400; transition: transform .2s ease; }
.home-hero-actions .primary-button:hover span { transform: translateX(3px); }
.home-text-link { color: var(--rose-dark); font-size: .9rem; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.home-hero-visual { min-width: 0; overflow: hidden; background: #d7b6c2; }
.home-hero-visual img { display: block; width: 100%; height: 100%; min-height: 510px; object-fit: cover; object-position: 58% center; }
.home-people { padding: 89px 0 0; }
.home-section-heading h2, .home-process h2, .home-status-guide h2 { margin: 0; font-size: clamp(1.8rem,2.65vw,2.7rem); line-height: 1.2; letter-spacing: -.035em; }
.home-section-heading p { max-width: 56ch; margin: 13px 0 0; color: var(--muted); line-height: 1.65; }
.home-people-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 18px; margin-top: 32px; }
.home-people-layout.single { grid-template-columns: minmax(0,700px); }
.home-featured-person, .home-stack-person { color: var(--ink); text-decoration: none; background: var(--paper); border: 1px solid var(--line); transition: transform .22s cubic-bezier(.16,1,.3,1), border-color .22s ease, box-shadow .22s ease; }
.home-featured-person:hover, .home-stack-person:hover { color: var(--ink); transform: translateY(-3px); border-color: #c694aa; box-shadow: 0 15px 32px rgba(70,36,53,.1); }
.home-featured-person:active, .home-stack-person:active { transform: translateY(0) scale(.99); }
.home-featured-person { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); overflow: hidden; min-height: 439px; border-radius: 14px; }
.home-featured-person > img { width: 100%; height: 100%; min-height: 439px; object-fit: cover; object-position: center 25%; }
.home-featured-info { display: flex; flex-direction: column; align-items: flex-start; padding: 29px; }
.home-featured-info > div, .home-stack-info > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.home-featured-info strong { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.03em; }
.home-featured-info p { margin: 17px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.home-featured-info p + p { margin-top: 9px; }
.home-profile-link { margin-top: auto; color: var(--rose-dark); font-size: .88rem; font-weight: 750; }
.home-profile-link span { display: inline-block; margin-left: 8px; transition: transform .18s ease; }
.home-featured-person:hover .home-profile-link span { transform: translateX(4px); }
.home-person-stack { display: grid; grid-auto-rows: minmax(0,1fr); gap: 14px; min-width: 0; }
.home-stack-person { display: grid; grid-template-columns: 115px minmax(0,1fr) 24px; align-items: center; gap: 20px; min-width: 0; padding: 8px 17px 8px 8px; border-radius: 13px; }
.home-stack-person > img { display: block; width: 115px; height: 100%; min-height: 118px; max-height: 136px; border-radius: 8px; object-fit: cover; object-position: center 22%; }
.home-stack-info { min-width: 0; }
.home-stack-info strong { font-size: 1.18rem; line-height: 1.25; }
.home-stack-info p { margin: 9px 0 0; color: var(--muted); font-size: .8rem; }
.home-stack-info small { display: block; margin-top: 7px; color: #684f5c; font-size: .76rem; line-height: 1.35; }
.home-stack-arrow { color: var(--rose-dark); font-size: 1.2rem; justify-self: end; transition: transform .18s ease; }
.home-stack-person:hover .home-stack-arrow { transform: translateX(3px); }
.home-people-layout.count-2 .home-stack-person, .home-people-layout.count-3 .home-stack-person { grid-template-columns: minmax(115px,40%) minmax(0,1fr) 20px; }
.home-people-layout.count-2 .home-stack-person > img, .home-people-layout.count-3 .home-stack-person > img { width: 100%; max-height: none; }
.home-preview-note { margin: 17px 0 0; color: var(--muted); font-size: .77rem; }
.home-empty { margin: 29px 0 0; padding: 40px; border: 1px dashed #cfa8b9; border-radius: 13px; color: var(--muted); background: var(--paper); }
.home-process { margin-top: 100px; padding: 57px 58px 61px; border-radius: 17px; background: #f0dfe6; }
.home-process-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px; margin-top: 39px; }
.home-process-steps article { border-top: 2px solid #ae6a88; padding-top: 20px; }
.home-process-steps h3 { margin: 0; font-size: 1.13rem; }
.home-process-steps p { max-width: 29ch; margin: 11px 0 0; color: #654c59; font-size: .88rem; line-height: 1.65; }
.home-status-guide { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 48px; align-items: start; margin: 100px 0 95px; }
.home-status-guide h2 { max-width: 13ch; }
.home-status-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.home-status-columns > div { padding: 23px 0; border-top: 1px solid #bf96a8; }
.home-status-columns h3 { margin: 0; color: var(--rose-dark); font-size: 1rem; }
.home-status-columns p { margin: 11px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.directory-nav-row { min-height: 36px; }
.directory-intro { display: block; }
.directory-intro .intro-main h1 { max-width: none; font-size: 2.15rem; }
.directory-intro .intro-main p { margin-top: 7px; }

@media (max-width: 1050px) {
  .home-hero { grid-template-columns: 50% 50%; min-height: 450px; }
  .home-hero-copy { padding: 38px; }
  .home-hero h1 { font-size: clamp(2.45rem,4.2vw,3.5rem); }
  .home-hero-visual img { min-height: 450px; }
  .home-featured-person { grid-template-columns: 48% 52%; }
  .home-stack-person { grid-template-columns: 88px minmax(0,1fr) 18px; gap: 12px; }
  .home-stack-person > img { width: 88px; }
  .home-stack-person .status-pill { font-size: .62rem; }
}

@media (max-width: 760px) {
  .home-page { width: calc(100% - 30px); }
  .home-header { min-height: 65px; gap: 11px; }
  .home-header .brand { font-size: 1.05rem; gap: 8px; }
  .home-header .brand-mark { width: 27px; height: 27px; }
  .home-nav { gap: 13px; font-size: .76rem; }
  .home-language select { min-width: 50px; min-height: 34px; padding: 4px 3px; font-size: .76rem; }
  .home-hero { display: flex; flex-direction: column; min-height: 0; border-radius: 14px; }
  .home-hero-copy { padding: 34px 25px 31px; }
  .home-hero h1 { max-width: 12ch; font-size: clamp(2rem,8.4vw,3rem); line-height: 1.17; }
  .home-hero p { margin-top: 14px; font-size: .88rem; line-height: 1.6; }
  .home-hero-actions { gap: 20px; margin-top: 23px; }
  .home-hero-actions .primary-button { min-height: 45px; padding-inline: 18px; font-size: .84rem; }
  .home-text-link { font-size: .83rem; }
  .home-hero-visual img { height: 202px; min-height: 0; object-position: 58% 63%; }
  .home-people { padding-top: 60px; }
  .home-section-heading h2, .home-process h2, .home-status-guide h2 { font-size: 1.75rem; }
  .home-section-heading p { font-size: .85rem; }
  .home-people-layout { grid-template-columns: 1fr; gap: 13px; margin-top: 24px; }
  .home-featured-person { grid-template-columns: 42% 58%; min-height: 216px; }
  .home-featured-person > img { min-height: 216px; }
  .home-featured-info { padding: 17px; }
  .home-featured-info strong { font-size: 1.28rem; }
  .home-featured-info p { margin-top: 9px; font-size: .78rem; }
  .home-featured-info .status-pill { font-size: .61rem; }
  .home-profile-link { font-size: .75rem; }
  .home-person-stack { gap: 10px; }
  .home-stack-person { grid-template-columns: 81px minmax(0,1fr) 16px; min-height: 104px; gap: 11px; padding: 7px 12px 7px 7px; }
  .home-stack-person > img { width: 81px; min-height: 90px; max-height: 100px; }
  .home-people-layout.count-2 .home-stack-person, .home-people-layout.count-3 .home-stack-person { grid-template-columns: 81px minmax(0,1fr) 16px; }
  .home-people-layout.count-2 .home-stack-person > img, .home-people-layout.count-3 .home-stack-person > img { width: 81px; max-height: 100px; }
  .home-stack-info strong { font-size: 1rem; }
  .home-stack-info p { margin-top: 5px; }
  .home-stack-info small { margin-top: 4px; }
  .home-preview-note { line-height: 1.5; }
  .home-process { margin-top: 66px; padding: 31px 24px 37px; border-radius: 13px; }
  .home-process-steps { grid-template-columns: 1fr; gap: 21px; margin-top: 24px; }
  .home-process-steps article { padding-top: 14px; }
  .home-process-steps p { max-width: none; margin-top: 6px; font-size: .84rem; }
  .home-status-guide { display: block; margin: 66px 0 58px; }
  .home-status-guide h2 { max-width: none; }
  .home-status-columns { gap: 17px; margin-top: 22px; }
  .home-status-columns > div { padding-top: 15px; }
  .home-status-columns p { font-size: .8rem; }
  .directory-nav-row { gap: 12px; }
  .directory-nav-row .home-nav { margin-left: auto; }
  .directory-intro .intro-main h1 { font-size: 1.55rem; }
}

@media (max-width: 400px) {
  .home-header .brand { font-size: .96rem; }
  .home-nav { gap: 9px; font-size: .72rem; }
  .home-hero-copy { padding-inline: 19px; }
  .home-featured-info { padding: 13px; }
  .home-featured-info strong { font-size: 1.12rem; }
  .home-status-columns { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  body { min-width: 0; }
  .home-header { display: grid; grid-template-columns: minmax(0,1fr) auto; row-gap: 0; padding: 9px 0 7px; }
  .home-header .brand { grid-column: 1; grid-row: 1; white-space: nowrap; }
  .home-header .home-language { grid-column: 2; grid-row: 1; }
  .home-header .home-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .home-header .brand-mark, .directory-nav-row .brand-mark { display: none; }
  .home-nav { gap: 7px; font-size: .7rem; }
  .home-hero-actions { display: grid; gap: 11px; }
  .home-hero-actions .primary-button { padding-inline: 13px; font-size: .8rem; }
  .home-text-link { font-size: .78rem; }
}

/* Keep the editorial layer authoritative over the earlier landing-page baseline. */
.home-page { width: 100%; max-width: none; }
.home-header { width: min(100% - 72px,1530px); min-height: 84px; margin: auto; }
.home-hero { position: relative; display: grid; grid-template-columns: 1fr; min-height: 535px; overflow: hidden; border: 0; border-radius: 0; background: #402535; }
.home-hero-visual { position: absolute; inset: 0; z-index: -2; }
.home-hero-visual img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 63% 50%; }
.home-hero-copy { width: min(100% - 72px,1530px); margin: auto; padding: 36px 0 44px; transform: translateY(-19px); }
.home-hero h1 { max-width: 11ch; font-size: clamp(3.8rem,5.2vw,6rem); font-weight: 600; line-height: 1.12; }
.home-hero .home-hero-lead { max-width: 42ch; margin-top: 24px; }
.home-hero-actions { margin-top: 25px; }
.home-search { margin-top: -65px; padding: 23px 28px; }
.person-grid:not(.as-list) .person-card.is-locked .portrait-wrap { height: 145px; aspect-ratio: auto; }
@media (min-width: 761px) {
  .site-header { gap: 14px; padding: 23px 0 20px; }
  .directory-shell { padding-top: 24px; }
  .results-head { margin-bottom: 16px; padding-bottom: 16px; }
}
.home-people { width: min(100% - 72px,1370px); padding-top: 100px; }
.home-process { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); gap: 55px; width: min(100% - 72px,1370px); margin: 115px auto 0; padding: 55px 58px; border-radius: 0; }
.home-process-steps { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.home-process-steps article { display: grid; grid-template-columns: minmax(0,.45fr) minmax(0,1fr); gap: 22px; padding: 20px 0; border-top: 1px solid #bd97a9; }
.home-process-steps article p { max-width: 54ch; margin: 0; }
.home-status-guide { width: min(100% - 72px,1370px); margin: 105px auto 90px; }
.home-status-guide h2 { max-width: 16ch; }
.home-status-columns { gap: 40px; }
@media (max-width: 1050px) {
  .home-hero { grid-template-columns: 1fr; min-height: 535px; }
  .home-hero-copy { padding: 43px 0; }
  .home-hero h1 { font-size: clamp(3.7rem,6vw,5.3rem); }
}
@media (max-width: 760px) {
  .home-header { width: min(100% - 30px,600px); min-height: 75px; display: grid; grid-template-columns: 1fr auto; padding: 10px 0; }
  .home-header .brand { grid-column: 1; grid-row: 1; }
  .home-header .home-header-actions { grid-column: 2; grid-row: 1; }
  .home-header .home-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 12px; margin: 7px 0 0; }
  .directory-nav-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 3px; }
  .directory-nav-row .home-nav { margin-left: 0; }
  .home-nav { min-width: 0; flex-wrap: wrap; gap: 3px 14px; }
  .home-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 2px; }
  .home-access-link, .home-language select { min-height: 44px; }
  .view-switch button, .results-controls select, .pagination a { min-height: 44px; }
  .view-switch button, .pagination a { min-width: 44px; }
  .filter-toggle, .filter-close { min-height: 44px; }
  .home-hero { display: grid; min-height: 590px; border-radius: 0; }
  .home-hero-copy { width: min(100% - 40px,600px); padding: 68px 0 90px; }
  .home-hero-copy { transform: none; }
  .home-hero h1 { max-width: 11ch; font-size: clamp(3.25rem,10vw,5.5rem); line-height: 1.12; }
  .home-hero .home-hero-lead { margin-top: 22px; }
  .home-hero-visual img { height: 100%; object-position: 67% center; }
  .home-search { margin-top: -35px; padding: 23px; }
  .person-grid:not(.as-list) .person-card.is-locked .portrait-wrap { height: auto; aspect-ratio: 1.15 / 1; }
  .home-people { width: min(100% - 32px,600px); padding-top: 78px; }
  .home-process { display: block; width: min(100% - 32px,600px); margin-top: 75px; padding: 36px 28px; }
  .home-process-steps { grid-template-columns: 1fr; gap: 0; margin-top: 25px; }
  .home-process-steps article { grid-template-columns: 1fr; gap: 8px; }
  .home-status-guide { display: block; width: min(100% - 32px,600px); margin: 74px auto 70px; }
  .home-status-guide h2 { max-width: 16ch; }
  .home-status-columns { margin-top: 30px; }
}
@media (max-width: 410px) {
  .home-hero { min-height: 570px; }
  .home-hero h1 { font-size: 3.1rem; }
}

/* A more editorial gallery and a more legible working directory. */
.home-page { background: #f6edef; }
.home-people { padding-top: clamp(76px,8vw,122px); }
.home-section-heading { align-items: center; }
.home-section-heading h2 { max-width: 14ch; }
.home-section-heading p { max-width: 46ch; line-height: 1.65; }
.home-people-grid { grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(252px,auto)); gap: 16px; margin-top: 38px; }
.home-person-card { position: relative; display: flex; flex-direction: column; min-height: 0; border: 1px solid #e8d5dd; border-radius: 3px; box-shadow: 0 12px 28px rgba(63,27,47,.08); }
.home-person-card:first-child { grid-column: span 2; grid-row: span 2; }
.home-person-card:nth-child(4) { grid-column: span 2; display: grid; grid-template-columns: 1fr .92fr; }
.home-person-image { flex: 1; min-height: 0; aspect-ratio: auto; }
.home-person-card:first-child .home-person-image { min-height: 410px; }
.home-person-card:nth-child(2) .home-person-image,.home-person-card:nth-child(3) .home-person-image { min-height: 155px; }
.home-person-card:nth-child(4) .home-person-image { height: 100%; }
.home-person-image img { position: absolute; inset: 0; object-position: center 22%; }
.home-person-caption { padding: 19px 21px 22px; background: #fffaf8; }
.home-person-card:first-child .home-person-caption { padding: 25px 28px 29px; }
.home-person-card:first-child .home-person-caption strong { font-size: 2rem; }
.home-person-card:nth-child(2) .home-person-caption,.home-person-card:nth-child(3) .home-person-caption { padding: 13px 15px 15px; }
.home-person-card:nth-child(2) .home-person-caption strong,.home-person-card:nth-child(3) .home-person-caption strong { font-size: 1.32rem; }
.home-person-card:nth-child(4) .home-person-caption { display: flex; flex-direction: column; justify-content: center; }
.home-person-card:nth-child(4) .home-person-caption > div { display: grid; justify-content: start; }
.home-person-card:nth-child(4) .home-person-caption strong { font-size: 1.8rem; }
.home-person-card:hover,.home-person-card:focus-visible { box-shadow: 0 25px 48px rgba(63,27,47,.19); }

.directory-page { max-width: 1680px; }
.directory-shell { gap: 34px; }
.results-head { margin-bottom: 22px; }
.person-grid { gap: 23px; }
.person-grid:not(.as-list) .person-card { border-radius: 4px; }
.person-grid:not(.as-list) .portrait-wrap,.person-grid:not(.as-list) .person-card.is-locked .portrait-wrap { height: auto; aspect-ratio: 1.22 / 1; margin: 0; border-radius: 0; }
.person-grid:not(.as-list) .person-card-content { padding: 20px 22px 22px; }
.person-grid:not(.as-list) .card-name-row h2 { font-size: 1.5rem; }
.person-card:hover,.person-card:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(70,36,53,.11); }
.person-card.is-active { transform: none; border-color: var(--rose); box-shadow: 0 0 0 2px var(--rose),0 16px 30px rgba(70,36,53,.13); }
.person-grid:not(.as-list) .person-card:hover .portrait-wrap img,.person-grid:not(.as-list) .person-card:focus-visible .portrait-wrap img { transform: scale(1.025); }
.person-grid:not(.as-list) .person-card.is-locked:hover .portrait-wrap img { transform: scale(1.18); }
.person-grid:not(.as-list) .card-link { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: -2px 0 23px; }
.active-filters-label { margin-right: 6px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.active-filter { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; min-height: 35px; padding: 5px 10px 5px 12px; border: 1px solid #d3a5b8; border-radius: 4px; background: #f8e7ed; color: #71314d; font-size: .75rem; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.active-filter span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.active-filter strong { margin-left: 6px; font-weight: 750; }
.active-filter svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.active-filter:hover { color: #57263c; background: #f0cedb; border-color: var(--rose); transform: translateY(-1px); }
.active-filter:active { transform: translateY(1px); }
.detail-panel { border-radius: 4px; }
.directory-shell.panel-open .detail-panel { animation: detail-reveal .22s cubic-bezier(.23,1,.32,1) both; }
.detail-panel .detail-inner { animation: detail-content-arrive .16s cubic-bezier(.23,1,.32,1) both; }
@keyframes detail-reveal { from { opacity: .86; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
@keyframes detail-content-arrive { from { opacity: .8; } to { opacity: 1; } }

@media (max-width: 1290px) {
  .directory-shell.panel-open .person-grid:not(.as-list) .person-card { border-radius: 4px; }
  .directory-shell.panel-open .person-grid:not(.as-list) .portrait-wrap { width: 35%; height: auto; aspect-ratio: auto; margin: 0; }
  .directory-shell.panel-open .person-grid:not(.as-list) .person-card-content { padding: 16px; }
}
@media (max-width: 1050px) {
  .home-people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; }
  .home-person-card:first-child,.home-person-card:nth-child(4) { grid-column: auto; grid-row: auto; }
  .home-person-card:nth-child(4) { display: flex; }
  .home-person-card:nth-child(4) .home-person-image { min-height: 155px; }
  .home-person-card:nth-child(4) .home-person-caption { display: block; }
  .home-person-card:nth-child(4) .home-person-caption > div { display: flex; justify-content: space-between; }
  .home-person-card:first-child .home-person-image { min-height: 155px; }
  .home-person-card:first-child .home-person-caption { padding: 19px 21px 22px; }
  .home-person-card:first-child .home-person-caption strong,.home-person-card:nth-child(4) .home-person-caption strong { font-size: 1.5rem; }
}
@media (max-width: 760px) {
  .home-people-grid { gap: 12px; }
  .home-person-card .home-person-image,.home-person-card:first-child .home-person-image,.home-person-card:nth-child(4) .home-person-image { aspect-ratio: .9 / 1; min-height: 0; }
  .home-person-card .home-person-caption,.home-person-card:first-child .home-person-caption,.home-person-card:nth-child(2) .home-person-caption,.home-person-card:nth-child(3) .home-person-caption,.home-person-card:nth-child(4) .home-person-caption { padding: 14px; }
  .home-person-card .home-person-caption strong,.home-person-card:first-child .home-person-caption strong,.home-person-card:nth-child(4) .home-person-caption strong { font-size: 1.23rem; }
  .person-grid:not(.as-list) .person-card { flex-direction: row; min-height: 184px; }
  .person-grid:not(.as-list) .portrait-wrap,.person-grid:not(.as-list) .person-card.is-locked .portrait-wrap { width: 38%; height: auto; aspect-ratio: auto; }
  .person-grid:not(.as-list) .person-card-content { padding: 16px; }
  .person-grid:not(.as-list) .card-name-row h2 { font-size: 1.15rem; }
  .person-grid:not(.as-list) .card-link { margin-top: auto; padding-top: 9px; }
  .active-filters { margin-top: 0; }
}
@media (max-width: 430px) {
  .home-people-grid { grid-template-columns: 1fr; }
  .home-person-card { display: grid; grid-template-columns: 42% minmax(0,1fr); min-height: 170px; }
  .home-person-card:first-child,.home-person-card:nth-child(4) { display: grid; grid-template-columns: 42% minmax(0,1fr); }
  .home-person-card .home-person-image,.home-person-card:first-child .home-person-image,.home-person-card:nth-child(4) .home-person-image { height: 100%; aspect-ratio: auto; }
  .home-person-card .home-person-caption > div,.home-person-card:nth-child(4) .home-person-caption > div { display: grid; justify-content: start; }
  .home-person-card .home-person-caption p { margin-top: 7px; }
  .home-person-card .home-person-caption small { margin-top: 7px; }
  .active-filters-label { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .directory-shell.panel-open .detail-panel,.detail-panel .detail-inner { animation: none; }
  .home-person-card:hover,.home-person-card:focus-visible,.person-card:hover,.person-card:focus-visible { transform: none; }
}

/* The opening is a composed spread, not a photograph with text overlaid on it. */
.home-hero { grid-template-columns: minmax(0,.98fr) minmax(0,1.02fr); min-height: 610px; background: #f0dfe5; color: #432738; }
.home-hero::before { background: none; }
.home-hero-visual { position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1; min-height: 610px; overflow: hidden; }
.home-hero-visual img { object-position: 72% center; animation: hero-scene 1s cubic-bezier(.16,1,.3,1) both; }
@keyframes hero-scene { from { clip-path: inset(0 7% 0 0); transform: scale(1.035); } to { clip-path: inset(0); transform: scale(1); } }
.home-hero-copy { position: relative; z-index: 1; grid-column: 1; grid-row: 1; width: auto; margin: 0; padding: 68px 46px 105px max(36px,calc((100vw - 1530px)/2)); transform: none; }
.home-hero .home-hero-note { color: #87415d !important; }
.home-hero h1 { max-width: 11ch; color: #49283a; text-shadow: none; }
.home-hero .home-hero-lead { max-width: 40ch; color: #664454 !important; }
.home-hero-actions .primary-button { background: #9d416a; border-color: #9d416a; color: #fff; }
.home-hero-actions .primary-button:hover { background: #76304f; border-color: #76304f; color: #fff; }
.home-hero-actions .home-text-link { color: #703d54; text-decoration-color: #b26887; }
.home-search { z-index: 2; }
@media (max-width: 1050px) {
  .home-hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 560px; }
  .home-hero-visual { min-height: 560px; }
  .home-hero-copy { padding-left: 36px; padding-right: 25px; }
  .home-hero h1 { font-size: clamp(3.4rem,5.8vw,5.1rem); }
}
@media (max-width: 760px) {
  .home-hero { display: grid; grid-template-columns: 1fr; grid-template-rows: auto 230px; min-height: 0; }
  .home-hero-copy { grid-column: 1; grid-row: 1; width: min(100% - 40px,600px); margin: 0 auto; padding: 58px 0 56px; }
  .home-hero-visual { grid-column: 1; grid-row: 2; min-height: 230px; }
  .home-hero-visual img { object-position: 65% 58%; }
  .home-hero h1 { font-size: clamp(3.25rem,10vw,5.5rem); }
  .home-search { margin-top: -34px; }
}
@media (max-width: 410px) {
  .home-hero h1 { font-size: 3.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-visual img { animation: none; }
}

@media (hover: none), (pointer: coarse) {
  .person-card:hover { transform: none; }
  .person-card:hover .portrait-wrap img,
  .person-grid:not(.as-list) .person-card:hover .portrait-wrap img { transform: none; }
  .person-card.is-locked:hover .portrait-wrap img,
  .person-grid:not(.as-list) .person-card.is-locked:hover .portrait-wrap img { transform: scale(1.13); }
}
