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

@keyframes slideUp {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; filter: blur(10px); }
  to { opacity: 1; filter: blur(0px); }
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #fafaf8;
  z-index: 10;
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.menu-btn span {
  display: block;
  height: 1px;
  width: 100%;
  background: #1a1a18;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.overlay {
  position: fixed;
  inset: 0;
  background: #fafaf8;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.overlay.open {
  opacity: 1;
  pointer-events: all;
}

.overlay-text {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: #aaa;
}

.nav-name {
  font-family: 'Cormorant Garant', serif;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #1a1a18;
  text-decoration: none;
  text-align: center;
}

body {
  background: #fafaf8;
  color: #1a1a18;
  font-family: 'Cormorant Garant', serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
}

main {
  max-width: 480px;
  width: 100%;
}

.overture {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: #aaa;
  margin-bottom: 2.75rem;
  animation: slideUp 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) both, fadeIn 1s ease both;
  animation-delay: 0.1s;
}

h1 {
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2.75rem;
  animation: slideUp 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) both, fadeIn 1s ease both;
  animation-delay: 0.25s;
}

.statement {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #666;
  margin-bottom: 2.75rem;
  animation: slideUp 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) both, fadeIn 1s ease both;
  animation-delay: 0.4s;
}

.signature {
  font-size: 0.8rem;
  font-weight: 300;
  font-style: italic;
  color: #aaa;
  letter-spacing: 0.04em;
  animation: slideUp 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) both, fadeIn 1s ease both;
  animation-delay: 0.55s;
}

@media (max-width: 768px) {
  body {
    align-items: flex-start;
    padding-top: 7rem;
  }
}
