@font-face {
  font-family: "Reifilano";
  src: url("../fonts/reifilano-light.woff2") format("woff2"),
       url("../fonts/reifilano-light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/Unbounded-Medium.woff2") format("woff2"),
       url("../fonts/Unbounded-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #591546;
  --cream: #f3e9ef;
  --pad: clamp(1.5rem, 4vw, 3.5rem);
}

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

html, body {
  min-height: 100%;
}

body {
  background: var(--purple);
  color: var(--cream);
  font-family: "Unbounded", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  background-image: url("../img/background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--pad);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* Top-left label */
.label {
  font-size: clamp(0.8rem, 1.4vw, 1.05rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  z-index: 2;
}

/* Big serif headline */
.headline {
  align-self: center;
  font-family: "Reifilano", Georgia, serif;
  font-weight: 300;
  font-size: clamp(2rem, min(10vw, 16svh), 9rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  z-index: 2;
  max-width: 60%;
}

.headline span {
  display: block;
}

/* Liquid ACDNT logo overlay */
.logo {
  position: absolute;
  right: clamp(-2rem, -2vw, 0rem);
  bottom: clamp(4rem, 14vh, 9rem);
  width: clamp(20rem, 58vw, 60rem);
  height: auto;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Bottom-right email */
.email {
  justify-self: end;
  align-self: end;
  font-size: clamp(0.8rem, 1.4vw, 1.05rem);
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
  z-index: 4;
  transition: opacity 0.2s ease;
}

.email:hover {
  opacity: 0.7;
}

.email:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Opening party banner — full-width second section */
.banner {
  display: block;
  width: 100%;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .headline {
    max-width: 100%;
    font-size: clamp(2.6rem, 16vw, 5rem);
  }

  .logo {
    width: 90vw;
    right: -1rem;
    bottom: 5rem;
    opacity: 0.92;
  }

  .email {
    justify-self: start;
  }
}
