/* Executive Marine — Lamaro look, Bootstrap 5 layout.
   Custom CSS is limited to type, color, the hero, and theme decorations
   Bootstrap cannot reproduce (script headings, gold wave rule, transparent nav). */

:root {
  --em-gold: #cebd88;
  --em-navy: #28364b;
  --em-ink: #28364b;
  --em-deep: #0a182d;
  --em-gray: #f1f0e8;
  --em-white: #ffffff;
  --em-red: #e14c38;
  --font-main: "Raleway", sans-serif;
  --font-display: "Playfair Display", serif;
  --font-script: "Pinyon Script", cursive;
}

body {
  font-family: var(--font-main);
  font-weight: 500;
  color: var(--em-ink);
  background: var(--em-white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--em-navy);
}

a:hover {
  color: var(--em-gold);
}

/* Header — white bar, logo left, links right. Photo starts below it. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 1px 0 rgba(10, 24, 45, 0.08);
}

.site-header .navbar {
  background: #fff;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.site-header .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

.site-header .navbar-brand img {
  height: 72px;
  width: auto;
}

.site-header .navbar-toggler {
  border-color: rgba(40, 54, 75, 0.25);
  padding: 0.35rem 0.55rem;
}

.site-header .navbar-toggler-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.site-header .nav-link {
  color: var(--em-navy);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: #7a6534;
}

.site-header .nav-link.active {
  color: var(--em-navy);
  box-shadow: inset 0 -2px 0 var(--em-gold);
}

.nav-nolink {
  cursor: default;
}

.nav-phone {
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
}

.page-banner {
  background: linear-gradient(rgba(10, 24, 45, 0.45), rgba(10, 24, 45, 0.45)), url("../images/page-header.jpg") center 40% / cover no-repeat;
  color: var(--em-white);
  text-align: center;
  min-height: 220px;
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 0.75rem;
}

.page-banner .breadcrumb {
  justify-content: center;
  margin: 0;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
  color: var(--em-gold);
  text-decoration: none;
}

.page-banner .breadcrumb-item.active {
  color: var(--em-white);
}

/* Hero — real images, no zoom. Height stays stable so mobile does not crop and rescale. */
.hero {
  position: relative;
  background: var(--em-deep);
}

.hero .carousel-item img {
  display: block;
  width: 100%;
  height: 72vh;
  min-height: 420px;
  max-height: 820px;
  object-fit: cover;
  object-position: center center;
}

.hero .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 24, 45, 0.45), rgba(10, 24, 45, 0.12) 45%, rgba(10, 24, 45, 0.2));
  pointer-events: none;
}

.hero .carousel-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem;
  text-shadow: none;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  margin: 0;
  color: var(--em-gold);
}

.hero .script,
.section-dark .script {
  color: var(--em-white);
}

.display-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.1;
  margin: 0.2rem 0 0;
}

.wave {
  display: block;
  width: 88px;
  height: 28px;
  margin: 0.4rem auto 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 28'%3E%3Cpath d='M2 16c8-10 14-10 20 0s12 10 20 0 12-10 20 0 14 10 24 0' fill='none' stroke='%23CEBD88' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.align-start .wave {
  margin-left: 0;
}

.hero-lead {
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 3rem;
  z-index: 3;
}

/* Buttons — gold outline used across the theme */
.btn-em {
  --bs-btn-color: var(--em-navy);
  --bs-btn-border-color: var(--em-gold);
  --bs-btn-hover-color: var(--em-deep);
  --bs-btn-hover-bg: var(--em-gold);
  --bs-btn-hover-border-color: var(--em-gold);
  --bs-btn-active-bg: var(--em-gold);
  --bs-btn-active-border-color: var(--em-gold);
  --bs-btn-active-color: var(--em-deep);
  border-width: 2px;
  border-radius: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.9rem 1.8rem;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-em:active {
  transform: scale(0.97);
}

.btn-em-light {
  --bs-btn-color: var(--em-white);
  --bs-btn-border-color: var(--em-white);
  --bs-btn-hover-color: var(--em-deep);
  --bs-btn-hover-bg: var(--em-white);
  --bs-btn-hover-border-color: var(--em-white);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-gray {
  background: var(--em-gray);
}

.section-dark {
  background: var(--em-deep);
  color: var(--em-white);
}

.section-dark a {
  color: var(--em-white);
}

.kicker {
  font-family: var(--font-script);
  color: #7a6534;
  font-size: 2.6rem;
  line-height: 1;
  margin: 0;
}

.section-dark .kicker {
  color: var(--em-gold);
}

.section h2,
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
}

.decor-anchor {
  width: 92px;
  margin-bottom: 0.5rem;
}

.service-card {
  background: var(--em-white);
  height: 100%;
}

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1.5rem 1.4rem 1.7rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
}

.overlap-up {
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
}

.parts-banner {
  background: var(--em-gray) url("../images/lifebuoy.png") right 8% center / 140px no-repeat;
}

.featured-boat {
  background: linear-gradient(90deg, rgba(10, 24, 45, 0.88) 0%, rgba(10, 24, 45, 0.55) 55%, rgba(10, 24, 45, 0.25) 100%), url("../images/video-bg.jpg") center/cover no-repeat;
}

.play-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid var(--em-white);
  color: var(--em-white);
  background: rgba(10, 24, 45, 0.35);
  font-size: 1.6rem;
}

.play-btn:hover {
  background: var(--em-gold);
  color: var(--em-deep);
  border-color: var(--em-gold);
}

.boat-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.boat-still {
  width: 100%;
  height: auto;
  display: block;
}

.testimonials {
  background: var(--em-gray) url("../images/testimonials-bg.jpg") center/cover no-repeat;
}

.quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  max-width: 760px;
  margin: 0 auto 1rem;
}

.partners img {
  max-height: 72px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(1);
  opacity: 0.75;
}

.partners img:hover {
  filter: none;
  opacity: 1;
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.meta {
  color: #7d8794;
  font-size: 0.85rem;
}

.subscribe {
  background: var(--em-white);
  text-align: center;
  padding: 4.5rem 0 3.5rem;
}

.subscribe h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

.hp {
  position: absolute;
  left: -9999px;
}

.site-footer {
  background: var(--em-deep);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--em-gold);
}

.site-footer h2 {
  font-family: var(--font-display);
  color: var(--em-white);
  font-size: 1.4rem;
  font-weight: 400;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 20;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--em-gold);
  color: var(--em-deep);
  display: none;
}

.to-top.is-visible {
  display: grid;
  place-items: center;
}

.prose {
  max-width: 760px;
}

.hours {
  list-style: none;
  padding: 0;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(40, 54, 75, 0.1);
  padding: 0.4rem 0;
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    padding: 0.5rem 0 0.85rem;
  }

  .nav-phone {
    margin-top: 0.35rem;
  }

  .parts-banner {
    background-image: none;
  }
}

@media (max-width: 767.98px) {
  /* Show the whole photograph. A tall cover frame was cropping the top and scaling the shot. */
  .hero .carousel-item img {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1920 / 1000;
    object-fit: cover;
    object-position: center center;
  }

  .hero .carousel-caption {
    padding: 0.6rem 2.4rem;
  }

  .hero .script {
    font-size: 1.55rem;
  }

  .hero .display-title {
    font-size: 1.45rem;
  }

  .hero .wave {
    height: 14px;
    margin: 0.1rem auto 0.35rem;
  }

  .hero .hero-lead {
    font-size: 0.68rem;
    line-height: 1.35;
    margin-bottom: 0.45rem;
  }

  .hero .btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    top: auto;
    bottom: 0.15rem;
    width: 1.75rem;
    height: 1.75rem;
    opacity: 0.85;
  }

  .page-banner {
    min-height: 0;
    aspect-ratio: 1920 / 944;
    background-position: center center;
    padding: 1.25rem 1rem;
  }

  .page-banner h1 {
    font-size: 1.85rem;
    margin-bottom: 0.35rem;
  }

  .hero .btn {
    min-height: 44px;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  background: #fff;
  color: var(--em-navy);
  padding: 0.5rem 0.75rem;
}

.skip-link:focus {
  top: 0.5rem;
}

.navbar-toggler {
  min-width: 44px;
  min-height: 44px;
}

.hero .btn-em-light {
  background: var(--em-deep);
  --bs-btn-color: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--em-deep);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--em-gray);
  color: var(--em-navy);
}

.boat-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.boat-specs li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(40, 54, 75, 0.12);
}

.boat-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(206, 189, 136, 0.45);
}

.section .boat-placeholder {
  background: var(--em-gray);
  color: var(--em-navy);
  border-color: rgba(40, 54, 75, 0.15);
}

.call-bar {
  display: none;
}

@media (max-width: 991.98px) {
  .call-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    background: var(--em-deep);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  body {
    padding-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-em,
  .btn-em:active {
    transition: none;
    transform: none;
  }

  .carousel-item,
  .collapsing {
    transition: none !important;
  }

  .em-hero .carousel-item.active img {
    animation: none;
  }
}

/* Homepage mast and hero.
   Mobile first: these rules are the phone. min-width: 992px (Bootstrap lg)
   adds the desktop bar, larger type, and side arrows. */
.em-mast,
.em-hero {
  max-width: 100%;
}

.em-mast .container,
.em-hero .container-fluid {
  max-width: 100%;
  min-width: 0;
}

.em-mast {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  color: #fff;
}

.em-logo {
  max-width: 40%;
}

.em-logo img {
  width: auto;
  max-width: 100%;
  max-height: 96px;
  height: auto;
}

.em-social {
  gap: 0.5rem;
}

.em-social-label {
  color: #cebd88;
  font-size: 14px;
  font-weight: 700;
  margin-right: 8px;
}

.em-social-label::after {
  content: "—";
  margin-left: 8px;
  font-weight: 500;
}

.em-social a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  padding: 12px;
}

.em-social a:hover {
  color: #cebd88;
}

.em-store-link {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  text-decoration: none;
  gap: 0.45rem;
}

.em-store-link i,
.em-mast .nav-link i {
  font-size: 1.15rem;
  line-height: 1;
}

.em-mast .nav-link i {
  margin-right: 0.45rem;
}

.em-store-link:hover,
.em-store-link:focus {
  color: #cebd88;
}

.em-bar {
  margin-bottom: 0.5rem;
}

.em-mast .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.55);
}

.em-mast .navbar-toggler-icon {
  filter: invert(1);
}

.em-mast .nav-link {
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #fff;
}

.em-mast .nav-link.active,
.em-mast .nav-link:hover,
.em-mast .nav-link:focus {
  color: #cebd88;
}

.em-hero {
  position: relative;
  background: #28364b;
  overflow: hidden;
}

.em-hero .carousel,
.em-hero .carousel-inner,
.em-hero .carousel-item {
  width: 100%;
  min-height: 70vh;
}

.em-hero .carousel-inner {
  overflow: hidden;
}

.em-hero .carousel-item {
  float: none;
  margin-right: 0;
}

.em-hero .carousel-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: none;
}

.em-hero .carousel-item.active img {
  animation: none;
}

@keyframes em-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

.em-hero .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 54, 75, 0.7);
  pointer-events: none;
}

.em-hero .carousel-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  text-shadow: none;
  color: #fff;
  pointer-events: none;
}

.em-hero .carousel-caption a {
  pointer-events: auto;
}

.em-hero .carousel-caption .row {
  padding-top: 7rem;
  padding-bottom: 4.5rem;
}

.em-script {
  font-family: "Pinyon Script", cursive;
  font-size: 2rem;
  line-height: 1.2;
  color: #cebd88;
  margin: 0 0 -0.35rem;
  overflow-wrap: anywhere;
}

.em-hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0;
  color: #fff;
  overflow-wrap: anywhere;
}

.em-hero .wave {
  margin-top: 0;
  margin-bottom: 32px;
}

.em-lead {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.em-lead strong {
  font-weight: 700;
}

.em-btn {
  display: inline-block;
  max-width: 100%;
  min-width: 0;
  padding: 0.85rem 1.25rem;
  background: #cebd88;
  color: #28364b;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  border: 0;
  border-radius: 0;
  outline: 1px solid #cebd88;
  outline-offset: 1px;
}

.em-btn:hover {
  background: #28364b;
  color: #fff;
  outline-color: #28364b;
}

.em-hero .carousel-control-prev,
.em-hero .carousel-control-next {
  top: auto;
  bottom: 1rem;
  width: auto;
  height: 3rem;
  opacity: 1;
}

.em-hero .carousel-control-prev { left: calc(50% - 3.75rem); }
.em-hero .carousel-control-next { right: calc(50% - 3.75rem); }

.em-arrow {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
}

.em-hero .carousel-control-prev .em-arrow { margin-left: 0.75rem; }
.em-hero .carousel-control-next .em-arrow { margin-right: 0.75rem; }

.em-arrow:hover {
  background: #cebd88;
  color: #28364b;
}

.is-front .call-bar {
  display: none;
}

.is-front {
  padding-bottom: 0;
}

.em-after-hero {
  position: relative;
  overflow: visible;
}

.em-after-hero::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  right: 0;
  height: 30px;
  background: url("../images/rope.png") repeat-x 0 50%;
  z-index: 2;
  pointer-events: none;
}

.em-sea-anchor {
  position: absolute;
  right: 0;
  top: -278px;
  z-index: 3;
  pointer-events: none;
  width: auto;
  max-width: none;
}

.em-services {
  position: relative;
  z-index: 2;
  padding: 3rem 0 4rem;
  background-color: #f1f0e8;
  background-image: url("../images/services-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #28364b;
}

.em-services .em-script {
  margin-bottom: -0.5rem;
  font-size: 1.5rem;
  color: #cebd88;
}

.em-services h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.1;
  color: #28364b;
}

.em-service {
  border: 0;
  border-bottom: 4px solid transparent;
  border-radius: 0;
  background: #fff;
  transition: border-color 0.3s ease;
}

.em-service:hover {
  border-bottom-color: #cebd88;
}

.em-service-photo {
  display: block;
  overflow: hidden;
}

.em-service .card-img-top {
  aspect-ratio: 430 / 280;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.em-service:hover .card-img-top {
  transform: scale(1.05);
}

.em-service .card-body {
  padding: 1.75rem 1.5rem 3rem;
}

.em-service-title {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.2;
}

.em-service-title a {
  color: #28364b;
  text-decoration: none;
}

.em-service-title a:hover {
  color: #cebd88;
}

.em-service .card-text {
  margin-bottom: 2rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #28364b;
}

.em-view {
  min-width: 125px;
  padding: 0.45rem 1.6rem;
  border: 0;
  border-radius: 0;
  background: #cebd88;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.6;
  text-transform: lowercase;
  outline: 1px solid #cebd88;
  outline-offset: 1px;
}

.em-view:hover,
.em-view:focus {
  background: #28364b;
  color: #fff;
  outline-color: #28364b;
}

.em-parts {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 4.5rem;
  background: #f7f7f7 url("../images/countup-bg.jpg") center / cover no-repeat;
  color: #28364b;
}

.em-parts .em-script {
  margin-bottom: -0.5rem;
  font-size: 1.5rem;
  color: #cebd88;
}

.em-parts h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.1;
  color: #28364b;
}

.em-store {
  display: inline-block;
  max-width: 100%;
  min-width: 12.5rem;
  padding: 1.15rem 2.2rem;
  border: 0;
  border-radius: 0;
  background: #cebd88;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  outline: 1px solid #cebd88;
  outline-offset: 1px;
}

.em-store:hover,
.em-store:focus {
  background: #28364b;
  color: #fff;
  outline-color: #28364b;
}

.em-lifebuoy {
  position: absolute;
  left: 0;
  bottom: -162px;
  z-index: 3;
  width: auto;
  max-width: none;
  pointer-events: none;
}

.em-featured {
  padding: 3.5rem 0 22rem;
  background: #28364b url("../images/video-bg.jpg") center / cover no-repeat;
  color: #fff;
}

.em-featured .em-script {
  margin-bottom: -0.35rem;
  font-size: 1.5rem;
  color: #cebd88;
}

.em-featured h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.15;
  color: #fff;
}

.em-featured p {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

.em-featured .em-store {
  color: #28364b;
}

.em-featured .em-store:hover,
.em-featured .em-store:focus {
  background: #fff;
  color: #28364b;
  outline-color: #fff;
}

.em-boat-frame {
  background: #fff;
  padding: 0.9rem;
  text-align: center;
}

.em-pitch {
  position: relative;
  z-index: 2;
  margin-top: -11.5rem;
  padding: 4.4rem 0 4.7rem;
  background: #28364b url("../images/parallax-lamaro.jpg") center / cover no-repeat;
  color: #fff;
}

.em-pitch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 54, 75, 0.75);
  pointer-events: none;
}

.em-pitch h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #fff;
}

.em-pitch p {
  font-size: 1rem;
  line-height: 1.6;
}

.em-pitch .em-store {
  color: #28364b;
}

.em-pitch .em-store:hover,
.em-pitch .em-store:focus {
  background: #fff;
  color: #28364b;
  outline-color: #fff;
}

.em-pitch .row {
  position: relative;
  z-index: 1;
}

.em-why {
  padding: 2.2rem 0 2rem;
  background: #fff;
  color: #28364b;
}

.em-why h2 {
  margin: 0 0 0.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #28364b;
}

.em-why .wave {
  margin-bottom: 2rem;
}

.em-why p {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.em-mark {
  width: min(100%, 500px);
  height: auto;
}

.em-quotes {
  padding: 6rem 0 7rem;
  background: #f1f0e8 url("../images/testimonials-bg.jpg") center / cover no-repeat;
  color: #28364b;
}

.em-quotes-copy {
  padding: 0 1.25rem;
}

.em-quotes .em-script {
  font-size: 1.875rem;
}

.em-quotes h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #28364b;
}

.em-quote-card {
  margin: 1.6rem 0 0;
  padding: 1.5rem 1.25rem 1.25rem;
  border: 0;
  background: #fff;
}

.em-quote-mark {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-style: normal;
  line-height: 0.7;
  color: #cebd88;
}

.em-quote-card p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 2;
  color: #28364b;
}

.em-quote-card .wave {
  margin: 1.25rem auto 0.35rem;
}

.em-quote-card footer {
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  font-style: normal;
}

.em-quote-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-top: 1.75rem;
}

.em-quote-arrow {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: #fff;
  color: #28364b;
  line-height: 1;
}

.em-quote-arrow:hover,
.em-quote-arrow:focus {
  background: #cebd88;
  color: #28364b;
}

.em-partners {
  padding: 4.1rem 0;
  background: #28364b;
}

.em-partner {
  width: 120px;
  height: 120px;
  max-width: 120px;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 1200px) {
  .em-partner-row > .col {
    flex: 0 0 auto;
    width: calc(100% / 7);
  }
}

.em-signup {
  background: #f1f0e8;
  padding: 4.2rem 0 4.6rem;
  color: #28364b;
}

.em-signup-lead {
  display: none;
  align-items: center;
  gap: 1rem;
}

.em-dove {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  fill: none;
  stroke: #cebd88;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.em-signup .em-script {
  margin-bottom: -0.15rem;
  font-size: 1.875rem;
}

.em-signup h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.2;
  color: #28364b;
}

.em-signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 570px;
  margin-inline: auto;
}

.em-signup-form input {
  width: 100%;
  height: 56px;
  border: 0;
  background: #fff;
  padding: 0 1.25rem;
  color: #28364b;
  font-size: 1rem;
}

.em-signup-form button {
  height: 56px;
  border: 0;
  background: #cebd88;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
}

.em-signup-form button:hover,
.em-signup-form button:focus {
  background: #28364b;
  color: #fff;
}

.em-signup-social {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.em-signup-follow {
  font-size: 0.875rem;
  font-weight: 700;
}

.em-signup-follow::after {
  content: "—";
  margin-left: 0.45rem;
}

.em-signup-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #fff;
  color: #28364b;
  text-decoration: none;
}

.em-signup-social a:hover,
.em-signup-social a:focus {
  background: #cebd88;
  color: #fff;
}

@media (min-width: 768px) {
  .em-signup-form {
    flex-direction: row;
    gap: 0;
    background: #fff;
  }

  .em-signup-form input {
    height: 70px;
    padding: 0 1.5rem;
  }

  .em-signup-form button {
    min-width: 180px;
    height: 70px;
  }
}

@media (min-width: 992px) {
  .em-signup-social {
    display: flex;
  }
}

@media (min-width: 1600px) {
  .em-signup-lead {
    display: flex;
  }
}

.em-footer {
  position: relative;
  background: #28364b url("../images/footer-compass.png") center 40px no-repeat;
  color: #fff;
  padding: 2.5rem 0 0;
}

.em-footer::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 18px;
  background: url("../images/rope.png") repeat-x;
  pointer-events: none;
}

.em-footer h2 {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 1.875rem;
  color: #fff;
}

.em-footer .wave {
  margin: 0 auto 1.25rem;
}

.em-footer-seal {
  width: 180px;
  height: auto;
}

.em-footer-menu,
.em-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.em-footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.75rem;
}

.em-footer-menu li {
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
}

.em-footer-menu a,
.em-footer-menu span {
  color: #fff;
  text-decoration: none;
}

.em-footer-menu a::before,
.em-footer-menu span::before {
  content: ">";
  margin-right: 0.45rem;
  color: #cebd88;
  font-weight: 600;
}

.em-footer-menu a:hover,
.em-footer-menu a:focus {
  color: #cebd88;
}

.em-footer-contact li {
  padding: 0.35rem 0;
  font-size: 0.875rem;
}

.em-footer-contact a {
  color: #fff;
  text-decoration: none;
}

.em-footer-contact a:hover,
.em-footer-contact a:focus {
  color: #cebd88;
}

.em-footer-contact i {
  margin-right: 0.45rem;
  color: #cebd88;
  font-size: 1.05rem;
}

.em-footer-bar {
  margin-top: 2rem;
  padding: 2rem 0 0.9rem;
  background: url("../images/waves-footer.png") center top repeat-x;
  font-size: 0.875rem;
}

.em-footer-top {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  font-size: 0.875rem;
}

.em-footer-top:hover,
.em-footer-top:focus {
  color: #cebd88;
}

@media (min-width: 992px) {
  .em-footer .wave {
    margin-left: 0;
  }

  .em-footer-menu {
    display: grid;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    justify-content: start;
    column-gap: 2.5rem;
    row-gap: 0.15rem;
  }
}

.em-mast .navbar-collapse {
  background: #28364b;
  padding: 0.35rem 0 0.75rem;
}

.em-mast .navbar-collapse.show {
  min-height: calc(100vh - 8rem);
}

.em-mast .nav-link {
  padding: 0.85rem 0.25rem;
  text-align: left;
}

@media (min-width: 992px) {
  .em-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    margin-bottom: 3rem;
  }

  .em-mast .container,
  .em-hero .carousel-caption .container-fluid {
    max-width: 1540px;
  }

  .em-logo {
    max-width: none;
  }

  .em-logo img {
    max-width: 140px;
    max-height: 140px;
  }

  .em-mast .navbar-collapse {
    background: transparent;
    padding: 0;
    min-height: 0;
  }

  .em-mast .navbar-collapse > .container {
    background: #fff;
    box-shadow: 0 4px 0 rgba(255, 255, 255, 0.25);
  }

  .em-mast .navbar-nav {
    padding: 1.15rem 0 0.85rem;
  }

  .em-mast .nav-link {
    color: #0a182d;
    padding: 0 1.75rem;
    text-align: center;
  }

  .em-script {
    font-size: 3rem;
  }

  .em-hero h1 {
    font-size: 5rem;
  }

  .em-lead {
    max-width: 760px;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.8;
  }

  .em-hero,
  .em-hero .carousel,
  .em-hero .carousel-inner,
  .em-hero .carousel-item {
    min-height: 942px;
  }

  .em-hero .carousel-item.active img {
    animation: em-zoom 20s ease-out forwards;
  }

  .em-hero .carousel-caption .row {
    padding-top: 17rem;
    padding-bottom: 2rem;
  }

  .em-hero .carousel-control-prev,
  .em-hero .carousel-control-next {
    top: 0;
    bottom: 0;
    height: auto;
  }

  .em-hero .carousel-control-prev { left: 0; }
  .em-hero .carousel-control-next { right: 0; }

  .em-arrow {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .em-hero .carousel-control-prev .em-arrow { margin-left: 30px; }
  .em-hero .carousel-control-next .em-arrow { margin-right: 30px; }

  .em-services {
    padding: 5.5rem 0 6rem;
  }

  .em-parts {
    padding: 5.5rem 0 7rem;
  }
}

@media (min-width: 768px) {
  .em-services .em-script,
  .em-parts .em-script {
    font-size: 1.875rem;
  }

  .em-services h2,
  .em-parts h2,
  .em-featured h2,
  .em-why h2,
  .em-quotes h2 {
    font-size: 3rem;
  }

  .em-quote-card p {
    font-size: 1.125rem;
  }

  .em-featured {
    padding-top: 6.25rem;
  }

  .em-featured .em-script {
    font-size: 1.875rem;
  }

  .em-pitch h2 {
    font-size: 3rem;
  }
}

@media (min-width: 992px) {
  .em-pitch {
    padding: 0;
    background: transparent;
  }

  .em-pitch::before {
    content: none;
  }

  .em-pitch > .container {
    padding-top: 4.4rem;
    padding-bottom: 4.7rem;
    background: #28364b url("../images/parallax-lamaro.jpg") center / cover no-repeat;
    background-attachment: fixed;
  }

  .em-pitch > .container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(40, 54, 75, 0.75);
    pointer-events: none;
  }
}

@media (min-width: 1200px) {
  .em-featured {
    padding-top: 10.5rem;
    padding-bottom: 20rem;
  }

  .em-featured .wave {
    margin-left: 0;
  }

  .em-boat-frame {
    padding: 2.5rem;
  }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
  .em-pitch h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .em-quotes {
    padding-top: 14rem;
    padding-bottom: 15rem;
  }

  .em-quotes-copy {
    padding: 2rem max(1.5rem, calc((100vw - 1540px) / 2)) 0 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .em-hero .carousel-item.active img,
  .em-service .card-img-top {
    animation: none;
    transform: none;
  }
}

.em-pagehead {
  position: relative;
  background: #28364b url("../images/inner-header.jpg") center 42% / cover no-repeat;
  color: #fff;
}

.em-pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 54, 75, 0.6);
  pointer-events: none;
  z-index: 0;
}

.em-pagehead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 20px;
  background: url("../images/rope.png") repeat-x;
  pointer-events: none;
  z-index: 3;
}

.em-pagehead .em-mast,
.em-pagehead-title {
  position: relative;
  z-index: 2;
}

.em-pagehead-title {
  text-align: center;
  padding: 1.25rem 0 4.5rem;
}

.em-pagehead-title h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.15;
  color: #fff;
}

.em-crumbs {
  margin: 1.15rem 0 0;
  font-size: 0.875rem;
}

.em-crumbs a {
  color: #cebd88;
  text-decoration: none;
}

.em-crumbs a:hover,
.em-crumbs a:focus {
  color: #fff;
}

.em-crumbs a::after {
  content: "›";
  margin: 0 0.65rem 0 0.85rem;
  color: #fff;
  font-size: 0.7rem;
}

.em-crumbs [aria-current="page"] {
  color: #fff;
}

.em-page {
  padding: 3.5rem 0 4.5rem;
  background: #fff;
  color: #28364b;
}

.em-page h2 {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #28364b;
}

.em-page p {
  font-size: 1rem;
  line-height: 1.7;
}

.em-boat-photo {
  display: block;
  width: 100%;
  height: auto;
}

.em-boat-media {
  aspect-ratio: 4 / 3;
  background: #28364b;
  overflow: hidden;
}

.em-boat-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.em-page .em-boat-status {
  margin: 0.75rem 0 0;
  color: #28364b;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.em-page .row-cols-md-2 h2 {
  margin-top: 1rem;
  font-size: 1.75rem;
}

.em-page article .wave {
  margin-left: 0;
  margin-right: 0;
}

#jeanneau-755 .em-boat-media img,
.em-boat-gallery .em-boat-media img {
  object-fit: contain;
}

.em-shop-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.em-shop-photo {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  margin: 0 auto 20px;
  border: 15px solid #f1f0e8;
  background: #28364b;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.em-shop-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.em-page .em-shop-card h2 {
  margin: 0 0 6px;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.em-page .em-shop-card h2 a {
  color: #28364b;
  text-decoration: none;
}

.em-page .em-shop-card h2 a:hover,
.em-page .em-shop-card h2 a:focus-visible {
  color: #cebd88;
}

.em-page .em-shop-card p {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 14px;
  line-height: 1.7;
}

.em-page .em-shop-card .em-shop-place {
  margin-top: 0.65rem;
}

.em-shop-phone a {
  color: #28364b;
  text-decoration: none;
}

.em-shop-phone a:hover,
.em-shop-phone a:focus-visible {
  color: #cebd88;
}

.em-shop-actions {
  margin-top: auto;
  padding-top: 1.25rem;
}

.em-shop-card .em-btn,
.em-listing-copy .em-btn {
  text-decoration: none;
}

.em-listing-photos {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.em-listing-hero,
.em-listing-thumb {
  background: #28364b;
  overflow: hidden;
}

.em-listing-hero {
  margin: 0;
  border: 15px solid #f1f0e8;
  aspect-ratio: 4 / 3;
}

.em-listing-thumb {
  border: 8px solid #f1f0e8;
}

.em-listing-hero img,
.em-listing-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.em-listing-hero img.em-shop-fit,
.em-listing-thumb img.em-shop-fit,
.em-shop-photo img.em-shop-fit {
  object-fit: contain;
}

.em-listing-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: start;
}

.em-listing-thumb {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.em-listing-thumb[aria-pressed="true"] {
  border-color: #cebd88;
}

.em-listing-thumb:focus-visible {
  outline: 2px solid #28364b;
  outline-offset: 3px;
}

.em-page .em-listing-copy h2 {
  margin: 0;
}

.em-page .em-listing-status {
  margin: 0.45rem 0 0.35rem;
  color: #cebd88;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.em-page .em-listing-place {
  margin: 0 0 1.25rem;
}

.em-page .em-listing-copy .em-listing-note {
  max-width: 40rem;
  margin: 1.25rem 0 0;
}

@media (min-width: 576px) {
  .em-listing-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .em-listing-photos {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }

  .em-listing-hero {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .em-listing-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.em-page > .container > p a {
  color: #28364b;
}

.em-facts {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.em-facts li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(40, 54, 75, 0.12);
}

.em-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.em-contact-list li {
  padding: 0.45rem 0;
}

.em-contact-list a {
  color: #28364b;
  text-decoration: none;
}

.em-contact-list a:hover,
.em-contact-list a:focus {
  color: #cebd88;
}

.em-contact-list i {
  margin-right: 0.5rem;
  color: #cebd88;
}

.em-panel {
  background: #f1f0e8;
}

@media (min-width: 768px) {
  .em-pagehead-title h1 {
    font-size: 3rem;
  }
}

@media (min-width: 992px) {
  .em-pagehead-title {
    padding: 2rem 0 7rem;
  }

  .em-pagehead-title h1 {
    font-size: 3.75rem;
  }

  .em-crumbs {
    font-size: 1rem;
  }

  .em-page {
    padding: 5rem 0 5.5rem;
  }

  .em-page .text-lg-start .wave {
    margin-left: 0;
  }
}
