:root {
  color-scheme: dark;
  --gold: #b68c5a;
  --text: #f7f3ed;
  --muted: #becac6;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #011c1a;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(49, 78, 82, 0.42) 0, rgba(1, 28, 26, 0) 34%),
    linear-gradient(145deg, #011c1a 0%, #062b27 55%, #011c1a 100%);
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.brand {
  padding: 40px 24px 24px;
}

.brand img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

main {
  width: min(100%, 760px);
  margin: auto;
  padding: 36px 24px 48px;
}

.loader {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: url("favicon.ico") center / 58px 58px no-repeat;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
  animation: preloaderIcon 1.8s ease-in-out infinite;
}

.loader::before,
.loader::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.loader::before {
  inset: 0;
  border: 1px solid rgba(182, 140, 90, 0.22);
  border-top-color: var(--gold);
  border-right-color: rgba(182, 140, 90, 0.65);
  animation: preloaderRing 1.4s linear infinite;
}

.loader::after {
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #d3ae80;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow span {
  flex: 0 0 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  animation: preloaderDot 1.2s ease-in-out infinite;
}

.eyebrow span:last-child {
  animation-delay: 0.3s;
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.description {
  max-width: 450px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.contact {
  max-width: 520px;
  margin: 34px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(182, 140, 90, 0.25);
}

.contact h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.contact p {
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  max-width: 100%;
  color: var(--text);
  font-size: 13px;
  text-decoration-color: rgba(182, 140, 90, 0.6);
  text-underline-offset: 5px;
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: #d3ae80;
}

a:focus-visible {
  outline: 2px solid #d3ae80;
  outline-offset: 5px;
  border-radius: 2px;
}

.contact-links svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: #d3ae80;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  padding: 0 24px 28px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.footer-divider {
  width: 1px;
  height: 12px;
  background: rgba(182, 140, 90, 0.45);
}

@keyframes preloaderRing {
  to {
    transform: rotate(1turn);
  }
}

@keyframes preloaderIcon {
  0%, 100% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1);
  }
}

@keyframes preloaderDot {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .brand {
    padding-top: 28px;
  }

  .brand img {
    width: 220px;
  }

  main {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  footer {
    flex-direction: column;
    gap: 4px;
  }

  .footer-divider {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader,
  .loader::before,
  .eyebrow span {
    animation: none;
  }

  .contact-links a {
    transition: none;
  }
}
