/* ==========================================================================
   EY Plaza — additions on top of css/site.css.
   Only layouts the base sheet does not define: the about-page split
   (copy + image slider), grouped form labels, and a11y helpers.
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 12px 20px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skip-link:focus {
  left: 0;
}

/* ------------------------------------- description + slider (about intro) */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.split--reverse .split__media {
  order: -1;
}

.split__copy {
  text-align: left;
}

.split__copy .eyebrow,
.split__copy .title {
  text-align: left;
}

.split__copy .btn-row {
  justify-content: flex-start;
}

.split__copy .prose-block {
  font-size: 17px;
  line-height: 1.8;
}

.split__copy .prose-block p {
  margin: 0 0 20px;
}

.split__media .gallery__viewport {
  height: 620px;
}

.split__media .gallery__dots {
  margin-top: 16px;
}

/* Left-aligned intros inside two-column blocks */

.map-block__copy .lede,
.tour__form-wrap .lede,
.hood__top .lede,
.split__copy .lede {
  margin-left: 0;
  text-align: left;
}

/* --------------------------------------------------------- form additions */

.field-group-label {
  grid-column: 1 / -1;
  margin: 10px 0 -8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* The CA checkbox is a label inside .field, so it inherits the uppercase field label styling */
.modal .checkbox {
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  opacity: 1;
}

.form-status[data-tone="error"] {
  border-left-color: #b4452f;
  background: rgba(180, 69, 47, 0.12);
}

.subscribe__card .form-status {
  margin: 18px auto 0;
  max-width: 520px;
  text-align: left;
}

.site-footer__news .form-status {
  margin-top: 14px;
}

/* Header wordmark keeps its aspect on very small screens */

@media (max-width: 480px) {
  .brand img {
    height: 42px;
  }
}

@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .split__media .gallery__viewport {
    height: 420px;
  }
}

@media (max-width: 700px) {
  .split__media .gallery__viewport {
    height: 280px;
  }
}
