@charset "UTF-8";
:root {
  --paper: #ffffff;
  --ink: #252627;
  --muted: #6b6e70;
  --green: #2e3934;
  --soft: #f1f3ef;
  --line: #e4e6e3;
  --danger: #9f332d;
  --white: #ffffff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
a:hover {
  color: #0b3325;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #b27629;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 550;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
  font-weight: 600;
}
p {
  color: var(--muted);
}
em {
  font-family: Georgia, serif;
  font-weight: normal;
  color: var(--green);
}
.container {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.topnav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.09em;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--green);
  border-radius: 50%;
  font:
    italic 30px Georgia,
    serif;
  margin-right: 10px;
  padding-bottom: 4px;
  letter-spacing: 0;
}
.brand-dot {
  color: var(--green);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}
.nav-links > a {
  text-decoration: none;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  padding: 13px 22px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 550;
  line-height: 1.4;
}
.button:hover,
button:hover {
  background: #153a30;
  color: #fff;
}
.button.small {
  padding: 10px 16px;
}
.secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--line);
}
.secondary:hover {
  background: var(--soft);
  color: var(--green);
}
.button.danger,
button.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}
.inline-form {
  margin: 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}
.text-link {
  font-size: 0.94rem;
}
.public-content {
  flex: 1;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 95px 0 90px;
}
.eyebrow,
.step {
  font:
    600 0.72rem/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #397a50;
}
.hero h1 {
  font-size: clamp(3.2rem, 5.6vw, 4.5rem);
  line-height: 1.12;
}
.lead {
  font-size: 1.12rem;
  max-width: 450px;
  line-height: 1.7;
}
.hero-art {
  height: 360px;
  position: relative;
  overflow: hidden;
  background: #edf0e7;
  border-radius: 48% 48% 3px 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit {
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid #a6b4a2;
  border-radius: 50%;
}
.orbit-one {
  transform: translate(-46px, -16px);
}
.orbit-two {
  transform: translate(46px, -16px);
}
.orbit-three {
  transform: translate(0, 56px);
}
.art-center {
  font:
    italic 115px Georgia,
    serif;
  color: var(--green);
  z-index: 1;
  letter-spacing: -8px;
  margin-top: -25px;
}
.art-caption {
  position: absolute;
  bottom: 24px;
  font:
    0.62rem ui-monospace,
    monospace;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 38px 0 70px;
  border-top: 1px solid var(--line);
}
.intro-grid h2 {
  margin: 15px 0 10px;
}
.intro-grid p {
  font-size: 0.93rem;
  margin: 0;
}
.site-footer {
  margin-top: auto;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--muted);
}
.site-footer a {
  text-decoration: none;
}
.site-footer span span {
  margin: 0 8px;
  color: #a6b1a8;
}
.auth-page {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
  padding-block: 72px;
  max-width: 1060px;
}
.auth-tagline {
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 24px;
}
.auth-card {
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 30px #253c2b04;
  min-width: 0;
}
.auth-card h1 {
  font-size: 2rem;
}
.auth-card p {
  font-size: 0.94rem;
}
.auth-card form {
  margin-top: 26px;
}
.auth-card form > button,
.auth-card form > div > button {
  width: 100%;
}
.auth-card ul:not(.errorlist) {
  padding-left: 20px;
}
.form-page {
  max-width: 600px;
  margin: 68px auto 90px;
}
.form-page > p {
  margin-bottom: 28px;
}
.field {
  margin-bottom: 22px;
}
.field label,
label {
  display: block;
  font-size: 0.86rem;
  font-weight: 550;
  margin-bottom: 7px;
}
.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.field textarea,
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
textarea,
select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cdd5cd;
  border-radius: 5px;
  background: #fffefa;
  color: var(--ink);
  min-height: 46px;
}
.field input:disabled,
input:disabled {
  background: #efefe9;
  color: var(--muted);
}
textarea {
  resize: vertical;
}
.helptext {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 7px;
}
.helptext ul {
  padding-left: 18px;
}
.helptext p,
.helptext ul {
  margin-bottom: 0;
}
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.checkbox-field label {
  margin: 0;
}
.checkbox-field input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}
.errorlist {
  padding-left: 18px;
  color: var(--danger);
  font-size: 0.84rem;
}
.field-errors,
.form-errors {
  color: var(--danger);
}
.invalid input {
  border-color: var(--danger) !important;
}
.form-errors {
  padding: 10px 15px;
  background: #faefeb;
  border-radius: 5px;
  margin-bottom: 20px;
}
.notices {
  padding-top: 20px;
}
.notice {
  padding: 15px 20px;
  border: 1px solid #ccd9c9;
  border-radius: 6px;
  background: #edf3e9;
  font-size: 0.91rem;
  margin-bottom: 12px;
}
.notice.error,
.notice.warning {
  background: #fcf0e7;
  border-color: #e7cbbb;
}
.workspace {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 65px;
  padding-block: 55px 80px;
  flex: 1;
}
.sidebar {
  min-width: 0;
}
.sidebar .eyebrow {
  margin-bottom: 20px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar nav a {
  padding: 10px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.91rem;
  display: flex;
  justify-content: space-between;
}
.sidebar a[aria-current="page"],
.sidebar nav a:hover {
  background: var(--soft);
}
.sidebar .danger-link {
  color: var(--danger);
  margin-top: 24px;
}
.member-card {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 22px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.77rem;
  color: var(--muted);
}
.member-card span:last-child {
  overflow-wrap: anywhere;
}
.workspace-content {
  min-width: 0;
}
.workspace-content > h1 {
  margin-bottom: 16px;
}
.workspace-content form {
  max-width: 560px;
  margin-top: 30px;
}
.workspace-content form p {
  margin-bottom: 20px;
}
.workspace-content form p:has(input) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.workspace-content .eyebrow {
  margin-bottom: 14px;
}
.welcome-panel {
  background: var(--soft);
  border: 1px solid #dae2d4;
  border-radius: 8px;
  padding: 34px;
  margin-block: 30px;
}
.welcome-panel h2 {
  font-size: 1.75rem;
  margin: 20px 0 12px;
}
.welcome-panel p {
  max-width: 430px;
}
.status-label {
  font:
    0.72rem ui-monospace,
    monospace;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.dashboard-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-decoration: none;
  min-width: 0;
}
.dashboard-card:hover {
  background: var(--white);
}
.dashboard-card h2 {
  margin: 14px 0 10px;
  display: flex;
  justify-content: space-between;
}
.dashboard-card p {
  font-size: 0.88rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.account-details {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  font-size: 0.9rem;
}
.account-details dt {
  color: var(--muted);
}
.account-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.account-details dd a {
  margin-left: 12px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 5;
  background: var(--white);
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
@media (max-width: 900px) {
  .container {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 30px;
    padding-block: 65px;
  }
  .hero-art {
    height: 310px;
  }
  .orbit {
    width: 230px;
    height: 230px;
  }
  .intro-grid {
    gap: 28px;
  }
  .auth-page {
    gap: 50px;
  }
  .auth-card {
    padding: 28px;
  }
  .workspace {
    grid-template-columns: 180px 1fr;
    gap: 30px;
  }
  .nav-links {
    gap: 16px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }
  .topnav {
    min-height: 84px;
    flex-wrap: wrap;
    padding-block: 18px;
    gap: 14px;
  }
  .brand {
    font-size: 1.75rem;
  }
  .nav-links {
    gap: 14px;
    font-size: 0.8rem;
    flex-wrap: wrap;
  }
  .nav-links .button {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 52px 0 40px;
  }
  .hero h1 {
    font-size: 3.35rem;
  }
  .hero-art {
    height: 230px;
    border-radius: 110px 110px 5px 5px;
    max-width: 400px;
    width: 100%;
    margin-inline: auto;
  }
  .orbit {
    width: 185px;
    height: 185px;
  }
  .art-center {
    font-size: 85px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 48px;
  }
  .intro-grid article {
    max-width: 400px;
  }
  .auth-page {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 38px;
  }
  .auth-intro {
    display: none;
  }
  .auth-card {
    padding: 26px;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 30px;
  }
  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px;
  }
  .sidebar nav a {
    padding: 7px 10px;
    font-size: 0.8rem;
  }
  .sidebar nav a span {
    display: none;
  }
  .sidebar .danger-link {
    margin-top: 0;
  }
  .sidebar .eyebrow,
  .member-card {
    display: none;
  }
  .sidebar {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .workspace-content h1 {
    font-size: 2.2rem;
  }
  .welcome-panel {
    padding: 25px;
  }
  .account-details {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .account-details dd {
    margin-bottom: 15px;
  }
  .site-footer {
    font-size: 0.72rem;
    gap: 12px;
    flex-wrap: wrap;
  }
  .form-page {
    margin-block: 40px;
  }
  .actions {
    gap: 18px;
  }
}

/* Shared directory, with site identity selected by the request host. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
img {
  max-width: 100%;
}
.site-humafy {
  --paper: #eaf5ff;
  --ink: #213b55;
  --muted: #516b80;
  --green: #254f73;
  --soft: #d8ebfa;
  --line: #c5ddeb;
  --white: #fafeff;
}
.site-humafy .site-header {
  border-bottom-color: transparent;
}
.site-humafy .brand {
  font-size: 2.25rem;
  letter-spacing: -0.075em;
}
.humafy-mark {
  font-size: 2.9rem;
  margin-right: 9px;
  line-height: 1;
}
.site-humafy .button,
.site-humafy button {
  border-radius: 24px;
}
.site-humafy a:hover {
  color: #153c60;
}
.site-humafy .button:hover,
.site-humafy button:hover {
  color: white;
  background: #173f63;
}
.site-humafy .secondary:hover {
  color: var(--green);
  background: var(--soft);
}
.site-humafy .text-button:hover {
  color: var(--green);
  background: transparent;
}
.search-entry {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  padding: clamp(64px, 12vh, 130px) 0 112px;
  text-align: center;
}
.search-entry .eyebrow {
  justify-content: center;
  margin-bottom: 24px;
}
.search-entry h1 {
  font-size: clamp(3rem, 5.8vw, 4.6rem);
  font-weight: 450;
  letter-spacing: -0.055em;
  line-height: 1.09;
}
.search-intro {
  margin: 24px 0 34px;
  font-size: 1.04rem;
}
.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #d3d9d2;
  background: white;
  border-radius: 50px;
  padding: 7px;
  text-align: left;
  gap: 8px;
  box-shadow: 0 4px 20px #202b2507;
}
.search-box:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--soft);
}
.search-symbol {
  margin-left: 16px;
  font-size: 2rem;
  color: var(--muted);
  line-height: 1;
}
.search-box input {
  border: 0 !important;
  box-shadow: none;
  min-width: 0;
  padding: 10px 0;
  background: transparent !important;
  font-size: 1rem;
}
.search-box input:focus-visible {
  outline: none;
}
.search-box button {
  flex-shrink: 0;
  border-radius: 30px;
  padding: 13px 22px;
}
.discovery-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.discovery-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 7px 14px;
}
.discovery-links a span {
  margin-left: 14px;
}
.discovery-links a:hover {
  background: var(--soft);
  color: var(--ink);
}
.site-humafy .search-entry {
  padding-top: 88px;
}
.site-humafy .search-entry h1 {
  font-weight: 650;
  font-size: clamp(3.6rem, 6.7vw, 5.5rem);
  letter-spacing: -0.07em;
}
.site-humafy .search-entry h1 span {
  font:
    italic 1.03em/1.1 Georgia,
    serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}
.site-humafy .search-box {
  border-color: #abcde5;
  box-shadow: 0 6px 0 #c8e2f6;
}
.site-humafy .discovery-links {
  margin-top: 32px;
}
.site-humafy .discovery-links a {
  background: #ffffff80;
  border-color: #c5ddeb;
}
.hello-sticker {
  width: 94px;
  height: 94px;
  display: grid;
  place-content: center;
  position: absolute;
  right: 0;
  top: 100px;
  transform: rotate(12deg);
  border: 1px solid #d1bc90;
  background: #ffebbc;
  border-radius: 46% 54% 48% 52%;
  color: #74582f;
  font:
    italic 1.45rem/1 Georgia,
    serif;
  box-shadow: 4px 4px 0 #d4e9f5;
}
.search-entry.has-results,
.site-humafy .search-entry.has-results {
  padding: 36px 0 24px;
  max-width: none;
  text-align: left;
}
.has-results .search-form {
  max-width: 930px;
}
.search-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 22px;
}
.search-filters input,
.search-filters select {
  min-height: 42px;
  padding: 8px 10px;
  font-size: 0.86rem;
  background: var(--white);
}
.search-filters label {
  font-size: 0.73rem;
  color: var(--muted);
}
.search-filters button {
  padding: 10px 15px;
}
.search-results {
  max-width: 930px;
  padding-bottom: 65px;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}
.section-heading h1,
.section-heading h2 {
  margin: 0;
}
.search-results .section-heading h1 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.result-count {
  color: var(--muted);
  font-size: 0.82rem;
}
.result-row {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.result-avatar {
  height: 66px;
  width: 66px;
  flex: 0 0 66px;
  border: 1px solid var(--line);
  background: var(--accent-bg, var(--soft));
  display: grid;
  place-content: center;
  border-radius: 12px;
  overflow: hidden;
  font:
    1.7rem Georgia,
    serif;
  color: var(--ink);
}
.round {
  border-radius: 50% !important;
}
.result-avatar img {
  height: 66px;
  width: 66px;
  object-fit: cover;
}
.result-content {
  flex: 1;
  min-width: 0;
}
.result-content h2 {
  margin: 5px 0 8px;
  font-size: 1.3rem;
}
.result-content h2 a {
  color: var(--ink);
  text-decoration: none;
}
.result-content h2 a:hover {
  text-decoration: underline;
}
.result-content p {
  margin-bottom: 10px;
  font-size: 0.9rem;
  max-width: 670px;
}
.result-meta {
  color: var(--muted);
  font-size: 0.72rem;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.result-meta .pill {
  font-size: 0.62rem;
  padding: 1px 7px;
}
.result-arrow {
  text-decoration: none;
  margin-top: 20px;
  font-size: 1.4rem;
}
.pill {
  font-size: 0.7rem;
  color: var(--green);
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 24px;
  display: inline-block;
  width: fit-content;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags a {
  text-decoration: none;
  font-size: 0.73rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 9px;
  color: var(--muted);
}
.tags a:hover {
  color: var(--ink);
  background: var(--soft);
}
.site-humafy .tags a {
  border-radius: 20px;
  background: #ffffff70;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 32px 0;
  font-size: 0.9rem;
}
.pagination span {
  color: var(--muted);
}
.empty-state {
  text-align: center;
  padding: 60px 30px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  margin: 25px 0;
}
.empty-state p {
  max-width: 460px;
  margin: 0 auto 24px;
  font-size: 0.94rem;
}
.empty-symbol {
  font:
    3.6rem Georgia,
    serif;
  display: block;
  color: var(--green);
  margin-bottom: 20px;
}
.accent-sage {
  --accent-bg: #e4ecdf;
  --accent-ink: #607554;
}
.accent-blue {
  --accent-bg: #d8eaf7;
  --accent-ink: #527da0;
}
.accent-peach {
  --accent-bg: #f7e2d5;
  --accent-ink: #bc8669;
}
.accent-violet {
  --accent-bg: #e9e0f3;
  --accent-ink: #9982b4;
}
.entity-page {
  padding: 32px 0 75px;
}
.entity-banner {
  height: 240px;
  background: var(--accent-bg, var(--soft));
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.entity-banner > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.banner-art {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding: 0 60px;
  transform: rotate(-12deg);
}
.banner-art span {
  border: 1px solid var(--accent-ink, var(--green));
  width: 260px;
  height: 260px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.3;
  margin-left: -135px;
}
.entity-heading {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  position: relative;
  padding: 0 32px;
  margin-top: -45px;
}
.entity-avatar {
  height: 126px;
  width: 126px;
  flex-shrink: 0;
  display: grid;
  place-content: center;
  background: var(--accent-bg, var(--soft));
  color: var(--accent-ink, var(--green));
  border: 7px solid var(--paper);
  border-radius: 22px;
  overflow: hidden;
  font:
    3.2rem Georgia,
    serif;
}
.entity-avatar img {
  width: 126px;
  height: 126px;
  object-fit: cover;
}
.entity-title {
  padding-top: 66px;
  min-width: 0;
  flex: 1;
}
.entity-title .eyebrow {
  margin-bottom: 10px;
}
.entity-title h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  overflow-wrap: anywhere;
}
.entity-title .lead {
  max-width: 650px;
  font-size: 1.07rem;
  margin-bottom: 12px;
}
.entity-heading > .button {
  margin-top: 72px;
  flex-shrink: 0;
}
.publisher-link {
  font-size: 0.85rem;
}
.entity-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 65px;
  padding: 0 32px;
  margin-top: 45px;
}
.prose-section {
  padding-bottom: 34px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.prose-section:last-child {
  border: 0;
  margin-bottom: 0;
}
.prose-section h2 {
  font-size: 1.15rem;
  margin-bottom: 20px;
}
.rich-text {
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.rich-text p:last-child {
  margin-bottom: 0;
}
.discovery-panel {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-bottom: 30px;
}
.discovery-panel h2 {
  font-size: 1rem;
  margin-bottom: 22px;
}
.discovery-panel .eyebrow {
  font-size: 0.65rem;
  margin-top: 22px;
  margin-bottom: 10px;
}
.quiet-note {
  font-size: 0.77rem;
  line-height: 1.65;
}
.picture-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.picture-gallery figure {
  margin: 0;
}
.picture-gallery img {
  border-radius: 10px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.picture-gallery figcaption {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 8px;
}
.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.reference-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.card-visual {
  height: 140px;
  background: var(--accent-bg, var(--soft));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-visual > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.card-visual > span:not(.pill) {
  font:
    4.2rem Georgia,
    serif;
  color: var(--accent-ink, var(--green));
}
.card-visual .pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffffffeb;
  border: 0;
}
.card-body {
  padding: 23px;
}
.card-body .eyebrow {
  font-size: 0.6rem;
  margin-bottom: 10px;
}
.card-body h3 {
  font-size: 1.12rem;
  line-height: 1.4;
  margin-bottom: 10px;
}
.card-body h3 a {
  color: var(--ink);
  text-decoration: none;
}
.card-body p {
  font-size: 0.82rem;
  line-height: 1.65;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  padding-top: 15px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.card-foot a {
  font-size: 1.2rem;
  text-decoration: none;
}
.offer-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  margin-bottom: 34px;
}
.offer-price {
  font-size: 2rem;
  color: var(--ink);
  line-height: 1.2;
  margin: 25px 0 10px;
  letter-spacing: -0.04em;
}
.offer-price span {
  font-size: 0.8rem;
  letter-spacing: 0;
}
.offer-panel > p:not(.offer-price):not(.quiet-note) {
  font-size: 0.83rem;
}
.offer-panel .button {
  width: 100%;
  padding-inline: 10px;
  margin-block: 10px 20px;
  font-size: 0.84rem;
}
.source-link {
  display: block;
  margin-bottom: 22px;
  font-size: 0.84rem;
  text-align: center;
  overflow-wrap: anywhere;
}
.applies-panel {
  background: var(--accent-bg, var(--soft));
  border-radius: 10px;
  padding: 28px !important;
}
.applies-panel .eyebrow {
  margin-bottom: 12px;
  font-size: 0.62rem;
}
.applies-panel p {
  color: var(--ink);
}
.picture-formset {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 32px 0;
}
.picture-formset legend {
  padding-inline: 8px;
  font-size: 1.1rem;
}
.picture-edit {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.field input[type="file"] {
  font-size: 0.8rem;
}
.field a {
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.workspace-section {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 36px;
}
.brand-list-row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.brand-list-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.brand-list-row h2 {
  margin-bottom: 8px;
}
.brand-list-row h2 a {
  text-decoration: none;
}
.brand-list-row .eyebrow {
  font-size: 0.62rem;
  margin-bottom: 6px;
}
.brand-list-row p {
  font-size: 0.88rem;
  margin: 0;
}
.empty-inline {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 24px;
  font-size: 0.9rem;
  grid-column: 1/-1;
}
.member-list > div,
.member-list > article {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.member-list a {
  margin-right: 15px;
}
.person-id {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.workspace-content .inline-form {
  margin: 0;
}
.text-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 3px 0;
  font-weight: 400;
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-button:hover {
  background: transparent;
  color: var(--ink);
}
.library-entry {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.library-entry h2 {
  margin-top: 9px;
  margin-bottom: 12px;
}
.library-entry h2 a {
  color: var(--ink);
  text-decoration: none;
}
.library-entry > p {
  font-size: 0.9rem;
}
.access-routes {
  padding: 18px 22px;
  background: var(--soft);
  border-radius: 10px;
  margin-bottom: 18px;
}
.access-route {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 6px;
  font-size: 0.82rem;
}
.access-route > div {
  flex: 1;
}
.access-route small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.access-route .text-link {
  font-size: 0.76rem;
}
.route-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.library-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.library-item h3 {
  font-size: 1.03rem;
  margin-bottom: 8px;
}
.library-item p {
  font-size: 0.8rem;
}
.checkout-summary {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--white);
  border-radius: 12px;
  margin: 30px 0;
  max-width: 560px;
}
.checkout-summary h2 {
  margin-top: 18px;
}
.checkout-details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 0.9rem;
}
.checkout-details dt {
  color: var(--muted);
}
.checkout-details dd {
  margin: 0;
}
.dashboard-grid {
  margin-top: 34px;
}
.dashboard-reference {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.dashboard-reference a {
  font-size: 1.06rem;
  text-decoration: none;
}
.dashboard-reference p {
  font-size: 0.88rem;
  margin: 8px 0 0;
}
.profile-nudge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 26px;
  background: var(--soft);
  border-radius: 12px;
}
.profile-nudge h2 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.profile-nudge p {
  margin: 0;
  font-size: 0.82rem;
}
.profile-nudge .button {
  flex-shrink: 0;
  font-size: 0.8rem;
}
.danger-link {
  color: var(--danger);
  font-size: 0.86rem;
}
@media (max-width: 960px) {
  .hello-sticker {
    right: 10px;
    top: 25px;
    width: 70px;
    height: 70px;
    font-size: 1.2rem;
  }
  .entity-columns {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 35px;
    padding-inline: 0;
  }
  .entity-heading {
    padding-inline: 0;
    gap: 20px;
    flex-wrap: wrap;
  }
  .entity-title {
    flex-basis: 60%;
  }
  .entity-heading > .button {
    margin: 0;
  }
  .reference-grid {
    grid-template-columns: 1fr;
  }
  .profile-nudge {
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .topnav {
    min-height: 76px;
    gap: 14px;
  }
  .brand {
    font-size: 1.65rem;
  }
  .brand-mark {
    width: 26px;
    height: 26px;
    font-size: 25px;
  }
  .site-humafy .brand {
    font-size: 1.9rem;
  }
  .humafy-mark {
    font-size: 2rem;
  }
  .search-entry {
    padding: 65px 0 80px;
  }
  .site-humafy .search-entry {
    padding-top: 75px;
  }
  .search-entry h1 {
    font-size: 2.8rem;
  }
  .site-humafy .search-entry h1 {
    font-size: 3.75rem;
  }
  .search-entry .eyebrow {
    font-size: 0.59rem;
  }
  .search-intro {
    font-size: 0.87rem;
    padding-inline: 8px;
    margin-bottom: 26px;
  }
  .hello-sticker {
    top: 8px;
    right: 12px;
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  .search-box {
    gap: 5px;
    padding: 5px;
  }
  .search-symbol {
    margin-left: 9px;
    font-size: 1.7rem;
  }
  .search-box input {
    font-size: 0.82rem;
  }
  .search-box button {
    font-size: 0.8rem;
    padding: 11px 14px;
    gap: 8px;
  }
  .search-box button span {
    display: none;
  }
  .discovery-links {
    gap: 7px;
  }
  .discovery-links a {
    font-size: 0.75rem;
    padding: 6px 11px;
  }
  .discovery-links a span {
    margin-left: 5px;
  }
  .search-filters {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .search-filters button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .result-row {
    gap: 14px;
  }
  .result-avatar {
    flex-basis: 44px;
    height: 44px;
    width: 44px;
    font-size: 1.3rem;
  }
  .result-avatar img {
    width: 44px;
    height: 44px;
  }
  .result-content h2 {
    font-size: 1.1rem;
  }
  .result-content p {
    font-size: 0.83rem;
  }
  .result-arrow {
    display: none;
  }
  .entity-page {
    padding-top: 20px;
  }
  .entity-banner {
    height: 150px;
  }
  .banner-art {
    padding-right: 0;
  }
  .banner-art span {
    width: 180px;
    height: 180px;
    margin-left: -90px;
  }
  .entity-heading {
    gap: 10px;
    margin-top: -40px;
    display: block;
  }
  .entity-avatar {
    height: 95px;
    width: 95px;
    font-size: 2.5rem;
    border-width: 5px;
    margin-left: 15px;
  }
  .entity-avatar img {
    height: 95px;
    width: 95px;
  }
  .entity-title {
    padding-top: 16px;
  }
  .entity-title .lead {
    font-size: 0.98rem;
  }
  .entity-heading > .button {
    margin-top: 15px;
  }
  .entity-columns {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 35px;
  }
  .reference-page .entity-columns > aside {
    grid-row: 1;
  }
  .reference-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .card-body {
    padding: 16px;
  }
  .card-body h3 {
    font-size: 1rem;
  }
  .card-visual {
    height: 110px;
  }
  .card-body .eyebrow {
    letter-spacing: 0.08em;
  }
  .workspace .reference-grid {
    grid-template-columns: 1fr;
  }
  .offer-panel {
    padding: 23px;
  }
  .offer-price {
    margin-top: 18px;
  }
  .member-list > article {
    align-items: flex-start;
  }
  .access-routes {
    padding: 13px;
  }
  .access-route {
    font-size: 0.76rem;
  }
  .checkout-summary {
    padding: 23px;
  }
  .checkout-details {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .checkout-details dd {
    margin-bottom: 12px;
  }
  .profile-nudge {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
.connection-url {
  padding: 16px 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
}
