@font-face {
  font-family: "Inter";
  src: url("/assets/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #10263f;
  --navy-muted: #34526f;
  --gold: #b9954b;
  --gold-muted: #8f7439;
  --cream: #f6f2ea;
  --cream-soft: #faf8f3;
  --border: #e4dac8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--cream);
  color: var(--navy);
  font-family: "Inter", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgb(255 255 255 / 72%), transparent 58%),
    var(--cream);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--gold-muted);
  outline-offset: 4px;
  border-radius: 3px;
}

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 2.5rem, 76rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: 1.15rem 1rem;
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  min-height: 2rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.language-switch a {
  text-decoration: none;
  transition: color 160ms ease;
}

.language-switch a:hover,
.language-switch [aria-current="page"] {
  color: var(--navy);
}

.language-divider {
  color: var(--gold);
  font-weight: 400;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-block: 2rem 2.5rem;
}

.intro {
  width: 100%;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: clamp(1.7rem, 4.5vh, 2.75rem);
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

.announcement {
  display: table;
  margin: 0 auto 1.25rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgb(185 149 75 / 38%);
  border-radius: 999px;
  background: rgb(185 149 75 / 9%);
  color: var(--gold-muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  max-width: 16ch;
  margin: 0 auto;
  color: var(--navy);
  font-size: clamp(2.4rem, 5.2vw, 4.7rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.description {
  max-width: 40rem;
  margin: 1.35rem auto 0;
  color: var(--navy-muted);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 400;
  line-height: 1.75;
  text-wrap: pretty;
}

.collaboration {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100%, 41rem);
  margin-top: clamp(2.2rem, 6vh, 3.5rem);
  padding: 1.25rem 0.25rem 0;
  border-top: 1px solid var(--border);
}

.collaboration p {
  margin: 0;
  color: var(--navy-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.collaboration a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.42rem;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.5;
  text-decoration-color: rgb(185 149 75 / 68%);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25rem;
  transition: color 160ms ease;
}

.collaboration a:hover {
  color: var(--gold-muted);
}

.collaboration a span {
  color: var(--gold-muted);
  font-size: 0.95rem;
}

.site-footer {
  color: #657487;
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 2rem, 34rem);
    padding-block: 0.85rem 0.8rem;
  }

  .top-bar {
    min-height: 1.75rem;
  }

  .main-content {
    padding-block: 1.65rem 2rem;
  }

  .brand {
    gap: 0.24rem;
    margin-bottom: 1.7rem;
    font-size: 1.30rem;
  }

  .brand img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .announcement {
    margin-bottom: 1.05rem;
    font-size: 0.65rem;
  }

  h1 {
    max-width: 17ch;
    font-size: clamp(2.15rem, 10.1vw, 3.1rem);
    letter-spacing: -0.06em;
    line-height: 1.1;
  }

  .description {
    max-width: 31rem;
    margin-top: 1.05rem;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .collaboration {
    flex-direction: column;
    align-items: center;
    gap: 0.48rem;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
  }

  .collaboration p {
    font-size: 0.82rem;
  }

  .collaboration a {
    font-size: 0.84rem;
  }
}

@media (max-width: 360px) {
  .page-shell {
    width: min(100% - 1.5rem, 34rem);
  }

  h1 {
    font-size: 2.05rem;
  }

  .collaboration p {
    max-width: 29ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
