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

:root {
  --bg: #faf8f5;
  --text: #2c2825;
  --text-muted: #6b6560;
  --accent: #c4a882;
  --bubble: rgba(196, 168, 130, 0.12);
}

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

body {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bubbles span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--bubble), transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.bubbles span:nth-child(1) { width: 280px; height: 280px; top: 8%; left: -5%; animation-delay: 0s; }
.bubbles span:nth-child(2) { width: 160px; height: 160px; top: 55%; right: 5%; animation-delay: -4s; }
.bubbles span:nth-child(3) { width: 100px; height: 100px; top: 25%; right: 20%; animation-delay: -8s; }
.bubbles span:nth-child(4) { width: 220px; height: 220px; bottom: 10%; left: 15%; animation-delay: -12s; }
.bubbles span:nth-child(5) { width: 60px; height: 60px; top: 70%; left: 40%; animation-delay: -16s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33% { transform: translate(12px, -20px) scale(1.05); opacity: 0.8; }
  66% { transform: translate(-8px, 10px) scale(0.95); opacity: 0.5; }
}

main {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  overflow: visible;
}

.site-header {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  margin-bottom: 3rem;
  overflow: visible;
}

.logo-mark {
  width: clamp(7rem, 44vw, 11rem);
  height: auto;
  flex-shrink: 0;
  margin-top: -2.25rem;
  margin-left: -2.5rem;
  transform: translateX(2.5rem);
  color: var(--accent);
  overflow: visible;
  z-index: 1;
}

.site-header h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.intro {
  margin-bottom: 2.5rem;
}

.etymology {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

.etymology em {
  font-style: normal;
  color: var(--text);
}

.mission {
  margin-bottom: 3.5rem;
}

.mission .lead {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.mission p:last-child {
  color: var(--text-muted);
}

.projects h2 {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.projects ul {
  list-style: none;
}

.projects li {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
}

.projects a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.projects a:hover {
  color: var(--accent);
  border-color: transparent;
}

footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(44, 40, 37, 0.08);
}

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  main {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
}
