.project-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid #d6d6bf;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, #f8f5e8 0%, #fffdf8 52%, #edf2e8 100%);
  box-shadow: 0 16px 42px rgb(33 66 48 / 6%);
}

.project-callout__mark {
  display: grid;
  place-items: center;
  width: 88px;
  aspect-ratio: 1;
  border-radius: 22px;
  background: linear-gradient(145deg, #f9e7a5, #cfaa4f);
  color: #254b38;
  border: 1px solid #d0b269;
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 60%), 0 10px 24px rgb(104 79 20 / 12%);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.project-callout__content {
  min-width: 0;
}

.project-callout__content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
}

.project-callout__content p {
  margin: 0;
  color: var(--color-text-soft);
}

.project-callout__content .eyebrow {
  margin-bottom: 12px;
}

.project-callout__actions {
  display: grid;
  gap: 10px;
  max-width: 260px;
  text-align: center;
}

.project-callout__actions p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

@media (width <= 920px) {
  .project-callout {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
  }

  .project-callout__actions {
    grid-column: 2;
  }
}

@media (width <= 540px) {
  .project-callout {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-callout__mark {
    width: 64px;
    border-radius: 16px;
    font-size: 1.4rem;
  }

  .project-callout__actions {
    grid-column: 1;
    max-width: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b6551;
}

.eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background:
    linear-gradient(90deg, rgba(185, 151, 89, 0.18) 0%, currentcolor 68%, rgba(123, 101, 81, 0) 100%);
  opacity: 0.64;
}

.site-logo img {
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(242, 234, 222, 0.9) 100%);
  border: 1px solid rgba(128, 101, 72, 0.14);
  box-shadow:
    0 14px 24px rgba(46, 32, 23, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease;
}

.site-logo {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.site-logo::after {
  content: '';
  position: absolute;
  left: 84px;
  right: 0;
  bottom: -8px;
  height: 1px;
  background:
    linear-gradient(90deg, rgba(180, 152, 108, 0.34), rgba(180, 152, 108, 0.1), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.site-logo__kicker {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7460;
}

.site-logo__name {
  position: relative;
  text-wrap: balance;
}

.site-logo__name::before {
  content: '';
  position: absolute;
  inset: -12px -18px -10px -10px;
  background:
    radial-gradient(ellipse at 34% 48%, rgba(255, 244, 214, 0.42) 0%, rgba(255, 244, 214, 0.14) 34%, rgba(255, 244, 214, 0) 74%);
  opacity: 0.76;
  pointer-events: none;
  filter: blur(10px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.site-logo__text {
  position: relative;
}

.site-logo__text::before {
  content: none;
}

.site-logo__title {
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 1vw, 1.12rem);
  font-weight: 600;
  letter-spacing: 0;
  color: #3b2f28;
  text-shadow: none;
}

.site-logo__subtitle {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(1.42rem, 1.68vw, 1.94rem);
  font-weight: 500;
  letter-spacing: 0;
  color: #241b17;
  text-shadow:
    none;
}

.site-logo:hover img,
.site-logo:focus-visible img {
  transform: translateY(-1px);
  box-shadow:
    0 16px 28px rgba(46, 32, 23, 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.site-logo:hover .site-logo__name::before,
.site-logo:focus-visible .site-logo__name::before {
  opacity: 0.92;
  transform: translate3d(0, -2px, 0);
}

.site-logo:hover::after,
.site-logo:focus-visible::after {
  opacity: 1;
}

.site-logo:hover .site-logo__text::before,
.site-logo:focus-visible .site-logo__text::before {
  opacity: 0.08;
}

.site-nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0.24s ease;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-nav__panel {
  position: relative;
  overflow: hidden;
  padding: 23px;
  border: 1px solid rgba(131, 105, 80, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.97) 0%, rgba(243, 236, 226, 0.94) 100%);
  backdrop-filter: blur(18px) saturate(126%);
  box-shadow:
    0 24px 48px rgba(29, 18, 13, 0.13),
    0 8px 24px rgba(29, 18, 13, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.site-nav__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(90deg, rgba(208, 176, 106, 0) 0%, rgba(208, 176, 106, 0.08) 50%, rgba(208, 176, 106, 0) 100%);
  pointer-events: none;
}

.site-nav__panel > * {
  position: relative;
  z-index: 1;
}

.site-nav__eyebrow {
  margin: 0 0 12px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #867160;
}

.site-nav__list {
  display: grid;
  gap: 4px;
}

.site-nav__list a {
  position: relative;
  display: block;
  min-height: 52px;
  padding: 13px 17px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: #241d18;
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.site-nav__list a::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: 16px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: rgba(91, 15, 25, 0.56);
  transform: translateY(-50%) translateX(-4px);
  opacity: 0;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  border-color: rgba(123, 98, 73, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: #5b0f19;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after,
.site-nav__list a[aria-current='page']::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.site-nav__list a[aria-current='page'] {
  border-color: rgba(91, 15, 25, 0.1);
  background:
    linear-gradient(180deg, rgba(91, 15, 25, 0.08) 0%, rgba(91, 15, 25, 0.05) 100%);
  color: #5b0f19;
}

.site-nav__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(91, 15, 25, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.82) 0%, rgba(243, 236, 225, 0.66) 100%);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #5b0f19;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
  font-style: normal;
}

.site-nav__action:hover,
.site-nav__action:focus-visible {
  border-color: rgba(91, 15, 25, 0.28);
  background: rgba(255, 248, 240, 0.92);
  color: #4f0d16;
  transform: translateY(-1px);
}

.sacred-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 6px;
  padding-inline: 20px;
  z-index: 8;
}

.sacred-divider span {
  position: relative;
  display: block;
  width: min(220px, calc(100vw - 140px));
  height: 24px;
}

.sacred-divider span::before {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  transform: translateY(-50%);
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(126, 101, 76, 0.06) 10%,
      rgba(126, 101, 76, 0.18) 28%,
      rgba(126, 101, 76, 0.06) 46%,
      transparent 49%,
      transparent 51%,
      rgba(126, 101, 76, 0.06) 54%,
      rgba(126, 101, 76, 0.18) 72%,
      rgba(126, 101, 76, 0.06) 90%,
      transparent 100%
    );
}

.sacred-divider span::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at center, rgba(141, 114, 84, 0.52) 0 1.5px, rgba(255, 249, 242, 0.96) 2px 9px, rgba(255, 249, 242, 0) 10px);
  border: 1px solid rgba(145, 118, 89, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 6px 16px rgba(80, 60, 44, 0.06);
  animation: divider-pulse 8s ease-in-out infinite alternate;
}

.language-bar {
  display: none;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: -24px;
  padding-inline: 20px;
  position: relative;
  z-index: 20;
}

.language-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-bar__inner::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(420px, calc(100vw - 60px));
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(67, 47, 34, 0.1) 0%, rgba(67, 47, 34, 0) 74%);
  transform: translate(-50%, -10px);
  filter: blur(14px);
  opacity: 0.34;
  pointer-events: none;
}

.language-bar--mounted {
  display: none !important;
}

.language-bar--fallback-visible {
  display: flex;
}

.locale-switcher {
  position: relative;
}

.locale-switcher__trigger {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(132, 105, 79, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.92) 0%, rgba(243, 236, 226, 0.82) 100%);
  backdrop-filter: blur(14px) saturate(118%);
  box-shadow:
    0 14px 28px rgba(33, 20, 15, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.locale-switcher__trigger:hover,
.locale-switcher__trigger:focus-visible,
.locale-switcher.is-open .locale-switcher__trigger {
  border-color: rgba(91, 15, 25, 0.2);
  box-shadow:
    0 18px 34px rgba(33, 20, 15, 0.1),
    0 0 0 4px rgba(91, 15, 25, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.locale-switcher__trigger:hover,
.locale-switcher.is-open .locale-switcher__trigger {
  transform: translateY(-1px);
}

.locale-switcher__current {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4f0d16;
}

.locale-switcher__icon {
  position: relative;
  width: 10px;
  height: 10px;
  color: #7a6249;
  transition: transform 0.22s ease, color 0.22s ease;
}

.locale-switcher__icon::before {
  content: '';
  position: absolute;
  inset: 1px 2px 3px 1px;
  border-right: 1.5px solid currentcolor;
  border-bottom: 1.5px solid currentcolor;
  transform: rotate(45deg);
}

.locale-switcher.is-open .locale-switcher__icon {
  transform: rotate(180deg);
  color: #5b0f19;
}

.locale-switcher__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 12;
  min-width: 240px;
  padding: 8px;
  border: 1px solid rgba(130, 104, 78, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.9) 0%, rgba(244, 238, 230, 0.84) 100%);
  backdrop-filter: blur(18px) saturate(126%);
  box-shadow:
    0 24px 50px rgba(29, 18, 13, 0.14),
    0 8px 24px rgba(29, 18, 13, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

.locale-switcher.is-open .locale-switcher__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.locale-switcher__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.locale-switcher__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.locale-switcher__link:hover,
.locale-switcher__link:focus-visible {
  border-color: rgba(120, 93, 68, 0.1);
  background: rgba(255, 255, 255, 0.56);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.locale-switcher__name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: #241d18;
}

.locale-switcher__abbr {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #867161;
}

.locale-switcher__link[aria-current='page'] {
  border-color: rgba(91, 15, 25, 0.1);
  background:
    linear-gradient(180deg, rgba(91, 15, 25, 0.08) 0%, rgba(91, 15, 25, 0.05) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.locale-switcher__link[aria-current='page'] .locale-switcher__name,
.locale-switcher__link[aria-current='page'] .locale-switcher__abbr {
  color: #5b0f19;
}

.locale-switcher__link[aria-disabled='true'] {
  opacity: 0.42;
  pointer-events: none;
}

.locale-pill {
  display: inline-flex;
  align-items: center;
}

.locale-pill--floating {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(140, 110, 80, 0.12);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(11px) saturate(118%);
  overflow: hidden;
  box-shadow:
    0 18px 42px rgba(35, 20, 15, 0.10),
    0 6px 18px rgba(35, 20, 15, 0.05);
}

.locale-pill--floating::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.68), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 56%);
  pointer-events: none;
}

.locale-pill--floating::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  border: 1px solid rgba(164, 138, 108, 0.05);
  pointer-events: none;
}

.locale-pill__label {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #7a6249;
}

.locale-pill__list {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.locale-pill__list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(247, 241, 233, 0.24) 100%);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #665141;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.locale-pill__list a:hover {
  border-color: rgba(146, 118, 90, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 242, 234, 0.74) 100%);
  color: #4c392c;
  transform: translateY(-1px);
  box-shadow:
    0 5px 12px rgba(74, 54, 40, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.locale-pill__list a[aria-current='page'] {
  border-color: rgba(91, 15, 25, 0.1);
  background: linear-gradient(180deg, #7a1321 0%, #5b0f19 100%);
  color: #fff;
  box-shadow:
    0 10px 22px rgba(91, 15, 25, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.locale-pill__list a:focus-visible {
  outline: none;
  border-color: rgba(91, 15, 25, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(247, 240, 232, 0.72) 100%);
  color: #4c392c;
  box-shadow:
    0 0 0 4px rgba(91, 15, 25, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.locale-pill__list a[aria-current='page']:focus-visible {
  color: #fffaf7;
  box-shadow:
    0 0 0 4px rgba(91, 15, 25, 0.08),
    0 8px 18px rgba(91, 15, 25, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(33, 4, 8, 0.1);
}

.locale-pill__list a[aria-disabled='true'] {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 15px 0 16px;
  border: 1px solid rgba(126, 102, 77, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 236, 225, 0.88) 100%);
  color: #241d18;
  cursor: pointer;
  box-shadow:
    0 10px 22px rgba(36, 24, 17, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow:
    0 12px 24px rgba(36, 24, 17, 0.08),
    0 0 0 4px rgba(91, 15, 25, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.nav-toggle:hover,
.nav-toggle[aria-expanded='true'] {
  border-color: rgba(91, 15, 25, 0.22);
  transform: translateY(-1px);
}

.nav-toggle__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4e4137;
}

.nav-toggle__icon {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 18px;
}

.nav-toggle__icon span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentcolor;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    width 0.25s ease;
}

.nav-toggle__icon span:nth-child(2) {
  width: 14px;
}

.nav-toggle__icon span:nth-child(3) {
  width: 10px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(1) {
  width: 18px;
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(3) {
  width: 18px;
  transform: translateY(-5.5px) rotate(-45deg);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 12px;
  background: #171311;
  color: #fff;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.include-fallback {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.include-fallback--header {
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.include-fallback--footer {
  margin-top: 28px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #4d413a;
}

.include-fallback--footer p {
  margin: 0;
}

.include-fallback__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.include-fallback__list a {
  font-weight: 600;
  color: #3a302a;
}

.include-fallback a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 15, 25, 0.14);
  border-radius: 8px;
}

.hero h1 {
  position: relative;
  margin: 0;
  max-width: 100%;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
  font-feature-settings: 'liga' 1, 'kern' 1;
  color: #201a17;
}

.hero h1::before {
  content: '';
  position: absolute;
  inset: -18px -24px -20px -18px;
  background:
    radial-gradient(circle at 36% 46%, rgba(241, 223, 184, 0.28) 0%, rgba(229, 205, 160, 0.12) 34%, rgba(229, 205, 160, 0) 74%);
  filter: blur(16px);
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}

.hero__title-line {
  display: block;
}

.hero__title-line:nth-child(2) {
  margin-top: 0.08em;
}

.hero__title-line--subtle {
  margin-top: 0.14em;
  font-size: 0.62em;
  letter-spacing: 0;
  color: #675446;
}

.hero__media {
  aspect-ratio: 9 / 11;
  isolation: isolate;
  transform: translateZ(0);
  animation-delay: 0.08s;
}

.hero__media::before {
  content: '';
  position: absolute;
  inset: 16px -18px -18px 18px;
  border: 1px solid rgba(120, 95, 70, 0.14);
  border-radius: calc(var(--radius-xl) + 8px);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.78) 0%, rgba(236, 226, 212, 0.36) 100%);
  box-shadow:
    0 18px 34px rgba(48, 34, 21, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  z-index: -1;
  transition:
    transform 1.2s ease,
    opacity 0.5s ease;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(20, 14, 10, 0.14) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 30%);
  pointer-events: none;
  transition: opacity 1s ease;
}

.hero__media img {
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(115, 89, 63, 0.16);
  box-shadow:
    0 18px 36px rgba(28, 19, 13, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero__text {
  margin: 0;
  max-width: 31rem;
  font-size: clamp(1rem, 1.06vw, 1.1rem);
  line-height: 1.72;
  color: #54473d;
}

.hero__lead-quote {
  margin: 0;
  max-width: 31rem;
  padding-left: 18px;
  border-left: 2px solid rgba(185, 151, 89, 0.62);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.28vw, 1.34rem);
  line-height: 1.62;
  color: #41362d;
}

.hero__lead-quote--secondary {
  margin-top: 18px;
  padding-top: 2px;
  border-left-color: rgba(185, 151, 89, 0.38);
  font-size: clamp(1.1rem, 1.28vw, 1.34rem);
  line-height: 1.62;
  color: #53453a;
}

.hero__lead-source {
  display: block;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a6654;
}

.hero__lead {
  position: relative;
  padding-top: 16px;
}

.hero__lead::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: min(108px, 24%);
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 151, 89, 0.7), rgba(185, 151, 89, 0.08));
}

.hero__lead::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: center / contain no-repeat url('../icons/cross.svg');
  opacity: 0.1;
  transform: translateY(-46%);
  filter: drop-shadow(0 0 8px rgba(214, 191, 150, 0.12));
}

.hero__footer {
  position: relative;
  padding-top: 6px;
}

.hero__footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 151, 89, 0.18), rgba(185, 151, 89, 0.04) 24%, rgba(185, 151, 89, 0.12) 76%, rgba(185, 151, 89, 0));
}

.hero__divider {
  position: absolute;
  left: calc(50% - 14px);
  top: 48%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 176px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.72;
}

.hero__divider span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__divider span::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background:
    linear-gradient(180deg, rgba(185, 151, 89, 0) 0%, rgba(185, 151, 89, 0.26) 22%, rgba(185, 151, 89, 0.26) 78%, rgba(185, 151, 89, 0) 100%);
  transform: translateX(-50%);
}

.hero__divider span::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 36px;
  background: center / contain no-repeat url('../icons/cross.svg');
  opacity: 0.12;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 16px rgba(214, 191, 150, 0.14));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: normal;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background:
    linear-gradient(135deg, #6c1421 0%, #5b0f19 54%, #421018 100%);
  color: #fff;
  box-shadow:
    0 14px 28px rgba(91, 15, 25, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow:
    0 18px 34px rgba(91, 15, 25, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button--secondary {
  border-color: rgba(50, 38, 29, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(245, 238, 227, 0.82) 100%);
  color: #241d18;
  box-shadow:
    0 8px 18px rgba(35, 22, 15, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: rgba(91, 15, 25, 0.24);
  color: #5b0f19;
  box-shadow:
    0 12px 22px rgba(35, 22, 15, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 29px;
  border: 1px solid rgba(48, 35, 25, 0.1);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(212, 186, 138, 0.14) 0%, rgba(212, 186, 138, 0.05) 34%, transparent 72%),
    linear-gradient(180deg, rgba(255, 254, 251, 0.98) 0%, rgba(248, 242, 235, 0.94) 100%);
  background-position:
    50% 0,
    0 0;
  background-repeat: no-repeat;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease,
    background-position 0.26s ease;
  will-change: transform, box-shadow;
}

.card::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 65%;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(212, 186, 138, 0.16) 0%,
      rgba(212, 186, 138, 0.06) 35%,
      transparent 72%
    );
  opacity: 0.55;
  transform: translateY(0);
  pointer-events: none;
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

.card::after {
  content: '';
  position: absolute;
  inset: 11px;
  border-radius: 18px;
  border: 1px solid rgba(120, 96, 74, 0.05);
  pointer-events: none;
  transition:
    border-color 0.24s ease,
    transform 0.24s ease,
    opacity 0.24s ease;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card > * + * {
  margin-top: 1px;
}

.card:hover::after,
.card:focus-within::after {
  transform: translate3d(0, -1px, 0);
  border-color: rgba(120, 96, 74, 0.08);
}

.card:hover::before,
.card:focus-within::before {
  opacity: 0.9;
  transform: translateY(-6px);
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(91, 15, 25, 0.12);
  background-position:
    50% -6px,
    0 0;
  box-shadow:
    0 18px 34px rgba(61, 47, 36, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1.48vw, 1.48rem);
  line-height: 1.25;
  color: #201a17;
}

.card p {
  margin: 0;
  max-width: 30ch;
  line-height: 1.68;
  color: #5a4b42;
}

.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: #5b0f19;
  text-decoration: none;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.card__link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentcolor;
  opacity: 0.7;
  transition: width 0.22s ease;
}

.card__link::after {
  content: '→';
  transition: transform 0.22s ease;
}

.card:hover .card__link::after,
.card:focus-within .card__link::after {
  transform: translateX(3px);
}

.card:hover .card__link,
.card:focus-within .card__link {
  transform: translateX(1px);
}

.card:hover .card__link::before,
.card:focus-within .card__link::before {
  width: 100%;
}

.intro-block h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  line-height: 1.25;
}

.intro-block p {
  margin: 0;
  max-width: 54ch;
  font-size: 1.08rem;
  line-height: 1.8;
  color: inherit;
}

.intro-block__quote {
  max-width: 33ch;
  font-family: var(--font-heading);
  font-size: clamp(1.22rem, 1.55vw, 1.58rem);
  line-height: 1.62;
  letter-spacing: 0;
  text-wrap: pretty;
}

.intro-block__source {
  max-width: none;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 243, 224, 0.82);
}

.section--accent .intro-block {
  position: relative;
  padding: clamp(30px, 4vw, 44px);
  border: 1px solid rgba(255, 238, 206, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 48px rgba(26, 8, 10, 0.16);
}

.section--accent .intro-block::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 226, 178, 0.1);
  border-radius: 24px;
  pointer-events: none;
}

.site-footer a {
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  opacity: 1;
}

.site-footer p {
  margin: 0 0 8px;
}

/* ===============================
   PREMIUM MICRO POLISH PACK
   =============================== */

@keyframes surface-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content,
.hero__media,
.card {
  animation: surface-rise 0.56s ease both;
}

.cards-grid .card:nth-child(2) {
  animation-delay: 0.05s;
}

.cards-grid .card:nth-child(3) {
  animation-delay: 0.1s;
}

.cards-grid .card:nth-child(4) {
  animation-delay: 0.15s;
}

@media (max-width: 820px) {
  .include-fallback {
    width: min(100% - 32px, 1200px);
  }

  .include-fallback--header,
  .include-fallback--footer {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .include-fallback__list {
    gap: 8px 14px;
  }

  .nav-toggle {
    flex: 0 0 auto;
    min-height: 42px;
    padding-inline: 12px;
    gap: 10px;
  }

  .site-nav {
    top: calc(100% + 12px);
    right: 0;
    width: min(360px, calc(100vw - 32px));
  }

  .site-nav__panel {
    padding: 18px;
    border-radius: 22px;
  }

  .site-nav__eyebrow {
    margin-bottom: 10px;
  }

  .site-nav__list a {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 1.02rem;
    line-height: 1.4;
  }

  .nav-toggle__label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .locale-switcher__trigger {
    min-height: 40px;
    padding-inline: 12px;
    border-radius: 14px;
  }

  .locale-switcher__panel {
    min-width: 220px;
    padding: 7px;
    border-radius: 18px;
  }

  .locale-switcher__link {
    min-height: 44px;
    padding: 10px 12px;
  }

  .sacred-divider {
    margin: 16px 0 6px;
  }

  .sacred-divider span {
    width: min(180px, calc(100vw - 112px));
    height: 22px;
  }

  .sacred-divider span::after {
    width: 20px;
    height: 20px;
  }

  .language-bar {
    margin-top: 10px;
    margin-bottom: -16px;
  }

  .locale-pill--floating {
    padding: 8px;
  }

  .locale-pill__list {
    gap: 5px;
  }

  .locale-pill__list a {
    min-width: 42px;
    height: 36px;
    padding: 0 13px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .language-bar__inner::before {
    width: min(320px, calc(100vw - 44px));
    height: 24px;
    transform: translate(-50%, -8px);
  }

  .site-logo {
    gap: 14px;
  }

  .site-logo::after {
    left: 68px;
    bottom: -6px;
  }

  .site-logo img {
    width: 54px;
    height: 54px;
  }

  .site-logo__kicker {
    font-size: 0.53rem;
    letter-spacing: 0.12em;
  }

  .site-logo__title {
    font-size: 0.9rem;
    letter-spacing: 0;
  }

  .site-logo__subtitle {
    font-size: 1.06rem;
    font-weight: 500;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.125rem, 6.2vw, 3.5rem);
    line-height: 1.16;
  }

  .hero__media::before {
    inset: 16px -12px -16px 12px;
  }
}

@media (max-width: 640px) {
  .site-logo {
    gap: 12px;
  }

  .site-logo__title,
  .site-logo__subtitle {
    line-height: 1.2;
  }

  .site-logo__name::before {
    right: 0;
  }

  .site-logo::after {
    left: 62px;
  }

  .include-fallback {
    width: min(100% - 24px, 1200px);
  }

  .include-fallback__list {
    gap: 6px 12px;
  }

  .include-fallback__list a {
    font-size: 0.92rem;
  }

  .sacred-divider {
    margin: 14px 0 6px;
  }

  .sacred-divider span {
    width: min(156px, calc(100vw - 88px));
    height: 20px;
  }

  .sacred-divider span::after {
    width: 18px;
    height: 18px;
  }

  .language-bar {
    margin-top: 8px;
    margin-bottom: -12px;
  }

  .locale-pill--floating {
    padding: 7px;
    backdrop-filter: none;
    box-shadow:
      0 10px 22px rgba(35, 20, 15, 0.08),
      0 4px 12px rgba(35, 20, 15, 0.04);
  }

  .locale-pill__list {
    gap: 4px;
  }

  .locale-pill__list a {
    min-width: 38px;
    height: 34px;
    padding: 0 11px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .language-bar__inner::before {
    width: min(250px, calc(100vw - 32px));
    height: 20px;
    transform: translate(-50%, -6px);
    filter: blur(8px);
  }

  .site-nav {
    width: 100%;
  }

  .site-nav__panel {
    padding: 16px;
    border-radius: 20px;
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav__list a {
    min-height: 46px;
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .nav-toggle,
  .locale-switcher__trigger,
  .site-nav__action {
    min-height: 44px;
  }

  .nav-toggle {
    padding-inline: 11px;
  }

  .nav-toggle__label {
    font-size: 0.64rem;
  }

  .locale-switcher__panel {
    right: 0;
    min-width: min(220px, calc(100vw - 28px));
  }

  .site-header__utility,
  .locale-switcher {
    position: static;
  }

  .locale-switcher__name {
    font-size: 0.9rem;
  }

  .card {
    padding: 24px;
    border-radius: 22px;
  }

  .button {
    width: 100%;
    padding-block: 12px;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    letter-spacing: 0.01em;
  }

  .hero__footer::before {
    opacity: 0.7;
  }

  .hero__media::before {
    inset: 12px -8px -12px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Location / How to find the church (contacts page) ────────────────── */

.location-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.55fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

/* Info panel — card elevation to visually balance the map */
.location-info {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(247, 242, 234, 0.96) 100%);
  border-radius: var(--radius-lg, 24px);
  border: 1px solid var(--color-border, rgba(47, 36, 28, 0.11));
  box-shadow:
    0 20px 48px rgba(34, 24, 16, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.transport-block {
  padding: 0;
}

/* Transport sub-headings: small caps, brand colour */
.transport-label {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: var(--text-xs, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand, #5b0f19);
}

.transport-block p {
  margin: 0 0 10px;
  font-size: var(--text-sm, 0.9375rem);
  color: var(--color-text-soft, #54483f);
  line-height: var(--leading-relaxed, 1.82);
}

.transport-block p:last-child {
  margin-bottom: 0;
}

.transport-block strong {
  color: var(--color-text, #1f1915);
  font-weight: 600;
}

/* Bus route number chips */
.bus-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 14px;
}

.bus-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: 5px 11px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(
    180deg,
    var(--color-brand-strong, #7a1823) 0%,
    var(--color-brand, #5b0f19) 100%
  );
  color: #fff;
  box-shadow:
    0 2px 6px rgba(91, 15, 25, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Stop name — gold left-border inset block */
.stop-name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 10px 14px;
  border-left: 2px solid var(--color-gold, #b99759);
  background: rgba(185, 151, 89, 0.1);
  border-radius: 0 var(--radius-sm, 10px) var(--radius-sm, 10px) 0;
  margin-bottom: 0;
}

.stop-label {
  font-size: var(--text-xs, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold, #b99759);
  white-space: nowrap;
  flex-shrink: 0;
}

.stop-name strong {
  font-size: var(--text-sm, 0.9375rem);
  font-weight: 600;
  color: var(--color-text, #1f1915);
  letter-spacing: 0;
}

/* Thin gradient dividers between blocks */
.location-rule {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--color-border-strong, rgba(47, 36, 28, 0.16)) 0%,
    transparent 72%
  );
  margin: 24px 0;
}

/* External route-info links — minimal utility style */
.route-sources-label {
  margin: 0 0 9px;
  font-size: var(--text-xs, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted, #7a6b5f);
}

.route-sources {
  display: flex;
  align-items: center;
  gap: 4px 20px;
  flex-wrap: wrap;
}

.route-source-link {
  font-size: var(--text-sm, 0.9375rem);
  font-weight: 500;
  color: var(--color-text-soft, #54483f);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(84, 72, 63, 0.28);
  transition:
    color 0.16s ease,
    border-color 0.16s ease;
}

.route-source-link:hover,
.route-source-link:focus-visible {
  color: var(--color-brand, #5b0f19);
  border-color: currentColor;
  outline: none;
}

/* Map column — sticky so it stays aligned while info scrolls */
.location-map {
  position: sticky;
  top: calc(var(--header-height, 114px) + 24px);
}

/* Fix: use explicit iframe height, NOT aspect-ratio (which creates empty void) */
.location-map .media-frame iframe {
  height: 480px;
}

@media (max-width: 860px) {
  .location-layout {
    grid-template-columns: 1fr;
  }

  .location-info {
    padding: clamp(22px, 4vw, 30px);
  }

  .location-map {
    position: static;
  }

  .location-map .media-frame iframe {
    height: 360px;
  }
}

@media (max-width: 480px) {
  .bus-chip {
    min-width: 2.2rem;
    padding: 4px 9px;
    font-size: 0.8125rem;
  }
}

/* ─── Calendar subscribe strip ──────────────────────────────────────────── */

.cal-subscribe-wrap {
  margin-top: var(--space-6, 24px);
  padding: var(--space-6, 24px) var(--space-7, 32px);
  border-radius: var(--radius-md, 16px);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.7) 0%, var(--color-surface-soft, #efe7da) 100%);
  border: 1px solid var(--color-border, rgba(47, 36, 28, 0.11));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 2px 8px rgba(47, 36, 28, 0.05);
}

.cal-subscribe-wrap > .eyebrow {
  margin-bottom: var(--space-5, 20px);
}

.cal-subscribe-wrap > p {
  margin: 0 0 var(--space-5, 20px);
  font-size: var(--text-sm, 0.9375rem);
  color: var(--color-text-muted, #7a6b5f);
  line-height: var(--leading-normal, 1.68);
}

.cal-subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3, 12px);
  align-items: center;
}

.cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 11px 20px;
  border-radius: var(--radius-sm, 10px);
  font-family: var(--font-sans);
  font-size: var(--text-sm, 0.9375rem);
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.cal-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Gold shimmer on hover */
.cal-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(185, 151, 89, 0.28) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.cal-btn:hover,
.cal-btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.cal-btn:hover::after,
.cal-btn:focus-visible::after {
  opacity: 1;
}

.cal-btn:active {
  transform: translateY(0);
}

.cal-btn:focus-visible {
  box-shadow: var(--focus-ring, 0 0 0 3px rgba(91, 15, 25, 0.1), 0 0 0 7px rgba(255, 250, 243, 0.88));
}

/* Google — brand burgundy */
.cal-btn.cal-google {
  background: linear-gradient(180deg, var(--color-brand-strong, #7a1823) 0%, var(--color-brand, #5b0f19) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 2px 12px rgba(91, 15, 25, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cal-btn.cal-google:hover {
  box-shadow:
    0 6px 22px rgba(91, 15, 25, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* iCal — warm dark with gold border accent */
.cal-btn.cal-ical {
  background: linear-gradient(180deg, #2e2520 0%, #1f1915 100%);
  color: #e8dcc8;
  border: 1px solid rgba(185, 151, 89, 0.22);
  box-shadow:
    0 2px 10px rgba(31, 25, 21, 0.22),
    inset 0 1px 0 rgba(185, 151, 89, 0.12);
}

.cal-btn.cal-ical:hover {
  box-shadow:
    0 6px 20px rgba(31, 25, 21, 0.34),
    inset 0 1px 0 rgba(185, 151, 89, 0.18);
}

/* webcal — parchment outline */
.cal-btn.cal-webcal {
  background: var(--color-surface-deep, #e6dccd);
  color: var(--color-text-soft, #54483f);
  border: 1px solid var(--color-border-strong, rgba(47, 36, 28, 0.18));
  box-shadow: 0 2px 8px rgba(47, 36, 28, 0.08);
}

.cal-btn.cal-webcal:hover {
  box-shadow: 0 5px 16px rgba(47, 36, 28, 0.14);
  background: var(--color-surface-soft, #efe7da);
}

@media (max-width: 540px) {
  .cal-subscribe-wrap {
    padding: var(--space-5, 20px);
  }

  .cal-subscribe {
    flex-direction: column;
    align-items: stretch;
  }

  .cal-btn {
    justify-content: center;
  }
}

/* ─── Parish intro — О приходе refined block ─────────────────────────────
   A single, focused text block: max-width constrained for reading comfort,
   heading anchored with a thin gold rule, opening lines set in serif italic,
   body copy at generous line-height, closing sentence gently separated.
   Uses only existing design tokens; no new colours or decorative elements.
──────────────────────────────────────────────────────────────────────────── */
.parish-intro {
  max-width: 672px;
  margin-inline: auto;
}

.parish-intro__header {
  margin-bottom: 30px;
}

.parish-intro__title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.52rem, 2.3vw, 2.12rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--color-text);
}

/* Thin gold rule — monastery aesthetic */
.parish-intro__rule {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold) 0%, rgba(185, 151, 89, 0) 100%);
  opacity: 0.7;
}

.parish-intro__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.parish-intro p {
  margin: 0;
  font-size: clamp(1.0625rem, 1.15vw, 1.125rem);
  line-height: 1.72;
  color: var(--color-text-soft);
  text-wrap: pretty;
}

/* Opening rhetorical questions — serif italic, set apart from body copy */
.parish-intro p.parish-intro__opening {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.04rem, 1.2vw, 1.15rem);
  line-height: 1.64;
  color: var(--color-text-muted);
}

/* Closing sentence — gentle visual separation */
.parish-intro p.parish-intro__coda {
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY REFINEMENTS — museum / church editorial level
   All rules are additive and scoped. Nothing removed.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── h2 gold hairline in section-heading contexts ─────────────────────────── */
.section-heading h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--color-gold) 0%, rgba(185, 151, 89, 0) 100%);
  opacity: 0.55;
}

/* Section-heading lead paragraph: lift size, generous leading */
.section-heading p {
  font-size: clamp(1.02rem, 1.18vw, 1.12rem);
  line-height: 1.76;
  letter-spacing: 0.008em;
}

/* ── «ТИХОЕ СЛОВО» — духовный центр страницы ─────────────────────────────── */

/* Constrain width, centre, deepen the inner glow */
.section--accent .intro-block {
  max-width: 700px;
  margin-inline: auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(185, 151, 89, 0.10),
    0 0 0 1px rgba(185, 151, 89, 0.08),
    0 40px 80px rgba(18, 5, 7, 0.28);
}

/* Orthodox cross ☦ before the psalm — decorative, aria-hidden via CSS */
.section--accent .intro-block__quote::before {
  content: '☦';
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-gold);
  opacity: 0.68;
}

/* Psalm text: slightly larger, breathable */
.section--accent .intro-block__quote {
  font-size: clamp(1.28rem, 1.68vw, 1.66rem);
  line-height: 1.74;
  max-width: 36ch;
}

/* Heading within Тихое слово: open just enough, warm glow */
.section--accent .intro-block h2 {
  line-height: 1.25;
  letter-spacing: 0;
  text-shadow: none;
}

/* ── parish-intro opening: refined ─────────────────────────────────────────── */
.parish-intro p.parish-intro__opening {
  font-size: clamp(1.06rem, 1.24vw, 1.18rem);
}

/* ── page-shell body text: restrained reading column ───────────────────────── */
.page-main > p,
.page-main .stack > p {
  max-width: 68ch;
  line-height: 1.78;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIRST SCREEN PREMIUM — Header & Hero Visual Refinements
   Targeted, additive overrides. Zero structural changes.
   Every rule is scoped; nothing here breaks existing components.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Logo: kicker legibility + subtitle proportion ───────────────────────── */

.site-logo__kicker {
  font-size: 0.62rem; /* was 0.56rem — gains presence without losing delicacy */
  color: #7a6658;
}

.site-logo__subtitle {
  font-size: clamp(1.38rem, 1.52vw, 1.78rem); /* was clamp(1.42rem, 1.68vw, 1.94rem) */ font-weight: 500;
}

/* ── Eyebrow in hero: slightly warmer and more authoritative ────────────── */

.hero .eyebrow {
  color: #5e3d2e;
}

.hero .eyebrow::before {
  opacity: 0.82; /* was 0.64 */
}

.hero h1 {
  line-height: 1.16;
}

/* ── Hero h1 aura: slightly richer warm glow behind the title ───────────── */

.hero h1::before {
  background: radial-gradient(
    circle at 36% 46%,
    rgba(241, 223, 184, 0.36) 0%,
    rgba(229, 205, 160, 0.16) 34%,
    rgba(229, 205, 160, 0) 74%
  );
}

/* ── Hero media: warmer atmospheric overlay ──────────────────────────────
   Adds an amber light-catch at the upper corner of the church photo and
   deepens the base vignette. Makes the image feel more like a painting.   */

.hero__media::after {
  background:
    radial-gradient(circle at 72% 10%, rgba(255, 242, 205, 0.16), transparent 34%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0) 36%,
      rgba(16, 10, 6, 0.10) 78%,
      rgba(16, 10, 6, 0.18) 100%
    );
}

/* ── Hero lead separator: stronger gold sacred accent ───────────────────── */

.hero__lead::before {
  width: min(120px, 28%);   /* was min(108px, 24%) */
  background: linear-gradient(90deg, rgba(185, 151, 89, 0.82), rgba(185, 151, 89, 0.06));
}

.hero__lead::after {
  width: 14px;      /* was 12px */
  height: 14px;
  opacity: 0.14;    /* was 0.10 */
}

/* ── Hero inner cross: barely more present ───────────────────────────────── */

.hero__inner::before {
  opacity: 0.044;   /* was 0.03 */
}

/* ── Buttons: more ceremonial proportions ────────────────────────────────
   Wider padding (21px → 28px) makes CTAs feel more composed and intentional.
   Letter-spacing adds a carved, inscribed quality without being bold.       */

.button {
  min-height: 54px;        /* was 52px */
  padding: 0 28px;         /* was 0 21px */
  letter-spacing: 0.01em; line-height: 1.4; white-space: normal;
}

/* Primary: deeper, layered shadows — more depth and authority */

.button--primary {
  box-shadow:
    0 16px 32px rgba(91, 15, 25, 0.26),
    0 5px 12px rgba(91, 15, 25, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow:
    0 22px 42px rgba(91, 15, 25, 0.30),
    0 7px 16px rgba(91, 15, 25, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Secondary: cleaner, more translucent — reads as an editorial ghost button */

.button--secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 241, 232, 0.90) 100%);
  letter-spacing: 0.01em;
}

/* ── Sacred divider: hairlines one notch stronger ───────────────────────── */

.sacred-divider span::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(126, 101, 76, 0.04) 10%,
    rgba(126, 101, 76, 0.22) 28%,
    rgba(126, 101, 76, 0.07) 46%,
    transparent 49%,
    transparent 51%,
    rgba(126, 101, 76, 0.07) 54%,
    rgba(126, 101, 76, 0.22) 72%,
    rgba(126, 101, 76, 0.04) 90%,
    transparent 100%
  );
}

/* ── Responsive: preserve proportions on mobile ─────────────────────────── */

@media (max-width: 820px) {
  .hero h1 {
    line-height: 1.16;
  }

  .button {
    min-height: 50px;
    padding: 0 22px;
    letter-spacing: 0.01em;
    line-height: 1.4;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .button {
    min-height: 48px;
    padding: 0 20px;
    letter-spacing: 0.01em;
    line-height: 1.4;
    white-space: normal;
  }

  .site-logo__subtitle {
    font-size: clamp(1.06rem, 3.6vw, 1.28rem);
    font-weight: 500;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIRST SCREEN PREMIUM — Phase 2
   Five refinements: hero title ornament, header zone separator,
   nav pill editorial, quote typography, mobile hero panoramic crop.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Hero: ornamental accent anchored to h1 bottom ────────────────────
   .hero__intro is a grid container (gap: 12px).
   ::after becomes a natural 3rd grid row — a 1px gold fade immediately
   below h1. Distinct from hero__lead::before (which opens the quote block):
   this one "seals" the title; that one "opens" the sacred text.             */

.hero__intro::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 151, 89, 0.66), transparent);
}

/* ── 2. Header: vertical hairline between brand-zone and nav-zone ─────────
   Absolutely positioned at the right edge of .site-branding, centred in
   the CSS gap between the two zones. Creates a subtle visual partition that
   reads as "designed header" rather than "default flex row".               */

.site-branding {
  position: relative;
}

.site-branding::after {
  content: '';
  position: absolute;
  right: calc(-1 * clamp(11px, 1.3vw, 20px)); /* centres in the header gap */
  top: 17%;
  bottom: 17%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(185, 151, 89, 0.17) 28%,
    rgba(185, 151, 89, 0.17) 72%,
    transparent 100%
  );
  pointer-events: none;
}

.site-nav__action {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* ── 4. Hero quotes: lifted typographic presence ────────────────────────
   Saint quotations carry spiritual weight equal to the h1 in importance.
   Raising from clamp(1.1–1.34rem) to clamp(1.18–1.42rem) closes the
   visual gap so they feel like sacred text, not caption.                    */

.hero__lead-quote {
  font-size: clamp(1.18rem, 1.44vw, 1.42rem); /* was clamp(1.1rem, 1.28vw, 1.34rem) */
  line-height: 1.66;                           /* was 1.62 */
}

.hero__lead-quote--secondary {
  font-size: clamp(1.14rem, 1.32vw, 1.36rem); /* softer than primary — keeps hierarchy */
  line-height: 1.66;
}

/* ── 5. Mobile hero image: panoramic atmospheric band ────────────────────
   At ≤920px the hero collapses to 1 column. The portrait image (9:11)
   stacks below the text at ~440px tall on a 390px screen — too dominant.
   Changing to 16:9 creates a cinematic wide crop (~220px tall).
   object-position: center 22% frames the church from the top of the tower.
   The richer overlay turns it into atmosphere rather than a content block. */

@media (width <= 920px) {
  .hero__media {
    aspect-ratio: 16 / 9;
    overflow: hidden; /* clips portrait to widescreen — ::before (shadow frame)
                         is z-index: -1 so it sits behind; ::after is inset: 0
                         so it stays within bounds. No visual clipping of decor. */
  }

  .hero__media img {
    object-position: center 22%; /* top of the building, not mid-body */
  }

  /* Stronger cinematic overlay: warm catch-light top, deeper vignette bottom */
  .hero__media::after {
    background:
      radial-gradient(circle at 58% 24%, rgba(255, 240, 200, 0.22), transparent 44%),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0) 26%,
        rgba(14, 8, 5, 0.18) 72%,
        rgba(14, 8, 5, 0.30) 100%
      );
  }

  /* Shadow frame: adapt proportions from portrait to landscape */
  .hero__media::before {
    inset: 10px -14px -10px 14px;
  }
}

/* ── Hide brand separator on tablet/mobile (no room) ────────────────────── */

@media (max-width: 820px) {
  .site-branding::after {
    display: none;
  }
}

/* ── Quote size: preserve on small screens ───────────────────────────────── */

@media (max-width: 640px) {
  .hero__lead-quote,
  .hero__lead-quote--secondary {
    font-size: clamp(1.06rem, 4.2vw, 1.18rem);
    line-height: 1.64;
  }
}
