.hero-images {
  height: min(48vw, 580px);
  min-height: 380px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  background: #fff;
  overflow: hidden;
}
.hero-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  min-width: 0;
  display: block;
}
.hero-marine {
  grid-row: 1/3;
  object-position: 70% center;
}
.hero-hospitality {
  object-position: center 58%;
}
.hero-aviation {
  object-position: center 56%;
}
.story-logo {
  background: #fff;
  padding: 30px;
}
.story-logo img {
  width: 100%;
  height: auto;
}
.yacht-interior-products .story-logo,
.yacht-side-services .story-logo {
  padding: 20px 0;
}
.yacht-interior-products .story-logo img,
.yacht-side-services .story-logo img {
  max-width: 100%;
  max-height: none;
}
.on-site-boat-care .story-logo img {
  width: 300px;
  max-width: 100%;
}
.logo-tile.on-site-boat-care img {
  width: 210px;
  max-width: 100%;
}
.logo-tile.jetcraft-interiors img {
  max-height: none;
  width: 100%;
  max-width: 300px;
}
.jetcraft-interiors .story-logo img {
  max-height: none;
  max-width: 100%;
}
.logo-tile.harbor-and-thread img {
  max-width: 290px;
  width: 100%;
  max-height: 115px;
}
.harbor-and-thread .story-logo img {
  max-height: 220px;
}
.jip-mark {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #111;
  max-width: 100%;
}
.jip-monogram {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 53px;
  letter-spacing: -0.1em;
  border-right: 1px solid #b39555;
  padding-right: 20px;
  line-height: 1;
}
.jip-name {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  letter-spacing: 0.17em;
  font-size: 13px;
}
.jip-name strong {
  font-size: 17px;
  letter-spacing: 0.14em;
  font-weight: 500;
  white-space: nowrap;
}
.resort-mark {
  font-family: Georgia, serif;
  font-size: 43px;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #243b3b;
}
.resort-mark > span {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.33em;
  margin-top: 7px;
}
.boatcare-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #193d50;
  line-height: 1.3;
}
.boatcare-mark > strong {
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.06em;
}
.boatcare-mark > span {
  font-size: 12px;
  letter-spacing: 0.38em;
  margin-top: 6px;
}
.story-logo .jip-monogram {
  font-size: 70px;
}
.story-logo .jip-name strong {
  font-size: 20px;
}
.story-logo .resort-mark {
  font-size: 60px;
}
.story-logo .boatcare-mark > strong {
  font-size: 36px;
}
.story-logo .boatcare-mark > span {
  font-size: 16px;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  background: white;
  z-index: 100;
  padding: 10px 20px;
}
.skip-link:focus {
  transform: translateY(0);
}
.story-copy .eyebrow {
  color: #80612e;
}
.logo-tile {
  height: 170px;
}
.logo-tile.yacht-interior-products img,
.logo-tile.yacht-side-services img {
  max-width: 100%;
  width: 300px;
  height: auto;
  max-height: none;
}
.hero-caption span {
  flex: 1;
  text-align: center;
}
.hero-caption {
  max-width: 650px;
  margin: auto;
  border: 0;
}
.brand-directory {
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.identity span {
  font-size: 13px;
  letter-spacing: 0.2em;
}
header .identity strong {
  font-size: 42px;
}
header .identity {
  align-items: flex-start;
}
.footer-legal {
  max-width: 220px;
}
@media (min-width: 1600px) {
  .logo-grid {
    max-width: 1320px;
  }
  .brand-story {
    padding-left: max(6%, calc((100vw - 1460px) / 2));
    padding-right: max(6%, calc((100vw - 1460px) / 2));
  }
}
@media (max-width: 900px) {
  .logo-tile {
    padding: 22px 16px;
  }
  .jip-monogram {
    font-size: 40px;
    padding-right: 10px;
  }
  .jip-mark {
    gap: 10px;
  }
  .jip-name strong {
    font-size: 13px;
  }
  .jip-name {
    font-size: 11px;
  }
  .story-logo .jip-monogram {
    font-size: 49px;
  }
  .story-logo .jip-name strong {
    font-size: 14px;
  }
  .story-logo .boatcare-mark > strong {
    font-size: 29px;
  }
}
@media (max-width: 700px) {
  header .identity strong {
    font-size: 29px;
  }
  .identity span {
    font-size: 11px;
    letter-spacing: 0.13em;
  }
  header .nav-link {
    font-size: 14px;
  }
  .hero-images {
    height: 445px;
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 270px 167px;
    gap: 8px;
  }
  .hero-marine {
    grid-row: 1;
    grid-column: 1/3;
    object-position: 70% center;
  }
  .hero-hospitality {
    grid-row: 2;
    grid-column: 1;
  }
  .hero-aviation {
    grid-row: 2;
    grid-column: 2;
  }
  .hero-caption {
    gap: 4px;
    padding-inline: 0;
  }
  .hero-caption span {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .logo-tile {
    height: 130px;
    padding: 17px 12px;
  }
  .logo-tile.jetcraft-interiors img {
    max-width: 100%;
  }
  .logo-tile .jip-mark {
    gap: 8px;
  }
  .logo-tile .jip-monogram {
    font-size: 32px;
    padding-right: 9px;
  }
  .logo-tile .jip-name strong {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .logo-tile .jip-name {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .logo-tile .boatcare-mark > strong {
    font-size: 17px;
  }
  .logo-tile .boatcare-mark > span {
    font-size: 10px;
  }
  .logo-tile .resort-mark {
    font-size: 29px;
  }
  .logo-tile .resort-mark > span {
    font-size: 10px;
  }
  .logo-tile.harbor-and-thread img {
    max-width: 100%;
    max-height: 80px;
  }
  .logo-tile:last-child:nth-child(odd) {
    grid-column: 1/3;
  }
  .logo-tile:last-child:nth-child(odd) img {
    max-width: 260px;
  }
  .story-logo {
    padding: 25px;
    min-height: 150px;
  }
  .story-logo .jip-monogram {
    font-size: 58px;
  }
  .story-logo .jip-name strong {
    font-size: 17px;
  }
  .story-logo .jip-name {
    font-size: 12px;
  }
  .story-logo .resort-mark {
    font-size: 48px;
  }
  .story-logo .boatcare-mark > strong {
    font-size: 32px;
  }
  .story-logo .boatcare-mark > span {
    font-size: 14px;
  }
  .brand-story {
    gap: 18px;
  }
  .brand-story h2 {
    font-size: 42px;
  }
  .story-copy .eyebrow {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .nav-link {
    min-height: 44px;
  }
  .logo-grid {
    margin-top: 36px;
  }
}

/* Balance the new Yacht Windshield Covers mark within the two-column directory. */
.logo-grid > .logo-tile.yacht-windshield-covers > .logo-artwork > img {
  width: 100%;
  max-width: 330px;
  max-height: 166px;
  object-fit: contain;
}
.yacht-windshield-covers .story-logo img {
  width: 100%;
  max-width: 520px;
  max-height: 250px;
  object-fit: contain;
}

.resort-mark {
  font-family: Georgia, serif;
  font-size: 30px;
  white-space: nowrap;
  line-height: 1.25;
  color: #102f3e;
}
.resort-mark > span {
  font-size: 9px;
  letter-spacing: 0.17em;
}
.story-logo .resort-mark {
  font-size: 40px;
}
.story-logo .resort-mark > span {
  font-size: 12px;
}
.yacht-teak-decking .story-logo img {
  max-width: 100%;
  max-height: none;
}
.logo-tile.yacht-teak-decking img {
  max-height: none;
  width: 100%;
}
@media (max-width: 1000px) {
  .logo-tile .resort-mark {
    font-size: 25px;
  }
  .story-logo .resort-mark {
    font-size: 31px;
  }
}
@media (max-width: 700px) {
  .logo-tile .resort-mark {
    font-size: 21px;
  }
  .logo-tile .resort-mark > span {
    font-size: 8px;
    letter-spacing: 0.06em;
  }
  .story-logo .resort-mark {
    font-size: 37px;
  }
  .story-logo .resort-mark > span {
    font-size: 11px;
  }
}

.resort-mark {
  font-family: "Libre Caslon Display", Georgia, serif;
  letter-spacing: -0.035em;
}
.resort-mark > span {
  font-weight: 500;
  letter-spacing: 0.13em;
}
.story-logo .resort-mark {
  font-size: 43px;
}
@media (max-width: 700px) {
  .story-logo .resort-mark {
    font-size: 37px;
  }
}
@media (max-width: 360px) {
  header {
    padding: 20px 16px;
  }
  header .identity strong {
    font-size: 26px;
  }
  header .identity span {
    font-size: 10px;
  }
  header .nav-link {
    gap: 5px;
    font-size: 13px;
  }
  .brand-directory {
    padding-inline: 16px;
  }
  .logo-tile .resort-mark {
    font-size: 20px;
  }
  .logo-tile .jip-monogram {
    font-size: 28px;
  }
  .logo-tile .jip-name strong {
    font-size: 9px;
  }
  .story-logo .resort-mark {
    font-size: 30px;
  }
  .story-logo .jip-name strong {
    font-size: 14px;
  }
}

/* Paired exterior and interior views for each family of brands. */
.hero-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hero-panel {
  margin: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 8px;
  align-content: start;
}
.hero-panel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8/5;
  object-fit: cover;
  min-width: 0;
  min-height: 0;
}
.hero-panel .marine-exterior {
  object-position: 72% center;
}
.hero-panel .resort-pool {
  object-position: 68% center;
}
.hero-panel .jet-exterior {
  object-position: 49% center;
}
.hero-panel figcaption {
  padding: 13px 0 17px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .hero-panels {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .hero-panel img {
    aspect-ratio: 6/5;
  }
  .hero-panel figcaption {
    grid-column: 1/-1;
    padding: 5px 0 13px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }
}

.logo-tile.resort-cushions img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
}
.resort-cushions .story-logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
}

.brand-introduction {
  background: #122934;
  color: #fff;
  text-align: center;
  padding: 78px 6% 84px;
}
.brand-introduction .eyebrow {
  color: #d8bd85;
  letter-spacing: 0.2em;
  font-size: 13px;
  margin: 0 0 22px;
}
.brand-introduction h2 {
  font-size: clamp(42px, 5.5vw, 74px);
  line-height: 1.06;
  margin: 0 0 25px;
}
.brand-introduction-copy {
  color: #d9e1e5;
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.brand-introduction + #brand-stories > .brand-story:first-child {
  border-top: 0;
}
@media (max-width: 700px) {
  .brand-introduction {
    padding: 57px 26px 62px;
  }
  .brand-introduction .eyebrow {
    font-size: 12px;
    letter-spacing: 0.14em;
  }
  .brand-introduction-copy {
    font-size: 16px;
  }
}

.logo-tile.yacht-sunshades {
  padding: 10px 18px;
}
.logo-tile.yacht-sunshades img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}
.yacht-sunshades .story-logo {
  padding: 12px;
  background: #fff;
}
.yacht-sunshades .story-logo img {
  width: 100%;
  max-width: 480px;
  height: auto;
  max-height: none;
}
@media (max-width: 700px) {
  .logo-tile.yacht-sunshades {
    padding: 8px;
  }
  .logo-tile.yacht-sunshades img {
    max-height: 115px;
  }
}
.logo-tile.fuel-pump-covers {
  padding: 14px;
}
.logo-tile.fuel-pump-covers img {
  width: 82%;
  max-height: 122px;
  object-fit: contain;
}
.fuel-pump-covers .story-logo {
  padding: 12px;
  background: #fff;
}
.fuel-pump-covers .story-logo img {
  width: 100%;
  max-width: 500px;
  max-height: none;
  height: auto;
}
@media (max-width: 700px) {
  .logo-tile.fuel-pump-covers {
    padding: 12px;
  }
  .logo-tile.fuel-pump-covers img {
    width: 80%;
    max-height: 104px;
  }
}

/* Consistent logo and website positions across the brand directory. */
.logo-grid > .logo-tile {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 40px;
  gap: 10px;
  height: 218px;
  min-height: 218px;
  padding: 18px 16px 14px;
  min-width: 0;
}
.logo-grid > .logo-tile > .logo-artwork {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
}
.logo-grid > .logo-tile > .logo-artwork > img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  height: auto;
}
.logo-grid > .logo-tile > .brand-website {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
  color: #435762;
  font-weight: 400;
  overflow-wrap: anywhere;
  min-width: 0;
  width: 100%;
  padding: 0 2px;
  text-decoration: none;
}
.logo-grid > .logo-tile > .brand-website:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #122934;
}
@media (max-width: 700px) {
  .logo-grid > .logo-tile {
    height: 192px;
    min-height: 192px;
    padding: 12px 10px 14px;
    grid-template-rows: minmax(0, 1fr) 57px;
    gap: 8px;
  }
  .logo-grid > .logo-tile > .brand-website {
    font-size: 14px;
  }
  .logo-grid > .logo-tile:last-child:nth-child(odd) > .logo-artwork {
    max-width: 260px;
    margin: auto;
  }
}

/* Fit the full Yacht Interior Products address on one line in its card. */
.logo-grid > .logo-tile.yacht-interior-products {
  container-type: inline-size;
}
.logo-grid > .logo-tile.yacht-interior-products > .brand-website {
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: clamp(10px, 7.2cqi, 14px);
  letter-spacing: -0.015em;
  line-height: 18.9px;
}

.logo-tile.royal-yacht-mattresses img {
  max-width: 172px;
  max-height: 150px;
  object-fit: contain;
}
.royal-yacht-mattresses .story-logo img {
  max-width: 360px;
  max-height: 270px;
  object-fit: contain;
}
.logo-tile.yacht-rugs img {
  width: 100%;
  max-width: 330px;
  max-height: 165px;
  object-fit: contain;
}
.yacht-rugs .story-logo img {
  width: 100%;
  max-width: 460px;
  max-height: 280px;
  object-fit: contain;
}
.logo-tile.boat-rental-fleet-management img {
  width: 100%;
  max-width: 100%;
  max-height: 142px;
  object-fit: contain;
}
.boat-rental-fleet-management .story-logo img {
  width: 100%;
  max-width: 470px;
  height: auto;
  object-fit: contain;
}

/* Uniform brand cards: logo, scannable branded QR, then website. */
.logo-grid > .logo-tile {
  height: 350px;
  min-height: 350px;
  grid-template-rows: 120px 144px 24px;
  gap: 12px;
  padding: 18px 16px;
  container-type: normal;
}
.logo-grid > .logo-tile > .brand-qr {
  display: block;
  justify-self: center;
  width: 144px;
  height: 144px;
  background: #fff;
  line-height: 0;
}
.logo-grid > .logo-tile > .brand-qr > img {
  display: block;
  width: 144px;
  height: 144px;
  max-width: 144px;
  max-height: 144px;
  object-fit: contain;
}
.logo-grid > .logo-tile > .brand-website {
  align-items: center;
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: 14px;
  letter-spacing: -0.015em;
  line-height: 1.35;
}
@media (min-width: 701px) and (max-width: 1050px) {
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .logo-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 440px;
  }
  .logo-grid > .logo-tile:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .logo-grid > .logo-tile > .logo-artwork {
    max-width: 300px;
    margin: auto;
  }
  .logo-grid > .logo-tile > .logo-artwork > img {
    max-height: 120px;
  }
}
.logo-grid > .logo-tile.yacht-interior-products {
  container-type: normal;
}
.logo-grid > .logo-tile.yacht-interior-products > .brand-website {
  font-size: 14px;
  line-height: 1.35;
}

/* Two brands per row on desktop and mobile. */
.logo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1180px;
}
.logo-grid > .logo-tile,
.logo-grid > .logo-tile.yacht-interior-products {
  container-type: inline-size;
}
.logo-grid > .logo-tile > .brand-website,
.logo-grid > .logo-tile.yacht-interior-products > .brand-website {
  font-size: min(14px, 7.2cqi);
}
.logo-grid > .logo-tile.boat-rental-fleet-management > .brand-website {
  font-size: min(14px, 5.9cqi);
}
.logo-grid > .logo-tile > .brand-qr {
  width: min(144px, 100%);
  height: auto;
  aspect-ratio: 1;
  align-self: center;
}
.logo-grid > .logo-tile > .brand-qr > img {
  width: 100%;
  height: auto;
  max-width: 144px;
  max-height: 144px;
  aspect-ratio: 1;
}
@media (max-width: 700px) {
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1180px;
  }
  .logo-grid > .logo-tile {
    padding: 18px 8px;
    min-width: 0;
  }
  .logo-grid > .logo-tile:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .logo-grid > .logo-tile > .logo-artwork {
    max-width: 100%;
  }
}

/* Lead with each brand logo; keep QR codes compact and aligned. */
.logo-grid > .logo-tile {
  height: 350px;
  min-height: 350px;
  grid-template-rows: 178px 88px 24px;
  gap: 12px;
}
.logo-grid > .logo-tile > .logo-artwork {
  max-width: 100%;
  width: 100%;
}
.logo-grid > .logo-tile > .logo-artwork > img {
  width: 100%;
  max-width: 380px;
  height: 100%;
  max-height: 178px;
  object-fit: contain;
}
.logo-grid > .logo-tile.royal-yacht-mattresses > .logo-artwork > img {
  max-width: 240px;
}
.logo-grid > .logo-tile > .brand-qr {
  width: 88px;
  height: 88px;
}
.logo-grid > .logo-tile > .brand-qr > img {
  width: 88px;
  height: 88px;
  max-width: 88px;
  max-height: 88px;
}
@media (max-width: 700px) {
  .logo-grid > .logo-tile {
    height: 320px;
    min-height: 320px;
    grid-template-rows: 148px 88px 24px;
  }
  .logo-grid > .logo-tile > .logo-artwork > img {
    max-width: 100%;
    max-height: 148px;
  }
  .logo-tile .jip-monogram {
    font-size: 36px;
  }
  .logo-tile .jip-name strong {
    font-size: 11px;
    letter-spacing: 0;
  }
  .logo-tile .jip-name {
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .logo-tile .jip-mark {
    gap: 5px;
  }
  .logo-tile .jip-monogram {
    padding-right: 6px;
  }
}

/* The directory highlights logos; QR codes belong with each company bio. */
.logo-grid > .logo-tile {
  height: 250px;
  min-height: 250px;
  grid-template-rows: 178px 24px;
}
.story-copy > .brand-qr {
  display: block;
  width: 88px;
  height: 88px;
  margin-top: 24px;
  background: #fff;
  line-height: 0;
}
.story-copy > .brand-qr > img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}
@media (max-width: 700px) {
  .logo-grid > .logo-tile {
    height: 220px;
    min-height: 220px;
    grid-template-rows: 148px 24px;
  }
}

/* Pair each destination label with its QR code in the company bio. */
.brand-visit {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
}
.brand-visit > .brand-link {
  min-width: 0;
}
.brand-visit > .brand-qr {
  flex: 0 0 88px;
}
.brand-visit > .brand-link {
  display: block;
  justify-self: start;
  margin: 0;
  padding: 0 0 5px;
  font-size: 14px;
}
.brand-visit > .brand-qr {
  display: block;
  width: 88px;
  height: 88px;
  background: #fff;
  line-height: 0;
}
.brand-visit > .brand-qr > img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

/* Keep the two related oval brands visually identical in scale. */
.logo-grid > .logo-tile.on-site-boat-care > .logo-artwork > img,
.logo-grid > .logo-tile.boat-care-products > .logo-artwork > img {
  width: 100%;
  max-width: 340px;
  height: 100%;
  max-height: 170px;
  object-fit: contain;
  background: #fff;
}
.on-site-boat-care .story-logo img,
.boat-care-products .story-logo img {
  width: 300px;
  height: 150px;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
}

/* Balance Yacht Rugs with the neighboring Royal Yacht Mattresses mark. */
/* Artwork-width match reduced by 10% at the requested scale. */
.logo-grid > .logo-tile.yacht-rugs > .logo-artwork > img {
  width: 83.75913%;
  max-width: 201.0222px;
  height: 100%;
  max-height: 178px;
  object-fit: contain;
}
.logo-grid > .logo-tile.yacht-flooring-products > .logo-artwork > img {
  width: 100%;
  max-width: 340px;
  max-height: 150px;
  object-fit: contain;
}
.yacht-flooring-products .story-logo img {
  width: 100%;
  max-width: 520px;
  max-height: 230px;
  object-fit: contain;
}
@media (max-width: 700px) {
  .logo-grid > .logo-tile.yacht-rugs > .logo-artwork > img {
    max-height: 148px;
  }
}

/* Start hospitality and aviation on their own paired rows after marine. */
.logo-grid>.logo-tile.harbor-and-thread,.logo-grid>.logo-tile.jet-interior-products{grid-column:1}
