/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
  background: var(--off-white);
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.contact-hero {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(430px, 0.9fr);

  align-items: center;

  gap: clamp(55px, 7vw, 110px);

  min-height: 720px;

  padding:
    85px
    max(7vw, 45px)
    95px;

  background:
    linear-gradient(
      155deg,
      transparent 0%,
      transparent 72%,
      rgba(23, 74, 126, 0.035) 72%,
      rgba(23, 74, 126, 0.035) 100%
    ),
    var(--off-white);
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.contact-copy {
  max-width: 730px;
}


.contact-copy .eyebrow {
  margin-bottom: 15px;

  font-size: 17px;
}


.contact-copy h1 {
  margin: 0;

  color: var(--navy-deep);

  font-size:
    clamp(76px, 7.5vw, 112px);

  font-weight: 900;

  line-height: 0.82;
}


.contact-copy h1 span {
  display: block;

  color: var(--red);
}


.contact-intro {
  max-width: 620px;

  margin:
    30px
    0
    0;

  color: var(--muted);

  font-size: 21px;

  line-height: 1.65;
}


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

.contact-details {
  display: grid;

  gap: 13px;

  max-width: 600px;

  margin-top: 36px;
}


.contact-detail {
  display: flex;

  align-items: center;

  gap: 17px;

  padding:
    15px
    17px;

  background: var(--white);

  color: var(--navy-deep);

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

  border-left:
    5px
    solid
    var(--red);

  text-decoration: none;

  box-shadow:
    0
    7px
    20px
    rgba(13, 53, 95, 0.05);
}


.contact-detail:nth-child(even) {
  border-left-color: var(--navy);
}


.contact-detail:hover {
  transform: translateX(4px);

  border-color: var(--red);
}


.contact-icon {
  width: 48px;
  height: 48px;

  display: grid;

  place-items: center;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--navy-deep);

  color: var(--white);

  font-size: 23px;

  font-weight: 900;
}


.contact-detail:nth-child(2)
.contact-icon {
  background: var(--red);
}


.contact-detail-copy {
  display: grid;

  gap: 2px;
}


.contact-detail-copy small {
  color: var(--red);

  font-family:
    'Barlow Condensed',
    sans-serif;

  font-size: 14px;

  font-weight: 900;

  letter-spacing: 0.09em;
}


.contact-detail-copy strong {
  color: var(--navy-deep);

  font-size: 19px;

  line-height: 1.3;
}


/* =========================================================
   LOCATION
   ========================================================= */

.contact-location {
  display: grid;

  gap: 4px;

  margin-top: 34px;

  padding-top: 20px;

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


.contact-location strong {
  color: var(--red);

  font-family:
    'Barlow Condensed',
    sans-serif;

  font-size: 25px;

  font-weight: 900;

  letter-spacing: 0.055em;

  text-transform: uppercase;
}


.contact-location span {
  color: var(--muted);

  font-size: 15px;
}


/* =========================================================
   VOLUNTEER PANEL
   ========================================================= */

.volunteer-panel {
  position: relative;

  padding:
    48px
    46px
    42px;

  background: var(--navy-deep);

  color: var(--white);

  border-radius: 8px;

  border-top:
    8px
    solid
    var(--red);

  box-shadow:
    14px
    14px
    0
    rgba(200, 32, 52, 0.12);
}


.volunteer-kicker {
  margin:
    0
    0
    7px;

  color: var(--red-soft);

  font-family:
    'Barlow Condensed',
    sans-serif;

  font-size: 17px;

  font-weight: 900;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.volunteer-panel h2 {
  margin:
    0
    0
    20px;

  color: var(--white);

  font-size:
    clamp(56px, 5vw, 76px);

  font-weight: 900;

  line-height: 0.86;
}


.volunteer-panel h2 span {
  display: block;

  color: var(--red-soft);
}


.volunteer-intro {
  margin:
    0
    0
    27px;

  color: #DDE7F1;

  font-size: 16.5px;

  line-height: 1.65;
}


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

.volunteer-panel form {
  display: grid;

  gap: 17px;
}


.name-row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;
}


.form-field {
  display: grid;

  gap: 7px;
}


/*
  Keep labels available for screen readers
  while hiding them visually because the
  placeholders already identify the fields.
*/

.form-field label {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}


.volunteer-panel input {
  width: 100%;

  min-height: 60px;

  padding:
    15px
    17px;

  background:
    rgba(255, 255, 255, 0.08);

  color: var(--white);

  border:
    1px
    solid
    rgba(255, 255, 255, 0.25);

  border-radius: 5px;

  font-family:
    'DM Sans',
    sans-serif;

  font-size: 16px;
}


.volunteer-panel input::placeholder {
  color:
    rgba(255, 255, 255, 0.58);
}


.volunteer-panel input:focus {
  outline: none;

  border-color: var(--red-soft);

  background:
    rgba(255, 255, 255, 0.12);

  box-shadow:
    0
    0
    0
    3px
    rgba(243, 210, 216, 0.14);
}


/* =========================================================
   HONEYPOT SPAM FIELD
   ========================================================= */

.website-field {
  position: absolute;

  left: -9999px;
  top: -9999px;

  width: 1px;
  height: 1px;

  overflow: hidden;

  opacity: 0;

  pointer-events: none;
}


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

.volunteer-button {
  width: 100%;

  min-height: 64px;

  margin-top: 3px;

  padding:
    16px
    20px;

  background: var(--red);

  color: var(--white);

  border: 0;

  border-radius: 5px;

  font-family:
    'Barlow Condensed',
    sans-serif;

  font-size: 25px;

  font-weight: 900;

  letter-spacing: 0.07em;

  text-transform: uppercase;

  cursor: pointer;
}


.volunteer-button:hover {
  background: var(--red-dark);

  transform: translateY(-2px);
}


.volunteer-button:disabled {
  opacity: 0.65;

  cursor: wait;

  transform: none;
}


/* =========================================================
   DISCLAIMER
   ========================================================= */

.form-disclaimer {
  max-width: 470px;

  margin:
    2px
    auto
    0;

  color:
    rgba(255, 255, 255, 0.57);

  font-size: 12px;

  line-height: 1.55;

  text-align: center;
}


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

.form-message {
  min-height: 24px;

  margin: 0;

  color: var(--red-soft);

  font-size: 14px;

  font-weight: 800;

  line-height: 1.5;

  text-align: center;
}


.form-message.success {
  color: #D8F3DC;
}


.form-message.error {
  color: #FFD9DF;
}


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

@media (max-width: 950px) {

  .contact-hero {
    grid-template-columns: 1fr;

    gap: 55px;

    padding:
      70px
      7vw;
  }


  .volunteer-panel {
    width: min(680px, 100%);
  }

}


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

@media (max-width: 600px) {

  .contact-hero {
    padding:
      55px
      22px
      70px;
  }


  .contact-copy h1 {
    font-size: 65px;
  }


  .contact-intro {
    font-size: 18px;
  }


  .contact-detail {
    padding:
      14px;
  }


  .contact-detail-copy strong {
    font-size: 16px;

    overflow-wrap: anywhere;
  }


  .volunteer-panel {
    padding:
      37px
      24px
      33px;
  }


  .volunteer-panel h2 {
    font-size: 57px;
  }


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

}