@font-face {
  font-family: 'Afrah';
  src: url('assets/fonts/afrah-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Glacial Indifference';
  src: url('assets/fonts/glacial-indifference-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===================================
   CSS Variables
   =================================== */
:root {
  --font-tagline: 'Afrah', serif;
  --font-headline: 'Glacial Indifference', sans-serif;
  --color-headline: #ffffff;
  --color-tagline: rgba(255, 255, 255, 0.9);
}

/* ===================================
   Reset & Base Styles
   =================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  background-color: #dbdbd4;
}

body {
  line-height: 1.4;
  overflow: hidden;
  overscroll-behavior: none;
}

.wrapper {
  display: flex;
  height: 100%;
}
.wrapper.end {
  align-items: flex-end;
}

/* ===================================
   Landing Page
   =================================== */
.landing {
  min-height: calc(100vh + 200px);
  min-height: calc(100dvh + 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: #dbdbd4;
  background-image: url('assets/images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ===================================
   Content
   =================================== */
.content {
  text-align: center;
  padding: 0 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 55px;
}

.tagline {
  font-family: var(--font-tagline);
  font-size: clamp(1.4rem, 3.2vw, 5rem);
  font-weight: normal;
  color: var(--color-tagline);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.headline {
  font-family: var(--font-headline);
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: normal;
  color: var(--color-headline);
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: left;
}

/* ===================================
   Logo
   =================================== */
.logo-container {
  padding-bottom: 9rem;
  padding-top: 2rem;
}

.logo {
  max-width: 500px;
  width: clamp(150px, 18vw, 550px);
  height: auto;
  display: block;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
  .landing {
    background-size: 130% 100%;
  }

  .tagline {
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }

  .headline {
    letter-spacing: 0.05em;
    padding-top: 2rem;
  }

  .logo-container {
    padding-bottom: 5rem;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 0 1rem;
  }

  /* .logo-container {
    padding-bottom: 7rem;
  }

  .logo {
    max-width: 160px;
  } */
}

/* ===================================
   Landscape mobile optimization
   =================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .tagline {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .headline {
    font-size: 2rem;
  }

  /* .logo-container {
    padding-bottom: 1rem;
  }

  .logo {
    max-width: 120px;
  } */
}
