:root {
  --cream: #f3ece2;
  --cream-dim: rgba(243, 236, 226, 0.72);
  --scrim-dark: rgba(10, 8, 6, 0.55);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: #0a0806;
  font-family: 'Cormorant Garamond', serif;
  overflow: hidden;
}

.card {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Darkens the frame overall, with extra weight on the left where the
   text sits, so the copy stays legible regardless of what's playing. */
.scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.72) 0%, rgba(8, 6, 4, 0.42) 45%, rgba(8, 6, 4, 0.15) 70%, rgba(8, 6, 4, 0.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.35) 100%);
}

.content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6vh 8vw 8vh;
  color: var(--cream);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.6);
  animation: rise 1.4s ease-out both;
}

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

.name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2.3rem, 6.4vw, 4.2rem);
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.3vw, 1.3rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0.9em 0 0;
}

.divider {
  width: clamp(60px, 12vw, 110px);
  border: none;
  border-top: 1px solid rgba(243, 236, 226, 0.55);
  margin: clamp(1.4rem, 4vh, 2.4rem) 0;
}

.tags {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--cream);
}

.contact {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 2rem);
  margin-top: clamp(2.2rem, 6vh, 3.2rem);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-link svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.55));
}

.contact-link:hover,
.contact-link:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 520px) {
  .scrim {
    background:
      linear-gradient(180deg, rgba(8,6,4,0.35) 0%, rgba(8,6,4,0.55) 55%, rgba(8,6,4,0.78) 100%);
  }

  .content {
    justify-content: flex-end;
    padding-bottom: 9vh;
  }
}
