/* Hellios — Founders & Senior Sleuths (uses the theme variables from home.css) */
.f-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 85% 0%, var(--gold-dim), transparent 55%), var(--bg); }
.f-hero__in { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) 24px clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.f-hero h1 { font-family: var(--serif); font-weight: var(--h-weight); font-size: clamp(42px, 6vw, 78px); line-height: 1.02; margin: 14px 0 16px; letter-spacing: -.01em; }
.f-hero h1 em { color: var(--gold); }
.f-hero p { color: var(--text-2); font-size: 17px; max-width: 52ch; margin: 0; text-wrap: pretty; }
.f-model { border: 1px solid var(--gold-line); border-left: 3px solid var(--gold); border-radius: var(--r); background: var(--surface); padding: 22px 24px; }
.f-model b { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.f-model p { font-size: 15px; color: var(--text-2); margin: 0; }
.f-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* Founder cards */
.f-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.f-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.f-card:hover { border-color: var(--gold-line); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.f-card--lead { grid-column: span 2; flex-direction: row; }
.f-card__img { position: relative; aspect-ratio: 16 / 10; background: var(--surface-3); overflow: hidden; }
.f-card--lead .f-card__img { aspect-ratio: auto; flex: 1.1; min-height: 360px; }
.f-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.f-card:hover .f-card__img img { transform: scale(1.04); }
.f-card__badge { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--pill); background: var(--glass); border: 1px solid var(--gold-line); color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.f-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.f-card--lead .f-card__body { padding: 32px; justify-content: center; }
.f-card__name { font-family: var(--serif); font-weight: var(--h-weight); font-size: 28px; line-height: 1.1; margin: 0; }
.f-card--lead .f-card__name { font-size: clamp(32px, 3.4vw, 44px); }
.f-card__desc { margin: 0; color: var(--text-2); font-size: 14px; text-wrap: pretty; }
.f-card--lead .f-card__desc { font-size: 16px; }
.f-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.f-card__cta { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.f-card__cta:hover { color: var(--gold-2); }
.f-card__cta::after { content: ""; position: absolute; inset: 0; }
.f-card--open { border-style: dashed; border-color: var(--gold-line); background: linear-gradient(160deg, var(--gold-dim), var(--surface) 70%); }
.f-card--open .f-card__img { display: grid; place-items: center; background: transparent; }
.f-card__q { width: 96px; height: 96px; border-radius: 50%; border: 1.5px dashed var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 46px; color: var(--gold); }

.f-network { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 28px; align-items: center; margin-top: 28px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.f-network__mark { width: 56px; height: 56px; }
.f-network p { margin: 0; color: var(--text-2); }
.f-network p b { color: var(--text); font-family: var(--serif); font-size: 18px; margin-right: 6px; }

/* Founder path */
.f-path { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.f-steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.f-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.f-steps span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-line); color: var(--gold); font-family: var(--serif); font-weight: 700; }
.f-steps b { display: block; font-size: 15px; }
.f-steps p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.f-form { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.f-form h3 { font-family: var(--serif); font-weight: var(--h-weight); font-size: 24px; margin: 0; }
.f-field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.f-field input, .f-field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); padding: 11px 12px; font-size: 15px; font-family: inherit; }
.f-field textarea { min-height: 96px; resize: vertical; }
.f-field input:focus, .f-field textarea:focus { outline: none; border-color: var(--gold); }
.f-field small { display: block; font-size: 12px; color: var(--red, #C8553D); margin-top: 4px; min-height: 0; }
.f-form__done { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 8px 0; }
.f-form__done b { font-family: var(--serif); font-size: 24px; }
.f-form__done p { margin: 0; color: var(--text-2); }

/* Sleuth directory */
.s-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.s-tools .search { flex: 1 1 280px; max-width: 420px; }
.s-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.s-chips .chip { flex: none; }
.s-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, transform .2s; animation: fade .3s ease; }
.s-card:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.s-card--you { border-color: var(--gold-line); background: linear-gradient(160deg, var(--gold-dim), var(--surface) 65%); }
.s-card__top { display: flex; align-items: center; gap: 14px; }
.s-card__av { width: 56px; height: 56px; border-radius: 50%; flex: none; object-fit: cover; background: var(--surface-3); border: 1.5px solid var(--gold-line); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--gold); }
.s-card__role { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.s-card__name { font-family: var(--serif); font-weight: var(--h-weight); font-size: 22px; line-height: 1.15; margin: 2px 0 0; }
.s-card p { margin: 0; color: var(--text-2); font-size: 14px; flex: 1; }
.s-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 12px; color: var(--muted); }
.s-card__foot a { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--gold); text-decoration: none; white-space: nowrap; }
.s-card__foot a::after { content: ""; position: absolute; inset: 0; }
.s-card__foot a:hover { color: var(--gold-2); }
.s-pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.s-pages { display: flex; gap: 6px; }
.s-pages button { min-width: 40px; height: 40px; border-radius: var(--pill); border: 1px solid var(--line-2); background: transparent; color: var(--text); font-weight: 700; }
.s-pages button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.s-pages button.is-on { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.s-pages button:disabled { opacity: .4; cursor: not-allowed; }
.s-empty { grid-column: 1 / -1; padding: 36px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--muted); }

.nav a[aria-current="page"] { color: var(--gold); }

@media (max-width: 1100px) {
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .f-hero__in, .f-path { grid-template-columns: minmax(0, 1fr); }
  .f-card--lead { flex-direction: column; grid-column: 1 / -1; }
  .f-card--lead .f-card__img { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .f-card--lead .f-card__body { padding: 22px; }
}
@media (max-width: 640px) {
  .f-grid, .s-grid { grid-template-columns: minmax(0, 1fr); }
  .f-network { grid-template-columns: minmax(0, 1fr); }
  .f-hero__in { padding-left: 16px; padding-right: 16px; }
}
