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

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --cream:  #f7f2e7;
  --black:  #1a1a18;
  --grey:   #8a8a85;
  --font:   'Georgia', 'Times New Roman', serif;
  --mono:   'Helvetica Neue', Arial, sans-serif;
}

/* ─── Base ───────────────────────────────────────────────────────────────── */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background-color: var(--cream);
  color: var(--black);
  font-family: var(--mono);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

/* ─── Logo ───────────────────────────────────────────────────────────────── */
.logo-wrap {
  animation: logoReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo {
  display: block;
  width: min(320px, 60vw);
  height: auto;
  /* Subtle draw-in filter animation handled separately */
  filter: drop-shadow(0 0 0px rgba(26, 26, 24, 0));
  animation:
    logoReveal   1.4s cubic-bezier(0.16, 1, 0.3, 1) both,
    logoGlow     1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Slide up + fade in */
@keyframes logoReveal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Momentary shadow bloom as it "lands" */
@keyframes logoGlow {
  0%   { filter: drop-shadow(0 0  0px rgba(26, 26, 24, 0.00)); }
  40%  { filter: drop-shadow(0 8px 32px rgba(26, 26, 24, 0.18)); }
  100% { filter: drop-shadow(0 2px  8px rgba(26, 26, 24, 0.06)); }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer {
  padding: 2.4rem 2rem 2.6rem;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.contact-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}

.contact-group a {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-group a:hover {
  color: var(--black);
}

.contact-divider {
  width: 1px;
  height: 2.8rem;
  background: currentColor;
  opacity: 0.18;
  flex-shrink: 0;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .contact-divider {
    width: 2.8rem;
    height: 1px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.4rem;
  }
}
