/* Espace Glenmor — waiting page */

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-white-muted: rgba(255, 255, 255, 0.72);
  --font: "Epilogue", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font);
  background: var(--color-black);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* —— Hero —— */

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

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-ken 18s var(--ease-out) both;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.42) 40%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    rgba(0, 0, 0, 0.28);
}

/* —— Main brand —— */

.main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 12vh, 8rem) 1.5rem clamp(10rem, 18vh, 12rem);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 36rem;
}

.brand__logo {
  width: clamp(7.5rem, 18vw, 11.5rem);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
  animation: fade-rise 1.1s var(--ease-out) 0.15s both;
}

.brand__title {
  margin: clamp(1.75rem, 4vh, 2.5rem) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-transform: uppercase;
  line-height: 0.95;
  animation: fade-rise 1s var(--ease-out) 0.45s both;
}

.brand__title-light {
  font-weight: 300;
  font-size: clamp(1.05rem, 2.8vw, 2rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  white-space: nowrap;
}

.brand__title-heavy {
  font-weight: 800;
  font-size: clamp(1.35rem, 4vw, 2.85rem);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.brand__support {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  color: var(--color-white-muted);
  animation: fade-rise 1s var(--ease-out) 0.65s both;
}

/* —— Contact —— */

.contact {
  position: absolute;
  z-index: 1;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vh, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  font-style: normal;
  animation: fade-rise 1s var(--ease-out) 0.85s both;
}

.contact__phone {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: opacity 0.2s ease;
}

.contact__phone:hover,
.contact__phone:focus-visible {
  opacity: 0.75;
}

.contact__phone:focus-visible {
  outline: 1px solid var(--color-white);
  outline-offset: 4px;
}

.contact__address {
  margin: 0;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.45;
  color: var(--color-white);
}

.contact__facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.15rem;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact__facebook:hover,
.contact__facebook:focus-visible {
  opacity: 0.75;
}

.contact__facebook:focus-visible {
  outline: 1px solid var(--color-white);
  outline-offset: 4px;
}

.contact__fb-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.95rem;
  height: 2.15rem;
  background: var(--color-white);
  transform: skewX(-14deg);
}

.contact__fb-icon svg {
  width: auto;
  height: 1.1rem;
  display: block;
  transform: skewX(14deg);
}

.contact__fb-label {
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.1rem, 1.85vw, 1.3rem);
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 0.15rem;
}

/* —— Motion —— */

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

@keyframes hero-ken {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__image,
  .brand__logo,
  .brand__title,
  .brand__support,
  .contact {
    animation: none;
  }
}

/* —— Responsive —— */

@media (max-width: 640px) {
  .main {
    padding: 4.5rem 1.25rem 11rem;
    align-items: flex-start;
    padding-top: clamp(5rem, 14vh, 7rem);
  }

  .brand {
    width: 100%;
  }

  .brand__logo {
    width: clamp(6.5rem, 32vw, 8.5rem);
  }

  .brand__title-light {
    font-size: clamp(1.35rem, 6.5vw, 1.7rem);
  }

  .brand__title-heavy {
    font-size: clamp(1.75rem, 8.5vw, 2.25rem);
  }

  .contact {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.5rem;
    gap: 1rem;
  }

  .contact__phone {
    font-size: 1.4rem;
  }
}

@media (min-width: 641px) and (max-height: 700px) {
  .main {
    padding-block: 3.5rem 9rem;
  }

  .brand__logo {
    width: 7rem;
  }

  .brand__title {
    margin-top: 1.25rem;
  }

  .brand__title-light {
    font-size: 1.05rem;
  }

  .brand__title-heavy {
    font-size: 1.4rem;
  }

  .brand__support {
    margin-top: 0.6rem;
    font-size: 0.9rem;
  }
}
