/* Shared with the CMS preview; all text and photo slots remain editable. */
body:has(.wix-refresh) { background: #fff; }
.wix-refresh { width: 100%; max-width: none; margin: 0; background: #fff; padding-bottom: 2rem; }
.wix-refresh .container { width: 100%; max-width: 1440px; padding-inline: clamp(1.25rem, 4vw, 4rem); }
.wix-refresh .hero { margin: 0; padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; background: #fff; color: #213e61; }
.wix-refresh .hero h1 { color: #213e61; max-width: 27ch; font-size: clamp(2rem, 4.5vw, 3rem); }
.wix-refresh .hero-sub { background: transparent; color: #263e55; padding: 0; border-radius: 0; max-width: 75ch; margin-bottom: 1.5rem; }
.wix-refresh .hero-sub:empty, .wix-refresh .copy-service-lead:empty, .wix-refresh .copy-prose:empty { display: none; }
.wix-refresh .eyebrow { color: #426384; }
.wix-refresh .section { padding-block: clamp(1.75rem, 4vw, 3rem); }
.wix-refresh .section-tint { background: #fff; }
.wix-refresh h2, .wix-refresh h3 { color: #213e61; }
.wix-refresh .section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.wix-refresh .copy-section-head { margin-bottom: 1rem; }
.wix-refresh .copy-prose { max-width: 78ch; }
.wix-refresh .hero-image img, .wix-refresh .copy-photo img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 4px; box-shadow: none; }
.wix-refresh .hero-image { margin: 2rem 0 0; }
.wix-refresh .copy-photo { margin-block: 1.5rem; }
.wix-refresh .btn-primary { background: #213e61; border-color: #213e61; color: white; }
.wix-refresh .btn-primary:hover { background: #142d49; }
.wix-refresh .hero .btn-ghost { background: white; border-color: #213e61; color: #213e61; }
.wix-refresh .hero .btn-ghost:hover { background: #eaf1f8; color: #213e61; }
.wix-refresh .btn { border-radius: 999px; }
.wix-refresh .copy-card { box-shadow: none; background: #f5f8fc; border: 1px solid #dbe4ef; }
.wix-refresh .service-item { gap: 1.25rem; padding-block: 1.3rem; }
.wix-refresh .service-number { color: #315a85; }
.wix-home .hero-inner { display: flex; flex-direction: column; }
.wix-home .hero-image { order: -1; margin: 0 0 2rem; }
.wix-home .hero h1 { max-width: 28ch; }
.wix-home .hero .eyebrow { display: none; }
.wix-home .hero { background: #213e61; min-height: 510px; display: flex; align-items: center; padding-block: 4rem; }
.wix-home .hero-inner { position: static; align-items: flex-start; }
.wix-home .hero-image { position: absolute; inset: 0; margin: 0; z-index: 0; }
.wix-home .hero h1, .wix-home .hero .copy-actions { position: relative; z-index: 1; }
.wix-home .hero-image img { width: 100%; height: 100%; max-height: none; border-radius: 0; object-fit: cover; }
.wix-home .hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,48,.88), rgba(10,28,48,.35)); }
.wix-home .hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); text-wrap: balance; }
.wix-home .hero .btn-primary { background: white; color: #213e61; border-color: white; }
.wix-home .hero .btn-ghost { background: #213e61; color: white; border-color: white; }
.wix-home .hero .btn:hover { background: #dfeaf5; color: #213e61; }
.wix-about .hero-image img { object-position: center 45%; }
/* Keep the profile intro compact: the portrait should support the heading,
   not make a short hero as tall as the source image. */
.wix-steve .hero, .wix-john .hero { padding-block: clamp(2rem, 4vw, 3.25rem); }
.wix-steve .hero-inner:has(.hero-image.has-image), .wix-john .hero-inner:has(.hero-image.has-image) {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  column-gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.wix-steve .hero-sub, .wix-john .hero-sub { max-width: 58ch; margin-bottom: 0; }
.wix-steve .hero-image, .wix-john .hero-image {
  grid-column: 2; grid-row: 1 / span 2; justify-self: end;
  width: min(100%, 340px); aspect-ratio: 1; margin: 0; overflow: hidden;
  border-radius: 6px; background: #eaf0f6;
}
.wix-steve .hero-image img, .wix-john .hero-image img {
  display: block; width: 100%; height: 100%; max-width: none; max-height: none;
  min-height: 0; object-fit: cover; border-radius: 0;
}
.wix-steve .hero-image img { object-position: center 22%; }
.wix-john .hero-image img { object-position: center 46%; }
.wix-contact .hero-waves, .wix-contact .wave-divider { display: none; }
.wix-contact .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 700px) { .wix-contact .contact-grid { grid-template-columns: 1fr; } }
body:has(.wix-refresh) .site-header { background: #fff; }
body:has(.wix-refresh) .nav { box-shadow: 0 3px 15px rgba(20,45,73,.08); }
@media (max-width: 700px) {
  .wix-refresh { width: 100%; }
  .wix-refresh .hero-image img, .wix-refresh .copy-photo img { min-height: 160px; max-height: 280px; }
  .wix-refresh .copy-card-grid { grid-template-columns: 1fr; }
  .wix-home .hero { min-height: 480px; }
  .wix-home .hero-image img { height: 100%; max-height: none; }
  .wix-steve .hero-inner:has(.hero-image.has-image), .wix-john .hero-inner:has(.hero-image.has-image) { display: block; }
  .wix-steve .hero-image, .wix-john .hero-image { width: min(82vw, 320px); margin: 1.5rem auto 0; }
  .wix-steve .hero-image img, .wix-john .hero-image img { max-height: none; min-height: 0; }
}
