.page-contact {
  --contact-radius: 16px;
  --contact-gap: 24px;
  background: var(--paper);
  color: var(--ink);
}

.page-contact a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.page-contact__hero a:focus-visible {
  outline-color: var(--yellow);
}

.page-contact__crumb {
  padding: 14px 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
}
.page-contact__crumb a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-contact__crumb a:hover {
  color: var(--red);
}
.page-contact__crumb-sep {
  margin: 0 8px;
  color: var(--gold);
}

.page-contact__hero {
  position: relative;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 197, 61, 0.1) 0%, transparent 34%),
    linear-gradient(135deg, var(--night) 0%, #132b4d 100%);
  color: var(--paper-light);
  padding: 40px 0 56px;
  margin-bottom: 8px;
  overflow: hidden;
}
.page-contact__hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 60%;
  width: 300px;
  height: 300px;
  background: var(--gradient);
  opacity: 0.07;
  clip-path: polygon(20% 0, 100% 30%, 70% 100%, 0 60%);
  pointer-events: none;
}
.page-contact__hero-band {
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: var(--gradient);
}
.page-contact__hero-intro {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 1;
  padding-top: 24px;
  padding-bottom: 8px;
}
.page-contact__hero .eyebrow--light {
  color: var(--yellow);
}
.page-contact__hero-copy h1 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.3;
  margin: 10px 0 14px;
  color: var(--paper-light);
}
.page-contact__hero-lead {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 249, 240, 0.82);
  max-width: 620px;
}

.page-contact__hero-media {
  position: relative;
  margin: 0;
}
.page-contact__hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  border-radius: var(--contact-radius);
  border: 1px solid rgba(255, 249, 240, 0.18);
}
.page-contact__hero-caption {
  font-size: 12px;
  color: rgba(255, 249, 240, 0.6);
  text-align: right;
  padding-top: 8px;
  letter-spacing: 0.06em;
}

.page-contact__board {
  position: relative;
  z-index: 2;
  margin-top: 36px;
}
.page-contact__board-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.page-contact__board-kicker {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1.3;
}
.page-contact__board-note {
  font-size: 14px;
  color: rgba(255, 249, 240, 0.7);
  line-height: 1.6;
}

.page-contact__card-grid {
  display: grid;
  gap: 18px;
}
.page-contact__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-light);
  border-radius: var(--contact-radius);
  border: 1px solid rgba(255, 249, 240, 0.7);
  border-top-width: 4px;
  padding: 22px 20px 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.page-contact__card:hover,
.page-contact__card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
.page-contact__card--red {
  border-top-color: var(--red);
  background: radial-gradient(circle at 100% 0%, rgba(255, 61, 46, 0.08), transparent 55%), var(--paper-light);
}
.page-contact__card--yellow {
  border-top-color: var(--yellow);
  background: radial-gradient(circle at 100% 0%, rgba(255, 197, 61, 0.14), transparent 55%), var(--paper-light);
}
.page-contact__card--gold {
  border-top-color: var(--gold);
  background: radial-gradient(circle at 100% 0%, rgba(185, 144, 75, 0.12), transparent 55%), var(--paper-light);
}
.page-contact__card--red::after,
.page-contact__card--yellow::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: auto;
  border-radius: 2px;
  background: var(--red);
}
.page-contact__card--yellow::after {
  background: linear-gradient(90deg, var(--yellow), var(--red));
}

.page-contact__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.page-contact__card-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--red);
  background: rgba(255, 61, 46, 0.1);
}
.page-contact__card-icon svg {
  width: 22px;
  height: 22px;
}
.page-contact__card--yellow .page-contact__card-icon {
  color: #a96a00;
  background: rgba(255, 197, 61, 0.18);
}
.page-contact__card--gold .page-contact__card-icon {
  color: var(--gold);
  background: rgba(185, 144, 75, 0.14);
}
.page-contact__card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gray);
  border: 1px solid rgba(185, 144, 75, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
  background: var(--paper);
}
.page-contact__card--red .page-contact__card-tag {
  color: var(--red);
  border-color: rgba(255, 61, 46, 0.35);
}
.page-contact__card--yellow .page-contact__card-tag {
  color: #a96a00;
  border-color: rgba(255, 197, 61, 0.6);
}
.page-contact__card--gold .page-contact__card-tag {
  color: #856b2f;
  border-color: rgba(185, 144, 75, 0.55);
}
.page-contact__card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}
.page-contact__card-link {
  display: block;
  font-family: var(--font-data);
  font-size: 17px;
  font-weight: 600;
  color: var(--night);
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: 10px;
  word-break: break-all;
}
.page-contact__card-link:hover {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-contact__card-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 14px;
}
.page-contact__card-map {
  width: 100%;
  height: auto;
  max-height: 62px;
  color: var(--gold);
  margin-top: auto;
  opacity: 0.65;
}

.page-contact__scope {
  position: relative;
  padding: 56px 0 48px;
  background:
    linear-gradient(to right, rgba(255, 197, 61, 0.06) 1px, transparent 1px) 0 0 / 24px 24px,
    repeating-linear-gradient(0deg, rgba(185, 144, 75, 0.04) 0 1px, transparent 1px 8px),
    var(--paper);
}
.page-contact__scope::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  border-top: 2px dashed rgba(185, 144, 75, 0.4);
}
.page-contact__scope-inner {
  display: grid;
  gap: 32px;
}
.page-contact__scope h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-style: italic;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.3;
  margin: 8px 0 12px;
}
.page-contact__scope-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 20px;
}
.page-contact__subhead {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}
.page-contact__scope-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.page-contact__scope-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 9px;
}
.page-contact__scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--gradient);
}
.page-contact__scope-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
  border: 1px dashed rgba(185, 144, 75, 0.6);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 26px;
  background: var(--paper-light);
}
.page-contact__scope-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.page-contact__stat {
  background: var(--paper-light);
  border: 1px solid rgba(26, 28, 36, 0.08);
  border-bottom: 3px solid var(--gold);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.page-contact__stat .data-number {
  display: block;
  font-family: var(--font-data);
  font-size: 25px;
  font-weight: 700;
  color: var(--night);
  line-height: 1.2;
  margin-bottom: 4px;
}
.page-contact__stat-label {
  display: block;
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

.page-contact__scope-media {
  position: relative;
  margin: 0;
}
.page-contact__scope-media::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--red);
  border-radius: calc(var(--contact-radius) - 6px);
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}
.page-contact__scope-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--contact-radius);
  border: 1px solid rgba(26, 28, 36, 0.1);
  position: relative;
  z-index: 1;
}
.page-contact__scope-caption {
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  padding-top: 8px;
  line-height: 1.5;
}

.page-contact__related {
  padding: 8px 0 56px;
}
.page-contact__related-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.page-contact__related-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  background: var(--paper-light);
  border: 1px solid rgba(26, 28, 36, 0.08);
  border-left: 4px solid var(--night);
  border-radius: 14px;
  padding: 20px 24px 18px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.page-contact__related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(12, 27, 51, 0.1);
  border-left-color: var(--red);
}
.page-contact__related-num {
  grid-row: span 2;
  font-family: var(--font-data);
  font-size: 23px;
  font-weight: 700;
  color: var(--gold);
  align-self: center;
  line-height: 1;
}
.page-contact__related-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.4;
}
.page-contact__related-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .page-contact__crumb {
    padding: 18px 0 12px;
  }

  .page-contact__hero {
    padding: 52px 0 64px;
  }
  .page-contact__hero-intro {
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding-top: 32px;
  }
  .page-contact__hero-copy {
    flex: 1 1 52%;
  }
  .page-contact__hero-copy h1 {
    font-size: 42px;
    line-height: 1.2;
  }
  .page-contact__hero-lead {
    font-size: 16px;
  }
  .page-contact__hero-media {
    flex: 1 1 48%;
  }
  .page-contact__hero-media img {
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .page-contact__board {
    margin-top: 44px;
  }
  .page-contact__board-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
  .page-contact__board-kicker {
    font-size: 24px;
  }
  .page-contact__board-note {
    text-align: right;
    max-width: 420px;
  }

  .page-contact__card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-contact__scope {
    padding: 64px 0 56px;
  }
  .page-contact__scope-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }
  .page-contact__scope h2 {
    font-size: 30px;
  }
  .page-contact__scope-media img {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .page-contact__related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
