.celebrities-page { --cp-ink: #2f302d; --cp-muted: #70716a; --cp-line: #e4e4dd; --cp-paper: #fffefa; background: #fbfbf8; color: var(--cp-ink); }
.celebrities-page .cp-page-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 112px; }
.celebrities-page .cp-page-header h1 { font-size: clamp(24px, 2.8vw, 31px); font-weight: 600; letter-spacing: -.055em; }
.celebrities-page .cp-page-header .eyebrow { color: #77786c; }
.celebrities-page .cp-page-header p { margin: 6px 0 0; color: var(--cp-muted); font-size: 12px; }
.celebrities-page .cp-page-body { padding: 26px 30px 45px; }
.cp-page-body > * { width: min(100%, 1120px); margin-inline: auto; }
.celebrities-page h2, .celebrities-page p { margin-top: 0; }
.cp-intro { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; overflow: hidden; padding: 30px 34px; border: 1px solid #deded5; border-radius: 19px; background-color: #f0f0e8; background-image: linear-gradient(#b4b4a911 1px, transparent 1px), linear-gradient(90deg, #b4b4a911 1px, transparent 1px); background-size: 24px 24px; }
.cp-eyebrow { display: block; margin-bottom: 10px; color: #78796a; font-size: 9px; font-weight: 600; line-height: 1.5; letter-spacing: .13em; }
.cp-intro h2 { position: relative; z-index: 1; margin: 0; font: 500 clamp(24px, 2.5vw, 32px)/1.13 var(--display, var(--font)); letter-spacing: -.055em; }
.cp-intro p { position: relative; z-index: 1; max-width: 340px; margin: 0; color: #66685e; font-size: 13px; line-height: 1.75; }
.cp-intro-art { position: absolute; right: -15px; bottom: -49px; color: #bfc1ac55; font: 240px/1 Georgia, serif; transform: rotate(10deg); }
.cp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; }
.cp-views { display: flex; gap: 3px; padding: 4px; border: 1px solid #e2e2da; border-radius: 11px; background: #f0f0eb; }
.cp-views button { min-height: 36px; padding: 8px 13px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #77786f; font-size: 12px; font-weight: 500; white-space: nowrap; }
.cp-views button[aria-pressed="true"] { border-color: #e1e1d8; background: #fffefa; color: #35362f; box-shadow: 0 1px 3px #35362f08; }
.cp-search { position: relative; display: block; width: min(100%, 310px); }
.cp-search > span:first-child { position: absolute; top: 7px; left: 12px; color: #77786f; font-size: 25px; line-height: 1; pointer-events: none; }
.cp-search input { width: 100%; min-height: 44px; padding: 11px 12px 11px 37px; border: 1px solid #deded6; border-radius: 10px; background: #fffefa; color: var(--cp-ink); font-size: 12px; }
.cp-search input::placeholder { color: #8b8c80; }
.cp-category-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.cp-category-row button { min-height: 36px; padding: 7px 13px; border: 1px solid #e3e3da; border-radius: 20px; background: #fffefa; color: #72736a; font-size: 11px; }
.cp-category-row button[aria-pressed="true"] { border-color: #66685b; background: #606352; color: #fffefa; }
.cp-results-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 27px; margin-bottom: 15px; }
.cp-results-heading h2 { margin: 0; color: var(--cp-ink); font: 500 17px/1.4 var(--display, var(--font)); letter-spacing: -.035em; }
.cp-results-heading p { margin: 0; color: #7a7b71; font-size: 11px; line-height: 1.5; text-align: right; }
.cp-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cp-person-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 20px; border: 1px solid var(--cp-line); border-radius: 17px; background: var(--cp-paper); box-shadow: 0 3px 12px #35362f03; }
.cp-tone-rose { --cp-wash: #f0e4e1; --cp-accent: #956d68; }
.cp-tone-sage { --cp-wash: #e4e9de; --cp-accent: #737f65; }
.cp-tone-sand { --cp-wash: #eee6d7; --cp-accent: #9b865e; }
.cp-tone-blue { --cp-wash: #e2e8eb; --cp-accent: #6c818d; }
.cp-tone-lilac { --cp-wash: #e9e4ed; --cp-accent: #8b7a97; }
.cp-tone-clay { --cp-wash: #eee1d7; --cp-accent: #a47e64; }
.cp-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.cp-monogram { display: grid; place-items: center; width: 61px; height: 65px; border: 1px solid color-mix(in srgb, var(--cp-accent) 16%, transparent); border-radius: 13px; background-color: var(--cp-wash); background-image: linear-gradient(#fff3 1px, transparent 1px), linear-gradient(90deg, #fff3 1px, transparent 1px); background-size: 12px 12px; color: var(--cp-accent); font: 500 23px/1 var(--display, var(--font)); letter-spacing: -.06em; }
.cp-category { margin-top: 3px; padding: 5px 7px; border: 1px solid #e9e9e1; border-radius: 6px; color: #85867b; font-size: 9px; line-height: 1.3; }
.cp-card-copy { flex: 1; }
.cp-card-copy h2 { margin: 0 0 3px; color: var(--cp-ink); font: 500 17px/1.35 var(--display, var(--font)); letter-spacing: -.035em; overflow-wrap: anywhere; }
.cp-role { color: #73756a; font-size: 11px; }
.cp-card-copy p { margin: 13px 0 16px; color: #828378; font-size: 11px; line-height: 1.65; }
.cp-source { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 36px; padding: 8px 0; border-top: 1px solid #eeeeE6; color: #727668; font-size: 10px; text-decoration: none; }
@media (hover: hover) and (pointer: fine){.cp-source:hover { color: #363c2e; }}
.cp-source > span { font-size: 14px; }
.cp-card-actions { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin-top: 8px; }
.cp-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 40px; padding: 9px 13px; border: 1px solid #dadcd2; border-radius: 9px; background: #fffefa; color: #53594a; font: 500 11px/1.5 var(--font); cursor: pointer; }
.cp-button > span { font-size: 15px; line-height: 1; }
@media (hover: hover) and (pointer: fine){.cp-button:hover { border-color: #aeb3a0; background: #f6f7f0; }}
.cp-button-primary { border-color: #dedfd4; background: #eeefe5; color: #62694f; }
@media (hover: hover) and (pointer: fine){.cp-button-primary:hover { border-color: #b6bda5; background: #e5e8d9; }}
.cp-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 0; border: 0; background: transparent; color: #707961; font: 500 11px/1.5 var(--font); cursor: pointer; }
@media (hover: hover) and (pointer: fine){.cp-text-button:hover { color: #414a33; text-decoration: underline; }}
.cp-saved-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cp-saved-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--cp-line); border-radius: 15px; background: var(--cp-paper); }
.cp-saved-heading { display: flex; align-items: center; gap: 11px; }
.cp-small-monogram { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 40px; border-radius: 9px; background: var(--cp-wash); color: var(--cp-accent); font-size: 13px; }
.cp-saved-heading h2 { margin: 0 0 3px; font-size: 13px; font-weight: 500; }
.cp-saved-heading div > span { color: #8a8c7f; font-size: 10px; }
.cp-saved-card p { flex: 1; margin: 17px 0; color: #73766b; font-size: 12px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.cp-saved-card > button { align-self: flex-start; }
.cp-empty { padding: 42px 20px; border: 1px dashed #d8dacd; border-radius: 16px; background: #f6f7f0; text-align: center; }
.cp-empty > span { display: block; margin-bottom: 12px; color: #9a9e8b; font-size: 31px; }
.cp-empty h2 { margin: 0 0 7px; font-size: 18px; font-weight: 500; letter-spacing: -.035em; }
.cp-empty p { max-width: 380px; margin: 0 auto 16px; color: #818574; font-size: 12px; line-height: 1.7; }
.cp-editor { margin-top: 22px; padding: 24px; border: 1px solid #d7dccb; border-radius: 16px; background: #f5f7ef; }
.cp-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.cp-editor-heading .cp-eyebrow { margin-bottom: 5px; }
.cp-editor-heading h2 { margin: 0; font: 500 18px/1.4 var(--display, var(--font)); letter-spacing: -.035em; overflow-wrap: anywhere; }
.cp-close { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border: 1px solid #e1e4d8; border-radius: 8px; background: #fbfcf8; color: #828875; font-size: 22px; }
.cp-field { display: grid; min-width: 0; gap: 7px; margin-top: 15px; }
.cp-field > span { color: #6a725f; font-size: 11px; font-weight: 500; }
.cp-field :is(input, textarea) { width: 100%; min-width: 0; padding: 12px; border: 1px solid #dce1d2; border-radius: 10px; background: #fffefa; color: var(--cp-ink); font-size: 13px; line-height: 1.7; }
.cp-field textarea { min-height: 112px; resize: vertical; }
.cp-field :is(input, textarea)::placeholder { color: #a0a595; }
.cp-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cp-form-hint { margin: 9px 0 0; color: #8a927e; font-size: 10px; line-height: 1.6; }
.cp-editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 19px; }
.cp-editor-actions > span { color: #929987; font-size: 10px; line-height: 1.6; }
.cp-editor-actions > button { flex: 0 0 auto; }
.cp-form-error { margin: 14px 0 0; color: #92644d; font-size: 12px; line-height: 1.6; }
.cp-save-success { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; padding: 13px 16px; border: 1px solid #d8dfca; border-radius: 11px; background: #eef2e5; color: #727e5e; font-size: 12px; line-height: 1.6; }
.cp-save-success > button { flex-shrink: 0; }
.cp-directory-note { margin-top: 22px; color: #939588; font-size: 10px; line-height: 1.7; text-align: center; }
.cp-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; }
.celebrities-page :is(button, a, input, textarea):focus-visible { outline: 2px solid #717a60; outline-offset: 3px; }
@media (max-width: 1180px) { .cp-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }.cp-intro { gap: 25px; padding: 26px; } }
@media (max-width: 680px) {
  .celebrities-page .cp-page-header { min-height: 102px; padding: 18px 16px; gap: 12px; }
  .celebrities-page .cp-page-header > button { gap: 10px; font-size: 10px; }
  .celebrities-page .cp-page-body { padding: 17px 16px 34px; }
  .cp-intro { grid-template-columns: 1fr; gap: 17px; padding: 24px; border-radius: 16px; }
  .cp-intro h2 { font-size: 28px; }
  .cp-intro p { max-width: 310px; font-size: 12px; line-height: 1.7; }
  .cp-intro-art { right: -10px; bottom: -40px; font-size: 200px; }
  .cp-toolbar { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
  .cp-views { align-self: flex-start; }
  .cp-views button, .cp-category-row button { min-height: 40px; }
  .cp-search { width: 100%; }
  .cp-category-row { gap: 6px; margin-top: 13px; }
  .cp-category-row button { padding: 7px 12px; font-size: 10px; }
  .cp-results-heading { margin-top: 24px; gap: 10px; }
  .cp-results-heading h2 { font-size: 16px; }
  .cp-results-heading p { max-width: 135px; font-size: 10px; }
  .cp-directory, .cp-saved-grid { grid-template-columns: 1fr; gap: 13px; }
  .cp-person-card { padding: 20px; }
  .cp-card-top { margin-bottom: 16px; }
  .cp-card-copy h2 { font-size: 19px; }
  .cp-card-copy p { font-size: 12px; }
  .cp-source { min-height: 42px; font-size: 11px; }
  .cp-button { min-height: 44px; font-size: 12px; }
  .cp-text-button { min-height: 40px; }
  .cp-editor { padding: 18px; }
  .cp-field-pair { grid-template-columns: 1fr; gap: 0; }
  .cp-field :is(input, textarea) { font-size: 16px; }
  .cp-editor-actions { align-items: flex-start; gap: 12px; }
  .cp-editor-actions > span { max-width: 145px; }
  .cp-save-success { align-items: flex-start; }
}

/* Bounded portrait pages keep the full directory quick to browse on phones. */
.cp-card-top { position:relative; display:block; margin-bottom:16px; }
.cp-portrait { position:relative; display:grid; place-items:center; width:100%; aspect-ratio:1.35; overflow:hidden; border-radius:11px; background:var(--cp-wash,#eeefe9); color:var(--cp-accent,#73786d); font-size:32px; }
.cp-photo { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:center 28%; }
.cp-photo[hidden] { display:none; }
.cp-card-top .cp-category { position:absolute; right:9px; bottom:9px; margin:0; background:#fffffff0; color:#565b50; border-color:#ffffffc0; }
.cp-photo-credit { color:#6c7265; font-size:10px; line-height:1.5; margin:0 0 5px; }
.cp-photo-credit summary { cursor:pointer; padding:5px 0; }
.cp-photo-credit p { margin:5px 0 10px; overflow-wrap:anywhere; }
.cp-photo-credit a { color:inherit; text-underline-offset:2px; }
.cp-pagination { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:24px; padding-top:18px; border-top:1px solid var(--cp-line); }
.cp-pagination > span { font-size:12px; color:#666d5e; }
.cp-pagination .cp-button:disabled { opacity:.4; cursor:default; }
.cp-portrait-small { flex:none; width:48px; height:48px; aspect-ratio:1; border-radius:9px; font-size:15px; }
.cp-saved-heading .cp-portrait-small { margin-right:4px; }
.cp-card-copy h2:focus { outline:0; }
@media(max-width:680px) { .cp-portrait { aspect-ratio:1.5; }.cp-pagination { gap:8px; }.cp-pagination .cp-button { padding-inline:12px; }.cp-pagination > span { font-size:10px; }.cp-portrait-small { aspect-ratio:1; } }
