:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1c1c1c;
  background: #f7f5f0;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f7f5f0;
  color: #1c1c1c;
}

* {
  box-sizing: border-box;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: #d7b98e;
  color: #111111;
}

section {
  scroll-margin-top: 108px;
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 92px;
  }

  section {
    scroll-margin-top: 92px;
  }
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: #d7b98e;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-nav-link {
  display: block;
  color: #ffffff;
  font-size: clamp(2.6rem, 12vw, 5.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.055em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.group:hover .mobile-nav-link {
  color: #d7b98e;
  transform: translateX(5px);
}

.footer-heading {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.32);
}

.footer-link {
  width: fit-content;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.52);
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.social-link {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.48);
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: #d7b98e;
  color: #d7b98e;
  transform: translateY(-2px);
}

.form-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.45);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  background: transparent;
  padding: 13px 0;
  font-size: 14px;
  color: #1c1c1c;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.25);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #a58b67;
}

.form-field textarea {
  resize: vertical;
  line-height: 1.7;
}
