/* =========================================================
   DABBIES — CONTACT
   MONOGRAPH SYSTEM
========================================================= */

:root {

  --black: #050505;
  --panel: #080808;

  --white: #f4f4f0;
  --muted: #898985;
  --dim: #555551;

  --line: rgba(244, 244, 240, 0.14);
  --soft-line: rgba(244, 244, 240, 0.075);

  --success: #b8dfc0;
  --danger: #e98787;

}


* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {

  margin: 0;

  background: var(--black);
  color: var(--white);

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  overflow-x: hidden;

}


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


button,
input,
textarea {
  font: inherit;
}


button {
  cursor: pointer;
}


img {
  max-width: 100%;
  display: block;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  height: 74px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding:
    0
    clamp(20px, 4vw, 58px);

  border-bottom:
    1px solid var(--soft-line);

  background:
    rgba(5, 5, 5, 0.78);

  backdrop-filter:
    blur(22px);

  -webkit-backdrop-filter:
    blur(22px);

}


.brand {

  display: inline-flex;

  align-items: center;

}


.brand img {

  width: 94px;
  height: auto;

  object-fit: contain;

}


.desktop-nav {

  display: flex;

  align-items: center;

  gap: clamp(20px, 3vw, 42px);

}


.desktop-nav a {

  color: #a4a49f;

  font-family:
    "DM Mono",
    monospace;

  font-size: 9px;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;

}


.desktop-nav a:hover,
.desktop-nav a.active {

  color: var(--white);

}


.desktop-nav .nav-cta {

  color: var(--white);

  padding-bottom: 5px;

  border-bottom:
    1px solid var(--white);

}


/* =========================================================
   MENU BUTTON
========================================================= */

.menu-button {

  display: none;

  width: 38px;
  height: 38px;

  padding: 9px;

  border: 1px solid var(--line);

  background: transparent;

}


.menu-button span {

  display: block;

  width: 100%;
  height: 1px;

  margin: 5px 0;

  background: var(--white);

}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {

  position: fixed;

  inset: 0;

  z-index: 2000;

  background: var(--black);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;

}


.mobile-menu.open {

  opacity: 1;

  visibility: visible;

  pointer-events: auto;

}


.mobile-menu-inner {

  min-height: 100svh;

  display: flex;

  flex-direction: column;

  padding:
    24px
    22px;

}


.mobile-menu-top {

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-bottom: 20px;

  border-bottom:
    1px solid var(--soft-line);

  font-family:
    "DM Mono",
    monospace;

  font-size: 9px;

  letter-spacing: 0.12em;

}


.mobile-menu-top button {

  border: 0;

  background: transparent;

  color: var(--muted);

  font-family:
    "DM Mono",
    monospace;

  font-size: 9px;

  text-transform: uppercase;

}


.mobile-nav {

  display: flex;

  flex-direction: column;

  margin-top: 50px;

}


.mobile-nav a {

  display: grid;

  grid-template-columns: 38px 1fr;

  align-items: baseline;

  padding:
    18px 0;

  border-bottom:
    1px solid var(--soft-line);

  font-size: clamp(30px, 8vw, 48px);

  font-weight: 400;

  letter-spacing: -0.055em;

}


.mobile-nav a span {

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 8px;

  letter-spacing: 0.1em;

}


.mobile-nav a.active {

  color: var(--white);

}


.mobile-menu-bottom {

  display: flex;

  justify-content: space-between;

  margin-top: auto;

  padding-top: 20px;

  border-top:
    1px solid var(--soft-line);

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 7px;

  letter-spacing: 0.1em;

}


/* =========================================================
   HERO
========================================================= */

.contact-hero {

  position: relative;

  min-height: 76svh;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  padding:
    130px
    clamp(22px, 5vw, 70px)
    35px;

  border-bottom:
    1px solid var(--soft-line);

}


.hero-index {

  display: flex;

  justify-content: space-between;

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 8px;

  letter-spacing: 0.12em;

}


.hero-content {

  width: min(100%, 1000px);

}


.eyebrow {

  margin: 0 0 24px;

  color: var(--muted);

  font-family:
    "DM Mono",
    monospace;

  font-size: 8px;

  letter-spacing: 0.14em;

  text-transform: uppercase;

}


.hero-content h1 {

  margin: 0;

  font-size:
    clamp(62px, 11vw, 150px);

  line-height: 0.86;

  font-weight: 400;

  letter-spacing: -0.075em;

}


.hero-content h1 span {

  display: block;

  color: var(--muted);

}


.hero-description {

  max-width: 540px;

  margin: 42px 0 0;

  color: #a1a19d;

  font-size:
    clamp(13px, 1.3vw, 16px);

  line-height: 1.75;

}


.hero-meta {

  display: flex;

  justify-content: space-between;

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 7px;

  letter-spacing: 0.1em;

}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {

  display: grid;

  grid-template-columns:
    minmax(280px, 0.8fr)
    minmax(0, 1.5fr);

  gap:
    clamp(50px, 9vw, 150px);

  padding:
    clamp(80px, 10vw, 150px)
    clamp(22px, 5vw, 70px);

  border-bottom:
    1px solid var(--soft-line);

}


.contact-information {

  display: flex;

  flex-direction: column;

  gap: 48px;

}


.information-block {

  padding-bottom: 34px;

  border-bottom:
    1px solid var(--soft-line);

}


.section-label {

  display: block;

  margin-bottom: 15px;

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 8px;

  letter-spacing: 0.13em;

  text-transform: uppercase;

}


.contact-link {

  display: inline-flex;

  gap: 10px;

  color: var(--white);

  font-size:
    clamp(18px, 2vw, 25px);

  letter-spacing: -0.035em;

  transition: opacity 0.25s ease;

}


.contact-link:hover {

  opacity: 0.55;

}


.contact-link span {

  color: var(--muted);

  font-size: 14px;

}


.information-block p {

  max-width: 380px;

  margin:
    14px 0 0;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.7;

}


.information-note {

  padding-top: 4px;

}


.information-note > span {

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 8px;

  letter-spacing: 0.13em;

}


.information-note p {

  margin:
    13px 0 0;

  color: #777773;

  font-size: 10px;

  line-height: 1.75;

}


/* =========================================================
   FORM AREA
========================================================= */

.contact-form-area {

  width: min(100%, 720px);

}


.form-heading {

  padding-bottom: 35px;

  border-bottom:
    1px solid var(--line);

}


.form-heading h2 {

  margin: 0;

  font-size:
    clamp(42px, 6vw, 75px);

  line-height: 0.9;

  font-weight: 400;

  letter-spacing: -0.07em;

}


.form-heading p {

  margin:
    22px 0 0;

  color: var(--muted);

  font-size: 12px;

}


.contact-form {

  padding-top: 10px;

}


.field {

  position: relative;

  padding:
    27px 0;

  border-bottom:
    1px solid var(--soft-line);

}


.field label {

  display: block;

  margin-bottom: 13px;

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 8px;

  letter-spacing: 0.13em;

}


.field input,
.field textarea {

  width: 100%;

  border: 0;

  outline: none;

  padding: 0;

  resize: vertical;

  background: transparent;

  color: var(--white);

  font-family:
    Inter,
    Arial,
    sans-serif;

  font-size:
    clamp(16px, 2vw, 21px);

  line-height: 1.5;

}


.field input::placeholder,
.field textarea::placeholder {

  color: #464642;

}


.field input:focus::placeholder,
.field textarea:focus::placeholder {

  opacity: 0.35;

}


.field textarea {

  min-height: 180px;

}


.field-error {

  display: block;

  min-height: 0;

  margin-top: 7px;

  color: var(--danger);

  font-size: 10px;

}


.textarea-meta {

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

}


.textarea-meta .field-error {

  flex: 1;

}


#characterCount {

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 7px;

  letter-spacing: 0.08em;

}


/* =========================================================
   FORM STATUS
========================================================= */

.form-status {

  min-height: 20px;

  padding-top: 18px;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.6;

}


.form-status.success {

  color: var(--success);

}


.form-status.error {

  color: var(--danger);

}


/* =========================================================
   SUBMIT
========================================================= */

.submit-button {

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 25px;

  padding:
    19px 0;

  border: 0;

  border-top:
    1px solid var(--white);

  border-bottom:
    1px solid var(--white);

  background: transparent;

  color: var(--white);

  font-family:
    "DM Mono",
    monospace;

  font-size: 9px;

  letter-spacing: 0.12em;

  text-align: left;

  transition:
    opacity 0.25s ease;

}


.submit-button:hover {

  opacity: 0.55;

}


.submit-button:disabled {

  cursor: wait;

  opacity: 0.4;

}


.submit-arrow {

  font-size: 17px;

}


.form-note {

  max-width: 550px;

  margin:
    19px 0 0;

  color: var(--dim);

  font-size: 9px;

  line-height: 1.7;

}


/* =========================================================
   BOTTOM
========================================================= */

.contact-bottom {

  display: grid;

  grid-template-columns:
    minmax(150px, 0.45fr)
    minmax(0, 1.55fr);

  gap: 50px;

  padding:
    clamp(80px, 10vw, 150px)
    clamp(22px, 5vw, 70px);

}


.bottom-index {

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 8px;

  letter-spacing: 0.12em;

}


.bottom-content {

  max-width: 850px;

}


.bottom-content h2 {

  margin: 0;

  font-size:
    clamp(48px, 7vw, 90px);

  line-height: 0.9;

  font-weight: 400;

  letter-spacing: -0.07em;

}


.bottom-links {

  margin-top: 55px;

  border-top:
    1px solid var(--soft-line);

}


.bottom-links a {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding:
    20px 0;

  border-bottom:
    1px solid var(--soft-line);

  color: #b3b3ae;

  font-size: 14px;

  transition:
    color 0.25s ease;

}


.bottom-links a:hover {

  color: var(--white);

}


.bottom-links b {

  font-weight: 400;

  color: var(--dim);

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

  padding:
    50px
    clamp(22px, 5vw, 70px)
    25px;

  border-top:
    1px solid var(--soft-line);

}


.footer-main {

  display: grid;

  grid-template-columns:
    2fr 1fr 1fr;

  gap: 50px;

  padding-bottom: 80px;

}


.footer-brand img {

  width: 95px;

}


.footer-brand p {

  max-width: 270px;

  margin:
    20px 0 0;

  color: var(--muted);

  font-size: 10px;

  line-height: 1.7;

}


.footer-column {

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 11px;

}


.footer-column > span {

  margin-bottom: 7px;

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 7px;

  letter-spacing: 0.12em;

}


.footer-column a {

  color: #858581;

  font-size: 10px;

  transition: color 0.25s ease;

}


.footer-column a:hover {

  color: var(--white);

}


.footer-bottom {

  display: grid;

  grid-template-columns:
    1fr
    1fr
    auto;

  gap: 20px;

  padding-top: 20px;

  border-top:
    1px solid var(--soft-line);

  color: var(--dim);

  font-family:
    "DM Mono",
    monospace;

  font-size: 7px;

  letter-spacing: 0.08em;

}


.footer-legal {

  display: flex;

  gap: 20px;

}


.footer-legal a:hover {

  color: var(--white);

}


/* =========================================================
   REVEAL
========================================================= */

.hero-content,
.contact-information,
.contact-form-area,
.contact-bottom {

  animation:
    pageReveal 0.8s ease both;

}


@keyframes pageReveal {

  from {

    opacity: 0;

    transform:
      translateY(18px);

  }

  to {

    opacity: 1;

    transform:
      translateY(0);

  }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

  .desktop-nav {

    display: none;

  }


  .menu-button {

    display: block;

  }


  .contact-hero {

    min-height: 70svh;

    padding-top: 115px;

  }


  .contact-section {

    grid-template-columns: 1fr;

    gap: 80px;

  }


  .contact-form-area {

    width: 100%;

  }


  .contact-bottom {

    grid-template-columns: 1fr;

    gap: 35px;

  }


  .footer-main {

    grid-template-columns:
      1fr 1fr;

  }


  .footer-brand {

    grid-column:
      1 / -1;

  }


  .footer-bottom {

    grid-template-columns:
      1fr 1fr;

  }


  .footer-legal {

    grid-column:
      1 / -1;

  }

}


@media (max-width: 560px) {

  .site-header {

    height: 66px;

  }


  .brand img {

    width: 82px;

  }


  .contact-hero {

    min-height: 72svh;

    padding:
      100px
      20px
      25px;

  }


  .hero-index {

    font-size: 7px;

  }


  .hero-content h1 {

    font-size:
      clamp(55px, 17vw, 82px);

  }


  .hero-description {

    margin-top: 30px;

    font-size: 12px;

  }


  .contact-section {

    padding:
      75px
      20px;

  }


  .contact-information {

    gap: 35px;

  }


  .form-heading h2 {

    font-size: 52px;

  }


  .field {

    padding:
      23px 0;

  }


  .field textarea {

    min-height: 150px;

  }


  .contact-bottom {

    padding:
      75px
      20px;

  }


  .site-footer {

    padding:
      45px
      20px
      22px;

  }


  .footer-main {

    grid-template-columns: 1fr;

    padding-bottom: 55px;

  }


  .footer-brand {

    grid-column: auto;

  }


  .footer-bottom {

    grid-template-columns: 1fr;

    gap: 10px;

  }


  .footer-legal {

    grid-column: auto;

  }

}