/* Quiet depth and motion, without changing the content or type scale. */
:root {
  --refine-ease: cubic-bezier(.22, 1, .36, 1);
  --refine-photo-shadow: 0 4px 14px rgba(73, 52, 111, .035), 0 22px 52px rgba(73, 52, 111, .105);
}

.portrait-frame,
.about-image,
.inner-hero-image {
  position: relative;
  box-shadow: var(--refine-photo-shadow);
}

.portrait-frame::after,
.about-image::after,
.inner-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
  pointer-events: none;
}

.hero-accent {
  display: inline-block;
  color: var(--purple);
  padding-bottom: 9px;
  background: linear-gradient(rgba(94, 153, 49, .48), rgba(94, 153, 49, .48)) left bottom / 72px 2px no-repeat;
}

.hero-copy {
  animation: refined-hero-enter 700ms var(--refine-ease) both;
}

.hero-visual {
  animation: refined-hero-enter 700ms var(--refine-ease) 80ms both;
}

.services {
  background: linear-gradient(155deg, #f6f4f8 0%, #eeebf3 100%);
  border-top: 1px solid rgba(73, 52, 111, .055);
  border-bottom: 1px solid rgba(73, 52, 111, .055);
}

.service-card {
  background: #fffefd;
  border: 1px solid rgba(73, 52, 111, .10);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(73, 52, 111, .025), 0 12px 28px rgba(73, 52, 111, .035);
  transition: transform 250ms var(--refine-ease), box-shadow 250ms ease, border-color 250ms ease;
}

.service-image {
  border-radius: 0;
}

.service-image img {
  transition: transform 650ms var(--refine-ease);
}

.service-text {
  padding: 24px;
}

.service-text p {
  font-size: 17px;
}

.reviews-section {
  background: linear-gradient(145deg, #f2f4ed, #edf0e6);
  border-top: 1px solid rgba(94, 153, 49, .07);
  border-bottom: 1px solid rgba(94, 153, 49, .07);
}

.primary,
.main-nav .nav-contact {
  background: linear-gradient(135deg, #7056a2, #60458f);
  box-shadow: 0 3px 8px rgba(73, 52, 111, .075), 0 8px 18px rgba(73, 52, 111, .10);
}

.button,
.main-nav .nav-contact {
  transition: background 250ms ease, color 250ms ease, box-shadow 250ms ease, transform 250ms var(--refine-ease);
}

.button:hover svg {
  transform: none;
}

.primary:hover,
.main-nav .nav-contact:hover {
  background: linear-gradient(135deg, #664d9a, #52397d);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(73, 52, 111, .035);
}

.motion-ready [data-reveal] {
  transform: translateY(12px);
  transition: opacity 650ms var(--refine-ease), transform 650ms var(--refine-ease);
}

.motion-ready [data-reveal].is-visible {
  transform: none;
}

.motion-ready .service-card[data-reveal] {
  --reveal-delay: 0ms;
  transition: opacity 650ms var(--refine-ease) var(--reveal-delay), transform 650ms var(--refine-ease) var(--reveal-delay), box-shadow 250ms ease, border-color 250ms ease;
}

.motion-ready .service-card[data-reveal]:nth-child(2) {
  --reveal-delay: 70ms;
}

.motion-ready .service-card[data-reveal]:nth-child(3) {
  --reveal-delay: 140ms;
}

@keyframes refined-hero-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover,
  .motion-ready .service-card[data-reveal].is-visible:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 77, 154, .24);
    box-shadow: 0 6px 14px rgba(73, 52, 111, .035), 0 18px 34px rgba(73, 52, 111, .075);
    transition-delay: 0ms;
  }

  .service-card:hover .service-image img {
    transform: scale(1.025);
  }

  .button:hover,
  .main-nav .nav-contact:hover {
    transform: translateY(-1px);
  }

  .button:hover svg {
    transform: translateX(3px);
  }

  .primary:hover,
  .main-nav .nav-contact:hover {
    box-shadow: 0 5px 12px rgba(73, 52, 111, .10), 0 11px 22px rgba(73, 52, 111, .13);
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  .service-text { padding: 24px 18px; }
}

@media (max-width: 720px) {
  .portrait-frame,
  .about-image,
  .inner-hero-image {
    box-shadow: 0 5px 14px rgba(73, 52, 111, .035), 0 14px 30px rgba(73, 52, 111, .075);
  }

  .hero-accent { padding-bottom: 7px; background-size: 56px 2px; }
  .service-text { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-copy,
  .hero-visual,
  .motion-ready [data-reveal],
  .service-card,
  .motion-ready .service-card[data-reveal].is-visible,
  .service-image img,
  .button,
  .button svg,
  .main-nav .nav-contact {
    transform: none !important;
  }

  .hero-copy,
  .hero-visual,
  .motion-ready [data-reveal] {
    opacity: 1 !important;
  }
}

/* Editorial rhythm for original content and practical information. */
.prose { overflow-wrap: break-word; }
.prose h2 { margin-top: 2.2em; margin-bottom: .7em; text-wrap: balance; }
.prose > h2:first-child { margin-top: 0; }
.prose p { text-wrap: pretty; }
.prose .credentials { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid #e6e1ec; }
.prose .credentials img { width: 145px; max-height: 175px; object-fit: contain; margin: 0; border-radius: 0; }
.prose .story-list li { padding-left: 6px; margin-bottom: 12px; }
.prose .story-list li::marker { color: var(--green); }
.prose .price-block { background: #f4f1f7; padding: 24px 28px; border-left: 3px solid #664d9a; border-radius: 0 8px 8px 0; line-height: 1.95; }
.opening-hours { margin: 0 0 32px; }
.opening-hours > div { display: grid; grid-template-columns: minmax(100px, .85fr) 1.3fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e6e1ec; }
.opening-hours dt { font-weight: 700; }
.opening-hours dd { margin: 0; }
@media (max-width: 720px) {
  .prose .price-block { padding: 20px; }
  .prose .credentials { gap: 24px; }
  .prose .credentials img { width: 120px; }
}
