:root {
  --bg1: #6b1d1d;
  --bg2: #3a0f0f;
  --ink: #f6ecd9;
  --muted: #d9c7a3;
  --gold: #d4a94e;
  --btn: #f6ecd9;
  --btn-ink: #4a1414;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg1: #521616;
    --bg2: #220808;
  }
}
:root[data-theme="dark"] {
  --bg1: #521616;
  --bg2: #220808;
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  height: 100%;
}
* {
  box-sizing: border-box;
  margin: 0;
}
body {
  min-height: 100%;
  background: radial-gradient(ellipse at 50% 0%, var(--bg1), var(--bg2) 75%)
    fixed var(--bg2);
  color: var(--ink);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 32px;
}
.lang {
  display: flex;
  gap: 10px;
  align-self: flex-end;
}
.lang button {
  width: 44px;
  height: 32px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.55;
  transition: 0.2s;
}
.lang button[aria-pressed="true"] {
  opacity: 1;
  border-color: var(--gold);
}
.lang svg {
  display: block;
  width: 100%;
  height: 100%;
}
main {
  flex: 1;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px 0;
}
.logo {
  display: block;
  width: min(300px, 75vw);
  height: auto;
  margin-bottom: 4px;
}
.est {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}
h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 span {
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 0.35em;
}
.tag {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--muted);
  margin: 6px 0 20px;
}
nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.b {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  color: var(--ink);
  transition:
    transform 0.15s,
    background 0.2s;
}
.b small {
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: none;
  opacity: 0.85;
}
.b:hover,
.b:focus-visible {
  transform: translateY(-2px);
  background: rgba(212, 169, 78, 0.15);
}
.b.main {
  background: var(--gold);
  color: var(--btn-ink);
  border-color: var(--gold);
  font-size: 1.25rem;
  padding: 20px;
}
.b.main:hover {
  background: #e3bb68;
}
.b.main small {
  opacity: 0.8;
}
.js .b {
  opacity: 0;
}
.go .b {
  opacity: 1;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s backwards;
}
.go .b:nth-child(2) {
  animation-delay: 0.25s;
}
.go .b:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .b {
    opacity: 1;
  }
  .go .b {
    animation: none;
  }
}
footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}
footer a {
  color: var(--muted);
}
