/* Keep the actual italic face scoped; the existing font filenames are reversed. */
@font-face {
  font-family: 'Stillpoint Mental Italic';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-roman.woff2') format('woff2');
}

.yp-route-physical {
  background: #11110f;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.yp-route-physical .yp-route-figure { flex: 1; }
.yp-route-physical .yp-route-media { min-height: 370px; }
.yp-route-physical > .yp-route-path { flex: none; padding: 30px 32px 34px; }
.yp-route-physical .yp-route-number { margin-bottom: 18px; }
.yp-route-physical .yp-route-path strong { font-size: clamp(25px, 2.4vw, 32px); line-height: 1.18; }

.yp-mental-route {
  background: #151512;
  border-left: 1px solid var(--divider);
  min-width: 0;
  padding: 34px 32px;
  scroll-margin-top: 96px;
}
.yp-mental-label {
  color: var(--copper-light);
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.5;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.yp-mental-route h3 {
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: clamp(28px, 2.75vw, 34px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.14;
  margin: 0 0 24px;
  text-wrap: balance;
}
.yp-preview .yp-mental-route h3 em {
  color: var(--copper-light);
  font-family: 'Stillpoint Mental Italic', Georgia, serif;
  font-size: 1.08em;
  font-style: italic !important;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.12;
  white-space: nowrap;
}
.yp-mental-beliefs { white-space: nowrap; }
.yp-mental-photo { display: block; height: auto; width: 100%; }
.yp-mental-route p {
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  margin: 24px 0 18px;
}
.yp-mental-link {
  align-items: center;
  border-bottom: 1px solid var(--copper-light);
  color: var(--copper-light);
  display: flex;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  gap: 18px;
  line-height: 1.35;
  max-width: 100%;
  min-height: 44px;
  padding: 7px 0;
  text-decoration: none;
  width: fit-content;
}
.yp-mental-link img {
  filter: invert(70%) sepia(29%) saturate(604%) hue-rotate(351deg) brightness(92%) contrast(86%);
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}
.yp-mental-link:hover { color: var(--warm-white); border-bottom-color: var(--warm-white); }
.yp-mental-link:focus-visible { outline: 2px solid var(--warm-white); outline-offset: 6px; }

@media (max-width: 1020px) {
  .yp-route-physical .yp-route-media { aspect-ratio: 4 / 3; flex: none; min-height: 0; }
  .yp-mental-route { border-left: 0; padding: 36px 32px; }
  .yp-mental-photo { max-width: 470px; }
  .yp-mental-route p { max-width: 46ch; }
}
@media (max-width: 720px) {
  .yp-route-physical > .yp-route-path { padding: 30px 26px 32px; }
  .yp-mental-route { padding: 32px 24px; }
  .yp-mental-route h3 { font-size: 26px; }
  .yp-mental-label { margin-bottom: 16px; }
}
@media (max-width: 379px) {
  .yp-mental-route { padding: 28px 20px; }
  .yp-mental-route h3 { font-size: 25px; }
  .yp-mental-link { font-size: 17px; gap: 14px; }
}
