/* ---------------------------------------------------
   Base
--------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  height: -webkit-fill-available;
}

body {
  width: 100%;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  overflow: hidden;
  background: #160f0a;
}

/* ---------------------------------------------------
   Hero — fixed full-viewport background cover
--------------------------------------------------- */
.hero {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #160f0a;
  background-image: url("../images/hero.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Slightly adjust focal point on tall/narrow screens */
@media (orientation: portrait) and (max-width: 768px) {
  .hero {
    background-position: center 40%;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    background-position: center center;
  }
}

/* ---------------------------------------------------
   Quote — upper-left golden shimmer
--------------------------------------------------- */
.quote {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-width: min(42rem, 88vw);
  margin: clamp(1.25rem, 3vw, 2.75rem);
  padding: 0;
  border: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  pointer-events: none;
}

.quote__text {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.quote__line {
  display: block;
}

.quote__author {
  display: block;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.quote__char {
  display: inline-block;
  background-image: linear-gradient(
    110deg,
    #5c4208 0%,
    #9a7209 12%,
    #d4af37 28%,
    #ffe566 42%,
    #fffef0 50%,
    #ffe566 58%,
    #d4af37 72%,
    #9a7209 88%,
    #5c4208 100%
  );
  background-size: 320% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: quote-shimmer 3.38s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.039s);
}

@keyframes golden-glow {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.35)) brightness(0.8);
  }

  35% {
    filter: drop-shadow(0 0 10px rgba(255, 220, 100, 0.95)) brightness(1.55);
  }

  50% {
    filter: drop-shadow(0 0 14px rgba(255, 240, 160, 1)) brightness(1.75);
  }

  65% {
    filter: drop-shadow(0 0 10px rgba(255, 220, 100, 0.95)) brightness(1.55);
  }
}

@keyframes quote-shimmer {
  0%, 100% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.35)) brightness(0.8);
  }

  35% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 10px rgba(255, 220, 100, 0.95)) brightness(1.55);
  }

  50% {
    background-position: -20% 50%;
    filter: drop-shadow(0 0 14px rgba(255, 240, 160, 1)) brightness(1.75);
  }

  65% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 10px rgba(255, 220, 100, 0.95)) brightness(1.55);
  }
}

/* ---------------------------------------------------
   Logo — lower-right golden glow
--------------------------------------------------- */
.site-logo {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: clamp(1.25rem, 3vw, 2.75rem);
  pointer-events: none;
}

.site-logo__image {
  display: block;
  width: clamp(7rem, 16vw, 11rem);
  height: auto;
  animation: golden-glow 3.38s ease-in-out infinite;
}

@media (max-width: 768px) {
  .quote {
    max-width: min(34rem, 92vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote__char {
    animation: none;
    background: none;
    color: #d4af37;
    -webkit-text-fill-color: #d4af37;
  }

  .site-logo__image {
    animation: none;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.45));
  }
}
