/* Approved direction A. Shared typography and responsive layout. */
html:root { --heading-font: Golos, Arial, sans-serif; --hero-red: #b32624; --hero-image: url('/assets/directions/a-1600.webp'); --hero-position: 68% 50%; }
html body :is(h1,h2,h3,h4,h5,h6,blockquote,button,input,textarea,select) { font-family: Golos, Arial, sans-serif; }
body { font-family: Golos, Arial, sans-serif; }
h1,h2,h3 { font-weight: 530; letter-spacing: -.035em; }
.direction-hero { position: relative; isolation: isolate; display: flex; align-items: center; width: 100%; min-height: calc(100svh - var(--header-height, 85px)); overflow: hidden; background: #e1d7c7; }
.direction-hero-photo { position: absolute; inset: 0; z-index: -2; background-image: var(--hero-image); background-size: cover; background-position: var(--hero-position); }
.direction-hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(246,245,239,.96) 0%,rgba(246,245,239,.87) 35%,rgba(246,245,239,.30) 66%,rgba(246,245,239,0) 100%); } /* taste-skill-ignore: neutral scrim over a real raster image; preserves red-title contrast */
.direction-hero-copy { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; padding-block: 42px 54px; }
.direction-hero h1 { max-width: 850px; margin: 0 0 28px; color: var(--hero-red); font-size: 50px; line-height: 1.08; font-weight: 580; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: normal; }
.hero-service, .hero-name { display: block; }
.hero-service { font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: -.015em; }
.hero-name { margin-top: .3em; font-size: 50px; line-height: 1.08; }
.direction-hero-copy > p { max-width: 42ch; font-size: 19px; line-height: 1.5; color: #343432; margin-bottom: 0; }
.direction-hero .new-actions { margin-top: 26px; gap: 12px 24px; }
.direction-hero .button { max-width: 100%; font-size: 16px; min-height: 50px; }
.direction-hero .text-link { color: #343432; }
.direction-inner-photo { display: block; width: 100%; max-height: 360px; object-fit: cover; aspect-ratio: 3.5; border-radius: 0; }
.direction-photo-section { margin: 0; padding: 0; }
.detail-opening > .direction-inner-photo { aspect-ratio: 1.3; height: 100%; max-height: 420px; }
.directory-hero.text-only { background: #deddd3; color: #343432; }
.directory-hero.text-only h1, .overview-opening h1, .detail-opening h1, .text-hero h1, .inner-hero h1, .overview-intro h1 { color: var(--hero-red); }
.entry-heading h2, .services-guide > h2, .entry-start h2 { font-weight: 520; }
.guide-heading h1, .legal-reading h1 { font-weight: 550; }
@media (max-width: 1023px) {
  .direction-hero h1 { max-width: 730px; font-size: 50px; }
}
@media (max-width: 650px) {
  .direction-hero { min-height: calc(100svh - var(--header-height,69px)); align-items: center; }
  .direction-hero-copy { width: calc(100% - 40px); padding-block: 28px 34px; }
  .direction-hero h1 { max-width: none; font-size: 34px; line-height: 1.08; letter-spacing: -.04em; margin-bottom: 23px; }
  .hero-service { text-wrap: balance; font-size: 17px; line-height: 1.35; }
  .hero-name { margin-top: .3em; font-size: 34px; }
  .direction-hero-copy > p { font-size: 16px; line-height: 1.5; max-width: 35ch; }
  .direction-hero .new-actions { margin-top: 24px; display: grid; gap: 12px; justify-content: start; }
  .direction-hero .button { font-size: 14px; padding-inline: 16px; }
  .direction-hero .text-link { font-size: 15px; }
  .direction-hero-scrim { background: linear-gradient(90deg,rgba(246,245,239,.95),rgba(246,245,239,.73) 72%,rgba(246,245,239,.48)); } /* taste-skill-ignore: neutral scrim over a real raster image; preserves red-title contrast */
  .direction-inner-photo { aspect-ratio: 1.8; max-height: 260px; }
  .detail-opening > .direction-inner-photo { aspect-ratio: 1.8; max-height: 240px; }
}
@media (prefers-reduced-motion: reduce) { .direction-hero * { transition: none; animation: none; } }

.direction-photo-section.shell { margin-inline: auto; margin-block: 0 44px; }
.direction-text-only { display: block; }
.center-footer-details, .specialist-card-facts dt { font-size: 13px; }

.service-entry h3 span { font-family: inherit; }

@media (max-width: 360px) {
  .route-contacts .text-hero h1 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .route-constellations .reading-grid h2 {
    font-size: 21px;
    overflow-wrap: anywhere;
  }
}
