:root {
  --ivory: #f4f0e7;
  --sand: #ddd4c2;
  --ink: #191914;
}

* { box-sizing: border-box; }

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

body {
  background: #202018;
  color: var(--ivory);
  font-family: "DM Sans", sans-serif;
}

.hero {
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 4.5vw 24px;
}

.slides, .slide, .veil { inset: 0; position: absolute; }

.slides { z-index: -3; background: #29261e; }

.slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.25s ease-in-out, transform 7s linear;
}

.slide.is-active { opacity: 1; transform: scale(1); }
.slide-day { background-image: url("assets/images/attaara-day.jpg"); }
.slide-evening { background-image: url("assets/images/attaara-evening.jpg"); }
.slide-sigiriya { background-image: url("assets/images/attaara-sigiriya.jpg"); }

.veil {
  z-index: -2;
  background: linear-gradient(90deg, rgba(10, 13, 10, .6), rgba(10, 13, 10, .12) 67%, rgba(10, 13, 10, .32)), linear-gradient(0deg, rgba(8, 10, 7, .64), transparent 44%);
}

.topbar, .footer { display: flex; align-items: center; justify-content: space-between; }

.wordmark {
  color: var(--ivory);
  font-family: "DM Mono", monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .28em;
  text-decoration: none;
}

.enquire, .details a, .location {
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.enquire { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.content { margin: auto 0; max-width: 630px; padding: 76px 0; }

.eyebrow, .opening {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .13em;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(54px, 8vw, 112px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: .92;
  margin: 22px 0 28px;
}

h1 em { font-weight: 500; }

.intro { font-size: 16px; line-height: 1.55; margin: 0 0 30px; max-width: 390px; }
.opening { color: var(--sand); }

.footer { gap: 18px; }
.details { display: flex; gap: 24px; }
.details a:hover, .location:hover, .enquire:hover { color: var(--sand); }
.location { text-align: center; }
.progress { display: flex; gap: 5px; }
.progress span { background: rgba(244, 240, 231, .45); display: block; height: 2px; width: 22px; }
.progress .is-current { background: var(--ivory); }

@media (max-width: 700px) {
  .hero { padding: 22px 24px; }
  .content { padding: 54px 0; }
  .intro { font-size: 14px; max-width: 300px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .details { flex-wrap: wrap; gap: 10px 18px; }
  .location { text-align: left; }
  .progress { position: absolute; right: 24px; bottom: 26px; }
}