:root { color-scheme: light dark; }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  padding: 48px 20px;
  line-height: 1.6;
}

.site-nav {
  max-width: 720px;
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav a {
  text-decoration: none;
  color: inherit;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(127,127,127,0.35);
  transition: background 160ms ease, border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(127,127,127,0.16);
  border-color: rgba(127,127,127,0.6);
  outline: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(127,127,127,0.35);
  transition: background 160ms ease, border-color 160ms ease;
  user-select: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible {
  background: rgba(127,127,127,0.16);
  border-color: rgba(127,127,127,0.6);
  outline: none;
}

.nav-dropdown[open] summary {
  background: rgba(127,127,127,0.16);
  border-color: rgba(127,127,127,0.6);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: light-dark(#ffffff, #1a1a1a);
  border: 1px solid rgba(127,127,127,0.35);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
}

.nav-dropdown-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  border: none;
  transition: background 160ms ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(127,127,127,0.16);
  outline: none;
}

.home {
  max-width: 960px;
  margin: 0 auto 32px;
  padding: 0;
}

.splash {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(127,127,127,0.3);
}

.card {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(127,127,127,0.3);
  border-radius: 14px;
}

.subtitle {
  opacity: 0.7;
  margin-top: -8px;
}

.card {
    display: flex;
    gap: 22px;
    align-items: center;
  }
  
  .avatar {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(127,127,127,0.3);
  }

.section {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 0 4px;
}

.about-card {
  margin: 0;
}

.project-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 16px;
}

.project-list a {
  font-weight: 600;
}

.project-list p {
  margin: 6px 0 0;
  opacity: 0.8;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(127, 127, 127, 0.4);
  text-decoration: none;
  color: inherit;
  transition: background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: rgba(127, 127, 127, 0.16);
  border-color: rgba(127, 127, 127, 0.6);
  outline: none;
}

.pantheon-card {
  margin-bottom: 16px;
}

.pantheon-actions {
  margin-top: 12px;
}

.pantheon-embed {
  display: grid;
  gap: 12px;
}

.pantheon-embed iframe {
  width: 100%;
  min-height: 520px;
  border-radius: 16px;
  border: 1px solid rgba(127, 127, 127, 0.3);
}

.pantheon-note {
  margin: 0;
  opacity: 0.8;
}
  
