:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: #f1f4fc;
  background: #0a0d14;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --muted: #9ba6bc;
  --accent: #8faaff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse 680px 440px at 50% -140px, #23325d 0%, transparent 100%), #0a0d14;
}
[hidden] { display: none !important; }
.page {
  width: min(100% - 3rem, 32rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) 0 2rem;
}
.profile { text-align: center; }
.eyebrow {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .2em;
  margin-bottom: 2.25rem;
}
.monogram {
  display: grid;
  place-items: center;
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 1.35rem;
  border-radius: 50%;
  background: linear-gradient(140deg, #a0b5ff 0%, #678aef 45%, #3153ac 100%);
  border: 1px solid #afc0ff80;
  box-shadow: 0 0 0 7px #ffffff04, 0 0 0 8px #ffffff0b, 0 15px 55px #496de524;
  color: #101d40;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: 1;
  font-style: italic;
}
h1 {
  font-size: clamp(3.25rem, 10vw, 4.25rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.045em;
  margin: 0;
  overflow-wrap: anywhere;
}
.name-period { color: var(--accent); }
.bio { color: #b7c0d1; line-height: 1.6; margin: 1rem auto 0; max-width: 28rem; overflow-wrap: anywhere; }
.links-section { margin-top: 2.75rem; }
.section-label { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
h2 { font-size: .875rem; line-height: 1.5; font-weight: 500; color: var(--muted); margin: 0; }
.section-line { flex: 1; height: 1px; background: #ffffff12; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.link-card {
  min-height: 5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid #ffffff13;
  border-radius: 1.125rem;
  color: #f1f4fc;
  text-decoration: none;
  background: linear-gradient(115deg, #1a2030, #121722);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.link-card:focus-visible { outline: 3px solid #a3b9ff; outline-offset: 4px; }
.link-card:active { transform: scale(.985); }
.link-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: .8rem;
  flex-shrink: 0;
  color: var(--accent);
  background: #8faaff10;
}
.link-text { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.link-title { display: block; font-size: 1rem; font-weight: 600; line-height: 1.5; }
.link-description { display: block; color: #a3afc4; font-size: .875rem; line-height: 1.45; margin-top: .15rem; }
.link-arrow { flex-shrink: 0; color: #aeb9d2; }
.empty {
  text-align: center;
  border: 1px solid #ffffff12;
  border-radius: 1.25rem;
  background: linear-gradient(130deg, #181f2e, #10151f);
  padding: 2.25rem 1.5rem;
}
.empty-icon { color: var(--accent); }
.empty p { font-size: 1.0625rem; font-weight: 550; line-height: 1.5; margin: .85rem 0 .25rem; }
.empty span { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.noscript { color: var(--muted); font-size: .875rem; line-height: 1.6; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; color: #9ba6bc; font-size: .75rem; line-height: 1.6; padding-top: 2.25rem; }
.footer-divider { color: #66748f; }
@media (hover: hover) {
  .link-card:hover { background: #1f293f; border-color: #8faaff70; transform: translateY(-2px); }
}
@media (max-width: 380px) {
  .page { width: calc(100% - 2rem); }
  .link-card { padding: 1rem; gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .link-card { transition: none; }
  .link-card:hover, .link-card:active { transform: none; }
}
