html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background: #fbf9f5;
  color: #1a1a1a;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: "Cormorant Garamond", Georgia, serif;
}

[id] {
  scroll-margin-top: 9rem;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #f9980d;
  outline-offset: 3px;
}

.nav-link {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: #f9980d;
}

.chip {
  display: inline-block;
  white-space: nowrap;
  border: 1px solid rgba(17, 17, 17, 0.14);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #1a1a1a;
  background: #fff;
}

.chip:hover {
  border-color: #f9980d;
  color: #c56d04;
}

[data-slide] {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

[data-slide].is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

[data-dot] {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.2s ease, background 0.2s ease;
}

[data-dot].is-active {
  width: 1.6rem;
  background: #f9980d;
}

.form-note.is-error {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fdba74;
}

@media (max-width: 1023px) {
  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    padding: 5.5rem 1.75rem 2rem;
  }

  .site-nav .nav-link {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.15rem;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 500;
    padding: 0.15rem 0;
  }

  .nav-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
}

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.95rem;
  }

  .nav-close {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .nav-link {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .site-nav {
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-slide] {
    transition: none;
  }
}

body.menu-open {
  overflow: hidden;
}
