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

:root {
  --hero-bg: #f4f7fa;
  --hero-bg-accent: #e4ebf1;
  --hero-bleed: clamp(10rem, 22vh, 16rem);
  --text-primary: #2c3642;
  --text-secondary: #5c6878;
  --text-accent: #4a78a0;
  --note-color: #3d5066;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-muted: rgba(228, 235, 241, 0.9);
  --border-subtle: rgba(44, 58, 74, 0.1);
  --shadow-soft: rgba(44, 58, 74, 0.07);
  --shadow-medium: rgba(44, 58, 74, 0.12);
}

html,
body {
  height: 100%;
}

body {
  font-family: "Cormorant Garamond", "Georgia", serif;
  background-color: var(--hero-bg);
  color: var(--text-primary);
  overflow-x: hidden;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 255, 255, 0.88) 0%, transparent 70%),
    radial-gradient(ellipse 100% 80% at 50% 100%, var(--hero-bg-accent) 0%, var(--hero-bg) 90%);
}

.hero__notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__note {
  position: absolute;
  transform-origin: center center;
  will-change: transform;
}

.hero__note-inner {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  opacity: 0.18;
  will-change: transform;
}

.hero__note-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(24%) sepia(12%) saturate(800%) hue-rotate(169deg)
    brightness(95%);
}

.hero__note-inner--bounce {
  animation-name: note-bounce;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.hero__note-inner--flip {
  animation-name: note-flip;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.hero__note-inner--bounce-flip {
  animation-name: note-bounce-flip;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes note-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(var(--note-rotate));
  }
  50% {
    transform: translateY(calc(var(--bounce-height) * -1)) rotate(var(--note-rotate));
  }
}

@keyframes note-flip {
  0%,
  100% {
    transform: rotateY(0deg) rotate(var(--note-rotate));
  }
  50% {
    transform: rotateY(180deg) rotate(var(--note-rotate));
  }
}

@keyframes note-bounce-flip {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg) rotate(var(--note-rotate));
  }
  25% {
    transform: translateY(calc(var(--bounce-height) * -0.6)) rotateY(90deg) rotate(var(--note-rotate));
  }
  50% {
    transform: translateY(calc(var(--bounce-height) * -1)) rotateY(180deg) rotate(var(--note-rotate));
  }
  75% {
    transform: translateY(calc(var(--bounce-height) * -0.6)) rotateY(270deg) rotate(var(--note-rotate));
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  max-width: 52rem;
  width: 100%;
}

.hero__eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.hero__logo {
  display: block;
  width: min(92vw, 42rem);
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
}

.hero__logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero__image-bar {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  width: min(94vw, 64rem);
  padding: 0 clamp(1.5rem, 6vw, 4rem);
}

.hero__image-bar img {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  height: clamp(6rem, 16vw, 11rem);
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow:
    0 4px 20px var(--shadow-soft),
    0 1px 3px rgba(44, 58, 74, 0.06);
}

@media (max-width: 560px) {
  .hero__image-bar {
    gap: 0.4rem;
    padding: 0 1.25rem;
  }

  .hero__image-bar img {
    height: clamp(4.5rem, 22vw, 6rem);
    border-radius: 0.5rem;
  }
}

.hero__title-serif {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero__tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.hero__tagline::before,
.hero__tagline::after {
  content: "♪";
  display: inline-block;
  margin: 0 0.6em;
  font-style: normal;
  color: var(--text-accent);
  opacity: 0.6;
}

@media (max-width: 480px) {
  .hero__eyebrow {
    letter-spacing: 0.22em;
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .hero__logo {
    width: min(94vw, 22rem);
  }

  .hero__tagline {
    font-size: clamp(1.2rem, 4.5vw, 1.45rem);
  }

  .hero__title-serif {
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__note-inner {
    animation: none !important;
    opacity: 0.12;
  }
}
