/*
 * Header
 */

.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-background);
}

.site-header__inner {
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  color: var(--color-text);

  font-size: 20px;
  font-weight: 700;

  text-decoration: none;
}

.primary-menu {
  display: flex;
  align-items: center;

  gap: var(--space-lg);

  margin: 0;
  padding: 0;

  list-style: none;
}

.primary-menu a {
  color: var(--color-text-muted);

  font-size: 15px;
  font-weight: 500;

  text-decoration: none;

  transition: color 0.2s ease;
}

.primary-menu a:hover {
  color: var(--color-text);
}

/*
 * Mobile menu button
 */

.site-header__toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 8px;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.site-header__toggle-line {
  display: block;

  width: 100%;
  height: 2px;

  margin: 5px 0;

  background: var(--color-text);
}

/*
 * Screen reader utility
 */

.screen-reader-text {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}

/*
 * Mobile
 */

@media (max-width: 768px) {
  .site-header__toggle {
    display: block;
  }

  .site-header__navigation {
    position: absolute;

    top: 72px;
    left: 0;
    right: 0;

    display: none;

    padding: var(--space-md);

    border-bottom: 1px solid var(--color-border);

    background: var(--color-background);
  }

  .site-header__navigation.is-open {
    display: block;
  }

  .primary-menu {
    flex-direction: column;
    align-items: flex-start;

    gap: var(--space-md);
  }

  .hero {
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(40px, 12vw, 64px);

    line-height: 1.05;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
  }
}
@media (max-width: 480px) {
  .hero__title {
    font-size: 40px;
  }

  .hero__subtitle {
    font-size: 16px;
  }
}
