/* Quietly softened edges; the architectural arches and editorial rules stay intact. */
:root {
  --radius-control: 6px;
  --radius-panel: 10px;
}

/* Keep the district mark quiet and independent of the landscape animation. */
.arch-window > img.arch-watermark {
  position: absolute;
  inset: 8% 12% 17%;
  width: 76%;
  height: 75%;
  object-fit: contain;
  object-position: center;
  opacity: .1;
  filter: none;
  animation: none;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.button,
.brief-btn,
.dept-connect,
.quick-access-trigger,
.quick-close,
.quick-result,
.menu-toggle,
input,
select,
textarea,
.church-filters input,
.church-filters select,
.contact-form input,
.contact-form select,
.contact-form textarea,
.brief-page input:not([type=checkbox]),
.brief-page select,
.brief-page textarea {
  border-radius: var(--radius-control);
}

.quick-dialog,
.contact-form,
.calendar-embed,
.office-banner,
.dept-flag,
.dept-copy-fallback,
.brief-poster,
.gather-composition,
.superintendent-image,
.leader-photo,
.letter-portrait {
  border-radius: var(--radius-panel);
}

.dept-flag::before {
  border-radius: 5px;
}

.dept-rail-wrap {
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.dept-choice {
  border-radius: var(--radius-control) var(--radius-control) 0 0;
}

.brief-format,
.brief-alert,
.brief-success-mark {
  border-radius: var(--radius-control);
}

.brief-format .brief-check,
.church-meta > span:last-child {
  border-radius: 3px;
}

/* The photographs move inside their existing frames; borders and overlays stay still. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .photo-frame > img:not(.arch-watermark) {
    scale: 1;
    transition: scale 800ms cubic-bezier(.2, .65, .3, 1);
  }

  .photo-frame:hover > img:not(.arch-watermark) {
    scale: 1.045;
  }
}
