:root {
  --bg: #8d1c22;
  --ink: #f7f1e8;
  --accent: #f4efe6;
}

* { box-sizing: border-box; }

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

body {
  background: #9b2228;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

main {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 1rem 2.5rem;
  text-align: center;
}

.flag {
  position: relative;
  width: min(720px, 94vw);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.32));
}

.logo,
#wave {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

#wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.logo.hidden {
  visibility: hidden;
}

.contact a {
  color: var(--accent);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 239, 230, 0.45);
}

.contact a:hover,
.contact a:focus {
  border-bottom-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  #wave { display: none; }
}
