/* --- Variables --- */
:root {
  --bg: #ffffff;
  --surface: #f5f7fa;
  --border: #c4d1e0;
  --text: #2c3e50;
  --muted: #6b7c93;
  --accent: #5b8db8;
  --accent-soft: rgba(91, 141, 184, 0.15);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

/* --- Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: #0d1117;
  border-bottom-color: #30363d;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  padding: 0;
  width: 100%;
}

.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
}

.logo-img {
  height: 1.75rem;
  width: auto;
  transition: filter 0.3s ease;
}

.site-header.scrolled .logo-img {
  filter: brightness(0) invert(1);
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.site-header nav a:hover {
  color: var(--accent);
}

.site-header.scrolled nav a {
  color: #e6edf3;
}

.site-header.scrolled nav a:hover {
  color: #ffffff;
}

/* --- Hero --- */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #46c356;
  color: white;
}

.btn-coming {
  background: var(--surface);
  color: var(--muted);
  cursor: default;
  border: 1px solid var(--border);
}

/* --- Sections --- */
.section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--text);
}

.section p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  color: var(--accent);
  font-size: 0.625rem;
  margin-top: 0.4em;
  flex-shrink: 0;
}

.feature-list strong {
  color: var(--text);
  font-weight: 500;
}

/* --- Footer --- */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* --- Team Page --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  display: block;
  border: 2px solid var(--border);
}

.team-member h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.team-role {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.team-bio {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
