/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  color: #1c1c1c;
  background-color: #f6f4f0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero layout */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

/* Language switcher */
.language-switcher {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.language-switcher button {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #6e6e6e;
  background: transparent;
  border: none;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.language-switcher button:hover,
.language-switcher button:focus {
  color: #141414;
  outline: none;
}

.language-switcher button.is-active {
  color: #141414;
  border-bottom: 1px solid #141414;
}

/* Subtle fabric texture overlay */
.texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 3px,
      rgba(0, 0, 0, 0.015) 3px,
      rgba(0, 0, 0, 0.015) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 3px,
      rgba(0, 0, 0, 0.015) 3px,
      rgba(0, 0, 0, 0.015) 4px
    );
  mix-blend-mode: multiply;
}

/* Soft radial vignette for depth */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.55) 0%, rgba(246,244,240,0) 70%);
}

/* Centered content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: fadeIn 1.4s ease-out both;
}

.logo {
  margin-bottom: 1.75rem;
  color: #141414;
}

.logo-mark {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
}

.tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  color: #4a4a4a;
  margin: 0 0 2.75rem 0;
}

/* Contact button */
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 0.95rem 2.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: #141414;
  background: transparent;
  border: 1px solid rgba(20, 20, 20, 0.35);
  border-radius: 0;
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-button:hover,
.contact-button:focus {
  color: #f6f4f0;
  background: #141414;
  border-color: #141414;
  outline: none;
}

/* Locations footer */
.locations {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e6e6e;
  animation: fadeIn 1.4s ease-out 0.35s both;
}

.divider {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.5;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 560px) {
  .language-switcher {
    top: 1.25rem;
    right: 1.25rem;
  }

  .language-switcher button {
    font-size: 0.65rem;
    padding: 0.3rem 0.45rem;
  }

  .logo-mark {
    max-width: 280px;
  }

  .tagline {
    font-size: 1.05rem;
    margin-bottom: 2.25rem;
  }

  .contact-button {
    min-width: 152px;
    padding: 0.85rem 1.85rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
  }

  .locations {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding: 0 1.5rem;
    bottom: 1.75rem;
    font-size: 0.68rem;
  }

  .divider {
    width: 3px;
    height: 3px;
  }
}
