/* One design system for every sahasi.com page.
   Warm-neutral paper, a single accent per person, sans display. No gradients,
   no centered-hero-over-mesh, no framework — these load in one request and
   read like a business card, not a landing page. */
:root {
  --ink: #16161a;
  --muted: #5c5f66;
  --line: #e3e1dc;
  --bg: #faf9f7;
  --card: #ffffff;
  --accent: #1f6f5c;           /* per-page override */
  --measure: 34rem;
}
@media (prefers-color-scheme: dark) {
  :root { --ink:#eceae5; --muted:#a6a49e; --line:#2b2b30; --bg:#131316; --card:#1a1a1e; }
}
:root[data-theme="dark"] { --ink:#eceae5; --muted:#a6a49e; --line:#2b2b30; --bg:#131316; --card:#1a1a1e; }
:root[data-theme="light"] { --ink:#16161a; --muted:#5c5f66; --line:#e3e1dc; --bg:#faf9f7; --card:#ffffff; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "kern", "liga";
  padding: 7vh 1.25rem 4rem;
}
main { max-width: var(--measure); margin: 0 auto; }

.eyebrow {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 .9rem;
}
h1 {
  font-size: clamp(2.1rem, 6vw, 2.9rem); line-height: 1.08;
  letter-spacing: -0.022em; margin: 0 0 .55rem; font-weight: 640;
}
.headline { font-size: 1.06rem; color: var(--muted); margin: 0 0 2.2rem; }

section { margin: 0 0 2rem; }
h2 {
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin: 0 0 .7rem;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
li { margin: 0 0 .85rem; padding-left: 1rem; position: relative; }
li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .32rem; height: .32rem; border-radius: 50%; background: var(--accent);
}
li b, li strong { font-weight: 620; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

.links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .4rem; }
.links a {
  display: inline-block; padding: .42rem .8rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--card); text-decoration: none;
  font-size: .92rem; color: var(--ink); transition: border-color .15s ease;
}
.links a:hover { border-color: var(--accent); color: var(--accent); }

footer {
  margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .86rem;
  display: flex; flex-wrap: wrap; gap: .35rem .8rem; align-items: baseline;
}
footer a { color: var(--muted); }

/* Family index only */
.people { display: grid; gap: .6rem; margin-top: 1.4rem; }
.people a {
  display: block; padding: .95rem 1.1rem; border: 1px solid var(--line);
  border-radius: .7rem; background: var(--card); text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
.people a:hover { border-color: var(--accent); transform: translateY(-1px); }
.people .who { font-weight: 620; }
.people .what { color: var(--muted); font-size: .93rem; }

/* Profile photo / monogram — top of each person page */
.avatar {
  width: 108px; height: 108px; border-radius: 50%;
  object-fit: cover; display: block; margin: 0 0 1.4rem;
  border: 1px solid var(--line); background: var(--card);
}
.avatar--mono {
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: 600; letter-spacing: .02em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--card));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}
