@font-face {
  font-family: "Belmonte Ballpoint";
  src: url("belmonte-ballpoint-cursive.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("NeueMontreal-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("NeueMontreal-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

:root {
  --paper: #F3F1EC;
  --ink: #1C1B19;
  --red: #002FA7;
  --line: #1C1B19;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Neue Montreal", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page {
  width: min(calc(100% - 36px), 780px);
  margin: 0 auto;
  padding: 90px 0 70px;
}


/* BRAND */

.brand {
  text-align: center;
}

.brand-name {
  font-family: "Neue Montreal", Arial, sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.29em;
  padding-left: 0.29em;
  color: var(--ink);
}

.brand-line {
  width: 57px;
  height: 1px;
  margin: 27px auto 0;
  background: var(--ink);
}


/* HERO */

.hero {
  padding-top: 12px;
}

.script-composition {
  position: relative;
  height: 505px;
  max-width: 740px;
  margin: 0 auto;
  color: var(--red);
  overflow: visible;
  pointer-events: none;
}

.script-word {
  position: absolute;
  display: block;
  font-family: "Belmonte Ballpoint", "Brush Script MT", cursive;
  font-weight: 400;
  line-height: 0.75;
  white-space: nowrap;
}

.people {
  top: 24px;
  left: 50%;
  font-size: 176px;
  transform: translateX(-50%) rotate(-4deg);
}

.as {
  top: 174px;
  left: 50%;
  font-size: 122px;
  transform: translateX(-50%) rotate(-5deg);
}

.they {
  top: 280px;
  left: 15%;
  font-size: 155px;
  transform: rotate(-6deg);
}

.are {
  top: 290px;
  right: 18%;
  font-size: 149px;
  transform: rotate(-5deg);
}

.construction-copy {
  max-width: 540px;
  margin: -18px auto 0;
  text-align: center;
  font-family: "Neue Montreal", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.48;
  letter-spacing: -0.015em;
}

.construction-copy p {
  margin: 0;
}

.section-divider {
  width: 52px;
  height: 1px;
  margin: 38px auto 41px;
  background: var(--ink);
}


/* CONTACT */

.contact {
  width: min(100%, 590px);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 30px;
  text-align: center;
  font-family: "Neue Montreal", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.31em;
  padding-left: 0.31em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  position: relative;
  display: block;
  min-height: 58px;
  border: 1px solid var(--line);
}

.field-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-family: "Neue Montreal", Arial, sans-serif;
  font-size: 13px;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.field--message .field-label {
  top: 16px;
  transform: none;
}

.field input,
.field textarea {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Neue Montreal", Arial, sans-serif;
  font-size: 15px;
  padding: 20px 16px 9px;
}

.field input {
  min-height: 56px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 28px;
}

.field:focus-within .field-label,
.field:has(input:not(:placeholder-shown)) .field-label,
.field:has(textarea:not(:placeholder-shown)) .field-label {
  opacity: 0;
}

.send-button {
  height: 58px;
  margin-top: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-family: "Neue Montreal", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.27em;
}

.send-button:hover {
  background: transparent;
  color: var(--ink);
}

.form-status {
  margin: -8px 0 18px;
  padding: 13px;
  border: 1px solid var(--line);
  text-align: center;
  font-family: "Neue Montreal", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.website-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}


/* INSTAGRAM */

.instagram-link {
  width: fit-content;
  margin: 46px auto 0;
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: "Neue Montreal", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  padding-left: 0.26em;
}

.instagram-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 7px;
}

.instagram-icon::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: 5.5px;
  top: 5.5px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.instagram-icon::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  right: 3px;
  top: 3px;
  background: var(--ink);
  border-radius: 50%;
}


/* MOBILE */

@media (max-width: 700px) {
  .page {
    width: min(calc(100% - 80px), 780px);
    padding-top: 52px;
  }

  .brand-name {
    font-size: 17px;
  }

  .script-composition {
    height: 390px;
    max-width: 500px;
  }

  .people {
    top: 24px;
    font-size: clamp(94px, 25vw, 126px);
  }

  .as {
    top: 143px;
    font-size: clamp(69px, 18.5vw, 94px);
  }

  .they {
    top: 231px;
    left: 14%;
    font-size: clamp(86px, 23vw, 116px);
  }

  .are {
    top: 239px;
    right: 10%;
    font-size: clamp(84px, 22vw, 111px);
  }

  .construction-copy {
    max-width: 410px;
    margin-top: -10px;
    font-size: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .script-composition {
    height: 338px;
  }

  .people {
    top: 19px;
  }

  .as {
    top: 122px;
  }

  .they {
    top: 201px;
    left: 12%;
  }

  .are {
    top: 207px;
    right: 8%;
  }
}
