/* ==========================================================
   HOME: name, one line of roles, full-bleed stage
   ========================================================== */


/* Name ledger: plain warm ivory with a single hairline */
.ledger {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(40px, 6vw, 64px) var(--gutter) clamp(32px, 4.5vw, 48px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.9), transparent 70%),
    #f6f1e7;
  border-bottom: 1px solid rgba(184, 149, 90, 0.35);
}
.ledger__inner { display: grid; justify-items: center; gap: 22px; }
.ledger__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
}
.ledger__roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
}
.ledger__roles li { display: flex; align-items: baseline; }
.ledger__roles li + li::before {
  content: "·";
  margin-inline: 0.55em;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  color: var(--gold);
}
.ledger__role {
  padding: 2px 0 4px;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  line-height: 1.2;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.ledger__role:hover { color: var(--ink); }
.ledger__role.is-active { color: var(--ink); border-bottom-color: var(--gold); }

/* Full-bleed stage */
.stage { position: relative; height: min(88vh, 860px); min-height: 520px; overflow: hidden; background: var(--ink); color: var(--white); }
.stage__nav {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 22px var(--gutter);
}
.stage__nav a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.92;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.stage__nav a:hover { color: var(--gold-light); opacity: 1; }
.stage__nav-rule { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.45); }

.stage__panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.stage__panel.is-active { opacity: 1; visibility: visible; }
.stage__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 20, 28, 0.55) 0%, rgba(14, 20, 28, 0) 22%),
    linear-gradient(90deg, rgba(14, 20, 28, 0.72) 0%, rgba(14, 20, 28, 0.2) 55%, rgba(14, 20, 28, 0) 100%);
}
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__img--portrait { object-position: 75% 25%; }

.stage__copy {
  position: absolute;
  z-index: 2;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  top: 18%;
  max-width: min(34rem, 80vw);
}
.stage__line { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.2; }
.stage__link {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.stage__link:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* Typographic panel for health informatics */
.stage__panel--type { background: var(--ink); }
/* Desktop: photo fills the right side, sentence sits on the dark left */
.stage__img--side { left: auto; right: 0; width: 46%; object-position: 50% 30%; }
.stage__panel--type::after {
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 54%, rgba(14, 20, 28, 0.55) 62%, rgba(14, 20, 28, 0) 78%);
}

@media (max-width: 900px) {
  .stage__nav { gap: 6px 18px; padding-top: 18px; }
  .stage__nav-rule { display: none; }
  .stage { height: 78vh; min-height: 480px; max-height: 720px; }
  .stage__copy { top: auto; bottom: 10%; }
  .stage__panel::after { background: linear-gradient(0deg, rgba(14, 20, 28, 0.85) 0%, rgba(14, 20, 28, 0.2) 60%, rgba(14, 20, 28, 0.1) 100%); }
  .stage__img--portrait { object-position: 47% 22%; }
  .stage__img--side { left: 0; width: 100%; object-position: 50% 25%; }
  .stage__panel--type::after { background: linear-gradient(0deg, rgba(14, 20, 28, 0.95) 0%, rgba(14, 20, 28, 0.85) 38%, rgba(14, 20, 28, 0.25) 68%, rgba(14, 20, 28, 0.1) 100%); }
}
@media (max-width: 560px) {
  .ledger { padding-block: 36px 28px; }
  .ledger__role,
  .ledger__roles li + li::before { font-size: 0.98rem; }
  .ledger__role { padding-block: 12px 6px; }
  .ledger__roles li + li::before { margin-inline: 0.35em; }
  .ledger__name { font-size: clamp(2.3rem, 11vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .stage__img { transition: none; transform: none; }
}

/* ---------- Quiet home ---------- */
.q-wrap { max-width: 44rem; margin: 0 auto; padding-inline: var(--gutter); }
.q-intro { padding-block: clamp(80px, 12vw, 140px) clamp(48px, 7vw, 80px); }
.q-lead { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.45; color: var(--ink); }
.q-link { display: inline-flex; gap: 8px; margin-top: 24px; font-size: 0.88rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.q-link:hover { border-color: var(--gold); color: var(--gold-deep); }

.q-index { padding-bottom: clamp(64px, 9vw, 110px); }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.q-item { display: grid; gap: 6px; padding-block: 22px; border-top: 1px solid var(--line); }
.q-item__label { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.q-item__text { font-size: 0.92rem; line-height: 1.6; color: var(--muted); }
.q-item:hover .q-item__label { color: var(--gold-deep); }

.q-contact { padding-block: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); text-align: center; }
.q-contact p { font-family: var(--serif); font-size: 1.25rem; }
.q-contact a { border-bottom: 1px solid var(--line-strong); }
.q-contact a:hover { color: var(--gold-deep); border-color: var(--gold); }
.q-muted { margin-top: 8px; font-family: var(--sans) !important; font-size: 0.85rem !important; color: var(--muted); }
.q-footer { padding-block: 28px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .q-grid { grid-template-columns: 1fr; } }
