:root {
  --bg: #1a1814;
  --bg-lighter: #242018;
  --cream: #f5f0e8;
  --gold: #c9a227;
  --gold-dark: #a87d18;
  --muted: #9e9480;
}

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

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Lato', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

/* Hero */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.crow-emoji {
  font-size: 6rem;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
  line-height: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.tagline {
  margin-top: 0.75rem;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Certificate */

.certificate-section {
  padding: 2rem 1.5rem 8rem;
  display: flex;
  justify-content: center;
}

.certificate {
  max-width: 660px;
  width: 100%;
  border: 3px double var(--gold);
  padding: 3px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.certificate.visible {
  opacity: 1;
  transform: translateY(0);
}

.cert-inner {
  border: 1px solid var(--gold-dark);
  padding: 3rem 2.5rem;
  text-align: center;
  background: var(--bg-lighter);
}

.cert-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.cert-line {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0.4rem 0;
}

.cert-name {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0.4rem 0 1rem;
}

.cert-domain {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-style: italic;
  color: var(--gold);
  margin: 0.4rem 0 1.5rem;
}

.cert-divider {
  height: 1px;
  background: var(--gold-dark);
  margin: 1.5rem auto;
  width: 55%;
}

.cert-details {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.9;
}

.cert-note {
  font-size: 0.95rem;
  color: var(--gold-dark);
  margin-top: 0.75rem;
  font-style: italic;
}

.cert-signed {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--cream);
  margin-top: 0.5rem;
}

/* Footer */

footer {
  border-top: 1px solid #2a2520;
  padding: 2rem;
  text-align: center;
  color: var(--gold-dark);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
