/* Partypress draft — minimal, readable (light) */

:root {
  --bg: #fafafa;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --accent: #a67c00;
  --border: rgba(0, 0, 0, 0.08);
  --card-bg: #f0f0f0;
  --code-bg: #e8e8e8;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo .tld {
  color: var(--muted);
  font-weight: 400;
}

main {
  flex: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5vw, 3.5rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.tagline {
  font-size: 1.35rem;
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 400;
}

.sub {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
}

.coming {
  margin-top: 2.5rem;
}

.coming ul {
  margin: 0;
  padding-left: 1.25rem;
}

.coming li {
  margin-bottom: 0.6rem;
}

.coming li strong {
  color: var(--accent);
}

.foundation {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.foundation-intro {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.paper-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.paper-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.paper-title a {
  color: var(--text);
  text-decoration: none;
}

.paper-title a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.paper-authors,
.paper-venue {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.paper-authors a {
  color: var(--accent);
  text-decoration: none;
}

.paper-authors a:hover {
  text-decoration: underline;
}

.paper-desc {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.paper-links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.paper-link-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--muted);
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.85rem;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.paper-link-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.bibtex-wrap {
  margin-top: 1rem;
}

.bibtex-toggle {
  background: transparent;
  border: 1px solid var(--muted);
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.bibtex-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.bibtex-block {
  margin-top: 0.5rem;
  position: relative;
}

.bibtex-block[hidden] {
  display: none;
}

.bibtex-code {
  margin: 0;
  padding: 0.75rem;
  background: var(--code-bg);
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: ui-monospace, monospace;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--text);
}

.bibtex-copy {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
}

.bibtex-copy:hover {
  opacity: 0.9;
}

.team {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-member {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.team-photo-link {
  flex-shrink: 0;
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.team-content {
  min-width: 0;
}

@media (max-width: 520px) {
  .team-member {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 1.25rem;
  }

  .team-photo-link {
    grid-column: 1;
    grid-row: 1;
  }

  .team-photo {
    width: 80px;
    height: 80px;
  }

  .team-content {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: auto auto;
    gap: 0.5rem 0;
  }

  .team-meta {
    grid-column: 2;
    grid-row: 1;
  }

  .team-bio {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
  }
}

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.team-name a {
  color: var(--text);
  text-decoration: none;
}

.team-name a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.team-meta {
  margin-bottom: 0;
}

.team-role {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.team-website {
  color: var(--accent);
  text-decoration: none;
}

.team-website:hover {
  text-decoration: underline;
}

.team-bio {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.supported {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.supported-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2rem;
}

.supported-logo {
  display: block;
  flex-shrink: 0;
  width: 100px;
}

.supported-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  opacity: 0.85;
}

.supported-logo:hover img {
  opacity: 1;
}

@media (max-width: 400px) {
  .supported-logos {
    gap: 1rem;
  }

  .supported-logo {
    width: 72px;
  }

  .supported-logo img {
    max-height: 44px;
  }
}

.site-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
