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

:root {
  --black: #0a0a0a;
  --white: #f5f2ed;
  --rouge: #8b1a1a;
  --rouge-light: #a82828;
  --grey: #6b6b6b;
}

html {
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */

header {
  padding: 3rem 4rem 0;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  color: var(--rouge-light);
}

.cross {
  font-size: 2.4rem;
  color: var(--rouge);
  line-height: 1;
}

nav {
  display: flex;
  gap: 3rem;
  max-width: 50%;
}

nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

nav a:hover {
  border-bottom-color: var(--rouge);
  color: var(--rouge-light);
}

/* ── Main ── */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 4rem;
}

.hero-lambda {
  font-size: 6rem;
  color: var(--rouge);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
}

.mission {
  max-width: 640px;
  text-align: center;
  margin-bottom: 4rem;
}

.mission p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* ── Socials ── */

.socials {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--grey);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--white);
}

.social-link svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

/* ── Footer ── */

footer {
  padding: 2rem 4rem;
  text-align: center;
  color: var(--grey);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* ── Content Pages ── */

.content-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 4rem 6rem;
}

.content-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.content-page .subtitle {
  color: var(--grey);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  letter-spacing: 0.04em;
}

.content-page h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--rouge-light);
}

.content-page p {
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.content-page .reference {
  display: inline-block;
  color: var(--rouge-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
  font-size: 0.85rem;
}

.content-page .reference:hover {
  border-bottom-color: var(--rouge-light);
}

.content-page .ref-list {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
}

.content-page .ref-list h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--grey);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-page .ref-list ol {
  list-style-position: outside;
  padding-left: 1.5rem;
}

.content-page .ref-list li {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.content-page .ref-list li a {
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-page .ref-list li a:hover {
  color: var(--white);
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--grey);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--white);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  header {
    padding: 2rem 1.5rem 0;
  }

  .brand {
    font-size: 1.4rem;
  }

  .cross {
    font-size: 1.8rem;
  }

  nav {
    max-width: 100%;
    gap: 1.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  main {
    padding: 4rem 1.5rem;
  }

  .mission p {
    font-size: 1.5rem;
  }

  .socials {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .content-page {
    padding: 2rem 1.5rem 4rem;
  }

  .content-page h1 {
    font-size: 1.8rem;
  }

  /* On mobile, show references inline below each claim */
  .content-page .reference {
    display: block;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    font-style: italic;
  }

  footer {
    padding: 1.5rem;
  }
}
