@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/SourceSerif4-Roman.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --fg: #202d50;
  --bg: #ffffff;
  --footer-bg: #f0f5fe;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

a { color: inherit; }
a:hover { text-decoration-thickness: 2px; }

/* Hero header */
.hero {
  min-height: 715px;
  padding: 50px;
  background: url("/assets/bg.png") 100% 100% / cover no-repeat;
}
.hero-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.hero-bar .logo img { display: block; width: 120px; height: auto; }
.hero-bar nav { padding-top: 30px; }
.hero-bar nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  font-size: 1rem;
}
.hero-bar nav a:hover { text-decoration: underline; }

/* Content */
main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 70px 20px 80px;
}
main.centered { text-align: center; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.2;
  margin: 1.4em 0 0.6em;
}
h1 { font-size: 3rem; margin-top: 0; }
h2 { font-size: 2.4rem; }
h3, h4 { font-size: 1.6rem; }
h5, h6 {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 1.6em 0 0.4em;
}

main.centered p { font-size: 1rem; }

.star { display: block; width: 80px; height: auto; margin: 2.5rem auto; }
.star.big { width: 155px; }

table { width: 100%; border-collapse: collapse; margin: 2.5rem 0; }
td { border: 1px solid var(--fg); padding: 0.6rem 0.6rem; }

/* Footer */
.site-footer { background: var(--footer-bg); padding: 50px 20px; }
.site-footer .inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}
.site-footer .social { display: flex; gap: 20px; }
.site-footer svg { width: 24px; height: 24px; fill: var(--fg); display: block; }

@media (max-width: 600px) {
  .hero { padding: 50px 20px; }
  .hero-bar nav a { margin-left: 1rem; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  .site-footer .inner { font-size: 0.95rem; }
}
