:root {
  --color-bg: #0a0e14;
  --color-bg-deep: #06080c;
  --color-bg-mid: #101722;
  --color-text: #f2efe8;
  --color-text-muted: #9a9488;
  --color-accent: #c5a059;
  --color-accent-soft: #d4bc8e;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --max-width: 40rem;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Full-bleed atmosphere — navy linen from brand artwork */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--color-bg);
}

.atmosphere__photo {
  position: absolute;
  inset: -12%;
  background-image: url("assets/bg-source.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(48px) saturate(0.85) brightness(0.72);
  transform: scale(1.12);
  opacity: 0.95;
}

.atmosphere__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle at 50% 32%,
      rgba(197, 160, 89, 0.07) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 28% 18%,
      rgba(24, 36, 56, 0.45) 0%,
      transparent 48%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      rgba(6, 8, 12, 0.7) 0%,
      transparent 55%
    );
  animation: glow-drift 18s ease-in-out infinite alternate;
}

.atmosphere__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 72% 68% at 50% 42%,
    transparent 28%,
    rgba(6, 8, 12, 0.55) 72%,
    rgba(6, 8, 12, 0.88) 100%
  );
}

.atmosphere__linen {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 1px,
      rgba(255, 255, 255, 0.02) 1px,
      rgba(255, 255, 255, 0.02) 2px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 1px,
      rgba(255, 255, 255, 0.018) 1px,
      rgba(255, 255, 255, 0.018) 2px
    );
  background-size: 3px 3px, 3px 3px;
  mix-blend-mode: soft-light;
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

@keyframes glow-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(2%, -1.5%) scale(1.04);
  }
}

/* Hero composition */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero__logo {
  display: block;
  width: min(12.5rem, 52vw);
  height: auto;
  margin-bottom: var(--space-md);
  mix-blend-mode: lighten;
  animation: rise-in 1.1s ease-out both;
}

.hero__title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.6vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
  margin-bottom: var(--space-md);
  animation: rise-in 1.1s ease-out 0.15s both;
}

.hero__title::before,
.hero__title::after {
  content: "";
  display: block;
  width: clamp(1.5rem, 6vw, 2.75rem);
  height: 1px;
}

.hero__title::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(197, 160, 89, 0.65)
  );
}

.hero__title::after {
  background: linear-gradient(
    90deg,
    rgba(197, 160, 89, 0.65),
    transparent
  );
}

.hero__lede {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 28rem;
  margin-bottom: var(--space-lg);
  animation: rise-in 1.1s ease-out 0.3s both;
}

.hero__links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  animation: rise-in 1.1s ease-out 0.45s both;
}

.hero__links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
}

.hero__links a:hover,
.hero__links a:focus-visible {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
  outline: none;
}

.hero__divider {
  display: block;
  width: 1px;
  height: 0.85rem;
  background: rgba(197, 160, 89, 0.35);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere__glow,
  .atmosphere__photo,
  .hero__logo,
  .hero__title,
  .hero__lede,
  .hero__links {
    animation: none;
  }
}

.footer {
  position: relative;
  z-index: 1;
  padding: var(--space-md);
  text-align: center;
}

.footer p {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  opacity: 0.7;
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-lg) var(--space-sm);
  }

  .hero__logo {
    width: min(11rem, 58vw);
  }
}
