@font-face {
  font-family: "Dream Orphans";
  src: url("fonts/Dream Orphans.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dream Orphans";
  src: url("fonts/Dream Orphans Bd.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

/* min-height (not height) so the body grows with content;
   a fixed height breaks position: sticky on the top bar. */
body {
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  background-image: url("background.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Places the title block in the middle of the sky (the upper ~45% of the artwork) */
.hero-content {
  margin-top: 9svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.title {
  font-family: "Dream Orphans", Georgia, serif;
  font-weight: bold;
  font-size: clamp(2.6rem, 7.5vmin, 5rem);
  line-height: 1.02;
  letter-spacing: 0.03em;
  color: #1d3a5f;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.85),
    0 2px 6px rgba(255, 255, 255, 0.6);
}

.title span {
  display: block;
}

.actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  font-family: inherit;
  font-weight: bold;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: #1d3a5f;
  color: #f3f8ff;
  box-shadow: 0 4px 14px rgba(29, 58, 95, 0.35);
}

.btn-primary:hover {
  background-color: #27507f;
  box-shadow: 0 6px 18px rgba(29, 58, 95, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.55);
  color: #1d3a5f;
  border: 2px solid rgba(29, 58, 95, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Small legal footer overlaid at the bottom of the hero */
.hero-footer {
  margin-top: auto;
  padding: 0.9rem 1rem 0.8rem;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: #1b1c20;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-footer nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-footer a {
  color: #1b1c20;
  font-weight: bold;
  text-decoration: none;
}

.hero-footer a:hover {
  text-decoration: underline;
}

.hero-footer p {
  margin-top: 0.3rem;
  font-size: 0.72rem;
}
