:root {
  --black: #090909;
  --white: #f5f5f2;
  --muted: #858585;
  --line: #2d2d2d;
  --wordmark-font: "Plus Jakarta Sans";
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 2;
  height: 76px;
  margin-inline: clamp(22px, 3vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-divider {
  width: min(460px, 70vw);
  height: 1px;
  margin-top: clamp(34px, 5vh, 52px);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 245, 242, 0.08) 8%,
    rgba(245, 245, 242, 0.28) 50%,
    rgba(245, 245, 242, 0.08) 92%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(245, 245, 242, 0.08);
  pointer-events: none;
}

.availability,
.header-action {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
}

.availability span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

.header-action {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--white);
  background: transparent;
  cursor: pointer;
}

main {
  height: calc(100dvh - 76px);
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  padding: clamp(68px, 12vh, 132px) 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

h1 {
  margin: 0;
  font-family: var(--wordmark-font), "Helvetica Neue", sans-serif;
  font-size: clamp(76px, 10.5vw, 168px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.065em;
  white-space: nowrap;
  animation: appear 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.offer-button,
.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--white);
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.offer-button {
  margin-top: clamp(24px, 3.5vh, 38px);
  min-width: 260px;
  padding: 14px 17px 14px 21px;
  gap: 32px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.offer-button:hover,
.submit-button:hover:not(:disabled) {
  color: var(--white);
  background: transparent;
}

svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.contact-modal {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid #3a3a3a;
  color: var(--white);
  background: #101010;
}

.contact-modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.contact-modal[open] {
  animation: modal-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: clamp(16px, 3vh, 28px);
  border-bottom: 1px solid var(--line);
}

h2,
.modal-close {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.modal-close {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--muted);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.field {
  padding: clamp(13px, 2.2vh, 22px) 0 10px;
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease;
}

.field:focus-within {
  border-color: var(--white);
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

input,
textarea {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

textarea {
  height: clamp(48px, 8vh, 78px);
  min-height: 40px;
  resize: none;
}

.field:has(input:user-invalid),
.field:has(textarea:user-invalid) {
  border-color: var(--white);
}

.honey-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form-footer {
  min-height: 48px;
  margin-top: clamp(16px, 3vh, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.form-status.is-error {
  color: var(--white);
}

.submit-button {
  min-width: 174px;
  padding: 12px 16px 12px 19px;
  gap: 24px;
}

.submit-button span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.font-browser {
  position: fixed;
  z-index: 20;
  bottom: 18px;
  left: 50%;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #383838;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.94);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.font-browser button {
  height: 34px;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.font-browser-step {
  width: 34px;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
}

.font-browser-step:hover {
  background: #292929;
}

.font-browser-current {
  min-width: 190px;
  padding: 0 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: default !important;
}

.font-browser-index {
  margin-left: 8px;
  color: var(--muted);
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(10px);
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 60px;
    margin-inline: 18px;
  }

  main {
    height: calc(100dvh - 60px);
  }

  .hero {
    padding: clamp(58px, 11vh, 90px) 18px 18px;
  }

  h1 {
    font-size: clamp(64px, 18vw, 100px);
  }

  .contact-modal {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 22px;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-button {
    width: 100%;
  }

  .font-browser {
    bottom: 10px;
  }

  .font-browser-current {
    min-width: 150px;
  }
}

@media (max-height: 600px) {
  .contact-modal {
    padding-block: 16px;
  }

  .modal-header {
    padding-bottom: 10px;
  }

  .field {
    padding-top: 8px;
  }

  textarea {
    height: 34px;
  }

  .form-footer {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
