/* =========================================================
   DABBIES — CONTACT
   Monograph / Editorial Interface
========================================================= */

:root {
  --black: #070707;
  --black-soft: #0b0b0b;
  --card: #0f0f0f;
  --white: #f4f4f1;
  --muted: #858580;
  --dim: #555551;
  --line: #252523;
  --line-soft: #181817;

  --success: #91b99a;
  --error: #d87979;

  --pad: clamp(20px, 5vw, 76px);
  --max: 1500px;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--black);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  font-size: 14px;
  line-height: 1.6;

  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

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


/* =========================================================
   LOADER
========================================================= */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;

  background: var(--black);

  transition:
    opacity .55s ease,
    visibility .55s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  width: 38px;
  height: 38px;

  border: 1px solid #333;
  border-radius: 50%;

  position: relative;

  animation:
    loader-spin 1.2s linear infinite;
}

.loader-mark span {
  position: absolute;

  width: 7px;
  height: 7px;

  top: -4px;
  left: 50%;

  transform: translateX(-50%);

  border-radius: 50%;
  background: var(--white);
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}


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

.site-header {
  height: 82px;

  padding: 0 var(--pad);

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

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

  position: relative;
  z-index: 200;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border: 1px solid #30302e;
  border-radius: 50%;

  overflow: hidden;
}

.brand-mark img {
  width: 21px;
  height: 21px;

  object-fit: contain;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.04em;
}


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

.menu-button {
  width: 44px;
  height: 44px;

  border: 1px solid #30302e;
  border-radius: 50%;

  background: transparent;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;

  cursor: pointer;

  position: relative;
  z-index: 300;

  transition:
    background .3s ease,
    border-color .3s ease;
}

.menu-button:hover {
  background: var(--white);
  border-color: var(--white);
}

.menu-button span {
  display: block;

  width: 15px;
  height: 1px;

  background: var(--white);

  transition:
    transform .3s ease,
    background .3s ease;
}

.menu-button:hover span {
  background: var(--black);
}

.menu-button.open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-button.open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}


/* =========================================================
   FULL SCREEN MENU
========================================================= */

.menu-overlay {
  position: fixed;
  inset: 0;

  z-index: 150;

  background: rgba(7, 7, 7, .985);

  transform: translateY(-100%);

  transition:
    transform .65s cubic-bezier(.77, 0, .175, 1);

  overflow-y: auto;
}

.menu-overlay.open {
  transform: translateY(0);
}

.menu-overlay-inner {
  width: 100%;
  max-width: var(--max);

  min-height: 100%;

  margin: auto;

  padding:
    110px
    var(--pad)
    35px;

  display: flex;
  flex-direction: column;
}

.menu-top,
.menu-bottom {
  display: flex;
  justify-content: space-between;

  color: var(--muted);

  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.main-navigation {
  margin: auto 0;
  padding: 50px 0;
}

.main-navigation a {
  display: grid;

  grid-template-columns:
    52px
    1fr
    30px;

  align-items: center;

  padding: 17px 0;

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

  font-size: clamp(28px, 5vw, 64px);

  line-height: 1;

  letter-spacing: -.06em;

  transition:
    padding .3s ease,
    color .3s ease;
}

.main-navigation a:first-child {
  border-top: 1px solid var(--line);
}

.main-navigation a:hover {
  padding-left: 12px;
}

.main-navigation a.active {
  color: var(--white);
}

.nav-number {
  color: var(--dim);
  font-size: 9px;
  letter-spacing: .12em;
}

.menu-arrow {
  color: var(--muted);
  font-size: 15px;
}


/* =========================================================
   GLOBAL SECTIONS
========================================================= */

main {
  width: 100%;
  max-width: var(--max);
  margin: auto;
}

.section-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 18px;

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

  color: var(--muted);

  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 24px;

  color: var(--muted);

  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}


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

.contact-hero {
  min-height: 680px;

  padding:
    55px
    var(--pad)
    55px;

  display: flex;
  flex-direction: column;

  position: relative;
}

.hero-content {
  max-width: 1000px;

  margin: auto 0;
}

.hero-content h1 {
  max-width: 1050px;

  font-size: clamp(52px, 8.6vw, 128px);

  font-weight: 500;

  line-height: .9;

  letter-spacing: -.078em;
}

.hero-content h1 em {
  color: var(--muted);
  font-style: normal;
}

.hero-description {
  max-width: 520px;

  margin-top: 40px;

  color: #969691;

  font-size: clamp(14px, 1.3vw, 17px);

  line-height: 1.8;
}

.hero-coordinate {
  position: absolute;

  right: var(--pad);
  bottom: 55px;

  display: flex;
  flex-direction: column;

  text-align: right;

  color: #4d4d49;

  font-size: 9px;

  letter-spacing: .12em;
}


/* =========================================================
   SIGNAL STRIP
========================================================= */

.signal-strip {
  width: 100%;

  overflow: hidden;

  padding: 15px 0;

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

.signal-track {
  width: max-content;

  display: flex;
  align-items: center;

  gap: 25px;

  color: #73736e;

  font-size: 9px;

  letter-spacing: .16em;

  white-space: nowrap;

  animation: signal-move 28s linear infinite;
}

.signal-dot {
  color: var(--white);
}

@keyframes signal-move {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-35%);
  }
}


/* =========================================================
   MESSAGE SECTION
========================================================= */

.contact-section,
.support-section,
.social-section {
  padding:
    110px
    var(--pad);
}

.contact-grid {
  display: grid;

  grid-template-columns:
    minmax(280px, .75fr)
    minmax(0, 1.25fr);

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

  margin-top: 70px;
}

.contact-intro h2,
.support-heading h2,
.social-heading h2 {
  font-size: clamp(42px, 5.2vw, 78px);

  font-weight: 500;

  line-height: .95;

  letter-spacing: -.067em;
}

.contact-intro h2 em,
.support-heading h2 em,
.social-heading h2 em {
  color: var(--muted);
  font-style: normal;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 450px;

  margin-top: 35px;

  color: #8f8f8a;

  line-height: 1.8;
}

.message-note {
  max-width: 450px;

  display: flex;

  gap: 18px;

  margin-top: 65px;

  padding-top: 18px;

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

.note-index {
  color: #555550;

  font-size: 9px;
}

.message-note strong {
  font-size: 12px;
  font-weight: 500;
}

.message-note p {
  margin-top: 5px;

  color: #70706c;

  font-size: 11px;
}


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

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 26px;
}

.field {
  position: relative;

  margin-bottom: 34px;
}

.field label {
  display: block;

  margin-bottom: 11px;

  color: #72726e;

  font-size: 9px;

  letter-spacing: .13em;

  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;

  display: block;

  border: 0;

  border-bottom: 1px solid #292927;

  outline: none;

  background: transparent;

  color: var(--white);

  padding: 13px 0;

  border-radius: 0;

  font-size: 14px;

  transition:
    border-color .25s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: #777772;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #4a4a47;
}

.field textarea {
  min-height: 190px;

  resize: vertical;

  line-height: 1.7;
}

.character-count {
  position: absolute;

  right: 0;
  bottom: 9px;

  color: #494945;

  font-size: 9px;
}


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

.form-footer {
  display: flex;

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

  gap: 25px;

  padding-top: 10px;
}

.privacy-note {
  color: #64645f;

  font-size: 10px;
}

.lock-symbol {
  display: inline-block;

  margin-right: 6px;

  font-size: 11px;
}

.submit-button {
  min-height: 52px;

  padding:
    0
    8px
    0
    23px;

  display: flex;
  align-items: center;

  gap: 18px;

  border: 1px solid #3a3a37;

  border-radius: 50px;

  background: var(--white);

  color: var(--black);

  cursor: pointer;

  transition:
    background .3s ease,
    color .3s ease,
    border-color .3s ease;
}

.submit-button:hover {
  background: transparent;
  color: var(--white);
  border-color: #555550;
}

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

.button-text {
  font-size: 11px;
  font-weight: 600;
}

.button-icon {
  width: 35px;
  height: 35px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--black);

  color: var(--white);

  font-size: 14px;

  transition:
    background .3s ease,
    color .3s ease;
}

.submit-button:hover .button-icon {
  background: var(--white);
  color: var(--black);
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.form-message {
  display: none;

  margin-top: 25px;

  padding: 15px;

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

  font-size: 11px;

  line-height: 1.6;
}

.form-message.show {
  display: block;
}

.form-message.success {
  color: var(--success);

  border-color: rgba(145, 185, 154, .3);
}

.form-message.error {
  color: var(--error);

  border-color: rgba(216, 121, 121, .3);
}


/* =========================================================
   SUPPORT
========================================================= */

.support-section {
  border-top: 1px solid var(--line);
}

.support-grid {
  display: grid;

  grid-template-columns:
    minmax(280px, .75fr)
    minmax(0, 1.25fr);

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

  margin-top: 70px;
}

.email-list {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 15px;
}

.email-card {
  min-height: 260px;

  padding: 22px;

  display: flex;
  flex-direction: column;

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

  background: var(--card);

  transition:
    transform .35s ease,
    border-color .35s ease,
    background .35s ease;
}

.email-card:hover {
  transform: translateY(-4px);

  border-color: #4a4a46;

  background: #121211;
}

.email-card-top {
  display: flex;

  justify-content: space-between;

  color: #62625e;

  font-size: 9px;

  letter-spacing: .1em;

  text-transform: uppercase;
}

.email-icon {
  width: 47px;
  height: 47px;

  margin-top: auto;
  margin-bottom: 30px;

  display: grid;
  place-items: center;

  border: 1px solid #30302d;

  border-radius: 50%;

  color: #a0a09b;

  font-size: 18px;
}

.email-card strong {
  font-size: clamp(11px, 1.15vw, 14px);

  font-weight: 500;

  word-break: break-word;
}


/* =========================================================
   SOCIALS
========================================================= */

.social-section {
  border-top: 1px solid var(--line);
}

.social-heading {
  max-width: 900px;

  margin-top: 70px;
}

.social-grid {
  margin-top: 70px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

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

.social-card {
  min-height: 220px;

  padding: 22px;

  display: flex;
  flex-direction: column;

  position: relative;

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

  background: var(--card);

  transition:
    background .3s ease;
}

.social-card:hover {
  background: #131311;
}

.social-card-top {
  display: flex;

  justify-content: space-between;

  color: #60605c;

  font-size: 9px;

  letter-spacing: .1em;
}

.social-symbol {
  font-size: 17px;

  color: #9b9b96;
}

.social-card strong {
  margin-top: auto;

  font-size: 17px;

  font-weight: 500;

  letter-spacing: -.03em;
}

.social-card > span:not(.social-symbol) {
  margin-top: 4px;

  color: #64645f;

  font-size: 10px;
}

.social-arrow {
  position: absolute;

  right: 22px;
  bottom: 22px;

  color: #555550;

  font-size: 14px;
}

.website-card {
  grid-column: span 2;
}


/* =========================================================
   CLOSING
========================================================= */

.closing-section {
  min-height: 500px;

  padding:
    80px
    var(--pad);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

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

.closing-mark {
  width: 76px;
  height: 76px;

  margin-bottom: 30px;

  display: grid;
  place-items: center;

  border: 1px solid #292927;

  border-radius: 50%;
}

.closing-mark img {
  width: 44px;
  height: 44px;

  object-fit: contain;
}

.closing-section p {
  color: #83837e;

  font-size: 12px;
}

.closing-link {
  margin-top: 28px;

  padding-bottom: 5px;

  border-bottom: 1px solid #444440;

  font-size: 11px;
}

.closing-link .arrow {
  margin-left: 8px;
}


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

.site-footer {
  padding:
    35px
    var(--pad)
    25px;

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

.footer-top,
.footer-bottom {
  max-width: var(--max);

  margin: auto;
}

.footer-top {
  display: flex;

  justify-content: space-between;

  gap: 30px;

  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-brand span,
.footer-coordinates,
.footer-bottom {
  color: #5b5b57;

  font-size: 9px;
}

.footer-coordinates {
  display: flex;
  flex-direction: column;

  text-align: right;

  gap: 3px;
}

.footer-bottom {
  padding-top: 18px;

  display: flex;

  justify-content: space-between;

  gap: 20px;

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

.footer-links {
  display: flex;

  flex-wrap: wrap;

  gap: 22px;
}

.footer-links a {
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--white);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .contact-grid,
  .support-grid {
    grid-template-columns: 1fr;

    gap: 65px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .website-card {
    grid-column: span 2;
  }
}


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

@media (max-width: 600px) {

  :root {
    --pad: 20px;
  }

  .site-header {
    height: 70px;
  }

  .menu-overlay-inner {
    padding-top: 95px;
  }

  .main-navigation {
    padding: 35px 0;
  }

  .main-navigation a {
    grid-template-columns: 35px 1fr 20px;

    padding: 14px 0;

    font-size: 31px;
  }

  .contact-hero {
    min-height: 620px;

    padding-top: 40px;
  }

  .hero-content h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-description {
    margin-top: 30px;

    font-size: 13px;
  }

  .hero-coordinate {
    right: var(--pad);
    bottom: 35px;
  }

  .contact-section,
  .support-section,
  .social-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .contact-grid,
  .support-grid {
    margin-top: 50px;

    gap: 55px;
  }

  .contact-intro h2,
  .support-heading h2,
  .social-heading h2 {
    font-size: 43px;
  }

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

    gap: 0;
  }

  .form-footer {
    flex-direction: column;

    align-items: stretch;
  }

  .submit-button {
    width: 100%;

    justify-content: space-between;
  }

  .email-list {
    grid-template-columns: 1fr;
  }

  .email-card {
    min-height: 215px;
  }

  .social-grid {
    grid-template-columns: 1fr;

    margin-top: 50px;
  }

  .website-card {
    grid-column: auto;
  }

  .social-card {
    min-height: 190px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-coordinates {
    text-align: left;
  }

  .footer-bottom {
    gap: 15px;
  }

  .footer-links {
    gap: 12px 20px;
  }
}