:root {
  --accent: #d8b26a;
  --text-high: #f5f3ee;
  --text-mid: rgba(245, 243, 238, 0.78);
  --text-low: rgba(245, 243, 238, 0.55);
  --footer-bg: rgba(15, 15, 16, 0.55);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-high);
  line-height: 1.6;
}

.background {
  position: fixed;
  inset: 0;
  background-image: url("background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: #1a1a1a;
  opacity: 0.8;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1.75rem 1.5rem;
  text-align: center;
  background-color: rgba(15, 15, 16, 0);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-lifted {
  background-color: rgba(15, 15, 16, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
}

.site-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-low);
}

.content {
  max-width: 46rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  text-align: center;
}

.principle {
  margin: 0 0 3.5rem;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-high);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.notes {
  max-width: 38rem;
  margin: 0 auto;
  text-align: left;
}

.notes p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--text-mid);
}

.notes p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(245, 243, 238, 0.12);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 60rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: left;
}

.footer-col p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.footer-col a {
  color: var(--accent);
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.social-links {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.social-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
}

.social-links a:hover {
  color: var(--accent);
}

.photo-credit {
  font-size: 0.75rem !important;
  color: var(--text-low) !important;
}

.photo-credit a {
  color: var(--text-low);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content {
    padding: 5rem 1.25rem 4rem;
  }
}
