:root {
  --gold: #c9a96e;
  --gold-soft: #e8d5a3;
  --gold-deep: #9a7b45;
  --ink: #0c0d0b;
  --paper: #f6f1e8;
  --muted: rgba(246, 241, 232, 0.72);
  --line: rgba(201, 169, 110, 0.45);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: -4%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.8s ease, transform 12s ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1.12);
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 9, 0.72) 0%, rgba(10, 11, 9, 0.46) 34%, rgba(10, 11, 9, 0.58) 58%, rgba(10, 11, 9, 0.86) 100%),
    radial-gradient(ellipse 90% 70% at 50% 46%, rgba(10, 11, 9, 0.42), transparent 72%),
    radial-gradient(ellipse at 50% 12%, rgba(201, 169, 110, 0.14), transparent 42%);
  pointer-events: none;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.frame {
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid var(--line);
  pointer-events: none;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
}

.frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.frame-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
}

.frame-corner.tr {
  top: -1px;
  right: -1px;
  border-left: 0;
  border-bottom: 0;
}

.frame-corner.bl {
  left: -1px;
  bottom: -1px;
  border-right: 0;
  border-top: 0;
}

.header,
.main,
.footer {
  position: relative;
  z-index: 3;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 42px 0;
}

.logo {
  width: min(220px, 42vw);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.logo img {
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

.lang {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  background: rgba(12, 13, 11, 0.28);
  backdrop-filter: blur(12px);
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(246, 241, 232, 0.62);
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 8px 10px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang button.is-active,
.lang button:hover {
  color: var(--ink);
  background: var(--gold-soft);
}

.lang button:focus-visible {
  outline: 1px solid var(--gold-soft);
  outline-offset: 2px;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 24px 16px;
}

.headline {
  margin: 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 18px 50px rgba(0, 0, 0, 0.4);
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 22px;
  color: var(--gold);
}

.divider span {
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider i {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  background: rgba(201, 169, 110, 0.35);
}

.lead {
  margin: 0;
  max-width: 34rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--paper);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.sub {
  margin: 12px 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 42px 28px;
}

.copy {
  color: rgba(246, 241, 232, 0.42);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.fade-in {
  animation: rise 1.1s ease both;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.28s; }
.delay-3 { animation-delay: 0.42s; }
.delay-4 { animation-delay: 0.58s; }
.delay-5 { animation-delay: 0.74s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .frame {
    inset: 10px;
  }

  .header,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .header {
    padding-top: 18px;
    align-items: flex-start;
  }

  .footer {
    text-align: center;
    padding-bottom: 18px;
  }

  .headline {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .logo {
    width: 132px;
  }

  .main {
    padding: 12px 18px 10px;
  }

  .meta {
    gap: 8px 14px;
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .fade-in {
    animation: none !important;
    transition: none !important;
  }

  .slide.is-active {
    transform: none;
  }
}
